How to record your android screen reliably

 

 

How To Record Your Android Screen

Ever wanted to record your android screen eg. gameplay and upload that to Youtube but haven’t found a decent app to do that will actually record your screen without corrupting the video or just randomly stop recording? Luckily I have the solution for you. NOTE: before trying this tutorial I suggest you try these apps and see if they work. If they do record well, rather use them because this tutorial is more for those with no options left. DU Recorder – Screen Recorder, Video Editor, Live AZ Screen Recorder – No Root

Still here?  There are multiple ways to record your Android screen, mainly through apps, however, all the recording apps I’ve tested did not work, or only recorded briefly, even the Google play games app which (you think would work flawlessly) does a terrible job. But I have a more reliable alternative for you, however, the install and operation can be quite daunting at first but just remember that all the steps will be set out for you and if you get lost just comment below and I or someone else will help you or if you cant wait there is always google. I will rate this tutorial difficulty intermediate. Before we continue let me explain this method of recording.  We will be using the ADB (Android Debug Bridge) to connect to our phones and then open a shell, a shell grants us access to execute commands on our android device. Inside this shell, we will run a command that will start recording our android screen, however, the built-in command will only record the screen for a maximum of 3 minutes, so to fix that problem we can simply queue multiple recordings one after the other and stitch them back together in the editing program of your choice. All will be explained below. Sound good? let’s begin!

Step 1: Get Android SDK Platform-Tools

First, we will download Android SDK Platform-Tools here: https://dl.google.com/android/repository/platform-tools-latest-windows.zip or open up this link: https://developer.android.com/studio/releases/platform-tools.html Under the Download section click on “SDK Platform-Tools for Windows”   Then accept the license agreement and click “Download SDK Platform-Tools for Windows”  

Step 2: Extract and Open Android SDK Platform-Tools

locate the zip file you just downloaded, right-click it and click “Extract All…”     Click extract, the file you just extracted should popup automatically, otherwise, you will have to find it, the folders name will be “platform-tools-latest-windows”.     inside “platform-tools-latest-windows” navigate to “platform-tools” and leave this folder open for later  

Step 3: Setup USB Debugging on your Android device

Now on your Android device go to settings, scroll down to “About phone”, inside “About phone” find build number (in my case it is miui version) and tap it again and again until it says  “You are now a developer!”. after that go back and above about phone you will see developer options, open developer options and scroll down until you see USB debugging, check the box (in my case its a slider). NOTE: on my device developer options is located inside Additional Options.

Step 4: Get Android USB drivers

There are Two ways to do this, we can install “Universal ADB Drivers” from clockwork mod here:

http://download.clockworkmod.com/test/UniversalAdbDriverSetup.msi

download and install the drivers

Or go to:

https://developer.android.com/studio/run/oem-usb.html

scroll down to “Get OEM drivers” select the correct model of your phone and download the drivers on their website.

if your drivers don’t feature on the list then google this, (insert the model of your phone like in the square brackets) “[the model of your phone] USB drivers”

eg. “Samsung s8 USB drivers”

Unfortunately, I cannot show the steps for each manufacturer.

Step 5: Connect your Phone and Open up a Comand prompt Or a Power shell

Connect your phone to your computer via USB cable.

A popup may appear on your screen asking you to “Allow USB debugging”

check “Always allow form this computer” and then hit ok

On your computer In the “platform-tools” folder (the one I said to leave open for later)

Hold down the shift key and Right click on the blank white space and click “Open PowerShell Window here” or “Open Comand Prompt here” or “Open CMD Here”.

copy this to your clipboard:

.\\adb devices

Then right-click inside the power shell window and it will automatically paste “.\\adb devices”, then hit enter.

now there should be a string of characters followed by the word “device”.

If the list is empty redo step 3 and 4 or try to get your manufacturers original USB drivers.

if your device does show up but says the word “Unauthorised” go here:

http://serviceindex.co.za/adb-device-unauthorised-fix/

all good? Great, let’s move on.

copy this to your clipboard:

.\\adb shell

Then right-click inside the power shell window and it will automatically paste “.\\adb shell”, then hit enter.

You are now in a shell on your Android device, don’t disconnect your USB cable.

Step 6: Record your device

To start recording all you need to do is copy and paste this in and hit enter:

screenrecord /sdcard/demo.mp4 –verbose

note: the video will record and save on your phone and not on your computer. It will record for 3 minutes, if you want to stop the recording just press Control(Ctrl) + c, you do not need to stop the recording it will automatically stop after 3 minutes.

control(Ctrl) + c will show up as ^C and will return you to the shell like before.

If you look in your phones file explorer in the root directory you will see a file called “demo.mp4″

so what if we want to record for longer?

The solution is simple, all we have to do is put this symbol -> ; behind each command except the last one (don’t worry I got you covered).

for example, all we have to do to record 9 minutes is run:

screenrecord /sdcard/demo1.mp4 –verbose; screenrecord /sdcard/demo2.mp4 –verbose; screenrecord /sdcard/demo3.mp4 –verbose

Android will run each of those commands one directly after the other.

you will then have 3 files in your root directory: demo1.mp4, demo2.mp4, demo3.mp4

you can then transfer those to your computer and stitch them back together in your editing software eg. Hitfilm-Express (it’s free!)

one thing to note, when you transfer the files from your phone to your computer sometimes the videos do not show on your phone while accessing your phone’s files with your computer, so to fix that all you have to do is (on your phone) move the videos to another folder and then access the files with your computer.

 

Try this simple script I made to generate the string names for you.

file name
Amount of recordings







0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *