If i set my android app to a system app, after a factory reset, will it be removed from the phone?

后端 未结 4 1019
星月不相逢
星月不相逢 2020-12-15 01:46

I\'m creating a corporate app, and I need to keep it on the phone even after a factory reset has been executed by user.

If I set my android app to a system app, aft

4条回答
  •  鱼传尺愫
    2020-12-15 02:33

    Factory Data Reset (FRP) only clears the data and the cache partitions.

    system apps are located within the system partition.

    So it will not delete the APK, but it will delete the local data of the app. for example the app saved some information about you in a local database (located within the data partition).

    To build your APK from Android-Studio, Build > Build APK (Do not choose to Generate Signed APK)

    Then copy the APK to the /system/priv-app/, set permissions accordingly, restart your device and done. (root privilege required).

提交回复
热议问题