Remote control android device

About STF

Source Code

Control and manage Android devices from your browser.

Demo

image

Requirements

Install

Installation

link

Problems

USB connection

ADB hasn’t whitelisted the manufacturer’s vendor ID

mac OSX上eclipse adb无法识别(调试)小米的解决方案

1
2
$ echo "0x2717" > ~/.android/adb_usb.ini
$ adb kill-server
1
2
3
4
5
6
7
$ adb devices
# output likes below
List of devices attached
4***some-number***f unauthorized
# or
4***some-number***f offline

Solution

1
2
3
$ adb version
# Android Debug Bridge version 1.0.32
# lowwer version adb should be update

Can’t connect Nexus 4 to adb: unauthorized Vasudev’s answer

  1. Make sure adb is running
  2. In device go to Settings -> developer options -> Revoke USB debugging authorities
  3. Disconnect device
  4. In adb shell type > adb kill-server
  5. In adb shell type > adb start-server
  6. Connect device

Wireless connection

1
2
3
4
5
6
7
# usb connect device
$ adb tcpip 5555
# disconnect usb
$ adb connect ip
$ stf local --allow-remote

Launch tcp in boot

How to edit the init.rc in android 不敢尝试,感觉风险很大