Some Android apps — Netflix, banking apps, and certain streaming services — block the built-in screen recorder and show a black screen or an error the moment you try to capture them. That’s because they use a security flag called FLAG_SECURE, which tells Android to suppress any screenshot or recording of that window. But there are three reliable ways around this, each with different trade-offs.
The first runs the restricted app inside a virtual machine on your phone, where the host’s secure flag rules don’t apply. The second uses a dedicated third-party recording app with special permissions to bypass the flag. The third is a computer-based method using ADB that works on any Android device without root. This guide covers all three so you can pick the one that fits your situation.
1 Use a Virtual Machine (No Root Required)
Installing a virtual machine (VM) app lets you run a completely separate, virtual Android environment inside your current device. Because the restricted app runs inside the VM — not directly on your host system — Android’s FLAG_SECURE restrictions from the host don’t carry over. This means your normal screen recorder can capture the virtual screen without triggering the black-screen block.
Install VphoneGaga or Virtual Android from the Google Play Store or their official sites. You can also download the Virtual Android – Android Clone APK directly from this link (MediaFire) if the Play Store version is unavailable in your region.
Open the VM app, grant it Display over other apps and storage permissions when prompted, then let it finish setting up the virtual desktop. This may take a minute or two on the first launch.
Open the Play Store inside the virtual Android space and download the restricted app (Netflix, your banking app, etc.) just as you normally would. Log in with your account credentials once it’s installed.
Open the restricted app inside the VM and start your regular screen recorder. Because the app is running in a virtual environment, the content should appear normally in the recording without any blacked-out areas.
If you’d rather not install a VM app, mirroring your Android screen to a PC and recording from there is a completely safe alternative. Check out our guide on external mirroring methods for a step-by-step walkthrough.
2 Use a Third-Party Screen Recorder App
If your device doesn’t have the Developer Options toggle, the next best approach is a dedicated screen recording app that captures the display at a lower level — before FLAG_SECURE can blank it out. Apps like XRecorder (by InShot), AZ Screen Recorder, and ADV Screen Recorder are popular choices that work on many restricted apps without root.
Install XRecorder, AZ Screen Recorder, or ADV Screen Recorder from the Google Play Store. All three are free with optional paid upgrades.
When prompted, allow the app to draw over other apps and access your microphone if you want audio. These permissions let it overlay a control bubble on your screen and capture audio.
Tap the record button from the app’s floating control panel, then navigate to the restricted app. Starting the recording before you open the protected app gives you the best chance of capturing it cleanly.
When you’re done, tap the floating stop button. The video will be saved automatically to your gallery or a folder in internal storage.
This method works on many devices running Android 10 and below, and on some Android 11–13 devices depending on the manufacturer. Newer Android versions have tightened the underlying media projection API, so success is not guaranteed on Android 14+. If you still get a black screen, Method 3 is the most reliable alternative.
3 Record via ADB (Computer Required)
The most universally reliable method — and the one that works regardless of Android version or device brand — is capturing the screen directly through ADB (Android Debug Bridge) from a computer. Because ADB communicates with Android at a lower system level than the media projection API, FLAG_SECURE doesn’t apply to it. You don’t need root, just a USB cable and a PC or Mac.
Download Android Platform Tools from the official Android developer site. Extract the folder, then open a terminal or command prompt inside it. On Windows: Win + R → type cmd. On Mac: open Terminal.
On your Android device, go to Settings → Developer Options (enable it first as described in Method 1 if needed), then toggle USB Debugging on.
Plug in your phone. A dialog will appear on the phone asking if you want to allow USB debugging from this computer — tap Allow. Then run adb devices in your terminal to confirm the device is detected.
In the terminal, run the following command to begin recording:adb shell screenrecord /sdcard/recording.mp4
Navigate to the restricted app on your phone while the recording runs in the background.
Press Ctrl + C (or Cmd + C on Mac) to stop. Then pull the file to your computer with:adb pull /sdcard/recording.mp4
The video will be saved in your current terminal directory.
By default, adb shell screenrecord stops automatically after 3 minutes. To extend this, add the --time-limit flag — for example, adb shell screenrecord --time-limit 180 /sdcard/recording.mp4 for 3 minutes. The maximum is 180 seconds per file, so for longer sessions, run the command again to start a new clip.
Recording copyrighted content from streaming services like Netflix or Disney+ for redistribution violates their Terms of Service and copyright law. These methods are intended for legitimate personal use — such as recording your own gameplay, documenting bugs, or archiving content you own. Always check the app’s terms before recording.
4 Quick Comparison
Not sure which method to use? Here’s a side-by-side look at how they stack up across the most important factors.
| Method | Root Required? | Computer Needed? | Works on Android 14+? | Reliability |
|---|---|---|---|---|
| Virtual Machine App | No | No | Yes | Medium–High |
| Third-Party App | No | No | Hit or Miss | Medium |
| ADB Recording | No | Yes | Yes | High |
5 Conclusion
There’s no single answer that works for everyone — it depends on your device and how much friction you’re willing to deal with. If you want a self-contained phone-only solution, Method 1 via a VM app is the most accessible option and works on any device without root. If you prefer a lighter-weight approach without setting up a full virtual environment, Method 2 with a third-party recorder is worth trying first. When both of those fall short — especially on newer Android versions — Method 3 via ADB is the most consistent and universally reliable option, even though it requires a computer.
Whatever method you choose, recording usually takes just a few minutes once it’s set up the first time.
6 Frequently Asked Questions
FLAG_SECURE setting. This tells the operating system to suppress any attempt to capture that window’s content, whether by screenshot or screen recording. The result is a black or blank area in the recording where the app’s content would normally appear.
screenrecord command does not capture audio by default — it records video only. For audio, the third-party app method (Method 2) is more likely to capture internal audio, but this also depends on your Android version and whether the app blocks audio capture separately. Some apps that block video recording also block internal audio capture regardless of the method used.
📖 More Android Tips & Guides
Looking for more ways to get the most out of your Android device? Browse our full collection of step-by-step Android guides.