serhii.net

In the middle of the desert you can say anything you want

28 Jan 2024

Uninstalling garbage from my android phone

Removing garbage through ADB

I’ll be more minimalistic though

> adb shell pm list packages | ag "(lazada|faceb|zalo)"
package:com.facebook.appmanager
package:com.facebook.system
package:com.lazada.android
package:com.facebook.services
package:com.facebook.katana
adb shell pm uninstall -k --user 0  com.facebook.appmanager
adb shell pm uninstall -k --user 0  com.facebook.system
adb shell pm uninstall -k --user 0  com.lazada.android
adb shell pm uninstall -k --user 0  com.facebook.services
adb shell pm uninstall -k --user 0  com.facebook.katana

adb shell pm uninstall -k --user 0  com.samsung.android.bixby.agent
adb shell pm uninstall -k --user 0  com.samsung.android.bixby.wakeup
adb shell pm uninstall -k --user 0  com.samsung.android.bixbyvision.framework

Removing garbage with Canta+Shizuku (better!)

First heard about them here: (185) Samsung’s privacy policy for Oct 1st is crazy. : Android

  • Shizuku (Google Play + ADB but not F-Droid) allows other apps to do root-y things
    • Enabling either through adb shell sh /sdcard/Android/data/moe.shizuku.privileged.api/start.sh
    • or (better!) through Wifi debugging (no computer required)
  • Canta w/ the help of Shizuku helps deleting apps quickly, including undeletable ones
    • Has a really neat “Recommended” list of apps that are safe to delete and useless
      • I do need some of them, so one would need to manually go through it, but I deleted 73 apps after a clean install
Nel mezzo del deserto posso dire tutto quello che voglio.