D
D
Denis Kotlyarov2015-07-17 00:39:59
linux
Denis Kotlyarov, 2015-07-17 00:39:59

Mount recovery, boot!?

How to mount a recovery,boot (img) image on ubuntu, I tried different ways, I understood recovery in emmc format and boot in the same way, but ubuntu does not know this format.
I tried sudo mount -t emmc path_to_img path_to_somewhere
Also, can someone advise what can be done in Linux to transfer the image to logo.bin.
There were no problems with system.img, I mounted it calmly.
If you can't mount then how to unpack and pack?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
linjan, 2015-07-17
@linjan

The structure and methods of unpacking are very well described here .
In short: you can use a perl script :

% ./split_bootimg.pl boot.img 
Page size: 2048 (0x00000800)
Kernel size: 1388548 (0x00153004)
Ramdisk size: 141518 (0x000228ce)
Second size: 0 (0x00000000)
Board name: 
Command line: no_console_suspend=1
Writing boot.img-kernel ... complete.
Writing boot.img-ramdisk.gz ... complete.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question