Android Debloating

Last updated : 7/11/2023

- Introduction -

- Debloating methods -
TWRP Delete
pm uninstall
Freeze / Disable

Introduction

Various mini-guides for debloating Android, cut off the system apps page.

Debloating methods

There are 3 methods of debloating I've used at the moment, ranging from most recommended to least : TWRP delete, pm uninstall, & freezing / disabling.

TWRP Delete

How to debloat with TWRP / any other TWRP-based recovery of choice :

  1. Boot to recovery of choice. As long as the recovery has read/write access for the system, you're good to go.
  2. Enter the Mount option, tick System, as well as any partition you'd like to debloat, like Product, System, & Vendor. Again, make sure these partitions aren't read-only.
  3. Head to the file manager, which is usually in Advanced > File Manager.
  4. In the file manager, browse your way to the corresponding folder of the app you'd like to delete (such as system/app/Stk). Do not delete the entire app folder (like system/app, system/priv-app; or /system) or you might have to reflash.
  5. In that folder, select the folder logo on the bottom right corner & select Delete. Follow the prompt.
  6. (optional) Wipe Dalvik & cache (and package cache if available) before booting to system after you're done debloating.

Advantages:

Disadvantages:

pm uninstall

pm, which is another shorted word for package manager. The classic uninstall method that also works on non-rooted Android devices (ADB), and the common method to temporarily debloat some stock ROMs.

Setup (adb shell, PC):

  1. Enable USB debugging on Android device (Settings > System > Developer options > USB debugging)
  2. Setup adb/fastboot on PC (skip if already done)
  3. Connect Android device & PC
  4. Open terminal program in PC (or command prompt / PowerShell for Windows)
  5. In the terminal program, type in adb devices to enable ADB server, detect the Android device, & trigger USB debugging prompt in Android, which needs to be accepted.
  6. Type in adb shell.

Setup (rooted terminal, no PC; not recommended):

  1. Install terminal app on Android device
  2. Open it & give it root access

Post-setup guide:

General advantages:

General disadvantages:

Advantages (ADB / PC terminal):

Disadvantages (ADB / PC Terminal):

Advantages (root / Android terminal):

Disadvantages (root / Android terminal):

Freeze / Disable

Personally, this is not a method I'd go to despite the advantages as it's the least consistent. However, for the sake of completion, here it is.

Guide (for the ones that can be disabled from settings) :

  1. Enter Settings > Apps & notifications > see all apps & browse to the app you'd like to disable. Alternatively, long-press the app from the launcher & press the more info button.
  2. Tap the disable button, accepting its prompts.

Guide (for the ones that can't be disabled from settings; root required)

  1. Open your app manager (SD Maid is used for this one) & grant it root access if it's not granted beforehand
  2. Browse to the app you'd like to disable
  3. Tap Freeze app

Guide (adb) :

  1. Setup adb environment (guide linked above)
  2. pm disable [package name]

Advantages:

Disadvantages:

Back to top

Index - cellphone

Main Page