Just how do I effectively install a system application offered its.apk?
I got rid of a system application (com.android.mms) and also I have actually the.apk required to recover it, nonetheless it will not install via the criterion networks (running the.apk offers me "application not mounted"). What's the correct means to install a system application's. apk?
note that when having fun with adb you will certainly install applications using their plan documents name (definition, at the command motivate you will certainly type > adb install myFile.apk )
yet you will certainly uninstall them using their plan name (> adb uninstall com.this.that.otherthing )
You will not have the ability to install a plan till you've uninstalled its precursor.
It'll aid to add adb to your PATH to make sure that you can simply most likely to the directory site where the.apk documents is and also type adb install myFile.apk.
You require to have the Android SDK mounted (or at the very least a device that's called adb ). Better you require to permit "Non Market mounts" on your tool.
Hereafter is done you transform to the folder which contains the documents with a console.
After that connect your phone (using USB ) and also run
adb install appname.apk
You will certainly require to push the.apk to the phone to the System dividing to the folder
/system/priv-app when making use of Android 4.3 making use of
adb. You can locate extra details concerning
adb below : http://android-dls.com/wiki/index.php?title=ADB.
In order to contact
/system you likely need to remount it read-write :
adb shell su mount -o rw,remount /system
Or, do it totally from the host's ADB :
adb root adb remount
Currently you can position the
adb push my-app.apk /sdcard/ adb shell su cd /sdcard mv my-app.apk /system/app # or when using Android 4.3 or higher mv my-app.apk /system/priv-app
After that if the flags are not currently set adjustment the approvals. All System-Apps demand to have the approvals
rw-r--r--. You can additionally transform them using ADB with the command
chmod 644 /path_to/your_file. Though it's quite old, this may help
After you have actually positioned the
.apk you require to reboot your tool. As an example with