Skip to content

Bootloader Studio 1.0.29

Choose a tag to compare

@github-actions github-actions released this 22 Nov 16:45
· 4 commits to main since this release

Bootloader Studio 1.0.29 is a bug-fix release focused on the native Xiaomi
login and unlock session exchange.

Fixed

  • Native session exchange: serviceLogin/STS requests are now scoped to the
    passport cookies, without the web-only markers that made Xiaomi skip
    ssecurity.
  • STS compatibility: pre-signed STS locations, serviceToken delivered in
    response headers, and the legacy redirect fallback for ssecurity are all
    supported.
  • Region/host mismatch: the service token is sent to the STS host that
    issued it instead of a region-config guess.
  • Session handling: recoverable Xiaomi failures (JSON error codes, missing
    STS token) keep the saved session and stay retryable. Only an explicit
    HTTP 401/403 or sign-in page clears it.
  • HTTP 401/403 during unlock: the account is refreshed once and the request
    is retried before reporting an error.
  • Cookie capture: the newest passToken, deviceId, and userId win, and
    account cookies take precedence over unlock-domain cookies. The remaining
    browser cookies (cUserId, passport_*, unlockApi_*) are persisted so the
    native exchange has the full cookie set.
  • Stale credentials: when Xiaomi rejects a session, the WebView cookie jar
    is cleared too, so the next login cannot reuse a dead pass token.
  • WebView reliability: aborted or superseded main-frame loads are ignored or
    retried automatically, and STS completion is detected from both HTML and
    rendered text (the JSON STS page renders as plain text).

Added

  • Identity verification: when Xiaomi requires an SMS/e-mail identity check,
    the app opens the notification URL in a WebView that shares the login cookie
    jar, then resolves the account again. Backing out keeps the session and shows
    Retry on the account screen.

Notes

  • Sessions saved by 1.0.28 are migrated automatically to the new cookie-aware
    storage. A new sign-in is only needed if Xiaomi explicitly rejects the stored
    credentials.
  • Debug HTTP/WebView logging was removed from the build, and local HAR captures
    are now gitignored.

Downloads

Use app-universal-release.apk for sideloading on most devices.

Requirements

  • Android 9 (API 28) or newer on the host device
  • USB host/OTG support
  • A second Android device in fastboot mode with an eligible Xiaomi account

Unlocking the bootloader erases all data and may void the warranty. Use this
app only on devices you own and at your own risk.

Full changelog: v1.0.28...v1.0.29