Skip to content

Read-only mirror from GitLab. A Magisk module designed to disable DRM completely on Android

License

Notifications You must be signed in to change notification settings

Magisk-Modules-Repo/magisk-drm-disabler

Repository files navigation

Magisk DRM Disabler (MDD)

License: GPL v3 Contributor Covenant

If you're on GitHub and want to create a Pull/Merge Request, head to this project's GitLab repo.

READ THIS FIRST

Some (quite a few) users have reported various breakages due to this module. It is not really possible to fix them, since it seems that DRM might be integrated to tightly into some ROMs. If that happens, use LIGHT mode instead of FULL mode during installation.

Description

A Magisk module designed to disable DRM (Digital Restrictions Management) completely on Android devices using Magisk, for reasons of security or ethics (see: Opposing Digital Rights Mismanagement and Examples of proprietary DRM).

XDA Support thread

List of files replaced in LIGHT mode:

system/vendor
├── bin/
│   └── hw/
│       ├── [email protected]*
│       ├── [email protected]*
│       ├── [email protected]*
│       ├── [email protected]*
│       ├── [email protected]*
│       ├── [email protected]*
│       ├── [email protected]*
│       └── [email protected]*
└── lib/
    └── liboemcrypto.so

List of directories replaced in LIGHT mode:

/system/app/LGDrm
/system/etc/drm
/data/drm
/data/mediadrm
/data/vendor/mediadrm
/data/data/.drm
/data/.dcmdrm

List of files replaced in FULL mode:

system
├── bin/
│   ├── drmserver*
│   ├── lgdrmserver*
│   └── mediadrmserver*
├── etc/
│   ├── firmware/
│   │   ├── dxhdcp2.b00
│   │   ├── dxhdcp2.b01
│   │   ├── dxhdcp2.b02
│   │   ├── dxhdcp2.b03
│   │   ├── dxhdcp2.b04
│   │   ├── dxhdcp2.b05
│   │   ├── dxhdcp2.b06
│   │   └── dxhdcp2.mdt
│   ├── init/
│   │   ├── drmserver.rc*
│   │   └── mediardmserver.rc*
│   ├── move_widevine_data.sh*
│   └── permissions/
│       ├── com.android.mediadrm.signer.xml
│       └── com.google.widevine.software.drm.xml
├── framework/
│   ├── com.android.mediadrm.signer.jar*
│   └── oat/
│       ├── arm/
│       │   ├── com.android.mediadrm.signer.odex
│       │   └── com.android.mediadrm.signer.vdex
│       └── arm64/
│           └── com.android.mediadrm.signer.odex
├── lib/
│   └── libstagefright_hwextendedmediadrm.so
└── vendor/
    ├── bin/
    │   └── hw/
    │       ├── [email protected]*
    │       ├── [email protected]*
    │       ├── [email protected]*
    │       ├── [email protected]*
    │       ├── [email protected]*
    │       ├── [email protected]*
    │       ├── [email protected]*
    │       └── [email protected]*
    ├── firmware/
    │   ├── widevine.b00
    │   ├── widevine.b01
    │   ├── widevine.b02
    │   ├── widevine.b03
    │   ├── widevine.b04
    │   ├── widevine.b05
    │   ├── widevine.b06
    │   └── widevine.mdt
    ├── lib/
    │   ├── libmm-hdcpmgr.so
    │   ├── liboemcrypto.so
    │   └── libwvhidl.so
    └── lib64/
        ├── libmm-hdcpmgr.so
        ├── lib-sec-disp.so
        ├── libSecureUILib.so
        ├── libsecureui.so
        └── libsecureui_svcsock.so

List of directories replaced in FULL mode:

/system/app/LGDrm
/system/etc/drm
/system/lib/drm
/system/lib64/drm
/system/vendor/lib/mediacas
/system/vendor/lib64/mediacas
/system/vendor/lib/mediadrm
/system/vendor/lib64/mediadrm
/data/drm
/data/mediadrm
/data/vendor/mediadrm
/data/data/.drm
/data/.dcmdrm

Note: Directiories in /data are simply removed, not replaced, due to a limitation within Magisk.

Installation

  1. Install through Magisk Manager.

OR

  1. Download the module from the releases;
  2. Flash the module through Magisk Manager or TWRP/OrangeFox.

Grab the newest release on GitLab or GitHub


THIS IS NOT A MODULE THAT WILL HELP YOU BYPASS DRM PROTECTION

Quite the contrary, it will make you unable to watch any DRM-restricted content.

Disclaimer

I am not responsible for any damage done to your device by this module, so flash at your of discretion.

LOOKING FOR VOLUNTEERS!

If you're interested in helping the project, please refer to CONTRIBUTING.md.

Credits

License

This project is licensed under the GPL-3.0-or-later.