Modification LK.bin to erease Orange state and confirmation boot
Bypass Confirmation Boot
Tool necessary : Ghidra
Download and install here : https://github.com/NationalSecurityAgency/ghidra
Open file lk.bin in Ghidra
- File --> new project
- Non-Shared Project --> Next
- Give a name to your project --> Next
- File --> import File
- Import File lk.bin you want patch
- Select Langage --> ARM v6
- Double click on file
- respond yes to analyzed
- We will get
- Search --> for String
- continue with clicking on Search
-
type "dm-verity corruption" on filter
-
One final will find --> click on line find
-
this will give
-
Go to the fonction who call the string "dm-verity corruption" with double click on hexa (FUN_00056c40:00056c8e)
-
This will give
-
We get the fonction we need on right
-
The fonction who call string dm-verity is highlighted
-
So we can understand if the boot not start correctly
so the first an green is if boot is corectly and an red if we got an error
Find the warning string
https://github.com/R0rt1z2/lkpatcher
https://lkpatcher.r0rt1z2.com/
https://blog.r0rt1z2.com/patch-mediatek-bootloader-images-lk.html





















