• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [DEV]Change your device's splash screen-- ONLY FOR REFERENCE

ninadchaudhari

What's up !
Hey Irritated of that hopeless Micromax Screen every time you boot up?
here is the solution ;)
DO NOT EVEN TRY THIS YET,read on


YOU WON'T GET THE ORIGINAL SPLASH SCREEN OF OUR DEVICES BACK so DO NOT TRY YET ;) WE NEED SOME WAY TO GET THAT SCREEN.... FIRST


I AM NOT RESPONSIBLE FOR ANY BAD THING THAT HAPPENS AS NO ONE HAS THE ORIGINAL SPLASH SCREEN OF OUR DEVICES BACK
ALSO IF YOU COMPLETELY MESSUP I AM NOT RESPONSIBLE...
THIS IS ONLY FOR DEVELOPMENT AND DO NOT EVEN TRY TO USE THIS



use this s script for simplifying work for
building and flashing the splash screen !

How to use it :

Install ffmpeg a simple tool for OSX and Linux !
the instalation way for Ubuntu can be found here : follow to install first !
as i think no one uses Fedora/BT or other OS here !

1.) you need to create a executable BASH file with pasting all this stuff in it
it is damn easy ! just give the apt. permissions
[ i have already attached a script with right permissions for OSX and LINUX]
get it from the attachment and extract to get splash_chg.sh
do not bring that Windows here plz :p

2.) use it like
for help on commands !:
Code:
     splash_chg.sh --help
for using the script
Code:
     splash_chg.sh image_file



3.) yup the image file (.bmp) must be of 320x480 <--- that's common sense :)
you canuse any photo editor !
i use Photoshop but you can go for GIMP a open source and free one.
#!/bin/bash
prog_header() {
echo "###############################"
echo "####### EleGoS's FFMPEG #######"
echo "#Changed for Micromax A75 by Ninad##"
echo "### Splash Screen converter ###"
echo "###############################"
echo "version 1.0"
echo ""
}

if [ "$1" == "--help" ] || [ "$1" == "-h" ]; then
prog_header
echo "Usage"
echo "$0 your_image_file"
exit 0
fi


warning() {
printf "\e[0;31m$1\e[0m \n"
}

check_ok() {
printf "\e[0;32m$1\e[0m \n"
}

ffmpeg_check=$(which ffmpeg)
size_check=307200
size_desc="320x480"

if [ "$ffmpeg_check" != "" ]; then
OUTPUT=$(echo "$1" | cut -d'.' -f1).raw565
clear
prog_header
ffmpeg -i $1 -f rawvideo -pix_fmt rgb565 $OUTPUT
clear
prog_header
FILESIZE=$(cat $OUTPUT | wc -c)
if [ $FILESIZE -eq $size_check ]; then
check_ok "$OUTPUT is ready to be flashed."
else
rm $OUTPUT
warning "$OUTPUT filesize mismatches! Wrong image size ($size_desc)? Aborted."
exit 0
fi
echo "In order to flash this image you have to plug your phone in fastboot mode."
read -p "Flash it now? (y/n)
if [ "$REPLY" == "y" ] || [ "$REPLY" == "Y" ]; then
fastboot devices | grep -q "fastboot"
if [ $? -ne 0 ]; then
warning "The USB cable is not plugged, or the device is not in fastboot mode."
echo "To flash the splash screen, manually execute this command once in fastboot mode:"
echo "fastboot flash splash1 $OUTPUT"
exit 0
else
fastboot flash splash1 $OUTPUT
fi
else
echo "To flash the splash screen, execute this command once in fastboot mode:"
echo "fastboot flash splash1 $OUTPUT"
exit 0
fi
else
warning "ffmpeg not found! Please install it before running this script!\ni.e. (DEBIAN) apt-get install ffmpeg / (OSX) sudo port install ffmpeg"
fi

"here is the thread

Got it from XDA his/Her name is already listed in the script
it is all his Hard-work i just changed the variables , made it executable and posted here


FOR WINDOWS USERS

some linux users can provide them with the created splash screen and they can use the command like :

fastboot flash splash1 file

under construction
 

Attachments

Back
Top Bottom