Skip to content

jashgopani/debloat-android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Debloat - Uninstall System Apps on Android (without Root)

Debloat is a simple bash script that helps you uninstall system apps without rooting your phone from your pc ! It is easy to use as well as customise.

  • Compatible with Windows/Linux/MacOS
  • Does not void your warranty
  • You can reinstall the apps in future without any issues
  • Works for all Android phones
  • Can be used to uninstall third-party / non-system apps also.
  • Uninstall CHINESE APPS

Screenshots

Start command Welcome Screen Option 0 Option 1 Option 2a Option 2b Option 3a Option 3b Option 4 Option 6 Quit

How does it work

The Bash script uses Android Debugging Bridge(ADB) to get developer privileges on your Android device and hence it does not affect your warranty. To know more about adb, read this Android Developer Documentation.

Setup and Requirements

ℹ️ Note: If you have Android Studio / Android SDK setup on your PC then you already have ADB installed. Just make sure that the adb is added to the PATH variables.

  • ADB (Download & Setup Instructions | For Windows & Mac only)
  • Git Bash (Download | Only for Windows users )
  • Windows users add adb to your PATH variable
  • Enable Developer Options on your android device. (Checkout the adb link for the same)
  • Download this repository / copy the script

Running the script

ℹ️ Note: Adding ./ is important on Windows machines else the script won't run

  1. Connect your Android phone to your PC via USB🔌.
  2. Launch terminal on your machine💻
    • If you are on Windows, use Git Bash .
    • If you are on Linux / MacOS, use terminal.
  3. Run the following command ./<relative-path>/debloat.sh in your terminal. (./debloat.sh in case of current directory)
  4. Now follow the instructions on your terminal :)

Adding / Removing apps

ℹ️ Note: If the app isn't present on your device, it won't affect the execution of script. It will just show an error app not found on 0

**:warning:Warning: ** Do not Uninstall the Find my device app on your MIUI phones, else your phone will go in a boot loop on restart and you'll have to erase all your data to use your phone !

The part of the script shown below has complete names of all the apps in an array, you can add/remove apps from here.
The list below contains some system services/apps which are not used or generate ads.


# put all the complete app names in an array.

declare -a arr=("com.mipay.wallet.in"
		"com.xiaomi.payment"
		"cn.wps.xiaomi.abroad.lite"
		"com.xiaomi.midrop"
		"com.miui.yellow.page"
		"com.miui.android.fashiongallery"
		"com.android.browser"
		"com.miui.glgm"
		"com.miui.msa.global"
		"com.xiaomi.mipicks"
		"com.google.android.videos"
		"com.facebook.services"
		"com.facebook.system"
		"com.facebook.appmanager"
		"com.android.email"
		"com.miui.videoplayer"
		"com.miui.player"
		"com.miui.miservice"
		"com.miui.cloudservice"
		"com.miui.cloudbackup"
		)

FAQs

  • What is the meaning of Debloat ?

    Since this scripts aims at Removing Bloatwares i.e useless and junk applications, it is named as De-Bloat. It means removing bloatware from your phone and keep it clean !

  • Why do I need Git to run this script ?

    This is a Bash script and Windows doesn't support running bash scripts directly. Hence to execute it you need a terminal that supports bash scripts and Git Bash is such a terminal. Another option is setting up the WSL on your Windows machine but that is too much work for uninstalling apps !

  • What is relative path ?

    Relative path is path of the target/Destination file from the current directory. For example, if your file debloat.sh is in the same directory as your Bash shell, your relative path is ./debloat.sh where ./ means current directory.
    Have a look at this article for more details.

  • How do I get complete name of an app ?

    You can checkout the App Info section of the application in your device and if you can't find the app package name there, you can install a third party app like this

Package App Viewer

  • My Apps are not uninstalled, what is the reason ? What should I do ?

    Reconnect your device and re-run the script ! Sometimes, only the updates of the System apps are uninstaled and the app is restored to its factory version; so to uninstall this version , just rerun the script.

  • How is this different from Disable option on my phone ?

    Disabling apps does not uninstall them. The apps still occupy space in your internal storage ! This script, uninstalls and completely removes the apps from your phone


⚠️Disclaimer: Altough this script works perfectly, the Developer is NOT RESPONSIBLE for any damage or misbehaviour on your device.

About

Uninstall System Apps in android devices without voiding warranty or rooting your phone.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages