By Pali


2015-12-31 00:06:55 8 Comments

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

6 comments

@Igettäjä 2016-06-23 21:47:47

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.

@janot 2019-01-26 22:43:34

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.

@Justas 2017-04-14 17:46:22

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

@Borgme 2016-10-17 09:27:02

Following on from 'user's' answer, using a program such as [email protected] 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

https://github.com/adakoda/android-screen-monitor

@Pratik Singhal 2016-12-22 04:23:30

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

@Arete 2017-03-01 10:00:46

I tried this and it did not work. Basically, since you are "casting" your screen through the Vysor app, screenshots will not work.

@Pratik Singhal 2017-03-02 17:21:19

You have to take screenshots in your PC, not on mobile

@Arete 2017-03-02 17:23:36

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.

@Pratik Singhal 2017-03-02 17:25:45

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

@George Y. 2017-07-01 00:58:08

I can confirm that on Marshmallow this app does NOT work for secure apps at all.

@July.Tech 2018-06-13 13:40:11

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.

@user2058872 2016-06-21 08:12:11

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.

@Eric Hepperle - CodeSlayer2010 2016-09-09 13:21:21

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.

@bgoodr 2016-10-28 20:18:24

"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.

@Arete 2017-03-01 10:03:00

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.

@Paul Stelian 2019-03-18 09:22:21

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.

Related Questions

Sponsored Content

1 Answered Questions

How to allow an app to take screenshots automatically?

2 Answered Questions

2 Answered Questions

Find out what's disabling screenshots

  • 2017-06-21 17:32:21
  • allo
  • 75 View
  • 0 Score
  • 2 Answer
  • Tags:   screenshots

1 Answered Questions

[SOLVED] Changing Screenshot format from PNG to JPEG?

  • 2017-12-29 03:50:08
  • user6867
  • 509 View
  • 3 Score
  • 1 Answer
  • Tags:   screenshots

1 Answered Questions

2 Answered Questions

Sponsored Content