Hacker News new | ask | show | jobs
by FrequentLurker 77 days ago
I wonder if there is a vulnerability that allows for toggling wireless adb. I have an LG with android 12 which technically should support wireless ADB but LG stripped the option from settings. Some say they stripped out the feature entirely. On top of that the USB port is damaged and doesnt accept data but still accepts power. So no wired adb either.
3 comments

> On top of that the USB port is damaged and doesnt accept data but still accepts power.

Data is broken on both sides of the port? (if you rotate the plug 180° it should use the other pins on the USB-C)

Tried both sides but no luck.
If you can get root and a terminal emulator on the device, you could try something like "adb shell settings put global adb_wifi_enabled 1".
What's stopping you from rooting it and then sshing in? You can then run the adb commands using root access.
> What's stopping you from rooting it

(probably the broken USB port)

Isn't the article about obtaining root from an unprivileged app? The recent GhostLock exploit is potentially usable for this purpose, for instance.