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