Huawei ban update --Android / Android phone manually freeze / disable the system application methods

:( no advantage ROOT / do not install software / security)

Original: https: //blog.csdn.net/starsjf/article/details/71244619

In this paper, Huawei glory 8 automatically updated to freeze / disable described as an example

note

If your phone system during the hide when the prompt:
"Neither the User Process 2000 Current NOR has Android.permission.MANAGE_USERS"
it shows that the command has no authority in your current system which, can not hold the above operations. Author glory has been upgraded up before 8 can be used, two days before because it feels too slow, Shuangqing, and the results can not be used now. . .

Introduction
 previous article, to explain why I wrote this article. I am using a mobile phone Huawei glory 8, 8 although the appearance of the glory of experience, strong performance, but the standby time is really a chicken. He did not put more than two days old on the conference, and the upgrade system, about power. I now can not upgrade from B160 up version of the legend on the B377, on day two punch really can not stand. Ever since I just want to turn off automatic updates, online forums searched, regardless of the results of all methods used. No matter how limited, a network must be upgraded pop up box every time a return, if delayed would be finished, I heard that the root can be disabled, but ask this simple thing to root, more harm than good.

 Fortunately, a little knowledge of the code we have to engage in the spirit of the machine, and Andrews also gave us the opportunity to messing around, it is quite open, so searching out the network, to find the true essence of 10% from 90% useless reply inside now summarize. This article only the most useful of people have some basic programming, if you are white, others make the best use of the software, such as Debloater.

 Why use the manual method? For fear of bad people to join the malicious code in software, ha ha!

Freeze / disable the program
a total of two steps:

Step one: First, determine the phone by developers can debug mode is linked to the computer

Step two: adb official download software, enter adb command mode

Step three: by entering the hidden command to disable the corresponding software, this article is automatically updated software

Step One (Developer options -USB debugging - connect the computer)
mobile phone developers debug mode is turned on, the developer mode is turned on, there are too many tutorials, click on Android version number, continuous clicks, pops open until the end of the developer mode. Then enter the Developer options, open the "USB debugging" option inside.

Then via USB cable link to your computer, if you have a computer inside the soft kill, most of them will pop up to let you connect a annoying pop phone, this time you just download it, this really for us to spend . The author is with the 360 ​​security aides, it can also be used like pea pods Mobile Assistant software. If you do not pop up, then install a bar himself.

According to the software prompts to link your phone to the Mobile Assistant software, to be able to see your phone shots, look up information inside your phone, your cell phone will be explained that it had entered the usb debugging mode, do not close this link in ensuring the premise program proceeds to step two.

(Too many screenshots and specific steps online, you can refer to the online tutorial.)

Step Two (batch commands - entering the adb command)
 adb tool should be used to debug a PC end of instruction tools for Android, so I understand that we want to use is one of the instructions pm. (Pure amateur to say, ha ha)

First adb tool to download a package, the safest way is to download from Google, download the following address:
https://dl.google.com/android/repository/platform-tools-latest-windows.zip
decompress after downloading, find platform-tools folder, copy it to the root path below the disc D (better path change operation).

Then open the command line, there are many methods, such as key press Win + R open the command line, open cmd command input window, enter cd / DD: \ platform-tools carriage. Enter Enter adb version, the version number appears adb command


Then enter adb shell enter into the adb command mode. You can then start our pm-source operating, and there is no very excited? The following figure appeared on it:


Step three (pm command operation)
Input pm list packages | grep hwouc Enter
 the name of the package is to display a list of all installed inside hand, grep function is to filter, hwouc Huawei system inside the update package name, if the phone is Huawei It can be used directly, if other phone please Baidu under the bar. Normally should appear com.huawei.android.hwouc, it shows everything is normal.

Input pm hide com.huawei.android.hwouc Enter
 this command is hidden / frozen hwouc software

Input pm list packages | grep hwouc Enter
 this time found not search software to determine the hide / freeze the software.

Enter exit Enter
  launched adb command mode.

Enter adb reboot Enter
 the phone will reboot, wait for it.

Extended
here to display the list of package names pm command is extended for reference:

pm list packages [options] [FILTER]

Print all of the package name of the application has been installed, if you set the value of the content filtering file containing the filter text display

Parameter Description

-f file display position of each package
-d use a filter to display only the name of the application package disable
-e use a filter to show only the available application package name
-s use a filter to display only the application package name system
-3 use filters to show only third-party application package name
-i viewing application installer

 

Guess you like

Origin www.cnblogs.com/vaemaxsky/p/10941468.html
Recommended