Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,739,915 Members 43,042 Now Online
XDA Developers Android and Mobile Development Forum

[How-To] Make custom bootscreen/bootlogo (image to rle)/(rle to image)

Tip us?
 
DooMLoRD
Old
(Last edited by DooMLoRD; 3rd May 2013 at 08:02 PM.)
#1  
DooMLoRD's Avatar
Recognized Developer - OP
Thanks Meter 37994
Posts: 13,045
Join Date: Jul 2010
Location: Noida
Angry [How-To] Make custom bootscreen/bootlogo (image to rle)/(rle to image)

hey guys since i was getting so many requests to make custom bootscreens/bootlogo, and lots of ppl asking me how to do this i am making this how to...

it took some time for me to get all this info and tools in one place and make it easy to use...

[ INTRO ]
  • this little how-to/tutorial will cover points on how to convert between image files and (static) bootscreen/bootlogo files (initlogo.rle/logo.rle)
  • THIS WILL NOT COVER INFO ON HOW TO INTEGRATE IT IN CUSTOM boot.img, i will add this later cause it requires different tools
  • initlogo.rle/logo.rle are image files which are in the integrated ramdisk in custom kernel boot.img
  • these .rle files are shown during booting of the custom kernel (boot.img)
  • if u want to remove showing of these images then just delete the initlogo.rle/logo.rle from the ramdisk
  • if u want to change it to the image that u want then follow this tutorial
  • after creating the .rle files u will need to rename the files to initlogo.rle / logo.rle and place it within extracted ramdisk folder then repack the ramdisk and then repack it with kernel (zimage) using proper boot address and specific command line parameters


[ CREDITS ]
  • makers of 5652rgb, to565 for freely providing the sources!
  • ImageMagick for the brilliant convert.exe tool
  • me for creating the cygwin binaries and batch files & making it little simple to use


[ REQUIREMENTS ]
  1. windows PC (u can find compatible linux tools if u search online)
  2. this package
  3. correct resolution images (check post #2 for details)


[ WHATS INSIDE? ]

the package i have provided has:
  1. precompiled cygwin binaries for
    • 5652rgb
    • to565
  2. convert.exe from ImageMagick-6.7.0-Q16-windows
  3. all required dlls for standalone installations
  4. easy to use batch files i made
    • convert_image_to_rle.bat
    • convert_rle_to_image.bat


[ HOW TO USE? ]
  1. Converting any image to rle file
    • open command prompt and browse to folder with those bat files
    • execute:
      Code:
      Select Code
      convert_image_to_rle.bat <path_to_image_file>
    • the <path_to_image_file>.raw file and <path_to_image_file>.rle file will be created at the same location as <path_to_image_file>
  2. Converting any rle to image file
    • open command prompt and browse to folder with those bat files
    • execute:
      Code:
      Select Code
      convert_rle_to_image.bat <path_to_rle_file>
    • the <path_to_rle_file>.raw file and <path_to_rle_file>.png file will be created at the same location as <path_to_rle_file>


[ ADDITIONAL INFO ]

the batch files i have made are specific to X10 screen resolution (480x854) if u need to use it for another device just edit the convert_rle_to_image.bat file and changed this like
Code:
Select Code
 @bin\convert -depth 8 -size 480x854 rgb:%1.raw %1.png


[ DOWNLOAD LINK ]

boot_screen_logo_creation_package.rar


[ REFERENCES ]
The Following 95 Users Say Thank You to DooMLoRD For This Useful Post: [ Click to Expand ]
 
DooMLoRD
Old
(Last edited by DooMLoRD; 25th June 2011 at 11:16 AM.)
#2  
DooMLoRD's Avatar
Recognized Developer - OP
Thanks Meter 37994
Posts: 13,045
Join Date: Jul 2010
Location: Noida
aZuZu has uploaded newer tools!!!


Quote:
Originally Posted by Chumby_666 View Post
new version of custom boot image toolkit is up!
minor fixes ...
added image to android logo & android logo to image ( external tools ) ( cygwin again! god damn! )

working on new ramdisk handle procedure ... soon will be fixed

thanks DooMLoRD for finding tools

get them here: http://forum.xda-developers.com/show....php?t=1090217



[ INFO ON SCREEN RESOLUTIONS ]

the resolution of the image to use depends on ur the capabilities of ur device
following is a list of the resolutions
  • QVGA (320240)
  • WQVGA (432240)
  • HVGA (480320)
  • VGA (640480)
  • WVGA (800480)
  • FWVGA (854480)
The Following 16 Users Say Thank You to DooMLoRD For This Useful Post: [ Click to Expand ]
 
lzyllp
Old
#3  
lzyllp's Avatar
Senior Member
Thanks Meter 234
Posts: 534
Join Date: Dec 2010
Location: fuzhou

 
DONATE TO ME
Very useful!
Thank a lot.
 
SignalX
Old
#4  
SignalX's Avatar
Senior Member
Thanks Meter 303
Posts: 1,329
Join Date: Jun 2011
Location: Darkness
& this is WHAT i want!
Great work bro!

Cheers

SX,
 
gregbradley
Old
#5  
gregbradley's Avatar
Forum Moderator
Thanks Meter 3741
Posts: 8,863
Join Date: Mar 2011
Location: Manchester
Just what I needed..

Many thanks, no need to pester you any more for bootscreens, but many thanks for the ones you provided t me

How to get root on Xperia Z1 with KitKat 4.4.2, 4.4.3 & 4.4.4

If you are unsure, then read this.
If you are still unsure, watch this.

 

My contributions.
If I have seen further it is by standing on the shoulders of giants. Sir Isaac Newton


[X10] | [NEO] | [Xperia T/TX] |
[Xperia Z1]
You are free to share my work, but please provide the correct credits and a link to my original thread.


 
pouxonu
Old
#6  
pouxonu's Avatar
Senior Member
Thanks Meter 6
Posts: 141
Join Date: Aug 2010
For some reason it isn't working on my computer, I have no clue why .Running everything exact ,but it could be my phone .Does any one have some spare time to whip one up for me? Any help would be greatly appriciated
" Now get your 7'2" asmatic-ass back here before I tell everyone what a whiny little bitch you were about Padamame, or Panda Bear, or whatever the hell her name is!"


Device History:

LG G3
Galaxy s5
Galaxy Note lll
LG G2
Galaxy Note II
LG Intuition
LG Spectrum 2
HTC Rezound
LG Spectrum
Droid 2 R2D2 Edition
Droid X
Sony Xperia Play
OG Droid
 
lopman
Old
#7  
lopman's Avatar
Senior Member
Thanks Meter 51
Posts: 412
Join Date: Jul 2011
Does not work it creates a rle file on 0.00kb

Sent from my X8 using XDA App
 
pouxonu
Old
#8  
pouxonu's Avatar
Senior Member
Thanks Meter 6
Posts: 141
Join Date: Aug 2010
getting a bit farther but it tries to take my image to rle but it says it can't find the file



any chance there could be a bit more noobish instructions to follow or is there any way to set it up like the moto devices could with a logo.bin file
" Now get your 7'2" asmatic-ass back here before I tell everyone what a whiny little bitch you were about Padamame, or Panda Bear, or whatever the hell her name is!"


Device History:

LG G3
Galaxy s5
Galaxy Note lll
LG G2
Galaxy Note II
LG Intuition
LG Spectrum 2
HTC Rezound
LG Spectrum
Droid 2 R2D2 Edition
Droid X
Sony Xperia Play
OG Droid
 
DooMLoRD
Old
#9  
DooMLoRD's Avatar
Recognized Developer - OP
Thanks Meter 37994
Posts: 13,045
Join Date: Jul 2010
Location: Noida
Quote:
Originally Posted by pouxonu View Post
getting a bit farther but it tries to take my image to rle but it says it can't find the file



any chance there could be a bit more noobish instructions to follow or is there any way to set it up like the moto devices could with a logo.bin file
make sure that there are no spaces in the path to the image file... best way is to place the image file in the same folder as the batch files
The Following User Says Thank You to DooMLoRD For This Useful Post: [ Click to Expand ]
 
pouxonu
Old
#10  
pouxonu's Avatar
Senior Member
Thanks Meter 6
Posts: 141
Join Date: Aug 2010
for exapmle how should this be typed. I have the set up in my c drive near my sdk



convert_image_to_rle.bat

Program Files_Android_boot_screen_logo_creation_package


does all that need to be together with underscores? And do I need the name of the image?
" Now get your 7'2" asmatic-ass back here before I tell everyone what a whiny little bitch you were about Padamame, or Panda Bear, or whatever the hell her name is!"


Device History:

LG G3
Galaxy s5
Galaxy Note lll
LG G2
Galaxy Note II
LG Intuition
LG Spectrum 2
HTC Rezound
LG Spectrum
Droid 2 R2D2 Edition
Droid X
Sony Xperia Play
OG Droid

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes