Hack the iPhone - Make and use WinterBoard themes





Make and use themes with WinterBoard

intel Mac & PPC

Section 11: Changing system sounds



If you read Section 9: Changing sliders (with custom text and audio), you saw how I changed the sound associated with sliding to unlock the iPhone. I applied this sound using a theme, by placing the new sound file into the UISounds folder of the theme.

I am going to repeat part of that lesson and also provide you with the names of all the sound files on the iPhone so you can swap them all out, should you wish.

These are the audio files in the /System/Library/Audio/UISounds folder on 2.0.2 firmware:

alarm.caf
beep-beep.caf - is the sound played when docking the iPhone.
ct-busy.caf
ct-call-waiting.caf
ct-congestion.caf
ct-error.caf
ct-keytone2.caf
ct-path-ack.caf
dtmf-0.caf - is the sound played when pressing 0 on the phone keypad.
dtmf-1.caf - is the sound played when pressing 1 on the phone keypad.
dtmf-2.caf - is the sound played when pressing 2 on the phone keypad.
dtmf-3.caf - is the sound played when pressing 3 on the phone keypad.
dtmf-4.caf - is the sound played when pressing 4 on the phone keypad.
dtmf-5.caf - is the sound played when pressing 5 on the phone keypad.
dtmf-6.caf - is the sound played when pressing 6 on the phone keypad.
dtmf-7.caf - is the sound played when pressing 7 on the phone keypad.
dtmf-8.caf - is the sound played when pressing 8 on the phone keypad.
dtmf-9.caf - is the sound played when pressing 9 on the phone keypad.
dtmf-pound.caf - is the sound played when pressing # on the phone keypad.
dtmf-star.caf - is the sound played when pressing * on the phone keypad.
lock.caf - is the sound played when pressing the Sleep/Wake button.
long_low_short_high.caf
low_power.caf
mail-sent.caf - is the sound played when sending an email.
middle_9_short_double_low.caf
new-mail.caf - is the sound played when an email is received.
photoShutter.caf - is the sound played when taking a picture.
ReceivedMessage.caf
RingerChanged.caf
SentMessage.caf
short_double_high.caf
short_double_low.caf
short_low_high.caf
SIMToolkitCallDropped.caf
SIMToolkitGeneralBeep.caf
SIMToolkitNegativeACK.caf
SIMToolkitPositiveACK.caf
SIMToolkitSMS.caf
sms-received1.caf - is the sound called Tri-tone, for text message receipt.
sms-received2.caf - is the sound called Chime, for text message receipt.
sms-received3.caf - is the sound called Glass, for text message receipt.
sms-received4.caf - is the sound called Horn, for text message receipt.
sms-received5.caf - is the sound called Bell, for text message receipt.
sms-received6.caf - is the sound called Electronic, for text message receipt.
sq_alarm.caf
sq_beep-beep.caf
sq_lock.caf
sq_tock.caf
Tink.caf
Tock.caf
unlock.caf - is the sound played when you "slide to unlock".
ussd.caf
Voicemail.caf - is the sound played when you receive a voicemail message.








I recommend downloading all the files in this folder to your Mac, and listening to what the various sounds do in a Finder window before you replace them. Note: Backup these files before replacing them on the iPhone with your own sound files! You must name your files the exact same thing as the one you are replacing.

iPhone



As far as ringtones are concerned, /private/var/stash/Ringtones contains the stock ringtones only. Custom ringtone sounds are placed in /private/var/mobile/Media/iTunes_Control/Ringtones.



Step 1.

Let's replace a sound. Choose a file on your computer that you like. Here's my example in iTunes, note it is in mp3 format already.

iPhone



The first step is converting your file to aiff format. If you right click the file and get only an option to convert it to mp3 like here....

iPhone



Then you need to change your preferences in iTunes. Click iTunes, then select Preferences.

iPhone



Click the Advanced graphic, then the Importing tab, and go to the Import Using drop down box, and select AIFF Encoder, then click OK.

iPhone








Now when you go back to iTunes and right click your new sound file you will see the AIFF conversion option.

iPhone



The conversion will be made and the sound will be placed in your library. So now I have an mp3 and an aiff version. Note: the aiff file was placed in the main library. I dragged it back into this folder so it could be seen easier.

iPhone



I then dragged the aiff file out of iTunes to my desktop.

iPhone



Now click the file name so it becomes editable. Change the aif extension to caf.

iPhone



You'll be prompted to confirm the extension change. Click Use .caf.

iPhone



There is the properly formatted .caf. Now you need to name the file the same thing as the file on the iPhone you want to replace. In my case I want to change the lock.caf file with my own. So I renamed it.

iPhone



I am going to put this sound into the same theme as my iZipper sliders theme. Go into the folder called UISounds.

iPhone



Place the file in here.

iPhone




Step 2.

Launch WinterBoard, and press the theme twice to load the new changes.

iPhone       iPhone



Ready to change the Springboard page indicators?



Section 12: Changing the SpringBoard page indicators.








Return to top of page




My other cell phone modding sites:   Hack the L7, Hack the V3 and Hack the V3i.   Copyright © 2010, MCJ