
Exploit for CVE-2019-2215 to gain temporary root on Xiaomi MIUI devices, enabling bootloader unlock and system modifications.
[!CAUTION] Everything you do is at your own risk. I am not responsible for your broken device.
Adapted with Deepseek V4 Flash
Made for the latest Global MIUI 10.
Main goal: Get temp root on latest official miui
Root can be used for flashing custom aboot(which is what I did) for unlocking without mi account and other tasks like debloating.
Please note: The exploit is probabilistic. It doesn't guarantee rooting on the first try, and it might take up to 10 attempts to succeed. Don't open issues if the exploit isn't working immediately — just reboot and try again.
You can unlock device using method from this thread
dd if=/path/where/you/pushed/aboot of=/dev/block/bootdevice/by-name/aboot bs=4096
dd if=/path/where/you/pushed/aboot of=/dev/block/bootdevice/by-name/abootbak bs=4096
P.S: I recommend to check checksum of file but it's optional