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
85 stars 15 forks source link

Custom patch for Oppo A9 (mt6771v) #12

Closed toolingaround closed 3 weeks ago

toolingaround commented 5 months ago

Attached is lk.img extracted with mtkclient from OPPO A9, 2 patches seem to fail:

[lkpatcher.patcher] [WARNING] [2024-04-25 21:42:11] Skipping invalid needle 2de9f04fadf5ac5d.
[lkpatcher.patcher] [WARNING] [2024-04-25 21:42:11] Skipping invalid needle 30b583b002ab0022.

lk.img

R0rt1z2 commented 5 months ago

The first error is normal, f0b5adf5925d was used in your case. The second one is the patch for dm-verity error. I would have to RE your LK to find out the correct sequence, but I've been very busy lately.