Skip to content
Menu
TechFacts007.in
  • Information Zone
  • Reviews
    • Apps Reviews
    • PC’s
  • Gadgets
  • Hosting
    • Domain and Hosting
      • cPanel
    • WordPress
  • More
    • Tech Facts
    • Tips & Tricks
TechFacts007.in
android code adb usb image
October 4, 2020October 12, 2020

Record Android Phone Screen With ADB – Without Any App

Record Screen with ADB

Recording the android screen is another problem. If your phone does not have any internal screen recorder then it is a big challenge for you to record the screen. You can use a third-party screen recorder app but the main problem is that the apps use high memory and CPU while recording the screen.

In this article, we will explain another method to record the android phone screen. To record your screen you just need two things like a Computer or a Laptop and a USB cable.

Before we start, you need to enable the USB debugging from Developer Options on your android phone.

developer options usb debugging

Now, download the ADB Package.

Download ADB Zip

  1. Extract the contents of this ZIP file (such as C:\adb).
  2. Open Windows Explorer and browse to where you extracted the contents of this ZIP file
  3. Then open up a Command Prompt and browse to the ADB directory. (Some Windows 10 users may see “PowerShell” instead of “command prompt”.)
  4. Connect your smartphone or tablet to your computer with a USB cable. Change the USB mode to “file transfer (MTP)” mode.
  5. In the Command Prompt window, enter the following command to launch the ADB daemon: <span class="pln">adb devices</span>adb command
  6. On your phone’s screen, you should see a prompt to allow or deny USB Debugging access.
  7. Finally, re-enter the command from step #5.

For installation of ADB on macOS or Linux. please visit this page.

 

Now you have done all the necessary steps. Let’s go to the cmd code to record the screen.

To record your phone screen type the below command in Command Prompt.

 

// to record a video of 3 minutes
adb shell screenrecord /sdcard/record1.mp4


// to record a video for a limited time
adb shell screenrecord --time-limit=120 /sdcard/record1.mp4


// to record video on a particular resolution
adb shell screenrecord --size 1280x720 /sdcard/record1.mp4


// to record video on a particular bitrate
adb shell screenrecord --bit-rate 4000000 /sdcard/record1.mp4


// More parameters can embed
adb shell screenrecord --bit-rate 4000000 --time-limit=50 --size 1280x720 /sdcard/record1.mp4

!mportant:

  • You can not record a video for more than 3 minutes. The –time-limit option accepts the value between 1 to 180 which means 1 second to 180 seconds(3 minutes).
  • Internal audio recording is not possible. You can record only video without audio.
  • if you do not copy the recorded video to your PC and recording another video by the same name the old video will get replaced by the new one.

 

We will tell you another method to record video for more than 3 minutes.

execute the below command on Command Prompt to record more than 3 minutes.

// to record more than 3 minutes.
adb shell "screenrecord /sdcard/video1.mp4; screenrecord /sdcard/video2.mp4; screenrecord /sdcard/video3.mp4"

// the above code will record 3 videos of length 3 minutes each. Now you can record 3*3 = 9 minutes of video.
// You can record more than 3 videos by just extending the above code.

 

Video files will save on your phone storage. To copy the file from your phone to your PC. You just need to execute a pull command.

// to copy the recorded video from Phone to PC
adb pull /sdcard/video1.mp4

// or you can also use the file browsing method to copy or move the files.

 

To Record Internal Audio Of Your Phone, Read This Article. Record Internal Audio Using Audacity.


If you found this post interesting then please comment below.

Post Views: 145

Leave a Reply Cancel reply

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

Trending

  • Tech Facts
    52.376552,5.198303(Dead Body Found) Google Map
  • Information Zone
    Create Sitemap for React.Js Web App – Sitemap.xml for react app
  • Information Zone, Programming Languages, Tutorials
    React Hook To Check If User Has Changed/Minimize the Browser Tab
  • Codes, Programming Languages
    Find out if you can reach the last tile – Program Code
  • How to, Information Zone, Tips & Tricks
    Encrypt Javascript and CSS Code – Hide Original Code from Users
  • Tech Facts
    In 1956, 5 megabytes (5MB) of data weighed a Ton.
  • How to, Information Zone, Tips & Tricks
    Download any paid Software. Get any software free for lifetime
  • PC's, Tips & Tricks
    Mount and Unmount Virtual Hard Disk (CMD Command and batch File Method)

Recent Posts

  • Worker Threads in JavaScript: Enhancing Performance with Parallelism July 31, 2023
  • Create Sitemap for React.Js Web App – Sitemap.xml for react app May 27, 2023
  • The Importance of Sitemap.xml: Enhancing Website Visibility and SEO May 27, 2023
  • Web Page Generation – Difference between SSR, CSR and SSG May 26, 2023
  • React.js vs. Next.js – Choosing the Right Framework for Your Web Development Needs May 26, 2023
  • NGINX vs. Apache: Exploring the Differences and Choosing the Right Web Server May 21, 2023
  • Setting Up NGINX on Ubuntu Server and Activating a Domain on NGINX Server May 21, 2023
  • Functional Component vs Class Component in React.Js January 18, 2023
  • React.Js Lifecycle Methods January 18, 2023
  • What is componentDidMount and useEffect with Example January 18, 2023

Categories

  • Apps Reviews (4)
  • Gadgets (4)
  • Hack With Us (2)
  • Hosting (12)
    • Domain and Hosting (7)
      • cPanel (5)
    • Wordpress (5)
  • How to (11)
  • Information Zone (65)
  • PC's (7)
  • Product Reviews (11)
  • Programming Languages (11)
    • Codes (5)
    • Tutorials (6)
  • Smart Phones (8)
  • Tech Facts (13)
  • Tips & Tricks (13)

Browse By Date

September 2023
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  
« Jul    

More

Contact Us
Privacy Policy
About Us
About Admin

Advertisement

Other Sites

ShanuTheWebDev.in
QrCode.ShanuTheWebDev.in
©2023 TechFacts007.in | Powered by WordPress and Superb Themes!