lundi 23 septembre 2019

How to start the video recording of your Android device from adb shell

In order to start the video recording of your Android device from the command line on Windows or Linux, just use the following command :

adb shell screenrecord /sdcard/tmp.mp4

Then you have to press CTRL+C to stop the recording, and to retrieve the file to your computer, use the following command :

adb pull /sdcard/tmp.mp4