android-tools

Differences between revisions 1 and 2
Revision 1 as of 2015-03-03 09:44:58
Size: 651
Editor: timo-jyrinki
Comment:
Revision 2 as of 2015-03-03 09:46:08
Size: 702
Editor: timo-jyrinki
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
(from ogra's http://paste.ubuntu.com/10501535/)

(from ogra's http://paste.ubuntu.com/10501535/)

  • get the IP of the device with ifconfig
  • android-gadget-service enable ssh
  • use phablet-shell once so your ssh key gets copied in place
  • log out from phablet-shell or adb
  • scp the android-tools-adbd package in place
  • ssh phablet@<ip of the phone>

  • sudo mount -o remount,rw /
  • sudo dpkg -i /path/to/adbd.deb
  • sudo mount -o remount,ro /
  • sudo reboot

now check that:

  • adb root is a nop-op
  • adb shell only works with screen unlocked (adb on the PC should print "error: closed"
  • adb push and pull only work with unlocked screen
  • adb reboot and adb reboot-recovery work in any case (locked and unlocked screen)

Process/Merges/TestPlan/android-tools (last edited 2015-03-03 09:46:08 by timo-jyrinki)