Recently doing some projects, you need to block your phone's inherent functionality. Record here.
The main feature of Android screen phone is to uninstall phone.apk. Shielding installation software function is mainly unloading packageinstall.apk
The following are examples of Samsung Note3 and M3. ( remember to back up before deleting )
Note3
1. Connect the phone with a USB cable and install the driver. (with 360 mobile phone assistant or Xiaomi virtual disc)
2. Install Java (recommended jdk1.7)
3. Install ADB
A. ADB toolkit download link: http://dl.vmall.com/c0b481awh1;
B. Place the Adb.exe and AdbWinApi.dll two files in the Windows/system32 folder on the system disk.
4. Place the phone root
Use version 360rootPC for root
5. Start-to-run input cmd
6. backup File command, enter the file (/system/app/packageinstall.apk) to be backed up on the ADB pull computer (for example, F:/sansung/app) in the Adb.exe directory
Backup files
A. ADB pull f:/sansung/app/system/app/packageinstall.apk
B. ADB pull F:/sansung/app/system/app/packageinstall.odex
C. ADB Pull f:/sansung/app/system/app/secphone.apk
D. ADB pull F:/sansung/app/system/app/secphone.odex
E. ADB pull f:/sansung/app/system/app/phoneerrservice.apk
F. ADB pull F:/sansung/app/system/app/phoneerrservice.odex
7. deleting files
A. Enter adb shell-"su
B. Enter Super Admin mode and enter Mount-oremount,rw-t Yaffs2/dev/block/mtdblock3/system
C. Re-enter Mount-o Remount,rw-tyaffs2/dev/block/mtdblock3/system/app
D. Permissions to the app file, chmod 777/system/app
E. Go to Folder directory Cd/system/app
F. Deleting a file rm packageinstall.apk
G. Deleting a file rm packageinstall.odex
H. Delete a file rm secphone.apk
I. Delete file rm secphone.odex
J. Deleting a file rm phoneerrservice.apk
K. Deleting a file rm phoneerrservice.odex
8. Restart your phone after deleting the file
M3
1. Connect the phone with a USB cable and install the driver. (with 360 mobile phone assistant or Xiaomi virtual disc)
2. Install Java (recommended jdk1.7)
3. Install ADB
A. ADB toolkit download link: http://dl.vmall.com/c0b481awh1;
B. Place the Adb.exe and AdbWinApi.dll two files in the Windows/system32 folder on the system disk.
4. Place the phone root
5. Start-to-run input cmd
6. Use the CD command to locate the directory where Adb.exe is located
7. Backing up files
8. backup file command, in the ADB directory, enter the folder on the ADB pull computer (for example, F:/m3/app) to back up the files on the phone (/system/app/packageinstall.apk)
A. ADB pull f:/m3/app/system/app/packageinstall.apk
B. ADB pull f:/m3/app/system/priv-app/phone.apk
9. deleting files
A. Enter adb shell-"su
B. Enter Super Admin mode and enter Mount-o remount,rw-t Yaffs2/dev/block/mtdblock3/system
C. Re-enter Mount-oremount,rw-t Yaffs2/dev/block/mtdblock3/system/app
D. Re-enter Mount-oremount,rw-t Yaffs2/dev/block/mtdblock3/system/priv-app
E. Permissions to app files, chmod 777/system/app
F. Go to Folder directory Cd/system/app
G. Deleting files rmpackageinstall.apk
H. Go to Folder directory Cd/system/priv-app
I. Delete file rm phone.apk
Android smart phone shielded phone with shielded install software features