Skip to content

Commit

Permalink
Added more files and directories, drm fw binary blobs
Browse files Browse the repository at this point in the history
The files in firmware and persist-lg are not as of yet removed, until a
way is found to remove them through Magisk. They figure here just for
reference (for now).
Signed-off-by: Atrate <[email protected]>
  • Loading branch information
Atrate committed Apr 14, 2020
1 parent 108ea70 commit ae60d7f
Show file tree
Hide file tree
Showing 24 changed files with 116 additions and 16 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -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
Expand Down
59 changes: 45 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
│   ├── system/vendor/bin/hw/[email protected]
│   ├── system/vendor/bin/hw/[email protected]
│   ├── system/vendor/bin/hw/[email protected]
│   ├── system/vendor/bin/hw/[email protected]
│   └── system/vendor/bin/hw/[email protected]
└── system/vendor/lib
└── system/vendor/lib/liboemcrypto.so
├── bin/
│   ├── drmserver*
│   └── mediadrmserver*
└── vendor/
├── bin/
│   └── hw/
│   ├── [email protected]*
│   ├── [email protected]*
│   ├── [email protected]*
│   ├── [email protected]*
│   ├── [email protected]*
│   └── [email protected]*
├── etc/
│   └── init/
│   ├── [email protected]*
│   ├── [email protected]*
│   ├── [email protected]*
│   ├── [email protected]*
│   ├── [email protected]*
│   └── [email protected]*
└── 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:**
```
Expand All @@ -40,6 +69,8 @@ system
/efs/drm
/persist/drm
/persist-lg/lgdrm
/persist-lg/widevine
/persist-lg/data/widevine
```

## Installation
Expand Down
2 changes: 2 additions & 0 deletions customize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ REPLACE="
/efs/drm
/persist/drm
/persist-lg/lgdrm
/persist-lg/widevine
/persist-lg/data/widevine
"
3 changes: 3 additions & 0 deletions firmware/image/widevine.b01
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions firmware/image/widevine.b02
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions firmware/image/widevine.b03
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions firmware/image/widevine.b04
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions firmware/image/widevine.b05
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions firmware/image/widevine.b06
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions firmware/image/widevine.mdt
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions module.prop
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 3 additions & 0 deletions persist-lg/firmware/widevine.b01
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions persist-lg/firmware/widevine.b02
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions persist-lg/firmware/widevine.b03
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions persist-lg/firmware/widevine.b04
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions persist-lg/firmware/widevine.b05
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions persist-lg/firmware/widevine.b06
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions persist-lg/firmware/widevine.mdt
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions system/vendor/etc/init/[email protected]
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions system/vendor/etc/init/[email protected]
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions system/vendor/etc/init/[email protected]
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions system/vendor/etc/init/[email protected]
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions system/vendor/etc/init/[email protected]
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions system/vendor/etc/init/[email protected]
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ae60d7f

Please sign in to comment.