https://github.com/R0rt1z2/AutomatedRoot
Root your MediaTek device with CVE-2020-0069
https://github.com/R0rt1z2/AutomatedRoot
android cve-2020-0069 mediatek mtk-su
Last synced: about 1 year ago
JSON representation
Root your MediaTek device with CVE-2020-0069
- Host: GitHub
- URL: https://github.com/R0rt1z2/AutomatedRoot
- Owner: R0rt1z2
- License: gpl-3.0
- Created: 2019-09-06T12:12:48.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2023-02-06T19:18:56.000Z (over 3 years ago)
- Last Synced: 2024-11-04T21:37:13.594Z (over 1 year ago)
- Topics: android, cve-2020-0069, mediatek, mtk-su
- Language: Python
- Homepage:
- Size: 11.5 MB
- Stars: 150
- Watchers: 11
- Forks: 24
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AutomatedRoot



[](https://github.com/R0rt1z2/AutomatedRoot)


Root MediaTek devices using `mtk-su` exploit (**CVE-2020-0069**).
## Requirements
* Python 3.9 or newer(in %PATH% for Windows).
* ADB (in %PATH% for Windows).
* The **CVE-2020-0069** PoC (`mtk-su`).
## Usage
* Download the mtk-su binaries from the [MediaTek's SU XDA page](https://forum.xda-developers.com/t/amazing-temp-root-for-mediatek-armv8-2020-08-24.3922213/) and move them to their corresponding folders (`automated_root/files/arm[64]`).
* Download the [latest release of the tool](https://github.com/R0rt1z2/AutomatedRoot/releases).
* If you're using Windows, open a PowerShell. If you're using Linux open a Terminal.
* Install the requirements with `pip3 install -r requirements.txt`.
* Run the script with Python: `python3 mtk-su.py`.
## Available options
1. Root the device. (system-mode + SuperSU).
2. Root the device. (bootless-mode + Magisk).
3. Unroot the device. (supports both bootless and system mode).
## License
* This tool is licensed under the GNU (v3) General Public License. See `LICENSE` for more details.
* `files/common/Initd.apk` is property of RYO Software.
* `files/common/Magisk.apk` and `files/arm[64]/magiskinit` are property of topjohnwu.
* `files/common/SuperSU.apk` and `files/arm[64]/{libsupol.so,su,supolicy}` are property of Chainfire.
## Special thanks
* diplomatic (XDA): the creator of the `mtk-su` (CVE-2020-0069) exploit and the `magisk-boot.sh` script.
* RYO Software: the creator of the Init.d Support App.
* Chainfire: the creator of SuperSU (and its binaries).
* topjohnwu: the creator of Magisk (and its binaries).