I'm wondering is it possible to install .apk file as system app directly (with root)? Without converting user app to system app.

  • 2
    Just copy it to the /system/app or /system/priv-app directory according to how the other system apps are placed there (stick to the naming scheme) – GiantTree Jul 29 '17 at 17:04
  • If /system/priv-app exists, copy there directly. If not then /system/app should work. – iBug Jul 29 '17 at 17:37

You can simply copy the apk (its name not relevant) into /system/app or /system/priv-app, set the appropriate permissions (rw-r-r, root:root) and then do a reboot. That's it.

Works well on Android 6.0.1.

  • 1
    done the above steps but MODIFY_PHONE_STATE permission is not yet granted to my app. – dpaksoni Sep 21 '18 at 9:54
  • @dpaksoni if you have a new question, please post it as a new question. – Firelord Sep 21 '18 at 10:23
  • Can you delete the apk from /system/app folder after reboot, once it's installed? – jj_ Apr 5 at 0:38
  • The presence of an APK is necessary for the app to be functional, otherwise, after removal, the app won't run, although you would continue to have the app icon in your launcher until you reboot the device. – Firelord Apr 5 at 4:13
  • How exactly do you "simply copy the apk" ? And what if the app is already installed? – android developer Jul 16 at 20:04

Via ADB: (Copy apk to phone via usb/My computer first)


adb shell                                           (Get into shell to run beow commands)
su                                                  (Run as root)
mount -o rw,remount /system                         (Mount system read/write since default it read-only)
chmod 755 /system/priv-app/Messaging_SEP81          (Set permissions on folder)
chmod -R 644 /system/priv-app/Messaging_SEP81       (Set permissions on apk file)
ls -l /system/priv-app/Messaging_SEP81              (Check permissions - Should be: -rw-r--r-- 1 root root - not sure what 1 & 2 is)
ls -l /system/priv-app | grep "Messaging"           (Check permissions - Should be: drwxr-xr-x 2 root root)
reboot                                              (Reboot device)
  • What if after mount -o rw,remount /system , it shows /dev/block/sda43 is read-only ? Also, what's "Messaging_SEP81" ? How can I convert an existing app to be a system app? – android developer Jul 16 at 20:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.