Not registered yet?
Register now! It is easy and done in 1 minute and gives you access to special discounts and much more!
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?
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:
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.
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.
In some banks you must log in first and disable security measures in regards to mobile applications. I did it with my bank.
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.
Android screen mirror is a better and faster screen mirror
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.
You have to take screenshots in your PC, not on mobile
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.
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
I can confirm that on Marshmallow this app does NOT work for secure apps at all.
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.
I can confirm that I have used the TeamViewer Host app mentioned by @July.Tech to take a screenshot of an app that prevented direct screenshot on the phone. This was done on the Samsung Note 8 running Android 9.
Have a look at this awesome screen projection tool by genymotion: github.com/Genymobile/scrcpy
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.
"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.
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.
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.