Error 10000 unlocking script, Xiaomi is serious about BootLoader unlocking

Content

2024年03月14日 05:58 hits · likes · comments

After some models are updated to the latest version of HyperOS, the unlock script reports error 10000.

This is because Xiaomi has changed the encryption algorithm of the settings from pure AES to RSA+AES hybrid encryption in the new system version, and RSA asymmetric encryption cannot be decrypted without a private key, so the script cannot function properly.

Since both the new and old versions are built for Android 14 with version number 34, users can use the old encryption scheme by downgrading the old version settings (overwriting installation). The setting APK using the old encryption scheme (extracted from Redmi Marble V816.0.5.0.UMRINXM) has been uploaded to Releases. If error 10000 occurs, you can try to temporarily use it, or extract from other models yourself. After successful script binding, you can uninstall the update to revert the downgrade.

Finally, a reminder to users, Xiaomi's bootloader unlocking this time is serious. If you need to unlock the bootloader, stay on MIUI and do not upgrade to HyperOS. If you have unfortunately already updated to HyperOS, please avoid updating the system version unless necessary. Xiaomi is likely to prevent downgrades in future updates, and then you will only be able to use other solutions.

(Thanks to GitHub user Chao216 for providing the new settings sample)

The above is reposted from cool friend @mlgmxyysd

Summary
Some devices encountering error 10000 when unlocking after updating to the latest version of HyperOS. This is due to Xiaomi changing the encryption algorithm from pure AES to RSA+AES in the new system, making the script unable to function without the private key for RSA decryption. Users can downgrade to the old version of settings (overwrite installation) to use the old encryption scheme, as both versions are built for Android 14 with version number 34. Xiaomi has tightened BootLoader unlocking, advising users with such needs to stay on MIUI and avoid upgrading to HyperOS. If already on HyperOS, refrain from further system updates as Xiaomi may prevent downgrades in future updates, potentially requiring alternative solutions.