[GUIDE][MOD] Splash Image
Ever since I got S-OFF on my G1, I set up a custom splash image. Here's how to do this on the Doubleshot (MyTouch 4G Slide).
Info:
The Doubleshot stores the splash image on the /dev/block/mmcblk0p14 partition, even though it only uses the first 768k of the 6MB partition. By default, this is a white image with green letters spelling the 'myTouch 4G slide' logo in the center of the screen and the '-T---Mobile-' gray and magenta logo above it.
Prerequisite:
Install and get familiar with the Android SDK see
Android SDK | Android Developers also
[HOW-TO] ADB for Dummies(How-To Learner's Guide) G1 Android Development
Unlock your T-Mobile MyTouch 4G Slide / HTC Doubleshot see
How To Turn S-Off, Install MoDaCo Clockworkmod Recovery, and Install a Rom For Dummie
Install
FFmpeg
Windows:
Extract the ffmpeg.exe file from the bin folder in
ffmpeg-r25512.7z
- or Shortcut - get the getsplash.zip from
gariak
Install the adb (Android Composite ADB Interface) and fastboot (Android Bootloader Interface) drivers from the android-sdk-windows\extras\google\usb_driver folder
Mac:
Might find this ffmpeg guide helpful -
An easy install of the ffmpeg command line tool - Mac OS X Hints
Backup: (Optional)
To get the current image from the phone, execute this from a root shell:
Code:
dd if=/dev/block/mmcblk0p14 of=/sdcard/splash.img
On your computer, you can turn this into a PNG using ffmpeg from the command line:
Code:
ffmpeg -f rawvideo -pix_fmt rgb565 -s 480x800 -i splash.img -f image2 splash.png
Flash:
You can set the splash by converting an image you want to a 480x800 resolution PNG file, then use ffmpeg to convert it to raw565 format using the command line:
Code:
ffmpeg -i new_splash.png -f rawvideo -pix_fmt rgb565 new_splash.img
Then with an unlocked (S-OFF) bootloader, flash the new_splash.img file to your phone:
Code:
adb reboot bootloader
fastboot flash splash1 new_splash.img
fastboot reboot
OR you can flash from a terminal window on your phone. Be very careful with this method and triple check that you typed everything correctly so you do not accidentally brick your phone:
Code:
dd if=/sdcard/splash.img of=/dev/block/mmcblk0p14
References:
[GUIDE][MOD] Splash Image
[Request] MyTouch splash screen?
[TOOL] [Linux / OSX] Splash Screen creator / flasher
gravis86
gariak
An easy install of the ffmpeg command line tool - Mac OS X Hints
wilnotdie