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 06-20-2009, 07:22 AM
Green Apple
 
Join Date: May 2009
Device + Firmware: iPhone 3G 3.1.2 JB/Unlock
Operating System: W7 x64 RTM
Posts: 46
Thanks: 2
Thanked 9 Times in 7 Posts
SMS Vibration 3.0 Fix

I've just spent some time getting this right (It's the latest 3.0 vibration plist), so I thought I might as well share:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>ConnectedToPower</key>
	<dict>
		<key>Intensity</key>
		<real>1</real>
		<key>OffDuration</key>
		<real>0.10000000000000001</real>
		<key>OnDuration</key>
		<real>0.40000000000000002</real>
		<key>TotalDuration</key>
		<real>1</real>
	</dict>
	<key>Default</key>
	<dict>
		<key>Intensity</key>
		<real>1</real>
		<key>OffDuration</key>
		<real>0.10000000000000001</real>
		<key>OnDuration</key>
		<real>0.40000000000000002</real>
		<key>TotalDuration</key>
		<real>0.5</real>
	</dict>
	<key>SMSReceived_Alert</key>
	<dict>
		<key>Intensity</key>
		<real>1</real>
		<key>OffDuration</key>
		<real>0.10000000000000001</real>
		<key>OnDuration</key>
		<real>0.40000000000000002</real>
		<key>TotalDuration</key>
		<real>1.5</real>
	</dict>
	<key>JBL_Begin</key>
	<dict>
		<key>Intensity</key>
		<real>1</real>
		<key>OffDuration</key>
		<real>0.20000000000000001</real>
		<key>OnDuration</key>
		<real>0.10000000000000001</real>
		<key>TotalDuration</key>
		<real>0.29999999999999999</real>
	</dict>
	<key>JBL_Cancel</key>
	<dict>
		<key>Intensity</key>
		<real>1</real>
		<key>OffDuration</key>
		<real>0.20000000000000001</real>
		<key>OnDuration</key>
		<real>0.10000000000000001</real>
		<key>TotalDuration</key>
		<real>0.29999999999999999</real>
	</dict>
	<key>RingerSwitchIndication</key>
	<dict>
		<key>Intensity</key>
		<real>1</real>
		<key>OffDuration</key>
		<real>0.10000000000000001</real>
		<key>OnDuration</key>
		<real>0.29999999999999999</real>
		<key>TotalDuration</key>
		<real>0.40000000000000002</real>
	</dict>
</dict>
</plist>
Email will be the default 1 vibrate, calls will be a default long constant vibrate and SMS will be three short vibrates. Completely essential for me at least, maybe someone else will find it useful! Note though that it will only vibrate three times if the SMS app is NOT currently open.

To install:
  • SSH to the following folder: /System/Library/PrivateFrameworks/Celestial.framework/
  • Make a backup of SystemSoundVibrationPatterns.plist
  • Copy the bbcode text above into notepad and save it as SystemSoundVibrationPatterns.plist, making sure there is no TXT extension (You can do this once you've uploaded it via SSH/FTP/Etc by just removing the .txt extension)
  • Restart your device!

Last edited by WaLLy3K; 06-23-2009 at 10:14 PM..
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following 2 Users Say Thank You to WaLLy3K For This Useful Post:
Mes (06-23-2009), noelleon (07-13-2009)
  #2  
Old 06-20-2009, 08:18 AM
Green Apple
 
Join Date: Jan 2009
Device + Firmware: 3.0 - Iphone 3G
Operating System: iMac G5 Leopard
Posts: 87
Thanks: 4
Thanked 1 Time in 1 Post

JBL_Begin and JBL_Cancel

are they the vibrations for the phone calls???
so you made the total duration to be shorter than the on and off duration?
is that what makes the vibration to be constant??
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #3  
Old 06-20-2009, 07:29 PM
Green Apple
 
Join Date: May 2009
Device + Firmware: iPhone 3G 3.1.2 JB/Unlock
Operating System: W7 x64 RTM
Posts: 46
Thanks: 2
Thanked 9 Times in 7 Posts

The JBL references are something that come with the file now as per the 3.0 update apparently, I left them there simply because I *don't* know what they do.

I just added the "SMSReceived_Alert" key, tripling the default vibration as this will easily tell me if it's an SMS or call coming through.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #4  
Old 06-21-2009, 01:01 PM
What's Jailbreak?
 
Join Date: Jan 2008
Posts: 24
Thanks: 2
Thanked 0 Times in 0 Posts

Can you send me that plist? I tried several times to add the part for the SMS triple vibrate... but I couldnt get it to work.

THANKS
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #5  
Old 06-21-2009, 03:36 PM
muffpirate's Avatar
Green Apple
 
Join Date: Jun 2009
Device + Firmware: iPhone 3.0
Operating System: XP
Location: Schaumburg, IL formerly Memphis, TN
Posts: 73
Thanks: 7
Thanked 10 Times in 8 Posts

Hey Wally,

How do I install this plist in my theme folder? And what do I name it?

I currently have a info.plist in my theme's folder that I use to make my status bar transparent and stay that way in all apps. (but for some reason, it's messing up since 3.0.. causing my status bar to disappear when I exit some apps, but not all apps, if I turn off the screen then right back on, it will show again, so I dunno)

Anyway, do I take what you have in the plist above and just add it to my info.plist via and keep it in my theme's folder?


If you could help me, Let me know. Below, is my current plist.. would you look at it and correct it for me and add yours in if you can?

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>



<key>NavigationBarStyle-0</key>
<string>1</string>

<key>StatusBarMode</key>
<string>1</string>

<key>StatusBarContentsMode</key>
<string>1</string>

</dict></plist>
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #6  
Old 06-21-2009, 04:25 PM
What's Jailbreak?
 
Join Date: Jun 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

Hey,
Can someone post a step by step guide on how to do this? i just bought an iphone the other day so i don't know how you access the plist and all that other stuff or what software to download to access it? i'm new so i have absolutely no idea. So if someone could do this for me i'd greatly appreciate it.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #7  
Old 06-22-2009, 02:42 AM
Green Apple
 
Join Date: May 2009
Device + Firmware: iPhone 3G 3.1.2 JB/Unlock
Operating System: W7 x64 RTM
Posts: 46
Thanks: 2
Thanked 9 Times in 7 Posts

Quote:
Originally Posted by muffpirate View Post
How do I install this plist in my theme folder? And what do I name it?
Put the text I bbcoded as per the OP into a text file called SystemSoundVibrationPatterns.plist, making sure there's no .txt or any other extension on the end of it. Then, you need to SSH to the following folder:

Code:
/System/Library/PrivateFrameworks/Celestial.framework/
Back up your existing one for obvious reasons, drop the new one in there and restart the phone (Respringing may work, don't know) and it should work just fine.

Quote:
Originally Posted by billinaz View Post
Can you send me that plist?
Just take this out and it's the file that's included as default:
Code:
	<key>SMSReceived_Alert</key>
	<dict>
		<key>Intensity</key>
		<real>1</real>
		<key>OffDuration</key>
		<real>0.10000000000000001</real>
		<key>OnDuration</key>
		<real>0.40000000000000002</real>
		<key>TotalDuration</key>
		<real>1.5</real>
	</dict>
That's all I added to it.

I've had dodgy status bar exits myself, but that's when using Monochrome Agua over Monochrome instead of just Agua on its' own. Don't know how to fix it, it's out of my scope.

Last edited by WaLLy3K; 06-22-2009 at 02:45 AM..
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to WaLLy3K For This Useful Post:
muffpirate (06-22-2009)
  #8  
Old 06-22-2009, 02:40 PM
What's Jailbreak?
 
Join Date: Jan 2008
Posts: 24
Thanks: 2
Thanked 0 Times in 0 Posts

I didnt see the sms received alert key in there... here is my original plist:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ConnectedToPower</key>
<dict>
<key>Intensity</key>
<real>1</real>
<key>OffDuration</key>
<real>0.10000000000000001</real>
<key>OnDuration</key>
<real>0.40000000000000002</real>
<key>TotalDuration</key>
<real>1</real>
</dict>
<key>Default</key>
<dict>
<key>Intensity</key>
<real>1</real>
<key>OffDuration</key>
<real>0.10000000000000001</real>
<key>OnDuration</key>
<real>0.40000000000000002</real>
<key>TotalDuration</key>
<real>0.5</real>
</dict>
<key>JBL_Begin</key>
<dict>
<key>Intensity</key>
<real>1</real>
<key>OffDuration</key>
<real>0.20000000000000001</real>
<key>OnDuration</key>
<real>0.10000000000000001</real>
<key>TotalDuration</key>
<real>0.29999999999999999</real>
</dict>
<key>JBL_Cancel</key>
<dict>
<key>Intensity</key>
<real>1</real>
<key>OffDuration</key>
<real>0.20000000000000001</real>
<key>OnDuration</key>
<real>0.10000000000000001</real>
<key>TotalDuration</key>
<real>0.29999999999999999</real>
</dict>
<key>RingerSwitchIndication</key>
<dict>
<key>Intensity</key>
<real>1</real>
<key>OffDuration</key>
<real>0.10000000000000001</real>
<key>OnDuration</key>
<real>0.29999999999999999</real>
<key>TotalDuration</key>
<real>0.40000000000000002</real>
</dict>
</dict>
</plist>

I used the OPs plist and restarted my phone... but it wtill only vibrates once on the sms...

Last edited by billinaz; 06-22-2009 at 02:40 PM.. Reason: Automerged Doublepost
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #9  
Old 06-23-2009, 07:55 PM
Green Apple
 
Join Date: May 2009
Device + Firmware: iPhone 3G 3.1.2 JB/Unlock
Operating System: W7 x64 RTM
Posts: 46
Thanks: 2
Thanked 9 Times in 7 Posts

The default plist file that doesn't have the SMSReceived_Alert entry is only going to vibrate once. The one with that's in my first post will vibrate three times.

Sorry if it wasn't clear.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #10  
Old 06-23-2009, 08:25 PM
Mes's Avatar
Mes Mes is offline
My iPhone is a Part of Me
 
Join Date: May 2008
Device + Firmware: 3G-16G 3.0; 2G-8G 2.2.1 T-Mobile
Operating System: XPSP3, VistaHPSP1, OSX10.4.10
Location: Sunny California :)
Posts: 825
Thanks: 29
Thanked 91 Times in 81 Posts

Thanks. Nice find. Also works on 2.2.

Yea, I'll upgrade ... once the dust settles
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to Mes For This Useful Post:
WaLLy3K (06-23-2009)
  #11  
Old 06-23-2009, 08:26 PM
What's Jailbreak?
 
Join Date: Jan 2008
Posts: 24
Thanks: 2
Thanked 0 Times in 0 Posts

I copied your plist to my phone as it was with no modifications... but still only one vib.

I'm not sure what Im missing.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #12  
Old 06-23-2009, 10:07 PM
Green Apple
 
Join Date: May 2009
Device + Firmware: iPhone 3G 3.1.2 JB/Unlock
Operating System: W7 x64 RTM
Posts: 46
Thanks: 2
Thanked 9 Times in 7 Posts

Quote:
Originally Posted by billinaz View Post
I copied your plist to my phone as it was with no modifications... but still only one vib.

I'm not sure what Im missing.
Ok, I assume you've copied that text from the OP including the SMS alert key, have put it into a file called SystemSoundVibrationPatterns.plist and uploaded it to /System/Library/PrivateFrameworks/Celestial.framework/

Have you restarted your phone, as opposed to restarting springboard?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #13  
Old 06-24-2009, 02:28 AM
Mes's Avatar
Mes Mes is offline
My iPhone is a Part of Me
 
Join Date: May 2008
Device + Firmware: 3G-16G 3.0; 2G-8G 2.2.1 T-Mobile
Operating System: XPSP3, VistaHPSP1, OSX10.4.10
Location: Sunny California :)
Posts: 825
Thanks: 29
Thanked 91 Times in 81 Posts

Quote:
Originally Posted by billinaz View Post
I copied your plist to my phone as it was with no modifications... but still only one vib.

I'm not sure what Im missing.
As Walley3k said, copy/add/manually edit (up to you) either the whole file or the parts you need. For me, I just added the SMS alert lines to my 2.2 SystemSoundVibrationPatterns.plist fle and rebooted.

I would reboot (not respring) because a critical system file was changed. BTW: It never hurts to reboot -- it just takes longer . Plus it guarantees everything is starting from a clean state.

Last edited by Mes; 06-24-2009 at 02:37 AM..
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #14  
Old 07-12-2009, 04:37 PM
What's Jailbreak?
 
Join Date: Jul 2009
Device + Firmware: iPhone 3GS 3.0
Operating System: Vista Home Premium SP2
Posts: 5
Thanks: 5
Thanked 0 Times in 0 Posts

This worked perfectly for me!

Just had to reboot (a respring didn't work) after transferring the file over.

I also changed the Default key so that I could get e-mail working.

Works great! Thanks!!

Last edited by GasAddict; 07-12-2009 at 05:15 PM..
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #15  
Old 07-15-2009, 06:01 PM
What's Jailbreak?
 
Join Date: Jan 2009
Device + Firmware: iphone 3g 3.0 - jailbroken
Operating System: windows xp
Posts: 23
Thanks: 4
Thanked 0 Times in 0 Posts

how would i take just the part for sms & put it in my plist file, i tried but it wouldnt vibrate at all
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

Tags
3.0, length, pattern, sms, vibrate

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 10:22 PM. 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