openstf / STFService.apk

Monitor and perform various actions on your Android device. Not meant for actual user devices.
Other
242 stars 207 forks source link

STFService with Internet #17

Closed Phelan164 closed 6 years ago

Phelan164 commented 6 years ago

I have STFServer running online (I rent a PC on cloud then run STFServer). Is this possible to connect my phone to the STFServer via Internet? (I just connect successfully via USB or same WiFi router)

BeiKeJieDeLiuLangMao commented 6 years ago

Maybe you could use remote adb

Phelan164 commented 6 years ago

Could you guide me detail?

BeiKeJieDeLiuLangMao commented 6 years ago

firstly, you need open phone‘s remote adb model by command "adb tcpip 5555" then you need connect to this device by "adb connect :5555" at the pc which you want to connect to stfService after that you could use stfService like device via USB

Phelan164 commented 6 years ago

Your method, I tried to connect my phone to my stf server PC. in which, both my phone and stf server PC connect same WiFi router. It is OK.

BUT, my case:

sorccu commented 6 years ago

No, that's not a supported use case. STF requires additional permissions that only the adb shell has. It won't work without adb.

amet123 commented 5 years ago

How headspin work

thinkhy commented 5 years ago

it can be supported if you have a public domain/ip

imran-abbas1 commented 4 years ago

@thinkhy i have a public ip. can you tell me how to make this work?