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

Root ADB/ Modifying Splash Screen

just thot id point out that your command above(fastboot flash splash1 splash.img) is technically a fastboot command,not an adb command.

adb commands are issued with the phone in the booted OS. fastboot commands are issued with the phone in fastboot(part of the bootloader) wich is a white screen with colored letters. you muse have the "fastboot" utility in your sdk/tools folder if youre setting it up in the traditional manner.

you can flash a splash with adb:

adb push splash.img /data/local/
adb shell (must have root privieledges)
dd if=/data/local/splash.img of=/dev/block/mmcblk0pxx (where xx is the block that the splash images lives in,not sure what it is.)

i tried to dump the partitions,but this is all that is listed:
Code:
$ cat /proc/emmc
cat /proc/emmc
dev:        size     erasesize name
mmcblk0p17: 00040000 00000200 "misc"
mmcblk0p21: 0087f400 00000200 "recovery"
mmcblk0p22: 00400000 00000200 "boot"
mmcblk0p25: 22dffe00 00000200 "system"
mmcblk0p27: 12bffe00 00000200 "cache"
mmcblk0p26: 496ffe00 00000200 "userdata"
mmcblk0p28: 014bfe00 00000200 "devlog"
mmcblk0p29: 00040000 00000200 "pdata"

*shrug* thats a somewhat awkward way to do it,anyway,so i didnt try real hard to try and figure out what block splash1 lives in... just wanted to demonstrate that it is technically possible. there are almost always more than one way to skin the cat!

you can also falsh splash1 as a PD98IMG in hboot,just rename your image to "splash1" and pack it up with an android info text document. zip it up,place on the root of sd card,and boot to hboot. select yes to update :) hboot flashing is,IMO,a bit of a pain,but doesnt require the user to have any adb/fastboot knowledge,or setup. all you need is the file,and the phone.

maybe more info than you wanted,but hope it helps :)
 
you can also falsh splash1 as a PD98IMG in hboot,just rename your image to "splash1" and pack it up with an android info text document. zip it up,place on the root of sd card,and boot to hboot. select yes to update :) hboot flashing is,IMO,a bit of a pain,but doesnt require the user to have any adb/fastboot knowledge,or setup. all you need is the file,and the phone.

maybe more info than you wanted,but hope it helps :)

So i would be ok doing this for any splash , as long as i follow the the steps?

What is pack it up with an android info text document meaning?

Also , I dont really understand what is meant by all the underlined things... Is hboot the bootloader when you boot with vol down??


thanks so much!



edit: Also, I would like to make sure that this is the correct method to change the splash?
Definately fed up of being blinded when I reboot, or when my phone decides to ....

For the down/boot animations, I assume I just replace the files on data/local
 
QUOTE=Mehta23 So i would be ok doing this for any splash , as long as i follow the the steps? correct. it is important that the image be named "splash1" in order for the phone to decide its an acceptable file.

a couple other things that are important to flash any file in hboot:
1)sd card formatted FAT32
2)file named correctly. phone must see "PD98IMG.zip" wich in most cases means renaming "PD98IMG" when using windows,wich automatically adds,and hides,the file ext.
3)PD98IMG must be on the root of the sd card(not inside a folder)


What is pack it up with an android info text document meaning?
have you ever downloaded a PD98IMG file? here is one for clockwork recovery,ad an example: download if you right click and extract it,youll find an image(recovery in this case) and an android info text document.

with windows 7(not sure about older versions),all you need to do is put your image into a folder,rename the image spash1,then copy/paste the android info document from the clockwork download into the folder as well.

left click and highlight the 2 items. right click, send to/compressed zip folder.

rename the zipped up folder PD98IMG,place on sd card,flash as described above. after youre done,immeidately remove PD98IMG from your sd card,as it can/will prevent you from getting into recovery in an emergency :eek:


Also , I dont really understand what is meant by all the underlined things... Is hboot the bootloader when you boot with vol down??
correct. power on/vol down takes you to hboot. this is a bootloader mode that you can use to flash firmware on an htc device. selecting "fastboot" with the vol rocker/power button takes you to fastboot,where you can communicate with a PC,with the correct utilitys installed on the PC


thanks so much!



edit: Also, I would like to make sure that this is the correct method to change the splash?
its is one of a couple correct methods. i assure you theres nothing wrong with it. i could walk you thru using fastboot flash:) or using fastboot to flash a PD98IMG as an ruu,if youd like.


For the down/boot animations, I assume I just replace the files on data/local

boot animations,depending on the android version can live in different places. in gingerbread,htc usually puts them in system/customize/resource. the down animation i believe,is there as well,but id have to check.
 
How like, risky is this? I assume not much bad can happen , as it is just overwriting the splash .... How would I go about returning to the original?


i could walk you thru using fastboot flash

Sorry for being so stupid.. but is that what you've already explained?? I'm gonna try to do this soon... When's a good time , so that I can quickly contatct you when stuff goes wrong? :)
 
I think that, using root explorer, you should be able to copy it and then paste a copy to your SD card (that way you've backed it up).
 
How like, risky is this? I assume not much bad can happen , as it is just overwriting the splash .... How would I go about returning to the original?
if you have to flash an ruu,it contains splash1.nb0,so it will automatically change back if you ever flash a signed ruu to go back to stock. if you just happen to want it back with your custom rom,easiest way is to flash it just like you will flash the replacement.

easy place to get it is just extract a PD98IMG version of a full,signed ruu,then delete everything but splash1.nb0 and android info text document. then place on sd card,named PD98IMG and flash in hboot as described above.

as for the risk,ive never heard of a bad splash flash making a phone unuseable,tho i guess anything is technically possible. there is a certain amount of risk in anything you do to your phone(other than leave it completely alone ;))




i could walk you thru using fastboot flash

Sorry for being so stupid.. but is that what you've already explained?? I'm gonna try to do this soon... When's a good time , so that I can quickly contatct you when stuff goes wrong? :)

no need to apologize... hboot and fastboot are easily confused by beginning rooters of htc phones :) what i described was how to flash in hboot.

fastboot flash is a fastboot command. the short version of using it to flash a splash image would be:
-put image into folder that contains adb/fastboot utilitys
-open cmd window and chage to that directory
-put phone in fastboot mode and connect
-type fastboot devices
if you get a serial number,then youre connected.
-fastboot flash splash1 splashimagename.img (assuming youre using an image. flashing the stock one back would be splashimagename.nb0)

then there is a third method that involves flashing a PD98IMG file(that you would flash in hboot) by putting that file into the adb/fastboot folder and using a few fastboot commands. i wont go into that yet,as i have prolly allready made things somewhat confusing ;)
 
Ok... SO i can flash it in hboot with the PD98IMG or I can do it with the ADB...

Which do you reccomend?


Also , I open up that android info text thing in the PD98 of CWM... so i just nend to copy this exactly ?

modelid: PD9812000
cidnum: CWS__001
mainver: 1.80.502.3
 
Ok... SO i can flash it in hboot with the PD98IMG or I can do it with the ADB...

Which do you reccomend?
its really up to you and your comfort level. they both bring the same results. i mess with several htc phones and find it somewhat clunky to move files physically on and off the sd card,lol. but it honestly makes no differences. both methods are safe.


Also , I open up that android info text thing in the PD98 of CWM... so i just nend to copy this exactly ?

just right click on the document without opening. click "copy". paste the document into your workfolder,or somewhere convienient to pack up the document and the image.
 
https://www.dropbox.com/s/fxqbbmmexopco2r/PD98IMG.zip


I copied everything - i think...

So I would put the above PD98IMG.zip on my sd card , but not in any folder.... boot my phone into bootloader - sit and wait ,and then reboot?

i downloaded your zip... looks good.

boot to hboot. immidieately after the green writing flashes,youll see status bars as the phone finds and unpacks the file. it should then ask you to update. tell it yes :) if you see the green writing flash,but then nothing... there is something not right(named wrong,sd not FAT32)
 
Right , cool. Gonna do that today or tomorrow then :)


Now that you mention it , I do recall some green text mentioning a PD98 when you go into hboot, before it allows you to do anything else....
 
Back
Top Bottom