grimoire

personal wiki
git clone git://git.pyratebeard.net/grimoire.git
Log | Files | Refs

adb.md (605B)


      1 # android debug bridge
      2 
      3 [archwiki][]
      4 
      5 - install `adb`
      6 	```
      7 	pacman -S android-tools android-udev
      8 	```
      9 - on android phone
     10 	- settings > system > about phone > tap 'build number' 7 times to become developer
     11 	- settings > system > (advanced) developer options > enable usb debugging
     12 - plug in phone via usb and switch to 'ptp'
     13 - check device is listed
     14 	```
     15 	adb devices
     16 	```
     17 
     18 ## screencast
     19 ```
     20 adb shell screenrecord --output-format=h264 - | ffplay -
     21 adb shell screenrecord --output-format=h264 - | mpv --no-correct-pts --fps=60 -
     22 ```
     23 
     24 
     25 
     26 [archwiki]: https://wiki.archlinux.org/index.php/Android_Debug_Bridge