Einstellen des TCP Modus
connect
- adb connect 10.85.70.2:5555
connected to 10.85.70.2:5555
devices
List of devices attached
10.85.70.2:5555 device
pjofm7xoae85fafe device
interaktiv
- adb -s 10.85.70.2:5555 shell
begonia:/ $
- Die Befehle gehen interaktiv und auf der Linux Konsole
Beispiele
- ip a s
- ip route show table all | grep default
- uname -a
- df -h
- cd /bin
- ls
befehl ausführen
- adb -s 10.85.70.2:5555 shell ls -l /storage/sdcard0/Download/
adb pull
- adb -s 10.85.70.2:5555 pull /storage/sdcard0/Download/test.txt
adb push
- echo test > geheim.txt
- adb -s 10.85.70.2:5555 push geheim.txt /storage/sdcard0/Download/
adb reboot recovery
- adb -s 10.85.70.2:5555 reboot recovery
Video