When installing, use ADB install xxx.apk
When you want to retain some program information and use overwrite installation, ADB-R install xxx.apk
When the package is uninstalled, use ADB uninstall com.xxx.xxx.apk (note that the package name must be used)
Question 1:
The following error occurs when overwrite is used: failure [install_parse_failed_inconsistent_certificates]
The reason is that because the APK signature is incorrect, unlike the existing program signature in the previous pad, the solution is that the installation cannot be overwritten,
You must first uninstall the existing program and then reinstall it. In this way, the original configuration of some programs will not be seen, and backup is required.
Question 2:
After the original program is uninstalled, the following error occurs when executing the installation statement: failure [install_failed_shared_user_incompatible]
The reason is that the previous program may be a group and share the same user ID. The new program conflicts with the original program.
Check whether all files are uninstalled. Ensure that all files are uninstalled and reinstall them.
Question 3:
Use
ADB pull/data/xxxx/xxx. DB./user/temp
Or use
ADB push./user/temp/xxx. DB/data/xxxx
Insufficient permissions may occur. Pad has been cracked.
(Lenove pad is also used. It is different from the usual cracking when using ADB shell.
After entering the shell, the root permission is not obtained directly, but is obtained only after Su,
When you exit, if the current permission is to run exit by the root user, then return to the general permission, and then execute exit to exit shell)
Is it because of incomplete cracking? Or is it because you need to set some permissions on the pad ??
In addition, any other cracked pad can successfully execute the preceding statement.
You have also tried chmod 777/data/xxxx to change the folder permission, but there is still no way to pull or push.
Due to time constraints, I decided to back up the file to/sdcard first.
When CP is used, it is found that there is no way to directly use CP. Originally, busybox was used for copying.
Enter ADB shell and run busybox CP/data/xxxx/xxx. DB/sdcard/tmp/xxx. DB
This is done. However, the above issue of pull or push is still unsolved. I don't know which one can tell the reason?