diff --git a/CHANGELOG b/CHANGELOG index 808c19a..1a61abd 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,10 @@ +v0.1.0 +Beta release -- use at your own responsibility +Added more directories and files for removal +Removed binary DRM blobs (from some manufacturers, such as LG) + +--- + v0.0.2 Alpha release -- use at your own responsibility Added a few more directories to remove diff --git a/README.md b/README.md index 3a0add8..6284fb2 100644 --- a/README.md +++ b/README.md @@ -11,21 +11,50 @@ A Magisk module designed to disable DRM (Digital Restrictions Management) comple **List of replaced files:** ``` system -├── system/bin -│   ├── system/bin/drmserver -│   └── system/bin/mediadrmserver -└── system/vendor - ├── system/vendor/bin - │   └── system/vendor/bin/hw - │   ├── system/vendor/bin/hw/android.hardware.drm@1.0-service - │   ├── system/vendor/bin/hw/android.hardware.drm@1.0-service.widevine - │   ├── system/vendor/bin/hw/android.hardware.drm@1.1-service.clearkey - │   ├── system/vendor/bin/hw/android.hardware.drm@1.1-service.widevine - │   ├── system/vendor/bin/hw/android.hardware.drm@1.2-service.clearkey - │   └── system/vendor/bin/hw/android.hardware.drm@1.2-service.widevine - └── system/vendor/lib - └── system/vendor/lib/liboemcrypto.so +├── bin/ +│   ├── drmserver* +│   └── mediadrmserver* +└── vendor/ + ├── bin/ + │   └── hw/ + │   ├── android.hardware.drm@1.0-service* + │   ├── android.hardware.drm@1.0-service.widevine* + │   ├── android.hardware.drm@1.1-service.clearkey* + │   ├── android.hardware.drm@1.1-service.widevine* + │   ├── android.hardware.drm@1.2-service.clearkey* + │   └── android.hardware.drm@1.2-service.widevine* + ├── etc/ + │   └── init/ + │   ├── android.hardware.drm@1.0-service.rc* + │   ├── android.hardware.drm@1.0-service.widevine.rc* + │   ├── android.hardware.drm@1.1-service.clearkey.rc* + │   ├── android.hardware.drm@1.1-service.widevine.rc* + │   ├── android.hardware.drm@1.2-service.clearkey.rc* + │   └── android.hardware.drm@1.2-service.widevine.rc* + └── lib/ + └── liboemcrypto.so + +firmware +└── image/ + ├── widevine.b01* + ├── widevine.b02* + ├── widevine.b03* + ├── widevine.b04* + ├── widevine.b05* + ├── widevine.b06* + └── widevine.mdt* + +persist-lg +└── firmware/ + ├── widevine.b01* + ├── widevine.b02* + ├── widevine.b03* + ├── widevine.b04* + ├── widevine.b05* + ├── widevine.b06* + └── widevine.mdt* ``` +Please note that files in firmware/ and persist-lg/ are NOT YET replaced, until a workaround is found. They still appear in the list so that users can remove them by themselves, although this is risky. **List of replaced directories:** ``` @@ -40,6 +69,8 @@ system /efs/drm /persist/drm /persist-lg/lgdrm +/persist-lg/widevine +/persist-lg/data/widevine ``` ## Installation diff --git a/customize.sh b/customize.sh index 1e79d82..d8201c3 100755 --- a/customize.sh +++ b/customize.sh @@ -10,4 +10,6 @@ REPLACE=" /efs/drm /persist/drm /persist-lg/lgdrm +/persist-lg/widevine +/persist-lg/data/widevine " diff --git a/firmware/image/widevine.b01 b/firmware/image/widevine.b01 new file mode 100755 index 0000000..553dfe2 --- /dev/null +++ b/firmware/image/widevine.b01 @@ -0,0 +1,3 @@ +#!/system/bin/sh +# This binary has been succesfully replaced. This script will hang forever so it is not launched again. +while :; do sleep 2073600; done diff --git a/firmware/image/widevine.b02 b/firmware/image/widevine.b02 new file mode 100755 index 0000000..553dfe2 --- /dev/null +++ b/firmware/image/widevine.b02 @@ -0,0 +1,3 @@ +#!/system/bin/sh +# This binary has been succesfully replaced. This script will hang forever so it is not launched again. +while :; do sleep 2073600; done diff --git a/firmware/image/widevine.b03 b/firmware/image/widevine.b03 new file mode 100755 index 0000000..553dfe2 --- /dev/null +++ b/firmware/image/widevine.b03 @@ -0,0 +1,3 @@ +#!/system/bin/sh +# This binary has been succesfully replaced. This script will hang forever so it is not launched again. +while :; do sleep 2073600; done diff --git a/firmware/image/widevine.b04 b/firmware/image/widevine.b04 new file mode 100755 index 0000000..553dfe2 --- /dev/null +++ b/firmware/image/widevine.b04 @@ -0,0 +1,3 @@ +#!/system/bin/sh +# This binary has been succesfully replaced. This script will hang forever so it is not launched again. +while :; do sleep 2073600; done diff --git a/firmware/image/widevine.b05 b/firmware/image/widevine.b05 new file mode 100755 index 0000000..553dfe2 --- /dev/null +++ b/firmware/image/widevine.b05 @@ -0,0 +1,3 @@ +#!/system/bin/sh +# This binary has been succesfully replaced. This script will hang forever so it is not launched again. +while :; do sleep 2073600; done diff --git a/firmware/image/widevine.b06 b/firmware/image/widevine.b06 new file mode 100755 index 0000000..553dfe2 --- /dev/null +++ b/firmware/image/widevine.b06 @@ -0,0 +1,3 @@ +#!/system/bin/sh +# This binary has been succesfully replaced. This script will hang forever so it is not launched again. +while :; do sleep 2073600; done diff --git a/firmware/image/widevine.mdt b/firmware/image/widevine.mdt new file mode 100755 index 0000000..553dfe2 --- /dev/null +++ b/firmware/image/widevine.mdt @@ -0,0 +1,3 @@ +#!/system/bin/sh +# This binary has been succesfully replaced. This script will hang forever so it is not launched again. +while :; do sleep 2073600; done diff --git a/module.prop b/module.prop index 89a6d34..116600a 100644 --- a/module.prop +++ b/module.prop @@ -1,7 +1,7 @@ id=magisk-drm-disabler name=Magisk DRM Disabler -version=v0.0.2 -versionCode=2 +version=v0.1.0 +versionCode=10 author=Atrate description=Magisk Module aiming to eliminate DRM from Android systemlessly. support=https://gitlab.com/Atrate/magisk-drm-disabler diff --git a/persist-lg/firmware/widevine.b01 b/persist-lg/firmware/widevine.b01 new file mode 100755 index 0000000..553dfe2 --- /dev/null +++ b/persist-lg/firmware/widevine.b01 @@ -0,0 +1,3 @@ +#!/system/bin/sh +# This binary has been succesfully replaced. This script will hang forever so it is not launched again. +while :; do sleep 2073600; done diff --git a/persist-lg/firmware/widevine.b02 b/persist-lg/firmware/widevine.b02 new file mode 100755 index 0000000..553dfe2 --- /dev/null +++ b/persist-lg/firmware/widevine.b02 @@ -0,0 +1,3 @@ +#!/system/bin/sh +# This binary has been succesfully replaced. This script will hang forever so it is not launched again. +while :; do sleep 2073600; done diff --git a/persist-lg/firmware/widevine.b03 b/persist-lg/firmware/widevine.b03 new file mode 100755 index 0000000..553dfe2 --- /dev/null +++ b/persist-lg/firmware/widevine.b03 @@ -0,0 +1,3 @@ +#!/system/bin/sh +# This binary has been succesfully replaced. This script will hang forever so it is not launched again. +while :; do sleep 2073600; done diff --git a/persist-lg/firmware/widevine.b04 b/persist-lg/firmware/widevine.b04 new file mode 100755 index 0000000..553dfe2 --- /dev/null +++ b/persist-lg/firmware/widevine.b04 @@ -0,0 +1,3 @@ +#!/system/bin/sh +# This binary has been succesfully replaced. This script will hang forever so it is not launched again. +while :; do sleep 2073600; done diff --git a/persist-lg/firmware/widevine.b05 b/persist-lg/firmware/widevine.b05 new file mode 100755 index 0000000..553dfe2 --- /dev/null +++ b/persist-lg/firmware/widevine.b05 @@ -0,0 +1,3 @@ +#!/system/bin/sh +# This binary has been succesfully replaced. This script will hang forever so it is not launched again. +while :; do sleep 2073600; done diff --git a/persist-lg/firmware/widevine.b06 b/persist-lg/firmware/widevine.b06 new file mode 100755 index 0000000..553dfe2 --- /dev/null +++ b/persist-lg/firmware/widevine.b06 @@ -0,0 +1,3 @@ +#!/system/bin/sh +# This binary has been succesfully replaced. This script will hang forever so it is not launched again. +while :; do sleep 2073600; done diff --git a/persist-lg/firmware/widevine.mdt b/persist-lg/firmware/widevine.mdt new file mode 100755 index 0000000..553dfe2 --- /dev/null +++ b/persist-lg/firmware/widevine.mdt @@ -0,0 +1,3 @@ +#!/system/bin/sh +# This binary has been succesfully replaced. This script will hang forever so it is not launched again. +while :; do sleep 2073600; done diff --git a/system/vendor/etc/init/android.hardware.drm@1.0-service.rc b/system/vendor/etc/init/android.hardware.drm@1.0-service.rc new file mode 100755 index 0000000..553dfe2 --- /dev/null +++ b/system/vendor/etc/init/android.hardware.drm@1.0-service.rc @@ -0,0 +1,3 @@ +#!/system/bin/sh +# This binary has been succesfully replaced. This script will hang forever so it is not launched again. +while :; do sleep 2073600; done diff --git a/system/vendor/etc/init/android.hardware.drm@1.0-service.widevine.rc b/system/vendor/etc/init/android.hardware.drm@1.0-service.widevine.rc new file mode 100755 index 0000000..553dfe2 --- /dev/null +++ b/system/vendor/etc/init/android.hardware.drm@1.0-service.widevine.rc @@ -0,0 +1,3 @@ +#!/system/bin/sh +# This binary has been succesfully replaced. This script will hang forever so it is not launched again. +while :; do sleep 2073600; done diff --git a/system/vendor/etc/init/android.hardware.drm@1.1-service.clearkey.rc b/system/vendor/etc/init/android.hardware.drm@1.1-service.clearkey.rc new file mode 100755 index 0000000..553dfe2 --- /dev/null +++ b/system/vendor/etc/init/android.hardware.drm@1.1-service.clearkey.rc @@ -0,0 +1,3 @@ +#!/system/bin/sh +# This binary has been succesfully replaced. This script will hang forever so it is not launched again. +while :; do sleep 2073600; done diff --git a/system/vendor/etc/init/android.hardware.drm@1.1-service.widevine.rc b/system/vendor/etc/init/android.hardware.drm@1.1-service.widevine.rc new file mode 100755 index 0000000..553dfe2 --- /dev/null +++ b/system/vendor/etc/init/android.hardware.drm@1.1-service.widevine.rc @@ -0,0 +1,3 @@ +#!/system/bin/sh +# This binary has been succesfully replaced. This script will hang forever so it is not launched again. +while :; do sleep 2073600; done diff --git a/system/vendor/etc/init/android.hardware.drm@1.2-service.clearkey.rc b/system/vendor/etc/init/android.hardware.drm@1.2-service.clearkey.rc new file mode 100755 index 0000000..553dfe2 --- /dev/null +++ b/system/vendor/etc/init/android.hardware.drm@1.2-service.clearkey.rc @@ -0,0 +1,3 @@ +#!/system/bin/sh +# This binary has been succesfully replaced. This script will hang forever so it is not launched again. +while :; do sleep 2073600; done diff --git a/system/vendor/etc/init/android.hardware.drm@1.2-service.widevine.rc b/system/vendor/etc/init/android.hardware.drm@1.2-service.widevine.rc new file mode 100755 index 0000000..553dfe2 --- /dev/null +++ b/system/vendor/etc/init/android.hardware.drm@1.2-service.widevine.rc @@ -0,0 +1,3 @@ +#!/system/bin/sh +# This binary has been succesfully replaced. This script will hang forever so it is not launched again. +while :; do sleep 2073600; done