ANDROID
How to delete protected packages
Some applications are not allowed to be deleted using normal uninstall process. This is the case of e.g. Huawei Retail demo application that prevents normal use of the phone.
- Enter developer mode by tapping repeatedly on Build number in About the phone Settings section.
- Allow USB debugging in the Developer Options.
- Connect to computer, allow file transfer.
- Install
adb
bysudo apt install adb
. - Then you can list installed packages by
adb shell 'pm list packages -f'
. - You can then remove the package with
./adb shell 'pm uninstall -k --user 0 com.huawei.retaildemo'
.
Huawei tricks
Interesting menu on Huawei devices is accessible by dialing *#*#2846579#*#*
.
Huawei Retail Demo App is periodically cleaning the phone and preventing normal
use by other means. You can turn these featues off by tapping in the left upper corner
and using following password: 1122334455
. It is better to remove the app using
process described above.