ADB for Android?

DeadNinja@lemmy.world to Android@lemmy.world – 40 points –

Like many others, I find ADB to be an excellent utility when I intend to get rid of bloatwares / system-apps-that-I-don't need from my Android phone.

The only caveat being that ADB is to be run only on a separate device (Windows, macOS or Linux), and my Android phone has to be connected to it in USB-debugging mode.

Not sure if this is a dumb question or not - but Is there any ADB equivalent that I can run straight in my Android phone to remove bloatware from the same Android phone ?

Thanks in advance !

12

shizuku + rish gives you a persistent adb shell and even 3rd-party app integration

Yeah I use this with Termux. Takes a little fiddling, but it works great afterwards.

Developer options, 'activate terminal' and when rooted you can switch to root with su. That is an alternative when you use 'adb shell' to get rid of the bloatware.

I'm using Titanium Backup (for more then 10y now) on my rooted/custom rom to freeze or uninstall system apps (so I don't know any other method). Main use of the app is full backups though, including apk. (so I had it registered with a license file purchased, so I can use it even on devices without google store)

I do this too, but I've found this gets increasingly worse over the years, as restores either never complete or ruin the application and I need to install it from the play store anyway...

Are you doing the .apk as well as the data?

This is entirely up to the app. Many of them don't upgrade properly from previous versions of their own data. Often they only take into account the immediately previous version, so if you try to skip versions they're toast.

Yep. I even have some apks still available that aren't available in the store anymore. Alas the data is the biggest issue now in Android 13 though. When it's restored most apps just refuse to start. Time to dive more into this before putting a report in to the developer.

If your device is on Android 11 or onwards, there is an option in Developer options called "wireless debugging". All you need is a wifi connected to your device. Turn it on with App Manager in ADB mode.

You can use LADB, but it is not free unless you compile the app yourself.

You can use Bugjaeger instead, which can achieve the same thing (just a bit trickier to use). It is free on the Play Store but has ads. You can use an ad blocker in the background though, it's not a big problem.

Not completely sure about this but maybe termux can do this, but I think you still need access to a PC.