The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > iPhone Modding > File Mods
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 10-16-2007, 07:30 PM
iPhone? More like MyPhone
 
Join Date: Jul 2007
Location: KCMO
Posts: 177
Thanks: 0
Thanked 8 Times in 8 Posts
Send a message via AIM to jealous soul
So we can get ringtones in 1.1.1, but what about modifying the SMS alert?

without jailbreaking. jailbreaking 1.1.1 is more of a pain in the *** than I'd like to deal with, but I was wondering if anyone has looked into modifying the SMS alerts. any thoughts?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #2  
Old 10-16-2007, 08:44 PM
CyberGreg's Avatar
Retired Moderator
 
Join Date: Jul 2007
Device + Firmware: iPhone 3G/Touch 2.0
Operating System: OS 10.6
Posts: 1,096
Thanks: 58
Thanked 206 Times in 137 Posts

Mine works...

Click the image to open in full size.


more info to follow....

Okay, here's the easy way...

The file for the name change is here:
/Applications/Preference.app/English.lproj/Sound.strings

Click the image to open in full size.

Now, what .caf file do you change? I picked Horn (who the heck wants a horn to sound when you get a text message???) Anyhow, you can change ANY of the sounds listed, just replace the appropriate text in the Sounds.strings file.

So how do you find out which file is which? Well actually they go in order, so just put your new renamed .caf sound file on your iPhone.

Here's the file that lists the names of the SMS sounds.
/Applications/Preference.app/Sounds.plist

Click the image to open in full size.

Here's what your new SMS sounds, located in the same location look like:
(Location: /System/Library/Audio/UISounds

Click the image to open in full size.

Please note that the numbering is off by one! So, if you want to replace say item #1, Chime, you need to replace sms-received2.caf file. If you look at this screenshot you can see that even though the name is #2, it's actually number 3 in the left side. In my example for Horn, I replaced sms-received4.caf.

Last edited by CyberGreg; 10-16-2007 at 09:12 PM.. Reason: added notes
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #3  
Old 10-16-2007, 08:50 PM
iPhone? More like MyPhone
 
Join Date: Jul 2007
Location: KCMO
Posts: 177
Thanks: 0
Thanked 8 Times in 8 Posts
Send a message via AIM to jealous soul

don't like teasers. do tell.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #4  
Old 10-21-2007, 06:48 PM
What's Jailbreak?
 
Join Date: Oct 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

where do I find something to see the files, I assume are on the phone
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #5  
Old 11-05-2007, 12:32 PM
Green Apple
 
Join Date: Aug 2007
Device + Firmware: Iphone v 2.1 JB
Operating System: Vista Ultimate
Location: CHicago
Posts: 67
Thanks: 13
Thanked 5 Times in 5 Posts

Quote:
Originally Posted by CyberGreg View Post
Mine works...

Click the image to open in full size.


more info to follow....

Okay, here's the easy way...

The file for the name change is here:
/Applications/Preference.app/English.lproj/Sound.strings

Click the image to open in full size.

Now, what .caf file do you change? I picked Horn (who the heck wants a horn to sound when you get a text message???) Anyhow, you can change ANY of the sounds listed, just replace the appropriate text in the Sounds.strings file.

So how do you find out which file is which? Well actually they go in order, so just put your new renamed .caf sound file on your iPhone.

Here's the file that lists the names of the SMS sounds.
/Applications/Preference.app/Sounds.plist

Click the image to open in full size.

Here's what your new SMS sounds, located in the same location look like:
(Location: /System/Library/Audio/UISounds

Click the image to open in full size.

Please note that the numbering is off by one! So, if you want to replace say item #1, Chime, you need to replace sms-received2.caf file. If you look at this screenshot you can see that even though the name is #2, it's actually number 3 in the left side. In my example for Horn, I replaced sms-received4.caf.
Hello is there a program for windows i can use to edit the Sounds.strings file i dont have Mac please let me know thanks!!

James
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #6  
Old 11-05-2007, 02:55 PM
What's Jailbreak?
 
Join Date: Oct 2007
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts

yup i want to know how to do it for windows as well.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #7  
Old 11-07-2007, 09:01 AM
What's Jailbreak?
 
Join Date: Oct 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Does this work for windows xp?

how can i edit the plist & string file?

is there anyway of putting more sms tones without replacing the old one like puting sms-received7.caf , sms-received8.caf and so on??

I just want to add more not replace the ones i have.

Can this be done?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #8  
Old 11-07-2007, 09:52 PM
What's Jailbreak?
 
Join Date: Nov 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
access my iphone internal files

ho can io access my iphone files like you did........
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #9  
Old 11-07-2007, 10:23 PM
Banned
 
Join Date: Sep 2007
Device + Firmware: 16GB 1st Gen. iPhone Unlocked Jailbroke 3.0 and 8GB 3G iPhone jailbroke 3.0
Operating System: Custom built Black Macbook running Leopard and Vista
Location: Columbus
Posts: 239
Thanks: 10
Thanked 31 Times in 25 Posts

All you guys with windows, use iphonebrowser1.4 It works great for me.
I have vista by the way.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #10  
Old 11-11-2007, 01:52 AM
Uko's Avatar
Uko Uko is offline
iPhone? More like MyPhone
 
Join Date: Jun 2007
Device + Firmware: iPhone 1st gen 2.0.2 (1.0.2 starter)
Operating System: Mac OS X & Linux Open Suse
Location: Ukraine
Posts: 293
Thanks: 3
Thanked 35 Times in 11 Posts
Send a message via AIM to Uko Send a message via MSN to Uko

what is that .caf extension?????
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #11  
Old 11-11-2007, 05:12 AM
What's Jailbreak?
 
Join Date: Nov 2007
Posts: 13
Thanks: 1
Thanked 0 Times in 0 Posts
caf

Hi!
afaik CAF stands for coded audio file. Just convert an mp3 or wav to aiff using Quicktime (pro for Windows) an then rename the ending to caf. That'll do.

However, I am still looking for a program to adapt the plist and strings files in Win XP. Up to now, I tried Notepad, Notepad2, eclipse Java Development Kit, jEdit, Word and a hex editor but none worked.
Do I have to recompile the file after having changed it? Or is this just plain text changing?

EDIT: ok, it's easy: Use the strings to XML decode which can be found here somewhere (here: http://140.124.181.188/~khchung/cgi-bin/plutil.cgi)
Then use jEdit (download from sourceforge) to edit the new XML file.
In sounds.plist you can change the following part:

<key>validTitles</key>
<array>
<string>NONE</string>
<string>DEFAULT</string>
<string>ALTERNATE_1</string>
<string>ALTERNATE_2</string>
<string>ALTERNATE_3</string>
<string>ALTERNATE_4</string>
<string>ALTERNATE_5</string>
<string>ALTERNATE_6</string>
</array>
<key>validValues</key>
<array>
<integer>0</integer>
<integer>1</integer>
<integer>2</integer>
<integer>3</integer>
<integer>4</integer>
<integer>6</integer>
<integer>7</integer>
</array>
</dict>

You can add a line <string>ALTERNATE_7</string> here and also <integer>8</integer> a little below.

In the file sounds.strings you can edit the following part:

<key>ALTERNATE_5</key>
<string>James Bond</string>
<key>ALTERNATE_6</key>
<string>Test</string>

As you can see, I added a "Test" string which is also shown in the "New Text Message" Sound menu.

The only thing which does *not* work up to now, is adding a new caf sound file (being named sms-received7.caf) so that it will also be played when clicking on "Test".

If anyone happens to know a solution....I am waiting for it.

Cheers
Marc

Last edited by msbab; 11-11-2007 at 11:35 AM.. Reason: found out some new stuff
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #12  
Old 11-12-2007, 08:31 PM
What's Jailbreak?
 
Join Date: Aug 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

I was wondering how to make this work with 1.1.2 ?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #13  
Old 11-12-2007, 10:27 PM
iPhone? More like MyPhone
 
Join Date: Oct 2007
Location: San Bernardino, CA
Posts: 110
Thanks: 7
Thanked 5 Times in 5 Posts
Send a message via AIM to DarkoNova

Quote:
Originally Posted by djsmookie View Post
how can i edit the plist & string file?

is there anyway of putting more sms tones without replacing the old one like puting sms-received7.caf , sms-received8.caf and so on??

I just want to add more not replace the ones i have.

Can this be done?
Yeah, I just want to add more not replace the current ones.

Matt
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #14  
Old 11-13-2007, 06:39 AM
What's Jailbreak?
 
Join Date: Nov 2007
Posts: 13
Thanks: 1
Thanked 0 Times in 0 Posts

I repeat: It *is* possible to add another list entry in your SMS-Sounds menu. The iPhone won't just play the sms-received7.caf.

*Be sure to save your original files if something goes wrong*

In sounds.plist you have to change the following part:

<key>validTitles</key>
<array>
<string>NONE</string>
<string>DEFAULT</string>
.....
<string>ALTERNATE_5</string>
</array>

Add <string>ALTERNATE_6</string> here.

<key>validValues</key>
<array>
<integer>0</integer>
.....
<integer>7</integer>
</array>

I'm not sure if this is the original config, just add an additional integer.

In the file sounds.strings you will have to edit the following

part:<key>ALTERNATE_5</key>
<string>James Bond</string>
<key>ALTERNATE_6</key>
<string>Test</string>

One sound is now renamed "James Bond" and there will be another, additional entry named "Test".

I also added an additional file named sms-received7.caf but clicking on "Test" won't play anything. So this is the point which has to be worked on.

If you did something wrong while changing the files, you will not be able any more to access the "SMS-Sounds" submenu! (undo this by uploading your original config files).


Cheers
Marc
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #15  
Old 11-20-2007, 09:08 AM
Green Apple
 
Join Date: Sep 2007
Posts: 70
Thanks: 4
Thanked 10 Times in 8 Posts

Quote:
Originally Posted by lm0ntj04 View Post
I was wondering how to make this work with 1.1.2 ?
This procedure works the same on 1.1.2.

-Steve
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > iPhone Modding > File Mods

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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Go to Top
ModMyI

All times are GMT -6. The time now is 02:10 AM. Powered by vBulletin® Version 3.8.4
If you need Dedicated Server Hosting, you should check out SingleHop. | Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 Copyright © 2007-09 by ModMy, LLC. All rights reserved.

iPhone News / iPhone Forums / Apple News / Apple Forums / RSS / Contact Us / / Privacy Statement / Top