ADB debugging turns off the system update of the Honor phone (annoying push)

The first step is to download the adb tool in windows (I also downloaded one randomly from the Internet).

The second step is to connect the Honor mobile phone with USB, which requires both Windows and the mobile phone to download the mobile assistant (Windows has a pop-up window, click exe to install it). Follow the installation steps to connect successfully, and enter adb devices in Windows to check whether there is information about connecting the mobile phone.

If the connection is not successful, see if the following settings are set

1. Open the dial interface, enter: *#*#2846579#*#*. Automatically enter the project menu, select background settings --> usb port settings --> production mode.

2. Turn on debugging

settings - system and update - developer options - turn on debugging

3. USB connection method

Select transfer file

4. Search for HDB in the settings, and enable HiSuite to connect to the device through HDB

5. Go back to the adb command to check if it is connected

The third step is to disable the system update command:

Honor freeze update command
adb shell pm disable-user com.hihonor.ouc
adb shell pm enable com.hihonor.ouc

Other mobile phone freeze update commands (not personally tested): adb closes automatic update of mobile phone system_adb closes system update_Mifen 007's Blog-CSDN Blog

It can even forcefully uninstall apps that cannot be uninstalled by the phone

View installed and uninstalled software
View installed software: ./adb shell pm list package
Uninstall that software: ./adb shell pm uninstall --user 0 xxxx, such as: ./adb shell pm uninstall --user 0 com.android. email

Useless app
com.huawei.himovie Huawei video
com.android.mediacenter music
com.android.browser browser
com.huawei.wallet Huawei wallet

com.huawei.android.hwouc system update
com.huawei.android.pushagent push service
com.huawei.gamebox Huawei game center
com.huawei.hwireder Huawei reading
com.huawei.phoneservice service
com.huawei.search smart search
com.huawei. vassistant voice assistant
com.huawei.intelligent intelligent assistant (smart assistant)
com.huawei.bd user experience improvement plan
com.huawei.pengine Huawei intelligent suggestion
com.huawei.securitymgr privacy space
com.huawei.skytone skytone data service
com.huawei .tips smart reminder
 

The following is a screenshot of the steps of my Honor mobile phone operation

Number 1 in the figure is empty after the adb devices command

After installing the mobile assistant, turn on udb debugging, etc.

Number 2 in the figure is successfully connected

Number 3 in the picture has no permission, just turn on the production mode in the second step

Number 4 in the figure executes adb shell pm disable-user com.hihonor.ouc

The mobile assistant does not know that the connection is often disconnected, and the connection is successful after repeatedly entering the connection code in the window several times

Number 5 in the figure means that the system update has been successfully closed.

Note: You cannot click on the system update in the phone settings. If you want to open it in the future, continue the above steps and enter the opening command.

Guess you like

Origin blog.csdn.net/qq_41286356/article/details/130044885
Recommended