FORUMS

How a HTC Droid Eris Changed a Members Life

Rarely can a member say that Android development or XDA had a profound effect on … more

XDA Office Space: Frankenstein’s Perfect IM Client?

The portal’s decentralized XDA office lies in a Hangouts chatroom, where … more

Which IM Client on Android is best?

With so many different messengers to choose from, it can be tough to find the best one for you and … more

Android Factory Reset Security Flaw and More – XDA TV

Nvidia is releasing a 500Gb SHIELD TV Pro! That and much more news is … more
Post Reply Subscribe to Thread Email Thread

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

9th October 2013, 04:58 PM |#1  
manudroid19's Avatar
OP Senior Member
Thanks Meter: 507
 
More
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, 3678 views)
The Following 21 Users Say Thank You to manudroid19 For This Useful Post: [ View ]
 
 
9th October 2013, 05:00 PM |#2  
manudroid19's Avatar
OP Senior Member
Thanks Meter: 507
 
More
reserved
The Following 3 Users Say Thank You to manudroid19 For This Useful Post: [ View ]
9th October 2013, 05:00 PM |#3  
manudroid19's Avatar
OP Senior Member
Thanks Meter: 507
 
More
last one reserved
The Following User Says Thank You to manudroid19 For This Useful Post: [ View ]
11th December 2013, 10:05 AM |#4  
Account currently disabled
Flag Singapore
Thanks Meter: 78
 
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, 10:33 AM |#5  
DexedrineXR's Avatar
Senior Member
Thanks Meter: 285
 
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 10:36 AM.
The Following User Says Thank You to DexedrineXR For This Useful Post: [ View ]
14th December 2013, 10:30 PM |#6  
manudroid19's Avatar
OP Senior Member
Thanks Meter: 507
 
More
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 10:34 PM.
14th December 2013, 10:37 PM |#7  
manudroid19's Avatar
OP Senior Member
Thanks Meter: 507
 
More
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, 05:15 PM |#8  
Dilesh Perera's Avatar
Senior Member
Flag Colombo
Thanks Meter: 808
 
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 06:15 PM.
The Following User Says Thank You to Dilesh Perera For This Useful Post: [ View ]
5th April 2014, 04:34 PM |#9  
epiquiem's Avatar
Member
Thanks Meter: 16
 
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, 11:37 AM |#10  
R.A.B's Avatar
Member
Thanks Meter: 37
 
More
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