Adb: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 11: Zeile 11:
 
  begonia:/ $  
 
  begonia:/ $  
 
;Die Befehle gehen interaktiv und auf der Linux Konsole
 
;Die Befehle gehen interaktiv und auf der Linux Konsole
 +
=Beispiele=
 +
*ip a a
 +
*netstat -rn
 +
*uname -a
 +
*df -h
 +
*cd /bin
 +
*ls
 +
 
=befehl ausführen=
 
=befehl ausführen=
 
*adb shell ls -l storage/sdcard0/Download/
 
*adb shell ls -l storage/sdcard0/Download/

Version vom 5. August 2021, 10:28 Uhr

connect

  • adb connect 10.85.70.2:5555
connected to 10.85.70.2:5555

devices

  • adb 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 a
  • netstat -rn
  • uname -a
  • df -h
  • cd /bin
  • ls

befehl ausführen

  • adb shell ls -l storage/sdcard0/Download/
-rw-rw---- root     sdcard_rw  4254181 2016-09-13 15:51 SuperSU-v2.65-20151226141550.zip

adb push

  • adb push SuperSU-v2.65-20151226141550.zip /storage/sdcard0/Download

adb pull

  • adb pull /storage/sdcard0/Download/SuperSU-v2.65-20151226141550.zip .

adb reboot recovery

  • adb reboot recovery