FORUMS

[Tool] lsplash - Linux splash screen flasher

221 posts
Thanks Meter: 40
 
By SprigganMaster, Senior Member on 22nd January 2012, 03:17 PM
Post Reply Email Thread
Hello everyone,

This is lsplash, a linux port of EZ Splash Screen Flasher by TrueBlue_Drew + small additions.

You can use this script to convert picture file to image and flash this image as splash screen.
I added some crop feature to create multiple .img from a larger picture.
I think this script should work on Mac OSX but I did not test it...


Thanks
YOU ARE USING THIS TOOL AT YOUR OWN RISK AND I AM NOT RESPONSABLE
FOR ANY DAMAGE THAT MAY OCCUR FROM YOU MODIFYING YOUR PHONE.


Dependencies
  • ffmpeg
  • imagemagick
  • android SDK / adb
  • fastboot

lsplash is not shipped with any dependencies. You must use your package manager to install them.

You can find fastboot here : http://koushikdutta.blurryfox.com/G1/
Info : http://wiki.cyanogenmod.com/wiki/Fastboot
* Using i386 on 64 bits system is fine

Usage

lsplash is a command line utilities. Use ./lsplash -h to print help.
You can find the result of each command in workdir/. lsplash create a copy of your picture and always work in this sub folder.

Convert an picture :
Quote:

./lsplash.sh -i glacier.png -o mycustom.img

Crop large picture :
Quote:

./lsplash.sh -i One_Piece_wall.jpg -c 480x800

Result :
Quote:

$:>ls workdir
ffmpeg.log
One_Piece_wall.CROP-0.jpg
One_Piece_wall.CROP-0.jpg.img
One_Piece_wall.CROP-1.jpg
One_Piece_wall.CROP-1.jpg.img
One_Piece_wall.CROP-2.jpg
One_Piece_wall.CROP-2.jpg.img
One_Piece_wall.CROP-3.jpg
One_Piece_wall.CROP-3.jpg.img
One_Piece_wall.CROP-4.jpg
One_Piece_wall.CROP-4.jpg.img
One_Piece_wall.CROP-5.jpg
One_Piece_wall.CROP-5.jpg.img
One_Piece_wall.CROP-6.jpg
One_Piece_wall.CROP-6.jpg.img
One_Piece_wall.CROP-7.jpg
One_Piece_wall.CROP-7.jpg.img
One_Piece_wall.jpg

You can also use the -c option with a smaller image. Black border will be added.

Backup your current splash screen :
Quote:

./lsplash.sh -b

Flash image to your phone :
Quote:

./lsplash.sh -f workdir/mycustom.img

Download
http://4nakama.net/share/dev/lsplash-1.0.tar.bz

Note
I'm a J2EE developer; not a bash developer. If you spot any error or if you want to contribute, feel free to contact me or to submit your suggestion here.
This script is available under wtfpl licence

Click Thanks button if you like it

Regards.
The Following User Says Thank You to SprigganMaster For This Useful Post: [ View ] Gift SprigganMaster Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes