FORUMS
Remove All Ads from XDA

[Tutorial] How to change kernel logo (1st boot srceen) [COMPLETED]

1,002 posts
Thanks Meter: 2,787
 
By nelikp, Senior Member on 3rd November 2012, 08:51 PM
Post Reply Email Thread
We have 3 major works here... So I gonna to make it seperated
-1st post is HOW TO EXTRACT kernel.img (boot.img)
-2nd post is HOW TO CONVERT PICTURE FILE to BOOT.RLE
-3rd post is HOW TO REPACK THE KERNEL PAKAGE into boot.img


Requiredment
-Window machine
-installed cygwin
-the full boot.img/kernel (some kernel won't work because there is no full pakage/ i mean we can't)
-bootimg.zip (tool for UNPACK and REPACK kernel)
-boot_screen_logo_creation_package.rar

Thank and Credit
i- Credit to DooMLoRD Recognized Developer over most of XPERIA devices for his own tool and tutor that I learned before
ii- Credit to jimbo77 Senior Member for his tutorial that I used and learned and tool for unpack and repack
ii- Don't forget to give them a thanks meter

================================================== ===========================


Here we go

1-This section I will show u how to unpack and repack the boot.img
just see from original thread by jimbo77 from here and download the UNPACK and REPACK tool by him HERE

this is a fast guide from me:-
1-extract the bootimg-tools.zip into new folder (name it 'boot' folder)
2-move it into cygwin directory (cygwin/boot)
3- move your fav kernel into same directory
4-run cygwin.bat

Quote:

cd /boot



5-Now, unpack your boot.img by running the following command:

Quote:

./extractboot boot.img


If your output looks like this, then the extraction has worked correctly! Note that the Command Line string has also been read from the source file, this will be used later when you go to re-pack your file.

Your script folder should now look like this:

boot.img-kernel is the compiled kernel blob that was inside the source boot.img, if you want to replace the kernel with another compiled kernel image, you can replace this file with another one (but leave the file name the same)

boot.img-ramdisk.gz is the gzipped ramdisk image which has been split from the boot.img, you should leave this file alone.
The “out” folder contains the EXTRACTED ramdisk, and this is where you should make your changes to the ramdisk.

Important Note!

Remember, when editing files in the ramdisk through Windows, such as init.rc, Windows notepad will not format the files correctly, making them almost impossible to read, wheras Wordpad will LOOK like it is formatting the files correctly, if you save one of these files from the Wordpad application it will BREAK the file and it will no longer be able to be read correctly by Android. To edit these files you MUST use an editor such as Notepad++ which you can download for free.

AGAIN...
Special thanks/credit to jimbo77 for his excellent guide
The Following 22 Users Say Thank You to nelikp For This Useful Post: [ View ] Gift nelikp Ad-Free
 
 
3rd November 2012, 08:52 PM |#2  
nelikp's Avatar
OP Senior Member
Flag lost world
Thanks Meter: 2,787
 
More
So.. NEXT step to change a kernel logo is here

Requiredment
1-a picture what are u like to look into the 1st boot screen (kernel logo) (make sure it size/resolution same your device resolution)
2-boot_screen_logo_creation_package.rar
3-some infos and knowledges here
4-window machine like i explained on 1st post


My quick guide
-extract the tool.rar
-move extracted files into new folder (name it 'rle' folder without quote)
-move into cygwin folder (to make it easy to follow my simple guide)
-copy your own logo.png (a picture u want to use on a kernel) into same rle folder
(for 4 steps above it shold look like tis)


-now launch cygwin.bat
Quote:

cd /rle



Quote:

./convert_image_to_rle.bat logo.png



Ah...my mistake..don't forget to move/copy/replace new logo.rle into
C/cygwin/boot/out/ramdisk/here


if you done good...follow next step on next post (to repack your moded kernel)
The Following 13 Users Say Thank You to nelikp For This Useful Post: [ View ] Gift nelikp Ad-Free
3rd November 2012, 08:52 PM |#3  
nelikp's Avatar
OP Senior Member
Flag lost world
Thanks Meter: 2,787
 
More
Last step before you flash a new look kernel (boot.img) is

Repack your moded kernel

Quote:

./packboot




One thing to note that people may mention in other guides, is that when packing boot.img files, you will usually have to declare a base address, and a command line to the packaging tool. This set of scripts reads the existing command line and base address from the boot.img file you originally provided at the time of repacking, so always make sure you leave your original source boot.img file in the folder and do not re-name it after extraction, your newly created boot.img file will be named boot_new.img and will NOT overwrite the original.


Done! If your screen looks like the image above, then you should now have a freshly created boot_new.img file, ready to be flashed to Android for testing, you can now go ahead and flash it through FASTBOOT one thing I'll recommend though is to first do
The Following 14 Users Say Thank You to nelikp For This Useful Post: [ View ] Gift nelikp Ad-Free
3rd November 2012, 08:52 PM |#4  
nelikp's Avatar
OP Senior Member
Flag lost world
Thanks Meter: 2,787
 
More
I need this for an extra (extra thanks..)

(may U?)
The Following 7 Users Say Thank You to nelikp For This Useful Post: [ View ] Gift nelikp Ad-Free
11th January 2013, 08:40 AM |#5  
stele22's Avatar
Junior Member
Flag /system/framework
Thanks Meter: 0
 
More
I did all the steps as you did. Packed boot.img and flashed but i still see old boot logo. Device is Huawei u8650
1st February 2013, 05:22 PM |#6  
Account currently disabled
Flag İstanbul
Thanks Meter: 24
 
More
Question
[QUOTE]



[QUOTE]

at this step ı have this Screen
26th March 2013, 10:23 PM |#7  
seamo123's Avatar
Senior Member
Thanks Meter: 84
 
More
Well I've been scratching my head about this and just can't work out what's going wrong - after I run the ./extractboot boot.img command I keep getting the message: './extractboot: ./split_bootimg.pl: /usr/bin/perl: bad interpreter: Permission denied
./extractboot: line 17: cpio: command not found
gzip: ../../boot.img-ramdisk.gz: No such file or directory'

I followed your instructions as below:
1-extract the bootimg-tools.zip into new folder (name it 'boot' folder)
2-move it into cygwin directory (cygwin/boot)
3- move your fav kernel into same directory
4-run cygwin.bat

When you say "move your fav kernel into same directory", what do you mean? Move it into the 'boot' folder? Or do you mean the 'cygwin' folder?

Any help you could give would be greatly appreciated - confused.com!
4th April 2013, 06:05 PM |#8  
Junior Member
Thanks Meter: 0
 
More
boot.img file problem
HTC ONE X beataudio

ENDEAVORU PVT SHIP S-ON RL
HBOOT-1.36.0000
CPLD-None
MICROP-None
RADIO-5.1204.162.29
eMMC-bootmode:disabled
CPU-bootmode: disabled
HW Secure boot:enabled
MODEM PATH : OFF
Nov 16 2012,18:32:39
cid: HTC__044

i install this ROM (cm-10.1-20130404-NIGHTLY-endeavoru.zip) file but can't boot.
boot problem how to fix pls i did flash boot.img file also but same problem.pls help
14th May 2013, 03:29 PM |#9  
Junior Member
Flag Meycauayan
Thanks Meter: 0
 
Donate to Me
More
please re upload this file "boot_screen_logo_creation_package.rar" link is dead on mediafire
15th May 2013, 02:55 PM |#10  
Junior Member
Flag Meycauayan
Thanks Meter: 0
 
Donate to Me
More
doesnt work on my innos d9 rom
7th July 2013, 01:51 PM |#11  
Dilesh Perera's Avatar
Senior Member
Flag Colombo
Thanks Meter: 917
 
More
Quote:
Originally Posted by sirhca

please re upload this file "boot_screen_logo_creation_package.rar" link is dead on mediafire

http://d-h.st/xwB
The Following User Says Thank You to Dilesh Perera For This Useful Post: [ View ] Gift Dilesh Perera Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes