Some apps don't allow screenshots so how can I still take a screenshot?

It is my phone and I should be able to do whatever I want with it so why is there even a feature to disallow screenshots?

Android 5.0.1

  • 3
    I never had a app that blocked screen shots what is the app – maks112v Dec 31 '15 at 0:16
  • 6
    It doesn't matter what app it is (an online shopping app and an online banking app) it is the fact that apps have some kind of control of some features of my OS, what's next? Disallowing internet connection while having an app opened? – Pali Dec 31 '15 at 0:19
  • Go to setting and dont allow the app to control that permition – maks112v Dec 31 '15 at 0:21
  • 2
    I can't edit the apps permissions nor is there such a permission for this type of control. – Pali Dec 31 '15 at 0:25
  • 1
    @SarpSTA well then I have found the final reason to root it ;) – Pali Dec 31 '15 at 0:59

Banking apps tend to use FLAG_SECURE to prevent the screen from being captured or recorded. There are a couple of ways to disable it:

  1. Smali Patcher module for Magisk. Magisk is officially supported on Android versions 4.2⁠–⁠9.0.
  2. DisableFlagSecure module for Xposed. Xposed is officially supported on Android versions 5.0⁠–⁠8.1.

The Smali Patcher method requires you to connect your phone to a PC and run a Windows program to actually generate the module. Note that Magisk on Android 4.2 does not support MagiskHide.

The Xposed method has a big caveat: many banking apps use Google’s SafetyNet platform for checking device integrity, and prevent the application from being used on devices that have Xposed installed. This renders the module useless in SafetyNet-enabled apps, and there is currently no way to hide Xposed from SafetyNet.

Use these modules with caution, as they disable the flag system-wide.


Apps which are set with LayoutParams.FLAG_SECURE flag do not allow screenshots (or videos recording) to be taken. It is of-course your phone but the app belongs to its owner (and he can rightfully wish to prevent users from capturing something sensitive in nature). You're barred from taking a screenshot only for those screens that have the above flag set. However you can still take a screenshot by projecting your phone on the PC screen and capturing it. That way, the device has no idea that screenshot is taken.

  • How does one project a "phone on the PC screen" and then capture it? Can you clarify if you are implying use of a separate or multiple different applications? Thanks. – Eric Hepperle - CodeSlayer2010 Sep 9 '16 at 13:21
  • 1
    "However you can still take a screenshot by projecting your phone on the PC screen and capturing it. That way, the device has no idea that screenshot is taken." That is missing a crucial aspect: Taking a screenshot should be a nearly instantaneous operation that should NOT require the use of a secondary device to aid the taking of a screenshot. – bgoodr Oct 28 '16 at 20:18
  • This answer is flase. For apps that use the FLAG_SECURE there is no way to project the app to another screen because the app won't allow it. – Arete Mar 1 '17 at 10:03
  • I have encountered this for LastPass. I don't see a reason why you would want to take a screenshot of one of your own passwords in-app. It actually holds your hand so you don't fuck up your own security. – Paul Stelian Mar 18 '19 at 9:22

You can use Vysor app and project your android screen to computer screen and then take screenshot on your PC.

  • I tried this and it did not work. Basically, since you are "casting" your screen through the Vysor app, screenshots will not work. – Arete Mar 1 '17 at 10:00
  • 2
    You have to take screenshots in your PC, not on mobile – Pratik Singhal Mar 2 '17 at 17:21
  • 5
    On your PC you will get a black screen because Android determines that your app is using FLAG_SECURE. So that does not help. You clearly haven't tried this. – Arete Mar 2 '17 at 17:23
  • i have tried this with an app, which had screenshot disabled. It doesn't matter, whether the app is using FLAG_SECURE or not, the screen will get projected for sure – Pratik Singhal Mar 2 '17 at 17:25
  • 3
    TeamViewer would be another option to accomplish the same thing. Install the host app on your phone, then connect to it from your PC and take a screenshot of your PC screen. – July.Tech Jun 13 '18 at 13:40

There's also Smali Patcher program for Windows which creates custom Magisk module for your device and has option to disable FLAG_SECURE system-wide.


Following on from 'user's' answer, using a program such as Droid@screen droid at screen will allow you to project your phone screen to the PC, and then screenshot it via the PC Prnt Scrn button.

UPDATE: Android screen mirror is a better and faster screen mirror



In some banks you must log in first and disable security measures in regards to mobile applications. I did it with my bank.

Not the answer you're looking for? Browse other questions tagged or ask your own question.