iphone-hacks.com

#1 iPhone Forums for iPhone Hacking, Unlocking, Jailbreaking...


You are not logged in.

Announcement

New to iPhone-hacks? Please, Read the RULES before posting!
  • Index
  •  » Tutorials
  •  » (Mac) How to add custom ringtones / system sounds to the iPhone

#1  2007-07-15 15:08:18

greg
Ninja
From: Toronto, ON
Registered: 2007-07-10
Posts: 23
Website

(Mac) How to add custom ringtones / system sounds to the iPhone

- source: http://www.hacktheiphone.com/iphone_rin … ation.html

Step 1. Make sure your iPhone is docked and fully charged (just to be safe).

Step 2. From iTunes, make sure you have a backup of your phone and all settings (if you want to keep them). Simply connect the iPhone to your computer and iTunes will sync your iPhone. Automatically backed-up information includes text messages, notes, call history, contact favorites, sound settings, widget settings, certain network settings, and other preferences.

Step 3. Quit iTunes. Don't just minimize it, shut it down. If you have the iTunes Helper open, you must quit that as well. To determine if the iTunes Helper is running open the Activity Monitor program found in the Utilities folder inside of the Applications folder. If it is running, highlight it in the list and click the Quit Process button.

Step 4. Make sure the iPhone is on.

Step 5. Download the software restore file from Apple. Click here. Once the file is downloaded, most browsers may automatically decompress the file and leave a folder called iPhone1,1_1 on your desktop. If your browser did not do this, and you have a .ipsw file instead, then rename the extension to .zip and decompress it yourself.

Step 6. Create a folder called phonedmg in your home folder.


Step 7. Place the software restore files you downloaded from Apple (the iPhone1,1_1 folder) into the phonedmg folder. Do not place the whole folder in here, just what's in the folder.

Step 8. Download the "jailbreak" program here. Put these files into the phonedmg folder.

Step 9. Download the iPhoneInterface program here you can also get it here. Put these files into the phonedmg folder.

Step 10. Go to your Applications folder and then go into the Utilities folder and find the program called Terminal. You should move this to your dock for easier access. Note that when typing in the terminal, everything is case sensitive. So watch your capital letters and lower case letters. Do not interchange them, they won't work.

Step 11. Start Terminal and type: cd phonedmg    Then press the enter key.

You'll see you are now in the phonedmg directory where all of your files that you downloaded earlier should be.

Step 12. Type: ./jailbreak    Then press the enter key. You should see the text "Looking for iPhone..."   If you don't, then you did something wrong.

Step 13. Press and hold the Home button and the Sleep/Wake button for a full 25 seconds.

The iPhone will restart in recovery mode. At this point the iTunes program may open, so close it.

Note: If you have iTunes 7.3.1 it won't launch automatically when you go into recovery mode. Continue to Step 14.

Note: If you have iTunes 7.3.054 go back to the Terminal window running jailbreak and press and hold the CTRL key while pressing the C key. You have to do this because jailbreak tells you to go into recovery mode, and doesn't give you a prompt to kill the shell process.

At the new prompt type ./jailbreak    Then press the enter key. A few additional lines of text will appear as the iPhone is modified.

Step 14. Now copy your ringtone to the phonedmg folder. Make sure the file is in .m4a or .mp3 format. In this example I've put the file CTU.mp3 in there.

It is best to copy ALL the ringtones you want to add to the iPhone at this point, otherwise you'll have to repeat these instructions starting from Step 10 to add more later.

Step 15. Back in the Terminal type: ./iPhoneInterface    Then press the enter key.

Step 16. Now type mkdir /var/root/Library/Ringtones    Then press the enter key.
Now type: cd /var/root/Library/Ringtones    Then press the enter key.

Step 17. Next type: putfile CTU.mp3    Then press the enter key.   Note if you want to delete a ringtone type: rmdir myringtone.mp3 (or whatever your file name is).

If you would also like to replace system sounds follow the instructions within this bordered area, otherwise skip to Step 18 to continue with ringtone replacement.

These instructions were contributed by "Christian" "Ksilebo", and "TkN". For the ultimate in customization, you can follow these steps to change your system sounds for new mail, new sms, new voicemail, et cetera. Remember you will be updating the system sounds, you can always restore them with a full restore or one by one by using the backups in the 39.dmg file.

The default system files in /System/Library/Audio/UISounds
alarm.caf
dtmf-2.caf
beep-beep.caf
dtmf-0.caf
dtmf-1.caf
dtmf-3.caf
dtmf-4.caf
dtmf-5.caf
dtmf-6.caf
dtmf-7.caf
dtmf-8.caf
dtmf-9.caf
dtmf-pound.caf
dtmf-star.caf
lock.caf
long_low_short_high.caf
low_power.caf
mail-sent.caf
middle_9_short_double_low.caf
new-mail.caf
photoShutter.caf
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-received.caf
Tink.caf
Tock.caf
unlock.caf
ussd.caf
Voicemail.caf

Step 17a. Choose a file, convert it to .aif using QuickTime and rename the .aif to .caf.   The .caf sould have the exact same name as the system file you are trying to replace (i.e. yourCustom.aif becomes new-mail.caf).


Step 17b. Put the new .caf file in the phonedmg folder used earlier.


Step 17c. In the Terminal type: putfile /System/Library/Audio/UISounds/.caf    Then press the enter key.


Now in order to not lose sync ability with iTunes we must replace the Services.plist file with the original one from iTunes.

Step 18. Download the original Services.plist file from here or from here. You can also get this from the decrypted 39.dmg file, but I won't explain this here.


Step 19. Put the Services.plist file inside the phonedmg folder.

Step 20. Switching back to the Terminal, type: cd /System/Library/Lockdown Then press the enter key.

Step 21. Type: putfile Services.plist Then press the enter key.

Step 22. Type: exit Then press the enter key.

Step 23. Turn off the iPhone then turn it back on. Go to: Settings -> Sounds -> Ringtone, and select your new ringtone. Here's my before and after. Note the difference in time. I wound up reclarifying the instructions as I went through them. This should take you less than 10 minutes the second time around...

Once you have done this, iTunes doesn't automatically launch when connecting the iPhone. You can launch iTunes manually and it will sync with the iPhone though.

If you find the iPhone acting weird, just put it into recovery mode (press and hold the Home button and the Sleep/Wake button for a full 25 seconds), then launch iTunes and allow it to restore the iPhone. You will of course need to repeat these instructions to replace your ringtones that the restore process erases.

Offline

 

#2  2007-07-15 16:22:36

LeifErikson
The Hungry Xylophone
From: Los Angeles, CA
Registered: 2007-07-10
Posts: 74648286
Website

Re: (Mac) How to add custom ringtones / system sounds to the iPhone

I so want to try this, but i am way to lazy to do all 23 steps.


http://albums.kimag.es/albums/leiferikson/25045130.png
Xbox Live Gamertag: LeifErikson01 http://noskirefiel.blogspot.com
2.0 iPhone 2G - Jailbroken - AT&T activated - Waiting for Installer.app

Offline

 

#3  2007-07-15 17:27:04

greg
Ninja
From: Toronto, ON
Registered: 2007-07-10
Posts: 23
Website

Re: (Mac) How to add custom ringtones / system sounds to the iPhone

no doubt.  I'm sure someone will release a tool that does it all - with ease.

Offline

 

#4  2007-07-15 21:13:02

LeifErikson
The Hungry Xylophone
From: Los Angeles, CA
Registered: 2007-07-10
Posts: 74648286
Website

Re: (Mac) How to add custom ringtones / system sounds to the iPhone

i did the hack. it works nicely. its a little complicated but if you read the tut carefully its easy. I added 2 ringtones mrgreenthumbsup


http://albums.kimag.es/albums/leiferikson/25045130.png
Xbox Live Gamertag: LeifErikson01 http://noskirefiel.blogspot.com
2.0 iPhone 2G - Jailbroken - AT&T activated - Waiting for Installer.app

Offline

 

#5  2007-07-16 06:03:13

p0Wer
iPhone Hacker
Registered: 2007-07-16
Posts: 60

Re: (Mac) How to add custom ringtones / system sounds to the iPhone

greg wrote:

no doubt.  I'm sure someone will release a tool that does it all - with ease.

Let's hope so by the time I get my iPhone! mrgreenthumbsup


http://www.psp-downgrades.com/sig/site_logo.png

Offline

 

#6  2007-07-19 01:51:30

manipdara
Member
Registered: 2007-07-17
Posts: 1

Re: (Mac) How to add custom ringtones / system sounds to the iPhone

when i try to put in ./jailbreak, it gives me an error that cannot execute binary file...  Any help on that??? i am using a powerbook g4..(PPC)..

Offline

 

#7  2007-07-19 01:53:56

LeifErikson
The Hungry Xylophone
From: Los Angeles, CA
Registered: 2007-07-10
Posts: 74648286
Website

Re: (Mac) How to add custom ringtones / system sounds to the iPhone

manipdara wrote:

when i try to put in ./jailbreak, it gives me an error that cannot execute binary file...  Any help on that??? i am using a powerbook g4..(PPC)..

do you have all the required files in the phonedmg folder?


http://albums.kimag.es/albums/leiferikson/25045130.png
Xbox Live Gamertag: LeifErikson01 http://noskirefiel.blogspot.com
2.0 iPhone 2G - Jailbroken - AT&T activated - Waiting for Installer.app

Offline

 

#8  2007-09-06 15:30:43

johentie
Member
Registered: 2007-09-06
Posts: 2

Re: (Mac) How to add custom ringtones / system sounds to the iPhone

nevermind  ; >

Last edited by johentie (2007-09-06 15:31:44)

Offline

 
  • Index
  •  » Tutorials
  •  » (Mac) How to add custom ringtones / system sounds to the iPhone

Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB