| ▲ | Groxx 9 days ago | |||||||||||||
AFAICT it only works on non-rooted devices when used over USB to access another device, because without root it has no access to the adb server on the phone running termux. I'm definitely not 100% sure about that though, so someone please correct me if not. | ||||||||||||||
| ▲ | lisdexan 9 days ago | parent [-] | |||||||||||||
Just tested⁰, it works with WiFi ADB but it has some limitations. - The pairing process is kinda awkward, you need to split screen Termux and the Wireless debugging submenu, if you change windows the pairing IP and code are changed. - The pair survives a reboot and WiFi change. You can disable the 7day revocation, so the pairing process is a one time thing. - After a pair you still need to connect (adb connect localhost:port) and the port changes after a WiFi change or disconnect. I searched for solutions and apparently it's simple as running nmap twice¹ - It obviously doesn't work without a WiFi connection (unless is there some dark magic to connect your phone to its own hotspot). So a wrapper seems viable if you are ok only installing apps on trusted networks. [0]: I'm on GrapheneOS but I believe the dev menu is the same. [1]: https://www.reddit.com/r/tasker/comments/1dqm8tq/project_sim... | ||||||||||||||
| ||||||||||||||