2021-10-23 15:51:09 +00:00
# Dumper
Dumper is a Frida script to dump L3 CDMs from any Android device.
2022-10-04 22:23:53 +00:00
## ** IMPORTANT **
2022-10-07 12:20:20 +00:00
The function parameters can differ between CDM versions. The default is [4] but you may have to change this for your specific version.
2021-10-23 15:51:09 +00:00
2022-10-04 22:23:53 +00:00
* `CDM_VERSION` can be retrieved using a DRM Info app.
## Requirements
2021-10-23 15:51:09 +00:00
Use pip to install the dependencies:
2021-12-03 13:12:37 +00:00
`pip3 install -r requirements.txt`
2021-10-23 15:51:09 +00:00
## Usage
* Enable USB debugging
* Start frida-server on the device
* Execute dump_keys.py
2021-12-03 13:12:37 +00:00
* Start streaming some DRM-protected content
2022-10-04 22:23:53 +00:00
## Known Working Versions
2022-10-07 12:20:20 +00:00
* Android 9
* CDM 14.0.0
2022-10-04 22:23:53 +00:00
* Android 10
* CDM 15.0.0
* Android 11
* CDM 16.0.0
* Android 12
* CDM 16.1.0
2021-12-03 13:12:37 +00:00
## Temporary disabling L1 to use L3 instead
A few phone brands let us use the L1 keybox even after unlocking the bootloader (like Xiaomi). In this case, installation of a Magisk module called [liboemcrypto-disabler ](https://github.com/umylive/liboemcrypto-disabler ) is necessary.
2021-10-23 15:51:09 +00:00
## Credits
Thanks to the original author of the code.