Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,738,501 Members 45,585 Now Online
XDA Developers Android and Mobile Development Forum

[TOOL][LINUX]PNG to RLE conversion scripts - make your own splash screen!

Tip us?
 
KeiranFTW
Old
#1  
KeiranFTW's Avatar
Recognized Developer - OP
Thanks Meter 2724
Posts: 2,639
Join Date: Nov 2011
Location: Sunderland

 
DONATE TO ME
Default [TOOL][LINUX]PNG to RLE conversion scripts - make your own splash screen!

Right.....

There is one thing I have always wanted to do, make my own splashscreen
As you know, I am the sort of person who makes scripts to accomplish these type of things (really, my memory is that bad), so I created a set of scripts for converting RLE splash image files into PNG files, vice versa.

How to use:
Open the terminal, and issue the command:
Code:
Select Code
mkdir tools
then extract http://icxperia.com/keiran/tools/splashtools.zip into the tools folder
then, in the terminal:
Code:
Select Code
cd tools
chmod +x set-permissions.sh
./set-permissions.sh
exit
now, permissions for the executables have been set.
Now, move your png/rle to the tools folder.
navigate to the tools folder again, and depending on what you want to do, either double click on png-to-rle.sh or rle-to-png.sh and select run in terminal, then enter the filename of your rle/png without the rle/png extension

When converting to RLE, the RLE file will be in the OUT folder

Keiran
Sony Xperia SP - C5303 O2

illumination app for Xperia SP
The Following 14 Users Say Thank You to KeiranFTW For This Useful Post: [ Click to Expand ]
 
sonicfreak360
Old
#2  
sonicfreak360's Avatar
Senior Member
Thanks Meter 65
Posts: 258
Join Date: Aug 2010
This is going to be awesome, maybe people should share their boot logos in this thread?

Sent from my R800x using Tapatalk
 
Leraeniesh
Old
#3  
Leraeniesh's Avatar
Senior Member
Thanks Meter 951
Posts: 1,868
Join Date: Aug 2011
Location: Detroit

 
DONATE TO ME
Origanel image.rle for anyone looking for it.
http://forum.xda-developers.com/atta...0&d=1328227275

Along with a tutorial on Unpacking and Repacking kernels
http://forum.xda-developers.com/show....php?t=1477845
Current Devices:
VZW HTC One M7 - S-OFF - CyanogenMod 11 Nightlies - Elite Lunar Kernel
AT&T Galaxy S2 i777 - Rooted - CyanogenMod 11
Nexus 7 - Unlocked - CyanogenMod 11 Nightlies
Older Devices:
Droid Razr M XT907 - Unlocked - CyanogenMod 11
Xperia Play R800x - Unlocked - Xperia NXT Gaming - DooMKernel
Kindle Fire - Rooted - Cyanogenmod 11 with SGT7 framework
 
paxChristos
Old
(Last edited by paxChristos; 13th February 2012 at 06:14 AM.)
#4  
paxChristos's Avatar
Retired Forum Moderator
Thanks Meter 1463
Posts: 2,036
Join Date: Aug 2011
Location: Milwaukee

 
DONATE TO ME
You should probably put that this is for Ubuntu/whatever distro you use. I tried it on Arch Linux and it pretty much told me i was wrong :P
(Arch linux does not have the convert binary :P)

Also, when I used this tool, some (not all) of the of the colors are the negative of what they should be...
Tips:
*Logcat or it never happened. *Search before posting *Go to User CP -> Edit Options -> switch "Number of Posts to Show Per Page" to 50. *Reporting Posts

Looks like I won't be doing anything android for a long time

Thanks for the lul'z

Pax
 
Atarii
Old
(Last edited by Atarii; 13th February 2012 at 10:30 AM.)
#5  
Senior Member
Thanks Meter 391
Posts: 581
Join Date: May 2011
Quote:
Originally Posted by paxChristos View Post
You should probably put that this is for Ubuntu/whatever distro you use. I tried it on Arch Linux and it pretty much told me i was wrong :P
(Arch linux does not have the convert binary :P)

Also, when I used this tool, some (not all) of the of the colors are the negative of what they should be...
You need to add the imagemagick http://www.imagemagick.org/script/index.php (that's the missing convert executable)

@Keiran Maybe you should link to DooMLoRD's original Windows thread for credit: http://forum.xda-developers.com/show....php?t=1140406
 
KeiranFTW
Old
#6  
KeiranFTW's Avatar
Recognized Developer - OP
Thanks Meter 2724
Posts: 2,639
Join Date: Nov 2011
Location: Sunderland

 
DONATE TO ME
Quote:
Originally Posted by paxChristos View Post
You should probably put that this is for Ubuntu/whatever distro you use. I tried it on Arch Linux and it pretty much told me i was wrong :P
(Arch linux does not have the convert binary :P)

Also, when I used this tool, some (not all) of the of the colors are the negative of what they should be...
I think that has to do with the PNG format and how you save the image

Sent from my R800i using Tapatalk
Sony Xperia SP - C5303 O2

illumination app for Xperia SP
 
paxChristos
Old
#7  
paxChristos's Avatar
Retired Forum Moderator
Thanks Meter 1463
Posts: 2,036
Join Date: Aug 2011
Location: Milwaukee

 
DONATE TO ME
Quote:
Originally Posted by KeiranFTW View Post
I think that has to do with the PNG format and how you save the image

Sent from my R800i using Tapatalk
I used gimp, I'll look into the saving options, thanks for the pointer.

Sent from my R800x using Tapatalk
Tips:
*Logcat or it never happened. *Search before posting *Go to User CP -> Edit Options -> switch "Number of Posts to Show Per Page" to 50. *Reporting Posts

Looks like I won't be doing anything android for a long time

Thanks for the lul'z

Pax
 
paxChristos
Old
#8  
paxChristos's Avatar
Retired Forum Moderator
Thanks Meter 1463
Posts: 2,036
Join Date: Aug 2011
Location: Milwaukee

 
DONATE TO ME
Quote:
Originally Posted by Atarii View Post
You need to add the imagemagick http://www.imagemagick.org/script/index.php (that's the missing convert executable)
Nope, it's built into Ubuntu, not arch, different distros have different binaries stored in either /bin/ or /usr/bin/

Sent from my R800x using Tapatalk
Tips:
*Logcat or it never happened. *Search before posting *Go to User CP -> Edit Options -> switch "Number of Posts to Show Per Page" to 50. *Reporting Posts

Looks like I won't be doing anything android for a long time

Thanks for the lul'z

Pax
 
Atarii
Old
#9  
Senior Member
Thanks Meter 391
Posts: 581
Join Date: May 2011
Quote:
Originally Posted by paxChristos View Post
Nope, it's built into Ubuntu, not arch, different distros have different binaries stored in either /bin/ or /usr/bin/

Sent from my R800x using Tapatalk
Yes but you can also download the latest version from the ImageMagick and add it locally. Keiran could have packaged it into the tools and so wouldn't have this problem (as DooMLoRD's version does)
 
KeiranFTW
Old
#10  
KeiranFTW's Avatar
Recognized Developer - OP
Thanks Meter 2724
Posts: 2,639
Join Date: Nov 2011
Location: Sunderland

 
DONATE TO ME
sudo apt-get install imagemagick

Sony Xperia SP - C5303 O2

illumination app for Xperia SP

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes