Android 4.4 KitKat now Supports screen recordings, it's only accessible via an ADB command on unrooted devices a. This featues is really a great way to create walkthroughs, tutorials for apps and also perfect for reporting bugs.
Install ADB
First step in this sections, you must install ADB , open your terminal and type this command.
$ sudo add-apt-repository ppa:phablet-team/tools
$ sudo apt-get update
$ sudo apt-get install android-tools-adb
if you are using windows or mac, you can download manually the ADB package from
here.
Enable Developer Mode.
- Go to the settings menu, and scroll down to "About phone." Tap on it.
- Scroll down to the bottom, where you see "Build number."
- Tap on it seven (7) times (it's make you as developers).
Enable USB Debugging.
Once done hit the Back button, youl'll see an new entry called "Developer Options" just above the "About phone." entry, tap on it, scroll down to the debugging section, then enable USB debugging, note that you’ve to confirm the security prompt on your device :
Using Screen Recording.
Once you done you need to make sure that your device is listed & connected using :
$ adb devices
List of devices attached
xxxxxxxxxxxxxxxx device
If the result of "List of devices" is "????????" you need to kill and start the ADB server using this command.
$ adb kill-server
$ adb start-server
$ adb devices
and your device will listed at the terminal , same command on windows and mac.
To start screen recording you need to type this command in the terminal or cmd (windows).
$ adb shell screenrecord /sdcard/yourvideoname.mp4
The default and maximum duration of a screenrecord is 3 minutes, you can use the --time-limit argument to set the limit you want like this :
$ adb shell screenrecord /sdcard/yourvideoname.mp4 --time-limit 1,120
- --time-limit 1,120 that mean you will record from 1 to 120 second , that mean 2 minutes.
- --help : Displays a usage summary.
- --size : Sets the video size, for example: 1280x720. The default value is the device's main display resolution (if supported), 1280x720 if not. For best results, use a size supported by your device's Advanced Video Coding (AVC) encoder.
- --bit-rate : Sets the video bit rate for the video, in megabits per second. The default value is 4Mbps. You can increase the bit rate to improve video quality or lower it for smaller movie files. The following example sets the recording bit rate to 6Mbps: screenrecord --bit-rate 6000000 /sdcard/demo.mp4
- --time-limit : Sets the maximum recording time, in seconds. The default and maximum value is 180 (3 minutes).
- --rotate : Rotates the output 90 degrees. This feature is experimental.
- --verbose : Displays log information on command line screen. If you do not set this option, the utility does not display any information while running.
Belum ada tanggapan untuk "Screen Recording On Android KitKat Without Root Access"
Post a Comment