Skip to content

leeminh888/lk_parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

lk_parser

GitHub GitHub release (latest by date including pre-releases)

Parse MediaTek LK ("Little-Kernel") Images (lk.bin).

Requirements

This binary requires Python 3.9 or newer installed on your system. It currently supports Windows, Linux and MacOS architectures.

Usage

lk_parser.py <input_file>
  • <input_file> = input, lk.bin

Example

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$

License

  • This program is licensed under the GNU General Public License (v3). See LICENSE for details.

About

MediaTek LK ("Little-Kernel") parser.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages