Change the boot sound w/o re-flash the ROM for G7

jemuillot

Member
Nov 10, 2010
12
0
0
It's my fault to have post this message here.
It's for G7, but I think it is also OK for Incredible.

========================================

1. Prepare a short mp3 and name it android_audio.mp3
2. Put the mp3 under the adb folder
3. Save the following code as !bootaudio.bat (I use this name)
4. Turn your phone into ADB debugging mode
5. run !bootaudio.bat
6. Reboot your phone and have fun!

This should work on almost all G7

Tips: During the boot animation, the volume would change twice. So I suggest insert 1 second before the audio for escaping from the volume changing side-effect.

Code:
adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system

adb shell rm /data/local/android_audio.mp3
adb push android_audio.mp3 /data/local/

adb shell rm /system/customize/resource/android_audio.mp3
adb shell ln -s /data/local/android_audio.mp3 /system/customize/resource/android_audio.mp3

adb shell ls -l --color=never /data/local
adb shell ls -l --color=never /system/customize/resource/

adb pull /system/customize/CID/default.xml

pause
Script description:

Mount the system path to enable writing access.

Remove the original boot sound if it exists.

Push your mp3 into the data/local, where the bootanimation.zip is.

Make a link to data/local/android_audio.mp3

List the two affected pathes for you to confirm the result

Pull the default.xml out from the phone, if you find it not work after reboot, you can check the xml to see what the actural fullpath it is using. And manually change the script to try again.


:D

My current boot sound is attached to the thread.
 

Attachments

Last edited: