1

What I want is to control a device from remote:

  • turn display on/off,
  • launch a specified application (clock),
  • open a website.

On a rooted device, I've installed a SSHD app, then I logged in to the device:

su
setprop service.adb.tcp.port 5555
stop adbd
start adbd

Then I can launch adb on my computer, connect to the device and perform various adb commands.

Can I do this on a non-rooted device? I've found that setprop requires root access.

Or, is there any app, which have TCP/WWW interface to do such things? (I've installed an IP camera app, which have URL interface for turning the camera LED on/off, beside usual camera functions, e.g. make snapshot.)

-1

Try adb shell command. It gives you super user permissions in the connected device.

  • But I can't adb until I have not set to tcp mode. – ern0 Jan 13 '15 at 12:57
  • If I set adb to TCP/IP mode, will it revert to USB mode at next boot? – ern0 Jan 13 '15 at 12:58
  • Please add some detail or steps to make this a complete answer. – HasH_BrowN Jan 15 '15 at 2:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.