-
ADB Download:
Official website over the wall more slowly, is recommended the use of domestic website: https: //www.androiddevtools.cn/
Download the SDK Tools and SDK Platform-Tools:
- Both were downloaded and unzipped:
Both are:
The latter platform-tools entire folders, cut and paste to the former folder android-sdk-windows in , and a new folder is renamed to Opt, move to the root directory of the disk:
- Configure the environment variables: (window10)
Right My Computer - Properties - Advanced System Settings - environment variables:
In the System Variables "New" as a variable:
After clicking OK, find the system variables in the Path variable, and add the following two variables:
After determining the system variables configuration is complete.
CMD open a terminal and type adb version
Display so that proved successful configuration.
- Debugging phone
Phone into developer mode, open the Debug mode (click on under "charge only" mode allows ADB debugging attempt) , and to authorize the computer.
The CMD terminal mode, type adb shell
Connect the phone on behalf of success
- Uninstall software
Open the phone to be uninstalled before the interface, at CMD-ended input:
dumpsys window | grep mCurrentFocus
Available current program name: com.huawei.android.thememanger then type:pm uninstall -k --user 0 com.huawei.android.thememanger
Next you will see Success , which represents the uninstall is complete
Repeat, you can uninstall other software.
reference:
https://www.jianshu.com/p/e9434e7f86ea
https://www.toutiao.com/i6672648488360083972/