What we will define as "viruses" depends on personal preferences, but I think we can all agree that some manufacturers and carriers are more guilty of turning them into their smartphones than others. Depending on your point of view, viruses may range from a pre-installed application, such as Facebook, to a gallery action that is not Google Photos. Hate virus of one person is a favorite of another person, but unfortunately, for a person who classifies some pre-installed programs as viruses, they usually can not remove it. Sometimes you can turn off system programs, but not every system application will allow you to turn it off.
There are ways that limit these restrictions. We have written a manual for a long time that has taught you to "remove" any pre-installed system program on your Android smartphone or tablet. The problem with this method is twofold: it does not actually remove the program completely and returns the space to the user, and the restoration of the change requires either sideload APK (if it can be found) or reset to factory defaults. However, this method is very useful, and we have seen dozens of messages in the forums and scripts of the users who used it to expel new Android devices. To help users safely unlock their devices, we want to draw your attention to another method that not only deactivates pre-installed viruses, but makes it extremely easy to re-enable them for your convenience. any error is much easier to recover. We will still use ADB teams to come across system applications, so make sure that you do not turn off something completely critical (use the best solution), but this method is much more friendly if you turn off the wrong application.
Any pre-installed App system on Android without rooting
- Follow this tutorial to get ADB and work on your Windows, Mac or Linux PC. ADB or Bridge Debug Bridge is a developer tool that lets you run some powerful commands to manage your device. We use it a lot in our tutorials to do things that you can not do without a rooted device.
- Download the app as an App Inspector from the Google Play Store.
- Get the package name of the program you want to disable the use of App Inspector. Below are screenshots that show how:
- Run Command Prompt / PowerShell (Windows) or Terminal (Mac / Linux) in the directory where the binary ADB file is stored. For Windows users, this can be done by holding Shift, then right-clicking in the folder. From the menu, select the option "open command window" or "open the window PowerShell here".
- After entering a command line or terminal, enter the following command depending on the operating system:
Windows Command Line:
adb shell disable user - user 0
19659014] ./adb shell pm disable-user -user 0
- For example, here's how it looks like if you want to remove Cleanmaster (com.miui.cleanmaster) that is installed as part of the Windows Command Prompt:
adb shell pm disable-user -user 0 com.miui.cleanmaster Windows PowerShell:
. T Mac / Linux Terminal:
./ adb shell pm disable user - user 0 com.miui.cleanmaster
And we are done! The program should immediately shut down and disappear from your launcher. Note that in some cases, some applications may automatically re-activate if the system has a re-enable feature. For example, disconnecting the spare EMUI 9 starting device on Chinese Huawei or Honor devices will automatically re-enable the spare launcher after a while. If this worries you, try the "uninstall" method.
Re-enable any pre-installed software application
What to do if you have turned off the application and want to return it? Enabling the program is easy! First, go to Settings> Programs and look at the "All Apps" list (it may be located somewhere differently on your device). Usually you can filter here to see the names of all off programs. After you know which program to turn on, follow these steps:
- Open the command line or terminal window and run the following command:
Command Prompt Windows:
command line packets adb -d [PackagePackagePackage-d
Mac / Linux Terminal:
./ adb package-packet-shell package -d
- This command contains a list of all offsets. Find the package name that corresponds to the application you want to enable. Now, just run the following command to re-enable one of them:
Command Prompt Windows:
adb shell pm enable
Mac / Linux Terminal:
./adb shell pm enable
- If you have problems, try restarting the program after you re-enable the program.
What have we done?
First of all, it's important to differentiate what the team does and why it outperforms the method we used in the previous virus removal tutorial. In this tutorial, we removed the program at the user level, which means that it was still installed on the device in the system partition, but not for the main user (user 0). That's why to return it you need to either reset the factory settings or sideload APK. In this tutorial, we turn off the application for the main user, and do not remove it, which means we can turn it on without reinstalling it.
The pm disable-user team has been around for many years, but it was missed in favor of pm to shut down. You might think that both pm disable-user and pm disable -user 0 will be identical, but you are mistaken. For some reason, the disable-user command allows you to basically disable any program you want, while the usual disable command is rather limited. , it's very easy to fix. You will also get an OTA update because you do not actually change any system files. This is why we need a portion of -user 0 in our command, which indicates that the application will be disabled only for the current user, and not for all users who will need root access.