Skip to content

DmitrySokolov/cleanup-android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cleanup-android

Removes Android bloatware.

This script will uninstall apps using the command:

adb shell pm uninstall --user 0 $pkgID

If it is failed, it will attempt to disable an app:

adb shell pm disable-user --user 0 $pkgID

Requires

Android SDK platform tools (adb).

Download Command line tools only, unpack, and run:

sdkmanager.bat --install "platform-tools" "extras;google;usb_drive"

Then setup the environment variable ANDROID_SDK_ROOT:

setx ANDROID_SDK_ROOT <path to the folder that contains 'platform-tools'>

Use

Turn on Developer Mode on a device.

Connect a device to PC, and select Transfer files mode in a popup on a device.

Run get-apps.ps1 to get all installed apps (will be in app_list.txt).

Adjust the list of apps to uninstall in uninstall-apps.ps1 and run.

About

Remove Android bloatware

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published