Confirmed users
125
edits
(remove useless parentheses) |
|||
Line 17: | Line 17: | ||
===Splitting apart the boot.img=== | ===Splitting apart the boot.img=== | ||
The boot partition contains 2-3 distinct entities: The kernel, the ramdisk, and | The boot partition contains 2-3 distinct entities: The kernel, the ramdisk, and optionally based on how the kernel was configured, the device tree binary. The instructions outlined [https://developer.mozilla.org/en-US/Firefox_OS/Porting#Extracting_and_modifying_an_existing_boot_image here] for unpacking a boot.img are mostly sufficient, except it does not account for the device tree section (which is necessary on a Flame). For more information on the structure of this partition see: https://github.com/xiaolu/mkbootimg_tools/blob/master/dtbtool.txt . | ||
To get the the kernel and the ramdisk from the boot.img, one can make use of the tool [http://whiteboard.ping.se/Android/Unmkbootimg unmkbootimg] invoked as such: | To get the the kernel and the ramdisk from the boot.img, one can make use of the tool [http://whiteboard.ping.se/Android/Unmkbootimg unmkbootimg] invoked as such: |