Some useful stuff
So called discussion group: https://t.me/zzzstuffchat
Post #184
1.33K
ZZ @zzzstuff
Showing posts older than #185 · Back to latest
Both RUI3 & RUI2 patches actually spoofs "bootloader locked" state.
RUI3 patch passes strong (as expected) but,
RUI2 patch passes only basic (Even in locked bootloader it passes basic. Most probably becuz of downgrade protection mechanism that prevents users from using older versions after updating to the latest one)
Flash LK using custom recovery or mtk client as your wish (fastboot mode is not preferred). And you MUST wipe personal data else it won't boot.
Wipe md_udc, metadata, userdata if you use mtk client.
Before flashing this LK you must backup all the fw partitions (except userdata, super and cache) for safety purpose. As it may lock your device if done wrong.
You must be aware that if you flash any other LK after flashing this lock spoofed LK, you must do format data and you can't decrypt the existing data (RPMB hash mismatch). Becuz it works in such a way similar to that of real locked device.
Normal LK: preloader > reads seccfg (unlocked) > normal LK > pushes unlocked status to RPMB > skips TEE and other security firmware > no root of trust
This lock spoofed LK: preloader > reads seccfg (unlocked) > lock spoofed LK > pushes locked status to RPMB > loads TEE and other security firmware > device gets root of trust
DM me @antagonizzzt with logs (dump expdb, opporeserve1 and seccfg partitions, put them in a zip and share) You may try at your own risk in custom roms (won't boot btw) if it boots by any miracle tell me.
Last but not least: Thanks @R0rt1z2 for the inspiration
𝙰𝚗𝚝𝚊𝚐𝚘𝚗𝚒𝚣𝚣𝚣𝚝 lk-rui2.img
fastboot flash lk lk-rui2.img


Menu-like feature that runs along with fastboot mode you can just trigger these
Functions while in Fastboot (i.e no need to force power off)
UP - Continue to System
Down - Boot to Recovery
Power - Turns off device
FAILED (remote: 'not support on security')
fastboot: error: Command failed
So some restricted commands will work
fastboot flash lk lk-rui3-menu.img



