Uninstall android system app without root

Profile picture of MikeHe-creator

Draft

Dec 28, 2023

·

4 min read

·

226 Views


Every phone has its own system apps. Some are really necessary, some are not very useful compared with third party apps, and some are designed for phone-made company business, which keeps the room and are not useful to users.

I always annoy about a lot of MIUI ads and its own browser with bad preform. I want to uninstall them, but I have to root first (it's very unsafe to the phone if you rooted). This time I got a good way to uninstall those apps without root. How can I achieve?

Note: Do not disable or uninstall pre-installed software that is closely related to system services (such as app stores and system updates, etc.) to prevent abnormal system operation or Cami problems. Before doing anything you are not sure about, it is best to back up several copies of your phone. If you encounter a Cami problem, in extreme cases you may have to clear data on the Recovery interface before you can start the system.

1. Prepare

  1. Download Android SDK Platform

  2. Turn on "Developer Options" and "USB Debugging" on your phone. For details, please refer to the instructions of the respective mobile phone developer.

  3. Connect the phone to the computer using a data cable (check the notification bar on the phone to confirm that USB debugging is enabled)

2. Connect phone via ADB

Open the previously unzipped platform-tools folder on your computer, hold down the Shift key, and right-click on a blank space in the folder. Click "Open Powershell window here" in the right-click menu, and enter the subsequent ADB commands in this window.

First use the following command to confirm whether the ADB connection is normal (the first run will fail, you need to click on the phone to allow the USB debugging connection from the computer).

.\adb.exe devices

Run the command again. When you see the phone device number returned, it means the ADB connection is normal. Otherwise, try connecting to another USB port or data cable.

3. Refer to your phone's system apps

Check the name of the system app installation package for each system on the official website of the mobile phone. Here is the MIUI system app

4. Uninstall/disable system apps

Disable software via ADB command

Disabling is a better option than uninstalling directly, and it can be restored when needed. For example, if you disable the "Xiaomi Wallet" software, you will not be able to see it on your phone after disabling it.

.\adb.exe shell pm disable-user com.mipay.wallet

If you want to restore the software, use the following command.

.\adb.exe shell pm enable com.mipay.wallet

Uninstall software via ADB command

If you must uninstall and delete the software, use the following command.

.\adb.exe shell pm uninstall -k --user 0 com.mipay.wallet

After completing the operation, use the .\adb.exe reboot command to restart the phone.

What I unistalled is :

What is ADB

Android Debug Bridge (adb) is a versatile command-line tool that lets you communicate with a device. The adb command facilitates a variety of device actions, such as installing and debugging apps. adb provides access to a Unix shell that you can use to run a variety of commands on a device. It is a client-server program that includes three components:

A client, which sends commands. The client runs on your development machine. You can invoke a client from a command-line terminal by issuing an adb command.

A daemon (adbd), which runs commands on a device. The daemon runs as a background process on each device.

A server, which manages communication between the client and the daemon. The server runs as a background process on your development machine.

adb is included in the Android SDK Platform Tools package. Download this package with the SDK Manager, which installs it at android_sdk/platform-tools/. If you want the standalone Android SDK Platform Tools package, download it here.

For information on connecting a device for use over adb, including how to use the Connection Assistant to troubleshoot common problems, see Run apps on a hardware device.


Profile picture of MikeHe-creator

Written By

Who-am-I?

No bio found