@aleksandrayulia have you or any other people looked into "advanced protection"? It is designed to make it easy to prevent apps from running on non-Play devices.

support.google.com/googleplay/

"...adds an encryption layer to your app's anti-tampering defenses. This prevents the app from running on insecure devices, making it much harder for attackers to analyze or tamper with it in those environments."

@eighthave @aleksandrayulia

If I'm not mistaken, GrapheneOS has something that blocks this bit of code.
grapheneos.org/releases#202505

disable anti-competitive code being injected by the Play Store into apps choosing to enable "App integrity > Automatic protection" when there's a valid Play Store source stamp signature (proving that it's an unmodified app from the Play Store, so we aren't disabling an integrity check) since it prevents using the apps on GrapheneOS when apps also choose to enable "App integrity > Store listing visibility" with either the "Device integrity checks" or "Strong integrity checks" values enforcing having a device licensing Google Mobile Services and running the stock OS (circumventing this is protected by the DMCA exemption for jailbreaking)

Follow

@skorp @aleksandrayulia that comment is definitely interesting, but difficult to unpack. Is there any more info on it? DMCA is US law, would this approach be legal elsewhere, like Brazil, Canada or EU?

@eighthave @aleksandrayulia

I am unsure of the legality for other countries, if even applicable. I can say that the feature in GrapheneOS works 😀

@eighthave @skorp technically (and until a court of law say otherwise) modifying a running code on the fly (if you don't redistribute it) is not a copyright violation.

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml