universal-android-debloater/README.md

96 lines
3.6 KiB
Markdown
Raw Normal View History

2019-04-01 01:34:25 +13:00
# Universal Android Debloater
2019-03-31 03:42:24 +13:00
2020-02-07 05:36:36 +13:00
**DISCLAIMER**: Use this script at your own risk. I am not responsible for anything that could happen to your phone.
2019-04-20 12:11:12 +12:00
2020-02-07 05:36:36 +13:00
## Summary
I try to provide and maintain a universal tool which remove bloatwares on any unrooted Android phones.
2019-04-21 12:42:02 +12:00
2020-02-07 05:36:36 +13:00
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.
2019-04-20 12:11:12 +12:00
2020-02-07 05:36:36 +13:00
In any case, you can NOT brick your device with this script ! That's the main thing, right ? :smiley:
2019-12-16 11:21:39 +13:00
2020-02-07 05:36:36 +13:00
## Features
2019-12-16 11:21:39 +13:00
* [X] Quick search among all the packages of your phone
2020-02-07 05:36:36 +13:00
* [X] Uninstallation of system/user packages (manually or with the debloat lists)
* [X] Reinstallation of system packages
* [X] ADB backup (not really reliable, see the FAQ)
* [X] Device brand detection and auto-selection of the appropriate manufacturer debloat list
* [X] Logs in `debloated_packages.txt` and `remaining_packages.txt`.
2020-01-11 13:26:48 +13:00
* [ ] Installation of alternative open-source apps replacing stock apps (list in the WIKI section) (WIP)
2020-01-10 01:45:55 +13:00
2020-02-07 05:36:36 +13:00
NB : It is NOT a real uninstallation for system apps (see the [FAQ](https://gitlab.com/W1nst0n/universal-android-debloater/-/wikis/FAQ))
2019-04-01 01:34:25 +13:00
2020-02-07 05:36:36 +13:00
## Universal debloat lists
2020-01-10 01:45:55 +13:00
* [X] GFAM (Google/Facebook/Amazon/Microsoft)
* [X] AOSP bloat
2020-02-07 05:36:36 +13:00
* [X] Manufacturers bloat
* [X] Mobile carriers bloat
2020-01-24 12:47:21 +13:00
* [X] Miscellaneous bloat
2019-12-16 11:21:39 +13:00
2020-02-07 05:36:36 +13:00
## Manufacturers debloat lists
2019-04-25 23:14:06 +12:00
* [ ] Archos
2019-04-20 12:34:08 +12:00
* [X] Asus
* [X] LG
* [X] Google
2019-04-20 14:04:22 +12:00
* [ ] HTC
2019-04-20 12:34:08 +12:00
* [X] Huawei
2020-02-07 05:36:36 +13:00
* [X] Motorola
2019-04-20 12:34:08 +12:00
* [X] Nokia
2020-02-07 05:36:36 +13:00
* [X] OnePlus
2019-04-20 12:34:08 +12:00
* [X] Samsung
* [X] Sony
* [ ] Wiko
* [X] Xiaomi
2020-02-07 05:36:36 +13:00
* [ ] ZTE
## Mobile carriers debloat lists
|**France** | **USA** |**Germany** |
|:---------------:|:--------:|:----------:|
| Orange | T-Mobile | Telekom |
| SFR | Verizon | |
| Free | Sprint | |
| Bouygues / Sosh | AT&T | |
2019-03-31 03:42:24 +13:00
2020-02-07 05:36:36 +13:00
## How to use it
2020-01-10 01:45:55 +13:00
- **Read the [FAQ](https://gitlab.com/W1nst0n/universal-android-debloater/-/wikis/FAQ) !!**
2020-02-07 05:36:36 +13:00
- **Do a proper backup of your data ! You can never be too careful !**
- Enable *Developer Options* on your smartphone.
- Turn on *USB Debugging*.
2020-01-10 01:45:55 +13:00
### LINUX
2019-04-20 12:11:12 +12:00
- Install *Android plateform tools* with your package manager :
2019-04-20 11:37:41 +12:00
Debian Base :
```console
2020-02-07 05:36:36 +13:00
apt-get install android-sdk-platform-tools
2019-04-20 11:37:41 +12:00
```
2019-04-25 10:31:27 +12:00
Arch-Linux Base :
2019-04-20 11:37:41 +12:00
```console
pacman -S android-tools
2020-02-07 05:36:36 +13:00
```
- Go to the release section, download the lastest release and enjoy :
```
bash debloat_script.sh
```
2020-01-10 01:45:55 +13:00
### WINDOWS
2020-01-10 02:09:39 +13:00
- Install [WSL (Windows Subsystem for Linux)](https://itsfoss.com/install-bash-on-windows/) in order to be able to use bash script.
- Install [ADB](https://dl.google.com/android/repository/platform-tools-latest-windows.zip). If you want ADB support everywhere on your PC, you need to add the path of ADB folder in the system variables (see [this](https://www.xda-developers.com/adb-fastboot-any-directory-windows-linux/)).
2020-02-07 05:36:36 +13:00
- Go to the release section and download the lastest release.
2020-01-10 01:45:55 +13:00
2020-02-07 05:36:36 +13:00
- Execute the script from the Ubuntu bash shell et voilà !
```
bash debloat_script.sh
```
2019-03-10 02:29:04 +13:00
- **Don't forget to check the debloat lists to see what are my default choices and to avoid any bad surprises.**
2020-01-10 02:18:55 +13:00