Silent install apk programmatically by system app (without root)

前端 未结 2 1071
伪装坚强ぢ
伪装坚强ぢ 2020-12-02 06:29

I have system-level app with android:sharedUserId=\"android.uid.system\" (UID: 1000).

Device is not rooted! INSTALL_PACKAGES permission is included to Manifest.

2条回答
  •  春和景丽
    2020-12-02 06:54

    No, you cannot. Simply having the same UID isn't enough. You must also be signed with the same key as the ROM itself.

    Silently installing apps, or updates to your own app, isn't allowed for security reasons.

提交回复
热议问题