Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[GUIDE][MOD][KERNEL] Change Bootsplash Image

OP manudroid19

9th October 2013, 05:58 PM   |  #1  
manudroid19's Avatar
OP Senior Member
Thanks Meter: 421
 
262 posts
Join Date:Joined: Feb 2013
Quote:

DISCLAIMER NOTE: I AND XDA IS NOT TO BE HELD RESPONSIBLE FOR ANY DAMAGES THAT YOUR PHONE MIGHT INCUR DURING THIS PROCESS, I HAVE TESTED IT IN MY BEST KNOWLEDGE TO WORK FOR OUR DEVICE BUT JUST TO BE SURE, PLEASE PERFORM ALL NECESSARY BACKUPS FOR THE PHONE TO PREVENT ANY DATA LOSS, IF YOU HAVE THE NEED TO DISAGREE AND/OR FAIL TO COMPLY JUST DON'T FLASH IT AND GET ON WITH YOUR LIVES

This is for editing the bootsplash: the image wich is displayed while kernel is loaded.
For example in Samsung devices is the image which comes between Samsung Logo and bootanimation.

This change is made in kernel, so if you want to include this in your ROM you must include the edited kernel with it.


Pre-requisites:
1.-Android Image Kitchen (DOWNOLAD)(THREAD)
2.-edit image on windows Tool modified by me (DOWNLOAD)(thanks to championswimmer for this)
3.-I recommend Photoshop or similar software for image editing (GIMP or Paint are ok)
4.-I recommend to enable the file extension visualization in Windows.

Let's start!

Quote:

1.-Take the boot.img of the kernel that you want to use

2.-Extract Android Image Kitchen

3.-Extract edit-image-windows.zip

4.-Put boot.img in Android Image Kitchen folder

5.-Now go to cmd and navigate to Android Image Kitchen folder

6.-Type:

Code:
unpackimg boot.img
7.-Now open windows explorer and navigate to *\Android Image Kitchen\ramdisk, look for a *.rle file and copy it. Rebember the name of the .rle file, you'll need it later.

8.-Paste the rle on edit-image-windows folder

9.- Open cmd, navigate to edit-image-windows folder and type:
Code:
rle2png nameoftthrle.rle 000x000
Where I wrote nameoftthrle.rle write the name of your rle and where I wrote 000x000 write your phone's resolution.

Example: for me, I have a GT-S6500D wich has a 320x480 resolution and the name of my rle is GT-S6500.rle so I must write:
Code:
rle2png GT-S6500.rle 320x480
10.- Open the .png file which is now on edit-image-windows folder with your image edition sowtware (I recommend Photoshop) and made the changes you want. In my phone, is only displayed on black and white, so it's useless to enable color mode.

11.-When you finished editing go again to cmd and write:
Code:
png2rle nameofttherle.png
Where I wrote nameoftthrle.rle write the name of your png.
Example:
Code:
png2rle GT-S6500.rle.png
12.-Now you'll have a file called nameofyourrle.rle.png.rle witch is the modified rle

13.-Go to *\Android Image Kitchen\ramdisk and replace the rle with the new one witch is modified.

14.-Now go to cmd, navigate to Android Image Kitchen folder, and type:
Code:
repackimg
15.-Done! rename the image-new.img to boot.img and flash it!

PLEASE give me a thanks if you like my work
Attached Files
File Type: zip edit-image-windows.zip - [Click for QR Code] (3.59 MB, 2538 views)
The Following 19 Users Say Thank You to manudroid19 For This Useful Post: [ View ]
9th October 2013, 06:00 PM   |  #2  
manudroid19's Avatar
OP Senior Member
Thanks Meter: 421
 
262 posts
Join Date:Joined: Feb 2013
reserved
The Following 2 Users Say Thank You to manudroid19 For This Useful Post: [ View ]
9th October 2013, 06:00 PM   |  #3  
manudroid19's Avatar
OP Senior Member
Thanks Meter: 421
 
262 posts
Join Date:Joined: Feb 2013
last one reserved
The Following User Says Thank You to manudroid19 For This Useful Post: [ View ]
11th December 2013, 11:05 AM   |  #4  
Account currently disabled
Flag Singapore
Thanks Meter: 78
 
114 posts
Join Date:Joined: Oct 2013
More
Thumbs up
Quote:
Originally Posted by manu19thebest

This is for editing the bootsplash: the image wich is displayed while kernel is loaded.
For example in Samsung devices is the image which comes between Samsung Logo and bootanimation.

This change is made in kernel, so if you want to include this in your ROM you must include the edited kernel with it.


Pre-requisites:
1.-Android Image Kitchen (DOWNOLAD)(THREAD)
2.-edit image on windows Tool modified by me (DOWNLOAD)(thanks to championswimmer for this)
3.-I recommend Photoshop or similar software for image editing (GIMP or Paint are ok)
4.-I recommend to enable the file extension visualization in Windows.

Let's start!



PLEASE give me a thanks if you like my work

Nice work, wonder if it work on window64
The Following User Says Thank You to _kohjun_ For This Useful Post: [ View ]
11th December 2013, 11:33 AM   |  #5  
DexedrineXR's Avatar
Senior Member
Thanks Meter: 283
 
383 posts
Join Date:Joined: Jun 2013
More
You can now edit/split a ramdisk on your phone now. Apktool on android has boot.img/ramdisk editing functionality. And a whole bunch of others....

Download apktool on android from here:

http://code.google.com/p/apktool/downloads/list

Make sure you download the correct zip file for your phone... And the updated apk. Follow the installation guide the developer has posted.

Before you split the boot.img make sure you're running apktool on an ext4 filesystem. Move the boot.img to /cache/subfolder our something like that.... then you shouldn't have a problem.

EDIT:
If your ROM has SElinux integrated, make sure it's set to permissive before splitting the image file or you'll get sh-applet error.

Go into terminal emulator and type:

su
setenforce 0


Happy editing
Last edited by DexedrineXR; 11th December 2013 at 11:36 AM.
The Following User Says Thank You to DexedrineXR For This Useful Post: [ View ]
14th December 2013, 11:30 PM   |  #6  
manudroid19's Avatar
OP Senior Member
Thanks Meter: 421
 
262 posts
Join Date:Joined: Feb 2013
Quote:
Originally Posted by _kohjun_

Nice work, wonder if it work on window64

My Windows is 64 so yes

Enviado desde mi GT-S6500D usando Tapatalk 2
Last edited by manudroid19; 14th December 2013 at 11:34 PM.
14th December 2013, 11:37 PM   |  #7  
manudroid19's Avatar
OP Senior Member
Thanks Meter: 421
 
262 posts
Join Date:Joined: Feb 2013
Quote:
Originally Posted by DexedrineXR

You can now edit/split a ramdisk on your phone now. Apktool on android has boot.img/ramdisk editing functionality. And a whole bunch of others....

Download apktool on android from here:

http://code.google.com/p/apktool/downloads/list

Make sure you download the correct zip file for your phone... And the updated apk. Follow the installation guide the developer has posted.

Before you split the boot.img make sure you're running apktool on an ext4 filesystem. Move the boot.img to /cache/subfolder our something like that.... then you shouldn't have a problem.

EDIT:
If your ROM has SElinux integrated, make sure it's set to permissive before splitting the image file or you'll get sh-applet error.

Go into terminal emulator and type:

su
setenforce 0


Happy editing

I prefer using pc, mobile isn't good for image editing and boot.img is kernel, so just a little pediting will be a brick for sure.

Enviado desde mi GT-S6500D usando Tapatalk 2
15th February 2014, 06:15 PM   |  #8  
Dilesh Perera's Avatar
Senior Member
Flag Colombo
Thanks Meter: 806
 
1,302 posts
Join Date:Joined: May 2012
More
Quote:
Originally Posted by manudroid19

My Windows is 64 so yes

Enviado desde mi GT-S6500D usando Tapatalk 2

and on x32 sys? it didnt worked for me. bootloop. anyway doing for the 2nd time now

Edit- it did worked. many thanks
Last edited by Dilesh Perera; 15th February 2014 at 07:15 PM.
The Following User Says Thank You to Dilesh Perera For This Useful Post: [ View ]
5th April 2014, 05:34 PM   |  #9  
epiquiem's Avatar
Member
Thanks Meter: 9
 
49 posts
Join Date:Joined: May 2013
More
So how do you put a modified kernel in a rom zip? I built a rom from source, and want to change the uninstalled kernel to my own. P.S I have a tool that does this and creates a flashable zip for you, if anyone wants it.
14th September 2014, 12:37 PM   |  #10  
R.A.B's Avatar
Member
Thanks Meter: 34
 
76 posts
Join Date:Joined: Apr 2013
Great work!!!

Tried it on my SONY... - perfect!

Thank you very much

Post Reply Subscribe to Thread

Tags
bootsplash, change, guide, kernel, mod
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes