R0rt1z2 / lkpatcher

Streamline tool and module to patch bootloader (LK) images of MTK device(s).
https://lkpatcher.r0rt1z2.com
GNU General Public License v3.0
96 stars 17 forks source link

There is a BL Lock problem about HarmonyOS. #11

Closed Ceyase closed 7 months ago

Ceyase commented 8 months ago

I have unlocked seccfg, but I did not successfully unlock Bootloader. I'm sure this is because Huawei modified lk, maybe not. I tried using Ghidra to analyze this file, but I didn't get any results. I need to use Magisk, so I just need to skip the verification - if possible. Before receiving your response, I will do my best to decode this lk.bin. By the way, your blog and online tool website are both damaged.

Some information may be useful: lk.zip 1712233577213

[Ceyase@CeyaseArch ~]$ adb reboot bootloader
[Ceyase@CeyaseArch ~]$ fastboot oem unlock
(bootloader) cmd is invalid
FAILED (remote: 'CMD_OEM FAILED!!')
fastboot: error: Command failed
[Ceyase@CeyaseArch ~]$ fastboot boot /home/Ceyase/Desktop/mtkclient/honor_backup/recovery.bin 
Sending 'boot.img' (46080 KB)                      OKAY [  1.141s]
Booting                                            FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
[Ceyase@CeyaseArch ~]$ fastboot getvar all
getvar:all                                         FAILED (remote: 'Command not allowed')
Finished. Total time: 0.000s
[Ceyase@CeyaseArch ~]$ 
Ceyase commented 8 months ago

bro, you don't need to solve this problem anymore. Because this phone is already broken - completely. I accidentally dropped this phone from upstairs, so ...now the screen is completely useless

R0rt1z2 commented 7 months ago

lol