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

Search This thread

KeiranFTW

Inactive Recognized Developer
Nov 17, 2011
2,637
2,692
28
Sunderland
Pity they spelt my name wrong, I did that myself once and was sitting here all day wondering why I couldn't log in haha.
Going to make a linux toolkit now, with stuff so that you can stick the image in your ramdisk :)
Great idea, a n00b friendly linux tool, with my recovery image on it too, because people keep flashing it lol :)
You are only meant to boot it.
I could also add in a kernel flasher too, for peeps that don't know how to flash kernels :)

In fact, ima go make a ROM kitchen :)

Sent from my R800i using Tapatalk
 
  • Like
Reactions: sonicfreak360

sonicfreak360

Senior Member
Aug 19, 2010
259
66
Pity they spelt my name wrong, I did that myself once and was sitting here all day wondering why I couldn't log in haha.
Going to make a linux toolkit now, with stuff so that you can stick the image in your ramdisk :)
Great idea, a n00b friendly linux tool, with my recovery image on it too, because people keep flashing it lol :)
You are only meant to boot it.
I could also add in a kernel flasher too, for peeps that don't know how to flash kernels :)

In fact, ima go make a ROM kitchen :)

Sent from my R800i using Tapatalk
Dude. Wow. Seriously? You are something AMAZING that came to us Xperias! I'm so glad I've got Linux now!


Sent from my R800x using Tapatalk
 

KeiranFTW

Inactive Recognized Developer
Nov 17, 2011
2,637
2,692
28
Sunderland
Dude. Wow. Seriously? You are something AMAZING that came to us Xperias! I'm so glad I've got Linux now!


Sent from my R800x using Tapatalk
I have like half of it done already lol.
You could say I am a bit lazy, I cant really be bothered to enter things in over and over again, so I don't, I make a script with all.the commands in, then execute it.
The Rom kitchen, I could do with a few scripts :)


Sent from my R800i using Tapatalk
 
Last edited:
  • Like
Reactions: sonicfreak360

cj360

Senior Member
Oct 24, 2011
1,332
709
I see no one's been in here recently :p Not sure what's goning on with the script though it wasn't giving a rle so I ran it in ternminal to see what's going on:
Code:
enter png filename without the .png extension
ac_logo
converting png to raw
convert: no decode delegate for this image format `ac_logo.png' @ error/constitute.c/ReadImage/544.
convert: no images defined `rgb:ac_logo.raw' @ error/convert.c/ConvertImageCommand/3021.
converting raw to rle
/home/andrew/CM9_kernel/tools_for_boot_logo/png-to-rle.sh: line 6: ac_logo.raw: No such file or directory

I have the scripts and my png all in the same folder, could it be some issue with the way gimp saves png files? I'm running ubuntu 11.10.
 

clodfelterac

Senior Member
Jan 23, 2012
55
37
44
sasnak
converter

used to work... been trying to get it running but nogo... tried multiple times... followed instructions to the t with the exception of using the splashtools folder instead of tools folder... tries both ways and no dice... i can run in terminal, type name of image in, hit return, window closes and thats as far as its gotten... chmod'd everything... wtf?...
 

cj360

Senior Member
Oct 24, 2011
1,332
709
You said you chmod everything? You might have your perrmisons set wrong but its hard to tell from your description.
 

CosmicDan

Senior Member
Jun 19, 2009
5,906
7,746
37
Sydney
Xiaomi Poco X3 Pro
I personally used to use championswimmers kernel kitchen, full ramdisk (re)packing and RLE (un)conversion in cygwin :) regardless, well done.

Sent from Xperia Play (R800a) with Tapatalk
 

CosmicDan

Senior Member
Jun 19, 2009
5,906
7,746
37
Sydney
Xiaomi Poco X3 Pro
OK i admit I am just lazy :)

Setting up cygwin can be complicated though. I cant remember who/where the guide on required packages is.

Sent from Xperia Play (R800a) with Tapatalk
 

Top Liked Posts

  • There are no posts matching your filters.
  • 14
    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:
    mkdir tools
    then extract http://icxperia.com/keiran/tools/splashtools.zip into the tools folder :)
    then, in the terminal:
    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
    1
    It doesn't matter about layers.

    It's more likely that you've got too many colours; remember that rgb565 is only a 16bit pixel format. Try reducing the number of colours in your source image
    1
    Pity they spelt my name wrong, I did that myself once and was sitting here all day wondering why I couldn't log in haha.
    Going to make a linux toolkit now, with stuff so that you can stick the image in your ramdisk :)
    Great idea, a n00b friendly linux tool, with my recovery image on it too, because people keep flashing it lol :)
    You are only meant to boot it.
    I could also add in a kernel flasher too, for peeps that don't know how to flash kernels :)

    In fact, ima go make a ROM kitchen :)

    Sent from my R800i using Tapatalk
    1
    Dude. Wow. Seriously? You are something AMAZING that came to us Xperias! I'm so glad I've got Linux now!


    Sent from my R800x using Tapatalk
    I have like half of it done already lol.
    You could say I am a bit lazy, I cant really be bothered to enter things in over and over again, so I don't, I make a script with all.the commands in, then execute it.
    The Rom kitchen, I could do with a few scripts :)


    Sent from my R800i using Tapatalk