Parse MediaTek LK ("Little-Kernel") Images (lk.bin).
This binary requires Python 3.9 or newer installed on your system. It currently supports Windows, Linux and MacOS architectures.
lk_parser.py <input_file>
<input_file>
= input, lk.bin
This is a simple example on a Linux system:
r0rt1z2@r0rt1z2: /lk_parser$ python3 lk_parser.py lk.bin
[?] Image size (from header): 286424 bytes
[?] Image name (from header): lk
[?] LK version: 0.5
[?] Command Line: console=tty0 console=ttyMT3,921600n1 root=/dev/ram vmalloc=496M androidboot.hardware=mt6580
[?] Platform: MT6580
[?] Product: D5270_ARCHOS_E1
[?] Needs unlock code: False
[?] Uses verified boot: True
[?] Available OEM commands: ['fastboot oem p2u', 'fastboot oem reboot-recovery', 'fastboot oem append-cmdline', 'fastboot oem off-mode-charge', 'fastboot oem unlock', 'fastboot oem lock', 'fastboot oem key', 'fastboot oem lks', 'fastboot oem ap_jtag']
r0rt1z2@r0rt1z2: /lk_parser$
- This program is licensed under the GNU General Public License (v3). See
LICENSE
for details.