Skip to content

v1.0.30

Latest

Choose a tag to compare

@github-actions github-actions released this 25 Nov 04:14

Bootloader Studio 1.0.30 is a bug-fix release for the unlock approval stage.

Fixed

  • 10005 Invalid nonce param: Xiaomi made /api/v2/nonce single-use. The app previously reused the nonce consumed by /api/v2/unlock/device/clear for /api/v3/ahaUnlock, so the server rejected the unlock request.
  • Fresh nonce for every unlock attempt: a new nonce is requested immediately before each ahaUnlock call instead of reusing the preflight nonce.
  • Nonce retry: a 10004/10005 rejection now retries once with a fresh nonce and does not repeat clearDevice, because that would consume the new nonce before it can be used.
  • Eligibility cache: the clearDevice result (notice, cleanOrNot) is still reused briefly for the same device, but its nonce is never reused.
  • Authentication retry: when unlock returns 10001, the account is refreshed and the next attempt receives its own fresh nonce.

Verification

  • 115 unit tests pass, including a simulated 10005 rejection and retry.
  • Version: 1.0.30 (versionCode 31).

Notes

  • No re-login is required. Existing Xiaomi sessions remain valid.
  • Use the universal APK if you are unsure which ABI your device needs.

Full Changelog: v1.0.29...v1.0.30