FORUMS
Remove All Ads from XDA

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

13,194 posts
Thanks Meter: 39,780
 
Post Reply Email Thread
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:
      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:
      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:
 @bin\convert -depth 8 -size 480x854 rgb:%1.raw %1.png


[ DOWNLOAD LINK ]

boot_screen_logo_creation_package.rar


[ REFERENCES ]
The Following 110 Users Say Thank You to DooMLoRD For This Useful Post: [ View ] Gift DooMLoRD Ad-Free
 
 
25th June 2011, 09:09 AM |#2  
DooMLoRD's Avatar
OP Inactive Recognized Developer
Flag Pune
Thanks Meter: 39,780
 
Donate to Me
More
aZuZu has uploaded newer tools!!!


Quote:
Originally Posted by Chumby_666

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 (320×240)
  • WQVGA (432×240)
  • HVGA (480×320)
  • VGA (640×480)
  • WVGA (800×480)
  • FWVGA (854×480)
The Following 21 Users Say Thank You to DooMLoRD For This Useful Post: [ View ] Gift DooMLoRD Ad-Free
25th June 2011, 09:36 AM |#3  
lzyllp's Avatar
Senior Member
Flag fuzhou
Thanks Meter: 239
 
Donate to Me
More
Very useful!
Thank a lot.
25th June 2011, 10:36 AM |#4  
SignalX's Avatar
Senior Member
Darkness
Thanks Meter: 368
 
More
& this is WHAT i want!
Great work bro!

Cheers

SX,
25th June 2011, 10:50 AM |#5  
gregbradley's Avatar
Forum Moderator
Flag Probably marking work or drinking beer...Maybe both
Thanks Meter: 6,608
 
Donate to Me
More
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
13th September 2011, 06:45 PM |#6  
pouxonu's Avatar
Senior Member
Thanks Meter: 6
 
More
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
14th September 2011, 02:53 PM |#7  
lopman's Avatar
Senior Member
Thanks Meter: 70
 
More
Does not work it creates a rle file on 0.00kb

Sent from my X8 using XDA App
17th September 2011, 06:36 PM |#8  
pouxonu's Avatar
Senior Member
Thanks Meter: 6
 
More
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
17th September 2011, 07:01 PM |#9  
DooMLoRD's Avatar
OP Inactive Recognized Developer
Flag Pune
Thanks Meter: 39,780
 
Donate to Me
More
Quote:
Originally Posted by pouxonu

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: [ View ] Gift DooMLoRD Ad-Free
17th September 2011, 07:23 PM |#10  
pouxonu's Avatar
Senior Member
Thanks Meter: 6
 
More
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?
10th October 2011, 04:20 AM |#11  
ayyu3m's Avatar
Senior Member
Flag System Error
Thanks Meter: 273
 
More
i found draging and droping the logo.rle on top of "convert_rle_to_image.bat" did the trick for me. before it was giving some errors.

jus shared my find.
The Following User Says Thank You to ayyu3m For This Useful Post: [ View ] Gift ayyu3m Ad-Free
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes