Summary
On a locked-bootloader device in Mi Assistant mode, flash prints Server message: success and then immediately fails with Error: Validation did not return a token, so the flash cannot start.. The server accepts the package, but the tool doesn't extract a token from the validation response, so sideload never starts. There's no --dump-json/--verbose on flash to inspect the response, and no query command exposes the token, so the documented --token workaround can't be used either.
Environment
- Sensitivity 1.1.1 (
sensitivity-cli, Windows x86_64 artifact)
- Windows 10 (19045)
- Device: Redmi Pad (yunluo), EEA - reported by
info as yunluo_eea_global
- Current firmware: V14.0.3.0.TLYEUXM (MIUI 14 / Android 13)
- Target ROM: OS1.0.11.0.ULYEUXM official EEA Recovery ROM (local zip)
Setup is healthy
doctor, detect, and info all succeed:
Steps to reproduce
- Boot device to stock recovery → Connect with Mi Assistant.
- Run:
sensitivity-cli flash "C:\...\rom.zip" --profile eea --codename yunluo --wipe --yes
Actual

Identical result without --profile/--codename.
Expected
After Server message: success, the token is extracted from the validation response and sideload proceeds.
Possibly related (JSON parsing on same device/region):


Together with the token failure, this suggests the decrypted miotaV3 response is being parsed against an unexpected schema/field names (or differing AES key/IV framing) for this device/region - the data seems to arrive, but field extraction fails.
Asks
- Could the
flash validation-response parser be checked for the token field name/path? Since the server returns success, the token is likely present but under an unexpected key.
- Could
--dump-json and/or -v/--verbose be enabled on flash so the raw decrypted response can be inspected?
- Is there a supported way to obtain the token for manual use with
--token?
Happy to run diagnostic builds or commands. Thanks for the tool.
Summary
On a locked-bootloader device in Mi Assistant mode,
flashprintsServer message: successand then immediately fails withError: Validation did not return a token, so the flash cannot start.. The server accepts the package, but the tool doesn't extract a token from the validation response, so sideload never starts. There's no--dump-json/--verboseonflashto inspect the response, and no query command exposes the token, so the documented--tokenworkaround can't be used either.Environment
sensitivity-cli, Windows x86_64 artifact)infoasyunluo_eea_globalSetup is healthy
doctor,detect, andinfoall succeed:Steps to reproduce
sensitivity-cli flash "C:\...\rom.zip" --profile eea --codename yunluo --wipe --yesActual

Identical result without
--profile/--codename.Expected
After
Server message: success, the token is extracted from the validation response and sideload proceeds.Possibly related (JSON parsing on same device/region):


Together with the token failure, this suggests the decrypted
miotaV3response is being parsed against an unexpected schema/field names (or differing AES key/IV framing) for this device/region - the data seems to arrive, but field extraction fails.Asks
flashvalidation-response parser be checked for the token field name/path? Since the server returns success, the token is likely present but under an unexpected key.--dump-jsonand/or-v/--verbosebe enabled onflashso the raw decrypted response can be inspected?--token?Happy to run diagnostic builds or commands. Thanks for the tool.