Go Back   xda-developers > HTC Dream: G1 > G1 Android Development


Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 22nd April 2009, 08:17 PM
diaztradeinc's Avatar
diaztradeinc diaztradeinc is offline
Senior Member
 
Join Date: Jan 2009
Posts: 360
Default Extra Mod for Haykuro's H Users...

I was messing around with one of my update files on winrar and opened system/Media. There I found boot.gif and boot.mp3 which both play at start up with the htc logo and sound. So I decided to change both with my own. So I did then I signed the update zip and flashed. Worked like a charm, sorry if someone beat me to this if you guys already knew then ill just delete the thread.

How To:

1. You must have a copy of the build/rom you are using. You can use the last update.zip you've used to flash to your latest rom.


2. Open up the update zip file using winrar or whatever unzipping tool you use.


3. Once unzipped goto system/Media.


4. Here you will see two files boot.gif and boot.mp3 these are the files you are going to mod.


5. Editing boot.gif, find a replacement animated gif file you would like to use and rename to boot.gif and add it to the archive replacing the original. MUST BE A .GIF FILE ONLY!


6. Editing boot.mp3, you do the same procedure as step 5 but replace with a mp3 file. MUST BE AN MP3 FILE ONLY!


7. When finished put the update.zip you just edited place on the root of sd card and flashhhh!


8. HAVE FUN!


Alternative with adb without wipe thanks to: Andonnguyen

adb remount
adb shell
#cd /system
#cd /media
#rm boot.gif
#rm boot.mp3
#mv c:\locationoffile\boot.gif /system/media/boot.gif
#mv c:\locationoffile\boot.mp3 /system/media/boot.mp3
#reboot



Could not add the boot.mp3 but here it is the linux mandriva boot sound.
link to boot sound here:

http://www.zedge.net/ringtones/56739...rtup-ringtone/

Last edited by diaztradeinc; 23rd April 2009 at 10:49 PM..
Reply With Quote
Sponsored Links

  #2  
Old 22nd April 2009, 10:42 PM
Christopher3712's Avatar
Christopher3712 Christopher3712 is offline
Senior Member
 
Join Date: Oct 2007
Location: Dallas, TX
Posts: 115
Default

Nice find! Too bad I just got everything set up the way I like it. I'll probably be flashing again on "Firmware Friday." I'll try this out then!


I've got about a million ideas for what I want my phone to do when I turn it on....
__________________

ROM - Ever Changing
Cyanogen's Recovery Image -1.4+JF
Radio 2.22.19.26I
Haykuro's SPL 1.33.2005
8 GB sd class 6 FAT32/Ext3/96mb Linux-swap
Reply With Quote

  #3  
Old 22nd April 2009, 10:53 PM
diaztradeinc's Avatar
diaztradeinc diaztradeinc is offline
Senior Member
 
Join Date: Jan 2009
Posts: 360
Default

Yea its great, I currently have an android dancing gif instead of the htc and Pitbull I know you want me for the boot sound lol. I put it on just to test and now that I know it works, I will also be changing it to something sick on firmware Friday...
Reply With Quote

  #4  
Old 22nd April 2009, 11:01 PM
aluspl aluspl is offline
Junior Member
 
Join Date: Feb 2009
Posts: 8
Default

There is One big problem
How you sign your update ...
When I used auto sign to signed my mod ... I have a error in recovery mode
Reply With Quote

  #5  
Old 22nd April 2009, 11:07 PM
diaztradeinc's Avatar
diaztradeinc diaztradeinc is offline
Senior Member
 
Join Date: Jan 2009
Posts: 360
Default

Quote:
Originally Posted by aluspl View Post
There is One big problem
How you sign your update ...
When I used auto sign to signed my mod ... I have a error in recovery mode
Which auto signer are you using? I suggest using Stericson's also make sure your singing the whole update.zip
__________________

....How a boy changed a mans life....

T-Mobile G1 White
ROM: Manup's Eclair 2.1-v1.5
Amon's Recovery
Reply With Quote

  #6  
Old 23rd April 2009, 12:39 AM
Nikeem24's Avatar
Nikeem24 Nikeem24 is offline
Senior Member
 
Join Date: Apr 2009
Location: Hampton, GA
Posts: 208
Default

So this really does work?
__________________
Device: T-Mobile G1(Black) ~Žooted~
ROM: The Dude's Cupcake1.3RC1
Radio: 2.22.19.26i
Bootloader: Haykuro's SPL
Recovery: Cyanogen Recovery 1.2
Volume Mod: Meltus Audio Mod -V4 r3
Custom Boot Image:Yes
SanDisk 8gb Class 2
Unknown # of apps (Whatever I want)mb free and still stacking
Open Overclock(Its free) 528MHz
Thanks JesusFreke, Dude, Manup456, Haykuro, Marcus, and Meltus

http://Twitter.com/Fr3shSwag
Reply With Quote

  #7  
Old 23rd April 2009, 01:01 AM
The Great NY The Great NY is offline
Senior Member
 
Join Date: Oct 2008
Location: Poughkeepsie
Posts: 153
Default

i may try this for the next update as well, good find
__________________
Black G1
Haykuros 5.0.2hr3 Saffire/Dream Port
HardSPL Bootloader
Reply With Quote

  #8  
Old 23rd April 2009, 01:34 AM
kylebrodeur kylebrodeur is offline
Member
 
Join Date: Dec 2008
Location: BridgeCity
Posts: 50
Default

Anyway you can make a how to or point me to the direction of this information?
Reply With Quote

  #9  
Old 23rd April 2009, 07:06 AM
diaztradeinc's Avatar
diaztradeinc diaztradeinc is offline
Senior Member
 
Join Date: Jan 2009
Posts: 360
Default

Quote:
Originally Posted by Nikeem24 View Post
So this really does work?
Yup, i've tested and it works.
__________________

....How a boy changed a mans life....

T-Mobile G1 White
ROM: Manup's Eclair 2.1-v1.5
Amon's Recovery
Reply With Quote

  #10  
Old 23rd April 2009, 08:23 AM
andonnguyen andonnguyen is offline
Senior Member
 
Join Date: Nov 2008
Posts: 695
Default

As an alternative method (for those who don't want to wipe), modify the boot.gif and boot.mp3 then place them somewhere on your hard drive. Next type the following commands in ADB while your G1 is connected via USB to your computer:

Quote:
adb remount
adb shell
#cd /system
#cd /media
#rm boot.gif
#rm boot.mp3
#cp c:\locationoffile\boot.gif /system/media/boot.gif
#cp c:\locationoffile\boot.mp3 /system/media/boot.mp3
#reboot


STERICSON (or anyone familiar with editing the xml files on android), please read below:

In the H builds of 1.5, there is also an xml file called boot_animation.xml in /system/media, the contents are as follows:

Quote:
<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright (C) 2008 HTC Inc.
*
-->

<!--
<BootConfiguration>
<BootAnimation
image="/system/media/boot.gif"
audio="/system/media/boot.mp3"
image2="/system/media/boot2.gif" (optional)
image3="/system/media/boot3.gif" (optional)
screenX="100" (optional)
screenY="130" (optional)
image_bg = "/system/media/boot_bg.gif" (optional)
useAudio="0" // 1: true ; 0:false (optional)
/>
</BootConfiguration>
-->

<!-- Demonstrates configuration for application -->
<!-- Remove background
<BootConfiguration>
<BootAnimation
image="/system/media/boot.gif"
image_bg="/system/media/boot_bg.gif"
audio="/system/media/boot.mp3"
screenX="100"
screenY="130"
useAudio="1"
/>
</BootConfiguration>
-->
<BootConfiguration>
<BootAnimation
image="/system/media/boot.gif"
audio="/system/media/boot.mp3"
useAudio="1"
/>
</BootConfiguration>
It looks as if we can manage to load multiple animated gif's during the boot process after splash1 and splash2 images. Could you please look into this, and offer any input as how to modify the xml to allow this?
__________________

T-mobile Black G1

Last edited by andonnguyen; 24th April 2009 at 06:08 AM.. Reason: Updated method.
Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:56 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.