How jz8root/xiaomi-hyperos-bootloader-unlock works
This repository is a focused Xiaomi MediaTek bootloader-unlock guide with a companion LK binary compatibility scanner. The principal workflow is to scan a device’s LK, follow the documented RPMB/seccfg procedure when compatible, then verify the resulting state; the README also documents device-specific limitations and BROM/USB precautions. Source evidence is limited to the README excerpt and partial scan_lk.py, so the operational steps are documented capabilities rather than inspected automation.
Main entry points: README.md Unlock state checks · scan_lk.py LK scanner · COMPATIBILITY.md Device compatibility · VERIFICATION.md Verification evidence
Components 14
Compatibility assessment
- LK binary
- LK scanner
scan_lk.py - Device compatibility
COMPATIBILITY.md
Unlock procedure
- BROM access
README.md - mtkclient
- RPMB magic
- seccfg state
- Device preloader
- LK boot flow
- USB host setup
README.md - Linux driver preparation
README.md
Verification and support
- Unlock state checks
README.md - Verification evidence
proof/VERIFICATION.md
Other components
- Device owner
Connections 15
- Device owner → LK scanner: scans LK
scan_lk.py - LK binary → LK scanner: binary input
scan_lk.py - LK scanner → Device compatibility: assesses compatibility
- Device owner → BROM access: enters
README.md - Device owner → mtkclient: runs commands
README.md - mtkclient → RPMB magic: reads and erases
README.md - mtkclient → seccfg state: sets unlock state
README.md - Device preloader → RPMB magic: may restore magic
README.md - LK boot flow → RPMB magic: checks magic
README.md - LK boot flow → seccfg state: falls back to state
README.md - Device owner → Unlock state checks: verifies device
README.md - Unlock state checks → RPMB magic: re-reads
README.md - Unlock state checks → Verification evidence: compares evidence
- USB host setup → mtkclient: enables reliable access
README.md - Linux driver preparation → mtkclient: prepares BROM session
README.md