r/androiddev • u/Informal-Addendum435 • 28d ago
How to keep wireless debugging on 24/7 even after restarts?
If my phone restarts, I have to 1. connect it to a wifi network (I'm almost never on or near wifi), 2. go into settings and turn on wireless debugging 3. re-pair all my dev machines to its new port
How can I make this less painful?
6
Upvotes
2
u/SnipesySpecial 27d ago
Just root/kernelsu/magisk/etc if you want that.
Its that way because otherwise an app can self adb connect on reboot, and give itself escalated privilege with 0 user involvement. Which is not great.
0
u/[deleted] 27d ago
[removed] — view removed comment