Reputation: 1356
I am needing a way to start up an apk I have put into my system/app on a rooted device from adb. (In the shell or out of shell are both fine)
.apk is pushed onto device using adb.
I have found the way to do this if installed normally but that is not what I need as this app needs to be in system/app for permission reasons.
Can someone please help or point me in the right direction thanks.
Upvotes: 3
Views: 5179
Reputation: 11
Use the following command:
adb remount
adb push apkfilename /system/app
adb reboot
This will make that apk file as a system application.
Upvotes: 1
Reputation: 231
After pushing to system, be sure to set permisions, then reboot device and launch from adb like any other app.
on reboot the system app will be "installed"
Upvotes: 2