Skip to content

Redmi Note 11 Pro unlock failed though every process was successful #11

Description

@burg1ar

Device model

Redmi Note 11 Pro

Codename

pissarrro

SoC

MT6877

Firmware version

HyperOS 1.0.18.TKTCNXM

Unlock result

FAILED — still locked after procedure

fastboot oem lks output

% fastboot oem lks
(bootloader) lks = 1
OKAY [  0.004s]
Finished. Total time: 0.004s

% fastboot getvar unlocked
unlocked: no
Finished. Total time: 0.000s

Commands used

% mtk da rpmb e --sector 57344 --sectors 4
% mtk da rpmb e --sector 122880 --sectors 4
% mtk da seccfg unlock

RPMB sector used

57344 and 122880

Persistent after reboot?

Yes — still unlocked after reboot

Additional notes

% python3 scan_lk.py lk_a.bin
[] Reading lk_a.bin...
[
] Size: 8,388,608 bytes
[*] Scanning...
══════════════════════════════════════════════════════════
LK BINARY SCAN REPORT — MTKClient Unlock Analyzer
══════════════════════════════════════════════════════════

File size : 8,388,608 bytes (8.0 MB)
MD5 : a8e4516a303b77f925b1d938c227f518
SHA256 : c33b821983cca1f036d077e74226371e...

┌─────────────────────────────────────────┐
│ VERDICT: COMPATIBLE │
│ Score : 100/100 (100%) │
│ Method: RPMB erase (sector 57344) + sec│
└─────────────────────────────────────────┘

[MAGIC] Jz8PNRUF : ✓ FOUND
@ 0x000B32C8

[RPMB] Type : UFS_Samsung_0x400000
magic : 0x3FE0
lock_state_len : 0x40E0
signature_data : 0x41E0

[RSA] Modulus : ✓ FOUND
@ 0x000B3648
Key size: 2048 bits

[SECCFG] Version : generic

[FUNCTIONS] 7 detected:
✓ mi_check_magic: Checks RPMB magic — returns 0 (present) or 3 (absent)
✓ get_lock_state: Main lock state function — reads seccfg + RPMB
✓ seccfg_set_lock_state: Writes lock state to seccfg partition
✓ rpmb_read: Reads N bytes from RPMB
✓ rpmb_write: Writes N bytes to RPMB
✓ fastboot_oem_lks: Hidden fastboot OEM lock state commands
✓ verify_unlock_sig: RSA signature verification for unlock token

[FASTBOOT] 6 OEM commands:
✓ oem lks @ 0x000AB9A4
✓ flashing get_unlock_ability @ 0x000AB9E4
✓ flashing unlock @ 0x000AB9C4
✓ flashing lock @ 0x000AB9D4
✓ oem unlock @ 0x000AB9AC
✓ oem lock @ 0x000AB9B8

══════════════════════════════════════════════════════════
This device is compatible with the RPMB erase + seccfg unlock method. WARNING: sector 57344 is the default for MT6781 (Helio G96). On other SoCs (e.g. MT6833 Dimensity 6080 = sector 65504) the sector differs. Confirm your sector first: dump RPMB and run: grep -boa "Jz8PNRUF" rpmb_dump.bin
══════════════════════════════════════════════════════════
% python3 scan_lk.py lk_b.bin
[] Reading lk_b.bin...
[
] Size: 8,388,608 bytes
[*] Scanning...
══════════════════════════════════════════════════════════
LK BINARY SCAN REPORT — MTKClient Unlock Analyzer
══════════════════════════════════════════════════════════

File size : 8,388,608 bytes (8.0 MB)
MD5 : 38e9bb71eb138d195fc3a31590bc5836
SHA256 : 6bcfa2eb9d24e50db0ea0b9b7f50168c...

┌─────────────────────────────────────────┐
│ VERDICT: COMPATIBLE │
│ Score : 100/100 (100%) │
│ Method: RPMB erase (sector 57344) + sec│
└─────────────────────────────────────────┘

[MAGIC] Jz8PNRUF : ✓ FOUND
@ 0x000B2D50

[RPMB] Type : UFS_Samsung_0x400000
magic : 0x3FE0
lock_state_len : 0x40E0
signature_data : 0x41E0

[RSA] Modulus : ✓ FOUND
@ 0x000B30D0
Key size: 2048 bits

[SECCFG] Version : generic

[FUNCTIONS] 7 detected:
✓ mi_check_magic: Checks RPMB magic — returns 0 (present) or 3 (absent)
✓ get_lock_state: Main lock state function — reads seccfg + RPMB
✓ seccfg_set_lock_state: Writes lock state to seccfg partition
✓ rpmb_read: Reads N bytes from RPMB
✓ rpmb_write: Writes N bytes to RPMB
✓ fastboot_oem_lks: Hidden fastboot OEM lock state commands
✓ verify_unlock_sig: RSA signature verification for unlock token

[FASTBOOT] 6 OEM commands:
✓ oem lks @ 0x000AB434
✓ flashing get_unlock_ability @ 0x000AB474
✓ flashing unlock @ 0x000AB454
✓ flashing lock @ 0x000AB464
✓ oem unlock @ 0x000AB43C
✓ oem lock @ 0x000AB448

══════════════════════════════════════════════════════════
This device is compatible with the RPMB erase + seccfg unlock method. WARNING: sector 57344 is the default for MT6781 (Helio G96). On other SoCs (e.g. MT6833 Dimensity 6080 = sector 65504) the sector differs. Confirm your sector first: dump RPMB and run: grep -boa "Jz8PNRUF" rpmb_dump.bin
══════════════════════════════════════════════════════════

% grep -boa "Jz8PNRUF" rpmb_dump.bin
14680064:Jz8PNRUF
31457280:Jz8PNRUF

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions