Create System Application

后端 未结 5 1355
执念已碎
执念已碎 2020-12-01 02:10

What I should to do to create a system app (to obtain rights to use android:sharedUserId=\"android.uid.system\"in manifest file without receiving an error from

5条回答
  •  青春惊慌失措
    2020-12-01 02:40

    I did not need to sign my app with the firmware signature! I have a rooted device. Therefore I can grant myself rights to write to certain directories using adb.

    I moved my app to /system/priv-app instead of /system/app using those steps: Push my apk to /system/app

    Now, I can access system permissions like android.permission.SHUTDOWN

提交回复
热议问题