MlgmXyysd / Xiaomi-HyperOS-BootLoader-Bypass

A PoC that exploits a vulnerability to bypass the Xiaomi HyperOS community restrictions of BootLoader unlocked account bindings.
https://www.neko.ink/
2.11k stars 272 forks source link

Now you can bind account in the developer options #56

Closed tux-86 closed 4 months ago

tux-86 commented 4 months ago

I have Redmi Note 13 Pro+ (CN variant) with HyperOS and when I running this script, it gives following error:

[tux@9360 Xiaomi-HyperOS-BootLoader-Bypass]$ php bypass.php 
[2024-02-13] [02:41:32] [INFO] - ************************************
[2024-02-13] [02:41:32] [INFO] - * Xiaomi HyperOS BootLoader Bypass *
[2024-02-13] [02:41:32] [INFO] - * By NekoYuzu          Version 1.0 *
[2024-02-13] [02:41:32] [INFO] - ************************************
[2024-02-13] [02:41:32] [INFO] - GitHub: https://github.com/MlgmXyysd
[2024-02-13] [02:41:32] [INFO] - XDA: https://xdaforums.com/m/mlgmxyysd.8430637
[2024-02-13] [02:41:32] [INFO] - X (Twitter): https://x.com/realMlgmXyysd
[2024-02-13] [02:41:32] [INFO] - PayPal: https://paypal.me/MlgmXyysd
[2024-02-13] [02:41:32] [INFO] - My Blog: https://www.neko.ink/
[2024-02-13] [02:41:32] [INFO] - ************************************
[2024-02-13] [02:41:32] [INFO] - Starting ADB server...
[2024-02-13] [02:41:32] [INFO] - Processing device TSKNROYTOV7HGMHI(device:zircon)...
[2024-02-13] [02:41:32] [INFO] - Finding BootLoader unlock bind request...
[2024-02-13] [02:41:32] [INFO] * Now you can bind account in the developer options.
adb: invalid transport id
[2024-02-13] [02:41:32] [INFO] - Refactoring parameters...
NULL
PHP Fatal error:  Uncaught TypeError: decryptData(): Argument #1 ($data) must be of type string, null given, called in /home/tux/Xiaomi-HyperOS-BootLoader-Bypass/bypass.php on line 330 and defined in /home/tux/Xiaomi-HyperOS-BootLoader-Bypass/bypass.php:228
Stack trace:
#0 /home/tux/Xiaomi-HyperOS-BootLoader-Bypass/bypass.php(330): decryptData()
#1 {main}
  thrown in /home/tux/Xiaomi-HyperOS-BootLoader-Bypass/bypass.php on line 228
lslvxy commented 4 months ago

+1

MlgmXyysd commented 4 months ago

Redmi Note 13 series doesn't allowed to unlock BootLoader #37 Your php.ini seems not right