Skip to content

Disables LibOemCrypto.so on rooted devices to bypass DRM restrictions and allow e.g. Netflix, My5 playbacka

Notifications You must be signed in to change notification settings

SkyN9ne/liboemcrypto-disabler

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

liboemcrypto.so disabler

Description

Apps that use liboemcrypto.so to play content protected by DRM, such as Netflix and My5, will fail when playback is attempted on most rooted Samsung devices. This Magisk module masks liboemcrypto.so with a zero byte replacement.

FAQ

Q. Can't I just delete or rename liboemcrypto.so to achieve the same effect?

A. You can, but then you will no longer have a pristine /system partition. The beauty of using a Magisk module is that no actual changes are made to your file system.

Q. You say "most rooted Samsung devices" cannot play DRM-protected content without this module, but which ones can and therefore do not need it?

A. The rooted S10+ (G975F) appears to be unaffected by liboemcrypto.so and therefore doesn't need this module. Nor, presumably, do the S10e (G970F) and S10 (G973F). A warning will be issued if the user installs the module on one of these devices.

Problems

A consequence of using this module is that Widevine DRM will fall back to using L3 instead of L1, which means that Netflix will not display content in HD or higher quality, regardless of your subscription type. Of course, without this module, Netflix will not play at all on a rooted device. If this is important to you, you will need to unroot your device.

Changelog

2020-12-20: v1.5

  • Updated for Magisk v21 template format.

2019-03-29: v1.4

  • Updated for Magisk v19 template format.
  • Issue a warning if installed on an S10e (G970F), S10 (G973F) or S10+ (G975F).

2018-12-06: v1.3

  • Add support for devices that have the library under either /system/lib64 or /system/vendor/lib64.

  • Add support for devices that have the library in multiple locations.

2018-07-22: v1.2

  • Add logic to install only to the library directory actually used by the device, rather than installing to both commonly used directories.

2018-05-29: v1.1

  • Add support for devices that have the library under /system/vendor/lib instead of /system/lib.

2018-04-23: v1.0

  • Initial release.

Requirements

  • The module expects the library in question to be located at one or more of /{system,vendor}/lib{,64}/liboemcrypto.so. If your library is located elsewhere (or nowhere), the module will have no effect (so it's harmless to try it).

  • The module has been verified working on a multitude of devices running Android 8, 9, 10 and 11 with Magisk 16 to 21.

Links

Module's XDA forum thread

About

Disables LibOemCrypto.so on rooted devices to bypass DRM restrictions and allow e.g. Netflix, My5 playbacka

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%