Git Product home page Git Product logo

Comments (38)

VarunS2002 avatar VarunS2002 commented on June 11, 2024

@andrikos Can you share some more details.

  1. What Xposed are you using and in which mode
  2. Xposed module logs

from xposed-disable-flag_secure.

andrikos avatar andrikos commented on June 11, 2024

@VarunS2002

  1. Riru - EdXposed 0.5.2.2_4683-master as Magisk module
  2. How can I gather such logs?

BTW, it works for Chrome incognito and other bank apps.
Thus, I believe there is something special with Disney+ app.

from xposed-disable-flag_secure.

VarunS2002 avatar VarunS2002 commented on June 11, 2024

@andrikos
image

  • Hamburger menu
  • Module logs
  • Save it and upload it here

from xposed-disable-flag_secure.

andrikos avatar andrikos commented on June 11, 2024

EdXposed_Modules_20210413_131623.txt

from xposed-disable-flag_secure.

VarunS2002 avatar VarunS2002 commented on June 11, 2024

@andrikos The module doesn't seem to be activated properly.
I have faced this before, this is not a module issue most probably.
Try reinstalling the module and reinstalling Riru and EdXposed if the issue still persists.
This had fixed it for me.

from xposed-disable-flag_secure.

andrikos avatar andrikos commented on June 11, 2024

I reinstalled:

  1. Riru 25.4.1.r141.22618ad
  2. Riru - EdXposed 0.5.2.2_4683-master
  3. Disable-FLAG_SECURE 2021-04-11

I am able to take screenshots in Chrome incognito correctly.
In Disney+ I can also get a screenshot, but the video part is black.
You can find attached a screenshot and the updated module logs.

Screenshot_20210414-233029

EdXposed_Modules_20210414_233312.txt

from xposed-disable-flag_secure.

VarunS2002 avatar VarunS2002 commented on June 11, 2024

@andrikos
Have you added this app to the blacklist? Then remove it else this module won't work

image
If not then
Enable Activation Scope for this module and select only Android system and Disney+ and restart
Then add the log if it's still not working
Also disable "Pass SafetyNet"
Tell me if you need help

from xposed-disable-flag_secure.

andrikos avatar andrikos commented on June 11, 2024

It is already as you describe
Screenshot_20210415-182112

from xposed-disable-flag_secure.

VarunS2002 avatar VarunS2002 commented on June 11, 2024

@andrikos
Did you try Activation Scope?

from xposed-disable-flag_secure.

VarunS2002 avatar VarunS2002 commented on June 11, 2024

@andrikos I will be closing this issue in 2 more days due to inactivity

from xposed-disable-flag_secure.

andrikos avatar andrikos commented on June 11, 2024

from xposed-disable-flag_secure.

VarunS2002 avatar VarunS2002 commented on June 11, 2024

@andrikos I still think this app should support Disney+ as your logs show it's not being enabled for Android System Framework.
If this is the main problem then the app shouldn't work in Telegram Secret Chat Disappearing Media either.
I saw you have other Disable flag secure modules too. Did you try disabling them?

from xposed-disable-flag_secure.

andrikos avatar andrikos commented on June 11, 2024

from xposed-disable-flag_secure.

VarunS2002 avatar VarunS2002 commented on June 11, 2024

@andrikos Sure no problem!

from xposed-disable-flag_secure.

andrikos avatar andrikos commented on June 11, 2024

1 Default configuration
1 default.txt

2 After I enabled scope for android system and Disney+
2 scope.txt

3 After I also disabled " pass safety net" in edexposed manager
3 nopass.txt

In all cases I can get a Disney+ screenshot but the video part is black:
Screenshot_20210428-235238

In the first case, I could take screenshot of Chrome incognito mode, in the other two I couldn't.

Lat me know of anything extra you need

from xposed-disable-flag_secure.

VarunS2002 avatar VarunS2002 commented on June 11, 2024

@andrikos
Your EdXposed doesn't seem to be working correctly as everything is under the crash section.
Only in default configuration, logging seems to have happened correctly.

image

  1. In the Manager Settings, set yours same as this:

image

  1. In the Modules section disable everything except this module

  2. Enable Activation Scope for this module and select the same apps mentioned below:

  3. In the Xposed Hide section enable these apps only: (Disney+ instead of Prime Video in your case)

image
image
image

  1. Restart and then send logs of both these sections:

image

from xposed-disable-flag_secure.

VarunS2002 avatar VarunS2002 commented on June 11, 2024

@andrikos Also try other modules like to see if they work, keep only 1 disable flag secure module enabled at one time
https://github.com/LSPosed/DisableFlagSecure/releases/tag/v1.0.1
https://repo.xposed.info/module/fi.veetipaananen.android.disableflagsecure
https://repo.xposed.info/module/fi.veetipaananen.android.disableflagsecure2

from xposed-disable-flag_secure.

VarunS2002 avatar VarunS2002 commented on June 11, 2024

@andrikos
The problem seems to be that the module is not getting applied on Android System.
It is only getting applied on Disney+
Logs contain this:
EdXposed-Bridge: Disabled FLAG_SECURE for: com.disney.disneyplus
It should also contain this:
EdXposed-Bridge: Disabled FLAG_SECURE for: android
Only then it is expected to work correctly

from xposed-disable-flag_secure.

andrikos avatar andrikos commented on June 11, 2024

modules.txt
verbose.txt

The logs after I followed your instructions.
I still get black on the video part.
The logs show that your module is properly applied, no?

from xposed-disable-flag_secure.

VarunS2002 avatar VarunS2002 commented on June 11, 2024

@andrikos This time the log is perfect and the app is expected to function properly.
But it's still black, well that's unfortunate ☹️.
I'll try to see what the issue is, meanwhile try the other 3 apps I suggested.
If any of them work I can check the code and find the problem in my app to fix it.

from xposed-disable-flag_secure.

VarunS2002 avatar VarunS2002 commented on June 11, 2024

@andrikos When you try these 3 apps, do the same steps that I mentioned that you did for this.

from xposed-disable-flag_secure.

VarunS2002 avatar VarunS2002 commented on June 11, 2024

@andrikos
app-debug.zip
Extract the apk from the zip
Uninstall the existing app and try this one with the same steps above

from xposed-disable-flag_secure.

VarunS2002 avatar VarunS2002 commented on June 11, 2024

@andrikos Did you try the test version?

from xposed-disable-flag_secure.

andrikos avatar andrikos commented on June 11, 2024

EdXposed_Modules_20210511_131227.txt

Screenshot_20210511-131145

Logs and screenshot with your file

from xposed-disable-flag_secure.

VarunS2002 avatar VarunS2002 commented on June 11, 2024

@andrikos Did any of those 3 work for you?
Because if not, I'm unable to fix this :(
The last thing you can do is try LSPosed

from xposed-disable-flag_secure.

andrikos avatar andrikos commented on June 11, 2024

I'm afraid none of them worked :(
BTW, are the exceptions in the logs expected?

from xposed-disable-flag_secure.

VarunS2002 avatar VarunS2002 commented on June 11, 2024

@andrikos That's very unfortunate.
Yes they are expected.
I suggest you to open an issue here as this was active recently.
Probably he can solve the problem.
Consequently I can integrate the solution in my app too.

from xposed-disable-flag_secure.

VarunS2002 avatar VarunS2002 commented on June 11, 2024

@andrikos
Try this as it worked out for #3

from xposed-disable-flag_secure.

VarunS2002 avatar VarunS2002 commented on June 11, 2024

@andrikos Nevermind the app doesn't seem to support Disney+

@andrikos That's very unfortunate.
Yes they are expected.
I suggest you to open an issue here as this was active recently.
Probably he can solve the problem.
Consequently I can integrate the solution in my app too.

This seems like the best bet

from xposed-disable-flag_secure.

programminghoch10 avatar programminghoch10 commented on June 11, 2024

Hello,
I got some news on this topic.
A friend and me did two days of research, searching through the decompiled source code of Disney+.
We've found out that Disney uses proprietary DRM decoding of the device and somehow pushes this directly to the internal display.
This has nothing to do with flag secure.
When testing the same on a very old phone, which does not have this hardware DRM stuff, it works normally as it should.
So this is more of deep DRM android stuff than flag secure.

from xposed-disable-flag_secure.

programminghoch10 avatar programminghoch10 commented on June 11, 2024

Okay so we found the culprit.

When testing the same on a very old phone, which does not have this hardware DRM stuff, it works normally as it should.

This was a very important piece of information.
It told us, that the device must be using hardware decryption capabilites.

Now onto the point of how to prevent this.
I thought those hardware decryption libraries must be placed in vendor files/partition.
And there is actually a Magisk module, which does systemlessly replace those files with a zero-byte replacement.

It is called liboemcrypto.so disabler and with this installed and this module (v2.0.0) screensharing Disney+ works too.

@andrikos Please install liboemcrypto.so disabler in Magisk and make sure the Flag-Secure v2 XPosed module is enabled on system framework and Disney+ and try it again.

If it works @VarunS2002 can include this as a notice in the README (or please let me do it so I can be listed as a contributor ;) and we can close this issue.

Also here is screenshot proof:
image

from xposed-disable-flag_secure.

andrikos avatar andrikos commented on June 11, 2024

@programminghoch10
Thanks for all the analysis!
Your solution does indeed work in that I can make screenshots of Disney+ content.

The problem is that my DRM level falls to L3 which makes Disney+ show in low resolution.
This is equivalent to watch low resolution on PC through a web browser.
What I'm really trying to accomplish here is watch high quality video on my PC, and I've been trying to stream the high quality content from my Android through Cast capability :(

from xposed-disable-flag_secure.

programminghoch10 avatar programminghoch10 commented on June 11, 2024

@andrikos

The problem is that my DRM level falls to L3 which makes Disney+ show in low resolution.
This is equivalent to watch low resolution on PC through a web browser.

Well it seems this is a limit of this method...
I don't know if I am capable of doing anything about it;
DRM is not made to be easily broken or modded as you might guess...
Also the whole DRM thing is proprietary and without the source it will be hard to see what it does at all.
Aaaaand the big companies fund this to be secure, so as soon as we break L1 in a way it's not intended to they will probably introduce L0 and downgrade L1 to low quality, so it's all over again...

Your original problem is solved though, as you are now able to cast Disney+.

from xposed-disable-flag_secure.

VarunS2002 avatar VarunS2002 commented on June 11, 2024

@programminghoch10 That's very impressive thanks mate! I'll merge it shortly and make some changes.
@andrikos Thanks to you too for your testing.

from xposed-disable-flag_secure.

VarunS2002 avatar VarunS2002 commented on June 11, 2024

@andrikos @programminghoch10 Does Netflix also require the magisk module?

from xposed-disable-flag_secure.

VarunS2002 avatar VarunS2002 commented on June 11, 2024

@programminghoch10 Also out of curiosity, what did you use to decompile the app?

from xposed-disable-flag_secure.

programminghoch10 avatar programminghoch10 commented on June 11, 2024

@VarunS2002

Does Netflix also require the magisk module?

On some devices, yes.

what did you use to decompile the app?

jadx

from xposed-disable-flag_secure.

VarunS2002 avatar VarunS2002 commented on June 11, 2024

@programminghoch10 Thanks. I've merged your PR and made some changes too.

from xposed-disable-flag_secure.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.