To start recording:
adb shell screenrecord sdcard/my-cool-video.mp4
To view the recording on computer
adb pull sdcard/my-cool-video.mp4
To start recording:
adb shell screenrecord sdcard/my-cool-video.mp4
To view the recording on computer
adb pull sdcard/my-cool-video.mp4