Create System Application

Create System Application

Ok, I think that I find sollution from great xda developers: http://forum.xda-developers.com/showthread.php?t=1776095 here is full description how to obtain access to apps signed by platform keys.
Do you apply with this approach?

PS it is interesting that users from stack instead of investigating hard problem immediately say that you can not solve it, then reduce novice user's reputation...

How to create System Apps in android

True system apps are baked into the ROM image, and signed with the same key the ROM was signed with, giving them extra access to the system.

You cannot add a new system app on the same level without updating the ROM image of the device, and even then you'll need the OEM key to sign your app and you will have to request them to include it in their ROM.

Having a rooted device allows standard apps to gain extra access without being system apps.

Signing my android application as system app

Well below is your answer,

  1. You can find platform keys from
    HERE. The command to sign apk (for linux) is:

    java -jar signapk.jar -w platform.x509.pem platform.pk8 APPLICATION.apk APPLICATION_sign.apk

    onward Android 10 lib64 library path need to provided which can be found at android/out/host/linux-x86 after generating a successful build, one can copy folder or simply provide its path to generate sign APK

    java -Djava.library.path="<path to lib64>" -jar signapk.jar -w platform.x509.pem platform.pk8

  2. If you sign your apk with platform keys you won't required root access you can simply install it from "adb install" command, and yes in someway it is like root 'cos it can access all internal api but keep in mind if your app is system signed then you can't write external storage.

  3. First of all don't combine both root is user where system app is application type which distinguish from normal application below link might clear your confusion regarding it.

    what-is-the-difference-between-android-user-app-with-root-access-and-a-system-ap

Creating Management System in a Flutter Application

If you want to ask about Architecture or Flow. Let me tell you.

  • Architecture is how you want to build the app. Most Commonly used architecture is 3-tier Architecture i.e. Front-end, back-end & DB.

  • Flow is how you want that app to move, from which screen to which screen. What will be the starting screen? What will be next routes from that screen? How many screens should be there? etc

As Flutter is Front-end. You have to build back-end and DB on your own. If you want both at once. Go for Firebase.

As far as Some Management System App is concern, you have to build two apps for that. One is Admin Portal, second one is Consumer Portal.

  • Admin Portal is for the admins, who are actually owner of that app, or that system. They have rights to add, edit or delete anything on the app.

  • Consumer Portal is for the users, who gonna use that app. They have rights to view only, or they can add a request to add or some edition to the admin.

How to differentiate between them? How to hide Admin portal from consumers?

You don't need to hide anything. You just have to set some login credentials for Admin Portal, like some email/password for only Admin, so no public can use that. Simple!

Create a virtualized file-system directory expected by a third-party application

The Windows Projected Filesystem (ProjFS) allows exactly this.

The Windows Projected File System (ProjFS) allows a user-mode application called a "provider" to project hierarchical data from a backing data store into the file system, making it appear as files and directories in the file system. For example, a simple provider could project the Windows registry into the file system, making registry keys and values appear as files and directories, respectively. An example of a more complex provider is VFS for Git, which is used to virtualize very large git repos.

Here is a sample project on GitHub that implements a read-only "Registry File System (RegFS)". It uses ProjFS to map registry keys to folders and registry values to files.

Note that ProjFS is an optional component, supported only by the Windows 10 October 2018 Update (version 1809) and later.



Related Topics



Leave a reply



Submit