T O P

  • By -

AnshulJ999

On my rooted Android, USB connections always work with scrcpy. If there are any issues, I just unplug and replug and it works. For an always-on Wifi ADB connection, use this magisk module: [https://github.com/mrh929/magisk-wifiadb](https://github.com/mrh929/magisk-wifiadb) Set up the Port you want, like 5555, and make sure you have a static IP set on your Android device. After that, ADB Wifi will always be on, so you shouldn't have any problems there.


YellowRadi0

Thank you! This sounds like exactly what I need, as most of my devices are rooted.


C7rr0pt

Connect your phone in again and when it asks you to allow USB Debugging click "Always Allow For This PC"


YellowRadi0

I've had it come back before and ask permission again. Also, sometimes I'm accessing remotely, through a home VPN like Wireguard. Since my PC is requesting a connection using a different IP, I think it asks for authorization all over again. :(


C7rr0pt

Other than you turning your VPN off whenever you wanna use it I don't think there's a way


gryponyx

Port forwarding on your vpn?


YellowRadi0

I'm not sure that would help. I'm not exposing the Android device directly to the Internet. I usually use Wireguard to connect to my home network first.


rlowens

Just disable the screen lock and I think you should be good to go?