Installing Mobile Defense as a system application
Description
This tutorial outlines the necessary steps required to install Mobile Defense as a system application. When Mobile Defense is installed as a system application it can auto-enable your location providers (both Wireless and GPS) as needed. This is especially helpful if your device has been lost or stolen, and one or both providers is currently disabled. By following the steps below, you'll also discover that Mobile Defense cannot be uninstalled.
As far as application updates go, nothing changes. You will still receive notifications when updates are available and have the ability to update via the Market as needed.
Disclaimer: This tutorial is intended for advanced Android users only and should be performed at your own risk. We recommend doing a full backup of your phone using Nandroid prior to performing this tutorial.
Prerequisites
-
Must have Android Debug Bridge (adb) installed
-
Must have ROOT access or at a minimum be able to use 'su' via adb
Install Instructions
Note, the following steps are provided to work for the broadest number of users. We realize that some steps may not necessarily be required for some users depending on their setup; however, these additional steps should not have a negative effect.
Step 1: Uninstall current version of Mobile Defense if you have it installed.
adb uninstall com.neevo.mobiledefenseStep 2: Download the latest Mobile Defense APK file.
Step 3: Open command prompt or terminal window and start a remote shell.
adb shellStep 4: Switch to the root user.
suStep 5: Remount the system partition as read-write.
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /systemStep 6: Change permissions on the system app directory so that you can add new APKs.
chmod 777 /system/appStep 7: Exit from root (Step 4).
exitStep 8: Exit out of the remote shell.
exitStep 9: Finally, install Mobile Defense as a system application. Make sure your path for the APK file is correct. The example below assumes you are in the directory where you downloaded the APK in Step 2.
adb push com.neevo.mobiledefense.apk /system/appCongratulations! If you made it through all of the steps above, Mobile Defense should now be installed as a system application.
Cleanup Instructions
Step 10: Open command prompt or terminal window and start a remote shell.
adb shellStep 11: Switch to the root user.
suStep 12: Change permissions on the system app directory back to default.
chmod 755 /system/appStep 13: Remount the system partition as read-only.
mount -o remount,ro -t yaffs2 /dev/block/mtdblock3 /systemStep 14: Exit from root (Step 11).
exitStep 15: Exit out of the remote shell.
exit