I am not responsible for any damage to your phone.
Proceed with caution if you have no experience.
NB: This guide is made for Gnex Kernel for ROM 4.2.X
I want to explain how to add a bootlogo to your kernel.
All steps are designed to run on linux box.
This allows you to bypass the lack of this fantastic opportunity on our GNEX.
The base is to know linux kernel compilation and a bit of imagination.
We create the image that will be displayed at boot time, to do this you can use a free tool such as Gimp:
- create an image in any format (for ex. png), the important thing is size (720x1280)
- goto menu/image/mode/Indexed -> select Generate Optimum Palette -> Maximum number of Color -> 224
- goto file/export -> Set Name = logo_linux_clut224.ppm -> Type = PNM Image (*.pnm) -> Click Export -> Data formatting = Ascii -> Save
At this point, you must import your file in the specific directory of the kernel:
- cp -vr drivers/video/logo/logo_linux_clut224.ppm drivers/video/logo/logo_linux_clut224.ppm.bck
- cp -vr /<your-dir>/logo_linux_clut224.ppm drivers/video/logo/logo_linux_clut224.ppm
Now let's change the default configuration to compile with what you need, add this line to .config:
# Boot logo and Framebuffer
CONFIG_CMDLINE="console=ttyS0,115200 androidboot.console=ttyS0 fbcon=rotate:0 mem=1G vmalloc=768M zcache omap_wdt.timer_margin=60 no_console_suspend"
# CONFIG_LOGO_LINUX_VGA16 is not set
# CONFIG_LOGO_LINUX_MONO is not set
# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
# CONFIG_FONTS is not set
# CONFIG_FONT_4x6 is not set
# CONFIG_FONT_6x11 is not set
# CONFIG_FONT_8x8 is not set
# CONFIG_FONT_8x16 is not set
The last step is to replace the attached file in your initramfs (make a backup of your original files):
- cp -vr /<dir-of-your-ramdisk/init /<dir-of-your-ramdisk/init.bck
- cp -vr init /<dir-of-your-ramdisk/init
Recompile your kernel and initramfs.
Now have fun.
Everything you need and guides to compile a kernel can be found on my github linked in the signature.