1.下載abd
ADB Download - Get the latest version of ADB and fastboot
2.手機打開開發者選項
3.手機接電腦打開USB調試
4.下載MT管理器查看系統包名
D:\1.LFD\ADB\platform-tools-latest-windows\platform-tools>adb shell
adb.exe: no devices/emulators found? 這邊是因為接了電腦,但是沒開USB調試
D:\1.LFD\ADB\platform-tools-latest-windows\platform-tools>netstat -ano | findstr :5037
? TCP ? ?127.0.0.1:5037 ? ? ? ? 0.0.0.0:0 ? ? ? ? ? ? ?LISTENING ? ? ? 18704
D:\1.LFD\ADB\platform-tools-latest-windows\platform-tools>adb kill-server
D:\1.LFD\ADB\platform-tools-latest-windows\platform-tools>adb start-server
* daemon not running; starting now at tcp:5037
* daemon started successfully
D:\1.LFD\ADB\platform-tools-latest-windows\platform-tools>adb shell
adb.exe: no devices/emulators found
D:\1.LFD\ADB\platform-tools-latest-windows\platform-tools>adb shell
HNLSA:/ $ pm uninstall -k --user 0 com.huawei.appmarket? ? 這邊是刪除榮耀應用商店,我去,刪除失敗,榮耀偷偷改了包名
Failure [not installed for 0]
1|HNLSA:/ $ pm uninstall -k --user 0 com.huawei.appmarket
Failure [not installed for 0]
1|HNLSA:/ $ pm uninstall -k --user 0 com.hihonor.appmarket? ?這個才是榮耀應用商店的包名
Success
HNLSA:/ $ pm uninstall -k --user 0 com.huawei.fastapp? 刪除快應用中心
Success
HNLSA:/ $ pm uninstall -k --user 0 com.hihonor.quickengine? 刪除榮耀快應用中心
Success
HNLSA:/ $