Change boot logo of Phicomm N1- Dump logo from
/dev/logo
: dd if=/dev/logo of=logo.dmp bs=1M
. - Unpack dumped partition using
aml-imgpack
.
But note that all open
s need to be fixed. The original author uses text mode to manipulate the binary, we need to fix this by changing open mode to rb
/ wb
. - The bootloader expects a 1920x1080x16bit bitmap, which cannot be generated by
mspaint
on Windows 10. Tools such as Pixelformer is needed.
But that’s not the whole story. The bootloader actually expects a BITMAPV3INFOHEADER
format .bmp
, which can NOT be generated by Pixelformer, you may need to edit the headers by hand (using WinHex or something). Not sure if Photoshop can generate such image programtically.
The boot logo should be saved using name bootup.bmp
. - Repack the bitmaps using
aml-imgpack
. - Flash the newly generated image into
/dev/logo
: dd if=packed.img of=/dev/logo bs=1M
.
- Dump logo from
/dev/logo
:dd if=/dev/logo of=logo.dmp bs=1M
. - Unpack dumped partition using
aml-imgpack
.
But note that allopen
s need to be fixed. The original author uses text mode to manipulate the binary, we need to fix this by changing open mode torb
/wb
. - The bootloader expects a 1920x1080x16bit bitmap, which cannot be generated by
mspaint
on Windows 10. Tools such as Pixelformer is needed.
But that’s not the whole story. The bootloader actually expects aBITMAPV3INFOHEADER
format.bmp
, which can NOT be generated by Pixelformer, you may need to edit the headers by hand (using WinHex or something). Not sure if Photoshop can generate such image programtically.
The boot logo should be saved using namebootup.bmp
. - Repack the bitmaps using
aml-imgpack
. - Flash the newly generated image into
/dev/logo
:dd if=packed.img of=/dev/logo bs=1M
.