Tuesday, October 6, 2015

Disable Screenshot Security


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



Answer



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.


No comments:

Post a Comment

samsung galaxy s 2 - Cannot restore Kies backup after firmware upgrade

I backed up my Samsung Galaxy S2 on Kies before updating to Ice Cream Sandwich. After the upgrade I tried to restore, but the restore fails ...