How-to convert an App to a System App

Prequisites:

  1. Obtain the .apk file of the app you want to make a system app
  2. Push the .apk file to the device: adb push my-app.apk /sdcard/
  3. Mount /system/ read-write
    adb shell
    su
    mount -o rw,remount /system
    
  4. Place the .apk file in the correct directory. This is /system/app/ for Android 4.2 and lower, and /system/priv-app/ for Android 4.3 and higher. The further steps will asume we are on Android 4.4 and therefore use priv-app
    adb shell
    su
    cd /sdcard
    mv my-app.apk /system/priv-app
    chmod 644 /system/priv-app/my-app.apk
    
  5. Reboot the device: adb reboot

Created: 2016-05-28 Sa 22:51

Emacs 24.5.1 (Org mode 8.2.6)

Validate