Created
March 19, 2026 10:09
-
-
Save azlekov/f3c69f763e3be3eab6d92b82fcede06c to your computer and use it in GitHub Desktop.
Remove bloatware and spyware from Android TV boxes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### | |
| ### Clobber Malware/Junk - Run in PowerShell or Bash | |
| ### Requires ADB Connection (ie: adb connect 10.13.12.11:5555) | |
| ### | |
| ### Install ADB (If not already installed) | |
| ### | |
| ### - Assuming you're on Windows, to install ADB simply | |
| ### install Chocolatey and install ADB using Choco: | |
| ### choco install adb | |
| ### | |
| ### - macOS users have Homebrew to accomplish the same thing: | |
| ### brew install android-platform-tools | |
| ### | |
| wget https://github.com/bromite/bromite/releases/latest/download/arm_ChromePublic.apk -O chromium.apk | |
| wget https://github.com/TeamAmaze/AmazeFileManager/releases/latest/download/app-fdroid-release.apk -O filemanager.apk | |
| wget https://raw.githubusercontent.com/make-github-pseudonymous-again/pixels/main/1x1%23000000.jpg -O BlackBackground.jpg | |
| wget https://f-droid.org/repo/com.termux_118.apk -O termux.apk | |
| wget https://github.com/DesktopECHO/Pi-hole-for-Android/releases/latest/download/pideploy.apk -O pideploy.apk | |
| adb push BlackBackground.jpg /sdcard/Download/BlackBackground.jpg | |
| adb root | |
| sleep 10 | |
| adb shell "cmd uimode night yes" | |
| adb install filemanager.apk | |
| adb install termux.apk | |
| adb install pideploy.apk | |
| adb install chromium.apk | |
| adb shell pm uninstall --user 0 com.adups.fota | |
| adb shell pm uninstall --user 0 com.ftest | |
| adb shell pm uninstall --user 0 com.ionitech.airscreen | |
| adb shell pm uninstall --user 0 com.charon.rocketfly | |
| adb shell pm uninstall --user 0 com.netflix.mediaclient | |
| adb shell pm uninstall --user 0 com.android.music | |
| adb shell pm uninstall --user 0 com.android.dynsystem | |
| adb shell pm uninstall --user 0 com.android.egg | |
| adb shell pm uninstall --user 0 com.www.intallapp | |
| adb shell pm uninstall --user 0 com.www.productdeclare | |
| adb shell pm uninstall --user 0 org.xbmc.kodi | |
| adb shell pm uninstall --user 0 com.softwinner.TvdFileManager | |
| adb shell pm uninstall --user 0 com.apkpure.aegon | |
| adb shell pm uninstall --user 0 com.amazon.avod.thirdpartyclient | |
| adb shell pm uninstall --user 0 com.adups.market | |
| adb shell pm uninstall --user 0 com.android.camera2 | |
| adb shell pm uninstall --user 0 com.android.deskclock | |
| adb shell pm uninstall --user 0 com.android.chrome | |
| adb shell pm uninstall --user 0 com.google.android.feedback | |
| adb shell pm uninstall --user 0 com.google.android.katniss | |
| adb shell pm uninstall --user 0 net.lightflash.wallpapersn | |
| adb shell pm uninstall --user 0 com.google.android.youtube.tv | |
| adb shell pm uninstall --user 0 com.android.gallery3d | |
| adb shell pm uninstall --user 0 com.android.wallpaper.livepicker | |
| adb shell pm uninstall --user 0 com.android.wallpaperbackup | |
| adb shell pm uninstall --user 0 com.android.dreams.basic | |
| adb shell pm uninstall --user 0 com.android.dreams.web | |
| adb shell pm uninstall --user 0 com.android.dreams.phototable | |
| adb shell pm uninstall --user 0 cm.aptoidetv.pt | |
| adb shell pm uninstall --user 0 com.sv.tvcustomizer | |
| adb shell pm uninstall --user 0 com.softwinner.TvdVideo | |
| adb shell pm uninstall --user 0 com.softwinner.awmanager | |
| adb shell pm uninstall --user 0 com.softwinner.settingsassist | |
| adb shell pm uninstall --user 0 com.softwinner.dragonbox | |
| adb shell pm uninstall --user 0 com.softwinner.awlogsettings | |
| adb shell pm uninstall --user 0 com.liajt.otaapk | |
| adb shell pm uninstall --user 0 com.example.vlc | |
| adb shell pm uninstall --user 0 com.applist.myapplication | |
| adb shell pm uninstall --user 0 com.example.playreadydemo | |
| adb shell pm uninstall --user 0 com.swe.myapplication | |
| adb shell pm uninstall --user 0 de.blinkt.openvpn | |
| adb shell rm -rf /data/data/org.xbmc.kodi | |
| adb shell rm -rf /data/data/com.www.intallapp | |
| adb shell rm -rf /data/data/com.www.productdeclare | |
| adb shell rm -rf /data/media/0/Android/data/com.adups.fota | |
| adb shell rm -rf /data/misc/profiles/ref/com.adups.fota | |
| adb shell rm -rf /data/misc/profiles/cur/0/com.adups.fota | |
| adb shell rm -rf /data/system/shared_prefs | |
| adb shell mkdir -p /data/system/shared_prefs/open_preference.xml | |
| adb shell chmod 0000 /data/system/shared_prefs/open_preference.xml | |
| adb shell /vendor/bin/busybox chattr +i /data/system/shared_prefs/open_preference.xml | |
| adb shell rm -rf /data/system/Corejava | |
| adb shell touch /data/system/Corejava | |
| adb shell chmod 0000 /data/system/Corejava | |
| adb shell /vendor/bin/busybox chattr +i /data/system/Corejava | |
| adb shell rm -rf /data/data/com.adups.fota | |
| adb shell touch /data/data/com.adups.fota | |
| adb shell chmod 0000 /data/data/com.adups.fota | |
| adb shell /vendor/bin/busybox chattr +i /data/data/com.adups.fota | |
| echo Cleanup finished, reboot your device. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment