Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to record Android device's screen on Android version below 4.4 (KitKat)

Tags:

android

adb

With Android version 4.4 (KitKat) one can record Android device's screen with following command using ADB from commandline.

adb shell screenrecord /sdcard/demo.mp4 

But this only works in Android version 4.4 (KitKat) and 5.0 (Lolipop)

Is there any other command or a way to record a video below Android version 4.4 (KitKat) using ADB?

like image 845
Dedaniya HirenKumar Avatar asked Jan 29 '15 14:01

Dedaniya HirenKumar


People also ask

Which screen recorder is best for Android 4.4 2?

AZ Screen Recorder is the best app to record the screen of your Lollipop.

Does one UI have screen recording?

Samsung has announced a new function that allows you to produce a screen recording video. This feature was included in the One UI update and was pushed out along with the Galaxy Note 10 range. The function is simple to use and available on all Galaxy phones that run Android 10.


1 Answers

This only work in KitKat and via ADB only. This does not work below Kitkat.

To start recording your device’s screen, run the following command:

adb shell screenrecord /sdcard/example.mp4, This command will start recording your device’s screen using the default settings and save the resulting video to a file at /sdcard/example.mp4 file on your device.

When you’re done recording, press Ctrl+C in the Command Prompt window to stop the screen recording. You can then find the screen recording file at the location you specified. Note that the screen recording is saved to your device’s internal storage, not to your computer.

The default settings are to use your device’s standard screen resolution, encode the video at a bitrate of 4Mbps, and set the maximum screen recording time to 180 seconds. For more information about the command-line options you can use, run the following command:

adb shell screenrecord --help, This works without rooting the device. Hope this helps.

like image 148
jinkal Avatar answered Sep 30 '22 10:09

jinkal