I've decided to put here the instructions I've made for (trying to) disabling/removing system apps without a rooted device . If you failed to remove an app via app-info screen or via
my app, and you don't have a rooted device, this tutorial is for you.
If you already do have a rooted device, you can use
my app to (try to) disable/uninstall system apps, by choosing to show them, and also enabling system-apps-removal on the settings screen.
Important thing to know in case you have Android 10 and above
Removal of system apps will probably almost always not really work, and even if you think it does, it'll will probably return after a restart of the OS. Even Magisk modules such as Debloater just hide the apps, because if you remove/disable the module and restart the OS, eventually the app will return.
What's suggested now for Android 10 and above is to disable the apps, instead.
Disabling/Uninstalling apps without root :
OK, some people asked me how to perform some special operations without root. In fact, you can perform most of the operations my app has without root, but you'll need a PC being connected to the device.
Here's how you disable any app you wish, via your PC (or via
Shizuku app on Android, read about how to use it).
Before you do anything, note that disabling an app should be used only if you think it's safe to disable the app. Also note that this might not work on each app you choose (depends on the restrictions imposed by the ROM of your device). Same goes to uninstalling apps. Both of those operations might work, and might not work. Depends on many things.
The steps:
1. Download and install/decompress the command line tools of the Android SDK :
https://developer.android.com/sdk/index.html
scroll to "Get just the command line tools" , and download the one that matches your OS.
2. Connect the device to the PC.
3. Find the file called "adb" in the folder you've installed/decompressed to.
4. Use the console/terminal (depends on your OS) to go to this path.
5. Find the package name (it's like an id) of the app you wish to disable. you can use my app to find it. write it down somewhere.
6. In the "settings" screen of the device, go to "developer options", and turn on "android debugging". If it's hidden, go to "About Phone" and then tap "Build Number" multiple times till it says you are a developer.
7. In the console, write down:
If the device is connected and you have the correct driver, it should be printed. if not, you probably need a suitable driver. download and install it according to the device's model.
8. In the console, write :
This way you enter a new state to type commands more directly.
9. Type:
where PACKAGE_NAME is the package name you've written down on step #5
If this doesn't work, try (credit to
this article) :
HTML:
pm disable-user --user 0 PACKAGE_NAME
If you wish to uninstall the app, write this instead:
HTML:
pm uninstall PACKAGE_NAME
You can also do it all in a single line. For example, if you want to try to disable YouTube app, its package name is "com.google.android.youtube", so the command would be:
HTML:
./adb shell pm disable-user --user 0 com.google.android.youtube
10. If all went well , you aren't supposed to see "failure" anywhere.
You can check that the app got disabled by either trying to launch it (and fail) or by seeing that it's missing in my app from the list, in case the filters are set not to show disabled apps.
In fact, if my app is already on the front, you can see the disabled app disappearing from the list, as soon as you disable it.
11. That's it.
To re-enable an app, in step #9, type:
or if this doesn't work use this instead:
Also, to learn about more possible commands you can use, read this:
http://developer.android.com/tools/help/adb.html