Skip to content

ScRuFFy7/liboemcryptodisabler

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 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-10-23: v1.5

  • Updated for Magisk v21.0 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, including a Samsung Galaxy S9+ (SM-G965F/DS) running Magisk 16.x/17.x on a variery of ROMs, a Samsung Tab S3 (SM-T820) running stock Android 8.0 and Magisk 16.x/17.x, and a Samsung Tab S4 (SM-T830) running stock Android 8.1 and Magisk 17.x.

  • The module has been verified working on a OnePlus 5 with Android 11 using Magisk v21.0.

Links

Module's XDA forum thread