This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To query this list: `adb shell service list` | |
Easy to read version: | |
DUMP OF SERVICE SurfaceFlinger: | |
DUMP OF SERVICE accessibility: | |
DUMP OF SERVICE account: | |
DUMP OF SERVICE activity: | |
DUMP OF SERVICE alarm: | |
DUMP OF SERVICE appwidget: | |
DUMP OF SERVICE audio: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function screenrecord() { | |
echo "Press ^C to stop recording." | |
adb shell screenrecord /sdcard/$1.mp4 | |
sleep 1 | |
adb pull /sdcard/$1.mp4 . | |
adb shell rm /sdcard/$1.mp4 | |
open $1.mp4 | |
} |