scrcpy icon indicating copy to clipboard operation
scrcpy copied to clipboard

Why tcpip wireless connection gets revoked after a while?

Open BadrShuaib90 opened this issue 10 months ago • 3 comments

Everytime I establish a connection through tcpip with my device it works fine for a couple of days or so, then at some point it needs me to re-establish the connection through USB all over again. is there a way to make the connection last without having to connect the phone via USB every couple of days?

does this have to do with phone settings?

BadrShuaib90 avatar Apr 24 '24 20:04 BadrShuaib90

It's reset after a phone reboot. You can't preserve adb tcpip 5555 unless your device is rooted.

rom1v avatar Apr 25 '24 05:04 rom1v

It's reset after a phone reboot. You can't preserve adb tcpip 5555 unless your device is rooted.

I have root, How do I do it? Preferably using termux.

meowflyx avatar May 01 '24 16:05 meowflyx

https://android.stackexchange.com/questions/232082/how-can-i-enable-android-debugging-from-a-root-shell-on-the-phone/232083#232083

rom1v avatar May 01 '24 16:05 rom1v