New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
reukiodo
Old
(Last edited by reukiodo; 24th November 2011 at 09:47 PM.) Reason: corrections
#1  
reukiodo's Avatar
Senior Member - OP
Thanks Meter 52
Posts: 144
Join Date: May 2009
Location: Tacoma, WA

 
DONATE TO ME
Arrow [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
Attached Thumbnails
Click image for larger version

Name:	mmcblk0p14.jpg
Views:	284
Size:	9.2 KB
ID:	789995  
Attached Files
File Type: 7z splash1.7z - [Click for QR Code] (5.4 KB, 97 views)
The Following 5 Users Say Thank You to reukiodo For This Useful Post: [ Click to Expand ]
 
Blue6IX
Old
#2  
Blue6IX's Avatar
Senior Member
Thanks Meter 1089
Posts: 1,711
Join Date: May 2011

 
DONATE TO ME
Absolutely fantastic write up!

This is just the kind of information that belongs here in the dev section.

I like how you explained a lot of information that wasn't exactly necessary, but is very helpful to continue developing this topic in new directions.

Before anyone comes in and says there are threads on how to do this in the "themes and apps" section of the MT4GS forums, let me point out that they do not go into the detail and depth that this guide has done, and this write-up shows how to do it all manually.

Thank you for taking the time to lay this all out so people can see the process, and do it on their own.

MT4GS "themes and apps" links:
Replace your splash screen

Charlieb's gallery of pre-made boot splash images that you can flash with the new method listed here in dev:
Gallery Of Custom BootSplash Screens To Choose From
Nook Color: MicroSD info: Here and Here.

--> RTFM <-- | XDA Mantra - Spirit of XDA | ... Donations? Read this
 
dillalade
Old
(Last edited by dillalade; 21st November 2011 at 12:46 PM.)
#3  
dillalade's Avatar
Senior Member
Thanks Meter 125
Posts: 753
Join Date: Sep 2009
Location: Richmond
Great write up, much appreciated.
________________________

.........Device HTC Dream G1
.....Recovery RA-v1.7.0
..........Radio 2.22.28.25
.............SPL 1.33.0013d [+15mb RAM]
............ROM EzTerry's GB w/ Magpie
............MOD Custom MTD Partition : system 90.0M // data ~115M // cache 1.5M
...MicroSDHC fat32 12.5gb // swap 32mb // ext 1024mb [Class 6]
 
jsyi84
Old
#4  
jsyi84's Avatar
Senior Member
Thanks Meter 54
Posts: 308
Join Date: Aug 2010
Location: Encinitas
This was already posted back in September...
Nothing comes close to my Nokia 5110.....
 
Madblaster6
Old
#5  
Madblaster6's Avatar
Senior Member
Thanks Meter 30
Posts: 245
Join Date: Apr 2010
Already posted. Also wrong section.

Sent from my mt4gs
Razer ==> iPhone 2g (unlocked)==> iPhone 3g (unlocked) ===> T-mobile hd2 (android) ==> iPhone 4 (unlocked) ==> MyTouch 4g ==> Lg g2x ==> Mytouch 4g slide ==> Samsung galaxy S II ==> Samsung Galaxy S III ==> Samsung Galaxy Note II (returned) ==> Samsung Galaxy S4
 
Blue6IX
Old
#6  
Blue6IX's Avatar
Senior Member
Thanks Meter 1089
Posts: 1,711
Join Date: May 2011

 
DONATE TO ME
Quote:
Originally Posted by Madblaster6 View Post
Already posted. Also wrong section.

Sent from my mt4gs
No, it hasn't, and no, it's not.

This is very helpful Dev material, which I have already been referencing to try to solve a splash flashing issue.

Please post a link to where it was already posted if you think that was the case, but there are no other dev postings to my knowledge that contain this very useful information.
Nook Color: MicroSD info: Here and Here.

--> RTFM <-- | XDA Mantra - Spirit of XDA | ... Donations? Read this
 
jsyi84
Old
#7  
jsyi84's Avatar
Senior Member
Thanks Meter 54
Posts: 308
Join Date: Aug 2010
Location: Encinitas
Quote:
Originally Posted by Blue6IX View Post
No, it hasn't, and no, it's not.

This is very helpful Dev material, which I have already been referencing to try to solve a splash flashing issue.

Please post a link to where it was already posted if you think that was the case, but there are no other dev postings to my knowledge that contain this very useful information.
Androidautobot referenced this writeup back in September on the MT4GS part of the site....
http://forum.xda-developers.com/show....php?t=1258873

@reukiodo - I used your method back in my G2 days so I thank you for that.

Not meaning to steal some else's spotlight but in case anyone seriously needs a noob proof method as posted by others as well and the way I did it back when I still had a MT4G is to go with TrueBlue_Drew's method....You'd have to be a true square headed moron to screw up...
http://forum.xda-developers.com/showthread.php?t=956434
Nothing comes close to my Nokia 5110.....
 
Blue6IX
Old
#8  
Blue6IX's Avatar
Senior Member
Thanks Meter 1089
Posts: 1,711
Join Date: May 2011

 
DONATE TO ME
Thanks, jsyi84.

I know about those links in the themes & apps section - and for users that's great.

Neither of the two threads in themes & apps contain the developers info that is included in the OP of this thread.

That's okay, it's not their purpose, which is why they are over in themes & apps.

This thread is a reference for people working on creating things like the utilities linked to in the other threads, and not really targeted at end users.
Nook Color: MicroSD info: Here and Here.

--> RTFM <-- | XDA Mantra - Spirit of XDA | ... Donations? Read this
 
reukiodo
Old
#9  
reukiodo's Avatar
Senior Member - OP
Thanks Meter 52
Posts: 144
Join Date: May 2009
Location: Tacoma, WA

 
DONATE TO ME
Quote:
Originally Posted by jsyi84 View Post
This was already posted back in September...
Quote:
Originally Posted by Madblaster6 View Post
Already posted. Also wrong section.
I apologize if you think this is a duplicate post or in the wrong section. In my search I was looking for which partition the splash image was stored on, and was unable to find that information.

Now with the reference provided, I see that information was already available, however difficult to find.

In response, I hope you agree that this post has all the information related to the splash image in one location, including a copy of the original splash image.
 
jsyi84
Old
#10  
jsyi84's Avatar
Senior Member
Thanks Meter 54
Posts: 308
Join Date: Aug 2010
Location: Encinitas
Quote:
Originally Posted by reukiodo View Post
I apologize if you think this is a duplicate post or in the wrong section. In my search I was looking for which partition the splash image was stored on, and was unable to find that information.

Now with the reference provided, I see that information was already available, however difficult to find.

In response, I hope you agree that this post has all the information related to the splash image in one location, including a copy of the original splash image.

It's a very valuable piece of information I figured you'd be happy to know someone else already posted a topic referencing your topic lol. I agree it's easier for others to find posted here than having to hunt around in another phones forum lol.....sort of like how some people had to go in the g2 forums to downgrade to 2.2 in order to root their phones in the mt4g forums which only adds to confusion to some as for most people it's a red flag having to do stuff to their $400+ device from information posted for an entirely different phone lol.
Nothing comes close to my Nokia 5110.....


XDA PORTAL POSTS

Voice Control Your Phone with Tasker and AutoVoice – XDA Developer TV

XDA Developer TV Producer Kevin set up his phone to respond to … more

Guide to Take Better Control of Your Volume Levels

Would you like to know one of the things that really annoys me on a daily basis? Tough, … more

Get the Android 4.2.2 Status Bar on Your Gingerbread-Based Samsung

There are still quite a few of folks who run Gingerbread on their … more

Responses From Ubuntu Pouring Into Ubuntu Touch Q&A Thread

Ubuntu has become the most successful *nix distribution for a number of reasons, … more