Bash script using ADB to debloat non-rooted smartphones. Improve your privacy, the security and battery life of your device. https://gitlab.com/W1nst0n/universal-android-debloater
Go to file
2020-02-17 22:35:19 +01:00
lists Updated pending list (new packages + moved documented one to stable lists 2020-02-17 22:31:53 +01:00
CHANGELOG.md New version (v2.1) 2020-02-17 22:35:19 +01:00
debloat_script.sh Bug fixes + code improvement + legacy method for older Android versions 2020-02-17 22:33:35 +01:00
README.md README Overhaul 2020-02-06 17:36:36 +01:00

Universal Android Debloater

DISCLAIMER: Use this script at your own risk. I am not responsible for anything that could happen to your phone.

Summary

I try to provide and maintain a universal tool which remove bloatwares on any unrooted Android phones.

The main goal is to improve battery performance and privacy by limiting the tracking from preinstalled apps. The script has a menu that lets you choose what debloat list you want to use. I strongly encourage you to take a look at the lists because some apps are commented out by default. All packages are as well documented as possible in order to provide the a better understanding of what you can delete or not.

This script should be safe with the default selection. The worse thing which could happen is preventing an essential system process to be loaded during boot causing then an unfortunate bootloop. After about 5 failed system boots, the phone will automatically reboot in recovery mode and you'll have to perform a FACTORY RESET.

In any case, you can NOT brick your device with this script ! That's the main thing, right ? 😃

Features

  • Quick search among all the packages of your phone
  • Uninstallation of system/user packages (manually or with the debloat lists)
  • Reinstallation of system packages
  • ADB backup (not really reliable, see the FAQ)
  • Device brand detection and auto-selection of the appropriate manufacturer debloat list
  • Logs in debloated_packages.txt and remaining_packages.txt.
  • Installation of alternative open-source apps replacing stock apps (list in the WIKI section) (WIP)

NB : It is NOT a real uninstallation for system apps (see the FAQ)

Universal debloat lists

  • GFAM (Google/Facebook/Amazon/Microsoft)
  • AOSP bloat
  • Manufacturers bloat
  • Mobile carriers bloat
  • Miscellaneous bloat

Manufacturers debloat lists

  • Archos
  • Asus
  • LG
  • Google
  • HTC
  • Huawei
  • Motorola
  • Nokia
  • OnePlus
  • Samsung
  • Sony
  • Wiko
  • Xiaomi
  • ZTE

Mobile carriers debloat lists

France USA Germany
Orange T-Mobile Telekom
SFR Verizon
Free Sprint
Bouygues / Sosh AT&T

How to use it

  • Read the FAQ !!
  • Do a proper backup of your data ! You can never be too careful !
  • Enable Developer Options on your smartphone.
  • Turn on USB Debugging.

LINUX

  • Install Android plateform tools with your package manager :

    Debian Base :

    apt-get install android-sdk-platform-tools
    

    Arch-Linux Base :

    pacman -S android-tools
    
  • Go to the release section, download the lastest release and enjoy :

bash debloat_script.sh

WINDOWS

  • Install WSL (Windows Subsystem for Linux) in order to be able to use bash script.

  • Install ADB. If you want ADB support everywhere on your PC, you need to add the path of ADB folder in the system variables (see this).

  • Go to the release section and download the lastest release.

  • Execute the script from the Ubuntu bash shell et voilà !

bash debloat_script.sh
  • Don't forget to check the debloat lists to see what are my default choices and to avoid any bad surprises.