grimoire

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

commit 628b740dbc89ae6dd28dcc4fe7c4506361401cec
parent 54cbc174a735401a69e3ef0a7a522721d6560f85
Author: pyratebeard <root@pyratebeard.net>
Date:   Mon,  8 Apr 2019 16:11:26 +0100

android link under coding and adb setup page

Diffstat:
MHome.md | 1+
Acoding/adb.md | 26++++++++++++++++++++++++++
Acoding/android.md | 3+++
3 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/Home.md b/Home.md @@ -18,6 +18,7 @@ 9. [virtualisation](#technology_virtualisation) ## coding +- [android](coding/android) - [arduino](coding/arduino) - [git](coding/git) - [svn](coding/svn) diff --git a/coding/adb.md b/coding/adb.md @@ -0,0 +1,26 @@ +# android debug bridge + +[archwiki][] + +- install `adb` + ``` + pacman -S android-tools android-udev + ``` +- on android phone + - settings > system > about phone > tap 'build number' 7 times to become developer + - settings > system > (advanced) developer options > enable usb debugging +- plug in phone via usb and switch to 'ptp' +- check device is listed + ``` + adb devices + ``` + +## screencast +``` +adb shell screenrecord --output-format=h264 - | ffplay - +adb shell screenrecord --output-format=h264 - | mpv --no-correct-pts --fps=60 - +``` + + + +[archwiki]: https://wiki.archlinux.org/index.php/Android_Debug_Bridge diff --git a/coding/android.md b/coding/android.md @@ -0,0 +1,3 @@ +# android + +- [android debug bridge](adb)