ninadchaudhari
What's up !
Abandoned project....
NOTE : possible ways via fastboot and by flash_image( android executive ) more over decompiling boot though gives a rle file in res folder the rle after being replaced by other custom image does not yield change in boot also the rle canot be opened as photoshop reports phrasing problem,
some of these methods do work on other phones hence the project was started,but it seems that A70 has the image embedded in its boot-loader , [ more clarification is needed on this ] if any one can help ,the help is appreciated
You can find relavent discussion on
how to convert a image (png or bmp) to rle though ...
But here are things that were taken here
1.) flashing via fastboot splash splash.img
2.) flashing via fastboot splash1 splash.img
3.) flashing via flash_img -- Android executive
4.) replacing ( though not related ) accessible rle by custom
All the above steps have been carried out in Linux by mastermind
I cannot confirm as the device not being with me though
NOTE : possible ways via fastboot and by flash_image( android executive ) more over decompiling boot though gives a rle file in res folder the rle after being replaced by other custom image does not yield change in boot also the rle canot be opened as photoshop reports phrasing problem,
some of these methods do work on other phones hence the project was started,but it seems that A70 has the image embedded in its boot-loader , [ more clarification is needed on this ] if any one can help ,the help is appreciated
You can find relavent discussion on
how to convert a image (png or bmp) to rle though ...
But here are things that were taken here
1.) flashing via fastboot splash splash.img
2.) flashing via fastboot splash1 splash.img
3.) flashing via flash_img -- Android executive
4.) replacing ( though not related ) accessible rle by custom
All the above steps have been carried out in Linux by mastermind
I cannot confirm as the device not being with me though
WE NEED SOME WAY TO GET THAT SCREEN FIRST --
YOU WON'T GET 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
IF SHIT HAPPENS PLZ WATCH
use this s script for simplifying work for
OLD METHOD <--- DO NOT USE IT CAZ I AM TYPING A BETTER ONE !
YOU WON'T GET 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
IF SHIT HAPPENS PLZ WATCH
use this s script for simplifying work for
building and flashing the splash screen !
OLD METHOD <--- DO NOT USE IT CAZ I AM TYPING A BETTER ONE !
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
2.) use it like
for help on commands !:
for using the script
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.
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
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
2.) use it like
for help on commands !:
Code:
splash_chg.sh --help
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 A70 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
prog_header() {
echo "###############################"
echo "####### EleGoS's FFMPEG #######"
echo "#Changed for Micromax A70 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