Quantcast Guide for adding custom ringtones and tweaks to your iPhone - iPhone Alley Forums

Guide for adding custom ringtones and tweaks to your iPhone
Reply
Michael Johnston
This is my fricken site, durrrr
 
Michael Johnston's Avatar
 
Join Date: Apr 2007
Location: Rockford, IL
Posts: 2,694
Thanks: 11
Thanked 45 Times in 40 Posts
Send a message via AIM to Michael Johnston
Guide for adding custom ringtones and tweaks to your iPhone -    #1
Very early this morning a user named Mubs posted a guide in the forums outlining the steps involved in putting a custom ringer on your iPhone. Before I go any further, I would like to point out that the guide is fairly geeky despite Mubs' best efforts to package all the needed files into one place. Full guide and our results after the jump!

I was pretty disappointed when I got my iPhone home and found that it had no disk mode. Not only did this mean I couldn't use it as a convenient flash drive, I couldn't make any customizations to it either. Luckily for everyone lacking in super nerd skills, a team of hackers have been working around the clock to get the iPhone unlocked. While the phone still remains secure, they've discovered a very clever way to gain access to the phone's OS partition enabling a host of abilities. Obviously the most pertinent request for iPhone outside of SIM unlocking is the ability to use custom ringtones.

Up to this point the iPhone hacks has been left up to the geeks, but we now have a pretty usable guide for uploading new ringtones courtesy of one of our forum users "Mubs".

I would like to mention that I have followed this guide and it worked perfectly for me. Not only was I able to get the CTU ringer Mubs provided into my iPhone, I also managed to get a Beatles song uploaded as well. Presumably any iPhone compatible audio file should work. He also provided some tweaked AT&T carrier images which worked for me as well. Some (poor quality) images to wet your appetite before the guide:





He has granted us permission to post his guide here, so without further ado, here it is!

I've compiled a guide for anyone that wants to have a custom ringtone on their iPhone. This can also be used as a base for adding other modifications to your iPhone. I've also assembled a nice little package with everything you need to follow my guide. At the moment, this version of jailbreak only works on intel Mac's. The universal one I found didn't work correctly so I'll let you know when I find a universal version.

I have to start off by saying that all the hard work was not done by myself. It was done mostly by "geohot", "nightwatch" and "ziel", as well as the rest of the guys in #iphone-dev. Thanks guys, you rock!

Although highly unlikely, messing with your phone this way has the potential to screw things up beyond repair. If you do feel you have messed something up, in most cases a simple restore will do the job. I am not responsible if you brick your iPhone.

It's a good idea to make sure you have a backup of the stuff on your iPhone before starting this procedure.

Keep iTunes closed throughout this guide as it may complicate things. If it opens, pause to close it, then continue.

Step 1: Download the magical package of goodies and unzip them to your desktop. I'll be assuming you've done this throughout the guide.

Step 2: After you've unzipped your goodies, pop open the Terminal located in the Applications > Utilities folder.

Step 3: In the terminal, type the following -
cd ~/Desktop/iPhone\ goodies/tools/
Hit return, then type
./jailbreak
Step 4: Restart your iPhone into soft recovery mode by pressing and holding the Sleep/Wake button and Home button at the same time. Keep these two buttons held until you see a yellow exclamation mark with the words "Please Connect to iTunes" at which point you can let go. You will see a spinning gear shortly after while the iPhone boots. When it's done, it will restart.

You are now out of jail, lets do something fun! How about setting up the CTU ringtone?

Step 5: In the same terminal window which is currently in the "tools" directory from before, type the following -
./iphoneinterface
Hit return. You should now see the following:
Waiting for phone... established.
iPhone state: Activated
type "help" for help
iPhone:/#
Step 6: Time to upload your CTU ringtone. The following is all case sensitive so I recommend copying and pasting. At the prompt, type -
cd Library/Ringtones
Hit return, then type -
putfile CTU.mp3
Hit return again. Type
quit
and press return. You should now have the CTU ringtone on your iPhone. You can choose the ringtone from the Ringtone preference pane in Settings.

But wait a tick, iTunes doesn't understand what's gone on with your iPhone. What do you do? It's time to put yourself back into jail so you can continue using your iPhone normally. Don't worry, your sweet new ringtone will still be there.

Step 7: Assuming that you've still got the magical folder unzipped on your desktop, type the following into a terminal window -
cd ~/Desktop/iPhone\ goodies/tools/
Press return

Step 8: Type the following -
./iphoneinterface
Hit return. You should now see the following:
Waiting for phone... established.
iPhone state: Activated
type "help" for help
iPhone:/#
Step 9: At the prompt, type -
cd System/Library/Lockdown
Hit return, then type -
rmdir Services.plist
and press return.

Step 10: Right now you're pretty naked as you've just removed the Services.plist from your iPhone. Don't worry, we have another in the tools folder ready to go.

To upload the new copy, type -
putfile Services.plist
press return and type -
quit

hit return once more and you're done!

Step 11: Changes will not take effect until you restart your iPhone. To do so, hold the Sleep/Wake button and Home button at the same time until the screen goes black. Now press and hold the Sleep/Wake button until you see the Apple logo and let go. Your iPhone should now be in correct working order able to be synced. The CTU ringtone should still be available.

There you have it! I've also included some tweaked AT&T logos for your tweaking pleasure. If you're feeling adventurous, they go into the System/Library/CoreServices/SpringBoard.app/ directory on your iPhone.

Note: Everything you want to upload to the phone must be located in the "tools" directory.

Have fun!


If you do anything crazy or creative with your iPhone using the info here, tell us about it!


__________________

About my iPhone:
iPhone & Color: White 32GB iPhone 3GS
iPhone Version: Whatever the latest is because I'm crazy like that.
Computer & OS: 15" Unibody MacBook Pro + OS X Leopard 10.5



AIM: iPhoneAlley
twitter: MichaelJohnston
Michael Johnston is online now   Reply With Quote
Mubs
Beyond l33t
 
Mubs's Avatar
 
Join Date: Jun 2007
Posts: 159
Thanks: 0
Thanked 0 Times in 0 Posts
  #2
Hey, if anyone else is interested you can change all the sounds the phone makes by replacing anything in the /System/Library/Audio/UISounds directory. Have fun!
Mubs is offline   Reply With Quote
louis
Guest
 
Posts: n/a
Help -    #3
after i did this, i tried to connect to itunes and received this error... iTunes could not connect to the iphone because an unknown error (0xE8000022).


WHAT DO I DO?
  Reply With Quote
Mubs
Beyond l33t
 
Mubs's Avatar
 
Join Date: Jun 2007
Posts: 159
Thanks: 0
Thanked 0 Times in 0 Posts
  #4
Quote:
Originally Posted by louis View Post
after i did this, i tried to connect to itunes and received this error... iTunes could not connect to the iphone because an unknown error (0xE8000022).


WHAT DO I DO?
Could you go further in depth as to what else is happening? Does the iPhone work by itself and did you make sure to follow the instructions of putting the Services.plist back?
Mubs is offline   Reply With Quote
louis
Guest
 
Posts: n/a
help -    #5
ya everything is working fine.... i just cannot connect to itunes. my ringtones work, and everything works, i get it to connect with itunes. i tried to go back and install the service but it wouldnt let me. im going to try all over again so hopefully it will work.
  Reply With Quote
louis
Guest
 
Posts: n/a
help -    #6
now when i try to redo everything i recieve this message when trying to do ./jailbreak

Looking for iPhone...
Sending Files...
Problem starting AFC: -402653150

Sorry, apparently things just didn't work out.
Look on the bright side, if jail was that good for Paris maybe you should give it a second chance.
  Reply With Quote
Mubs
Beyond l33t
 
Mubs's Avatar
 
Join Date: Jun 2007
Posts: 159
Thanks: 0
Thanked 0 Times in 0 Posts
  #7
Quote:
Originally Posted by louis View Post
now when i try to redo everything i recieve this message when trying to do ./jailbreak

Looking for iPhone...
Sending Files...
Problem starting AFC: -402653150

Sorry, apparently things just didn't work out.
Look on the bright side, if jail was that good for Paris maybe you should give it a second chance.
I would say something probably went wrong with getting back into jail. Try following the instructions from Step 7 onward. If you get an error during the first part of Step 9, you're likely back into jail and that's not your problem.

The AFC thing usually means that there's a communications problem. Try pulling the iPhone from it's dock, restarting by following Step 11 and see if iTunes recognizes it correctly. If you still have a problem, you should restore it.

To restore your iPhone, follow only Step 4 and open iTunes. It should mention an iPhone being in recovery mode at which point allow it to recover.

Hope this helps!
Mubs is offline   Reply With Quote
Unregistered
Guest
 
Posts: n/a
  #8
Quote:
Originally Posted by louis View Post
now when i try to redo everything i recieve this message when trying to do ./jailbreak

Looking for iPhone...
Sending Files...
Problem starting AFC: -402653150

Sorry, apparently things just didn't work out.
Look on the bright side, if jail was that good for Paris maybe you should give it a second chance.
is this for mac or pc?
  Reply With Quote
louis
Guest
 
Posts: n/a
  #9
Mac.

i figured everthing out. thanks for all your help. i just needed to restore my ipod (by holding sleep/home) for 25 seconds, THEN connect to the computer and start itunes. After that i just went through the same process and everything worked out.
  Reply With Quote
Pareatis
Guest
 
Posts: n/a
Ringtones -    #10
GREAT TOOL!!!!!!!!!!!! Followed the directions and works great. Although I think you have your forward\back slashes confused... cd~/desktop/iphone\ goodies/tools/ should be just the following: cd desktop/iPhone/goodies/tools. I also had to rename the folder on the desktop to reflect the commands after zipping.


Anyway...Thanks for the tip....
  Reply With Quote
louis
Guest
 
Posts: n/a
Changing other sounds -    #11
Can anyone go into more detail about changed the other sounds (sms,mail,etc) on the iphone?

thanks
  Reply With Quote
Unregistered
Guest
 
Posts: n/a
  #12
SWEEEEET...Thanks for a great tool!!!! Worked perfectly!!!! The other "24" geeks in my office are going to be SOOOOOO jealous...I love it!!!!!!!
  Reply With Quote
Michael Johnston
This is my fricken site, durrrr
 
Michael Johnston's Avatar
 
Join Date: Apr 2007
Location: Rockford, IL
Posts: 2,694
Thanks: 11
Thanked 45 Times in 40 Posts
Send a message via AIM to Michael Johnston
  #13
Quote:
Originally Posted by louis View Post
Mac.

i figured everthing out. thanks for all your help. i just needed to restore my ipod (by holding sleep/home) for 25 seconds, THEN connect to the computer and start itunes. After that i just went through the same process and everything worked out.
Glad everything worked out for you!
Michael Johnston is online now   Reply With Quote
Mubs
Beyond l33t
 
Mubs's Avatar
 
Join Date: Jun 2007
Posts: 159
Thanks: 0
Thanked 0 Times in 0 Posts
  #14
Quote:
Originally Posted by louis View Post
Can anyone go into more detail about changed the other sounds (sms,mail,etc) on the iphone?

thanks
The sounds associated with most if not all other notifications are located in the /System/Library/Audio/UISounds directory. After you've gone through steps 1-5 to gain access to iPhone's files, step 6 tells exactly what you should do to get anything else into the phone.

Instead of cd Library/Ringtones, type cd /System/Library/Audio/UISounds. To get a listing of all the sounds there, type ls and hit return. To replace any of those files, type rmdir followed by the sound name. That removes the sound to make room for the one you want. Note that file name and replace it with the one you want by using the putfile command.

That answer it for you?
Mubs is offline   Reply With Quote
Zanneth
Guest
 
Posts: n/a
  #15
This is a great guide. I am using a custom ringtones as we speak and it works excellently!
  Reply With Quote
louis
Guest
 
Posts: n/a
  #16
Quote:
Originally Posted by Mubs View Post
The sounds associated with most if not all other notifications are located in the /System/Library/Audio/UISounds directory. After you've gone through steps 1-5 to gain access to iPhone's files, step 6 tells exactly what you should do to get anything else into the phone.

Instead of cd Library/Ringtones, type cd /System/Library/Audio/UISounds. To get a listing of all the sounds there, type ls and hit return. To replace any of those files, type rmdir followed by the sound name. That removes the sound to make room for the one you want. Note that file name and replace it with the one you want by using the putfile command.

That answer it for you?
not exactly...
where do i find the /System/Library/Audio/UISounds?? Also, do i need to convert the new sounds to .m4a and put them in that folder?
  Reply With Quote
Unregistered
Guest
 
Posts: n/a
  #17
ok i figured out how to access that file. now my question is where do i put the sounds i want for texts, mail, etc. what format do they have to be in and where will they show up on my phone. thanks again. sorry im not too smart at this stuff
  Reply With Quote
louis
Guest
 
Posts: n/a
  #18
I deleted the sms_received.cif and replaced it with my own .m4a but not i have no sound when i receive and sms. how do i change what sms sound i get when i receive one?
  Reply With Quote
Mubs
Beyond l33t
 
Mubs's Avatar
 
Join Date: Jun 2007
Posts: 159
Thanks: 0
Thanked 0 Times in 0 Posts
  #19
Quote:
Originally Posted by louis View Post
I deleted the sms_received.cif and replaced it with my own .m4a but not i have no sound when i receive and sms. how do i change what sms sound i get when i receive one?
You know, I should have actually looked and tried doing this before I told anyone else to do it. Those UI sound files are actually in Core Audio Format (CAF) and so I'm not sure how to get those replaced. I'll be looking at different ways of replacing those files.

I'll likely end up doing one of two things. I'll either change which file the phone looks for or I'll figure out how to export an mp3 to caf.

In the meantime, if you need that file, I've uploaded it so you won't have to go without. Sorry!

sms-received.caf
Mubs is offline   Reply With Quote
Unregistered
Guest
 
Posts: n/a
  #20
I have a couple of questions.

1. Do we hit return after typing ./jailbreak before we soft reboot the iphone?

2. When I do not hit return at that point, then soft reboot the iphone, it seems to stay stuck on the yellow exclamation symbol. How long does the the iphone take to begin rebooting. I waited 3 to 4 minutes plus. Do i just need to wait it out a little longer??

Cheers.
  Reply With Quote
 
Reply


Thread Tools
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 On
Forum Jump


All times are GMT -5. The time now is 01:34 PM.
Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.