hyperion-android-grabber icon indicating copy to clipboard operation
hyperion-android-grabber copied to clipboard

Secure sources

Open abrenoch opened this issue 6 years ago • 4 comments

Don't know the first thing about this yet, but it is bound to be an issue.

Apps like Netflix and Amazon Video are DRM protected, but this might be able to by bypassed using root and xposed.

abrenoch avatar Jan 31 '18 16:01 abrenoch

Can you share your finding on this? I try to found a way to use it with my own player based on exoplayer but for now I don't know where to start. Calling setSecure(false) on the player surfaceView doesn't have any effect. Maybe the MediaCodec is resetting this value, only a supposition.

DarkAnakin avatar Jul 25 '18 15:07 DarkAnakin

Hey @DarkAnakin, I'm not certain I would be able to provide you with any useful information on that unfortunately. I just know there are some applications that prevent the screen from being recorded, but none of the inner-workings of how that is facilitated.

I know there is a magisk module the is supposed to bypass that flag, but I haven't found anyone that can confirm that works for me yet.

abrenoch avatar Jul 25 '18 15:07 abrenoch

Ok, thanks for your work.

DarkAnakin avatar Jul 25 '18 15:07 DarkAnakin

Just a small addition to this one, I think TeamViewer is able to capture the protected sources. Might be worth digging into that to see if anything can be leveraged there?

I first noticed it when remoting to a phone via TeamViewer vs. MobiControl (which I assume uses something around cast as the cast icon appears).

TeamViewer does have a heap of manufacturer specific add-ons that provide full interactivity (not just remote capture) so maybe this also contributes?

Might sideload TeamViewer and test it out. EDIT: As expected, the TeamViewer support app couldn't capture secure areas. Not sure if one of the add-ons could help change that like it did on my Android phone example.

XVII avatar Jan 01 '19 02:01 XVII