Home User CP Donate Chat Register Today!  
  Get New posts Faq / Help?
   


Go Back   Hackint0sh > Projects and Hacks > iPhone > Welcome to Hackint0sh.org iPhone forums! > Genius Bar - HowTos, Guides and Tutorials

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-07-2007, 10:14 PM
one4house
Status: Offline
Senior Member
 
Join Date: Sep 2007
Posts: 265
Rep Power: 18
one4house is on a distinguished road
Default [Tutorial] Make Your SMS Alert Vibrate Longer

With the help of fabiopigi (found the specific file), Snowbird (helped me convert binary to text) and m_101 (For figuring out which part of the code to edit).

All you have to do is download the /System/Library/Frameworks/Celestial.framework/SystemSoundVibrationPatterns.plist
file off of your iPhone (I used iBrickr) and covert it from binary to text.
http://140.124.181.188/~khchung/cgi-bin/plutil.cgi (conversion tool supplied by Snowbird)


UPDATE FOR 2.0!!!!!!!!!!!

I cannot seem to get this hack working right now. I am searching for a solution and I will get back as soon as I have figured it out.


Once you have the file converted, open it with Notepad or any PLAIN TEXT text editor.

You will find a section of code that looks like this:


<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>




Change the

<real>0.40000000000000002</real>

To

<real>4.40000000000000002</real>




Save the file and upload. BE SURE YOUR FILE EXTENSION READS .plist and not .plist.txt . You will be good to go. Any action that calls on the DEFAULT text duration will be changed to the longer vibrate setting. You can adjust the number to your liking. changing from .4 to 4.4 givs it about a 5 - 6 second vibrate.

EDIT: Be sure and reboot your phone after uploading the file for the changes to take effect. Also, here is an already modded file that I will share for those who do not want to go through the trouble of modding it yourself.

http://www.one4house.com/images/Syst...Patterns.plist

Last edited by one4house; 07-22-2008 at 10:32 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 10-07-2007, 10:21 PM
one4house
Status: Offline
Senior Member
 
Join Date: Sep 2007
Posts: 265
Rep Power: 18
one4house is on a distinguished road
Default

Forgot to mention that I am doing all of this on a PC. I have no idea how to do it on a mac. I am sure that someone can covert these simple steps to Mac.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 10-07-2007, 10:40 PM
one4house
Status: Offline
Senior Member
 
Join Date: Sep 2007
Posts: 265
Rep Power: 18
one4house is on a distinguished road
Default

For those of you that are not DIY I have uploaded the file. You can just download and throw it in the directory.

See original post.

Last edited by one4house; 01-27-2008 at 11:18 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #4 (permalink)  
Old 10-07-2007, 10:42 PM
ExOMaNiaC
Status: Offline
Senior Member
 
Join Date: Sep 2007
Posts: 103
Rep Power: 8
ExOMaNiaC is on a distinguished road
Default

Tnx m8 ! ... How long makes this moded file vibrate the iphone ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 10-07-2007, 10:45 PM
m_101
Status: Offline
Member
 
Join Date: Sep 2007
Posts: 73
Rep Power: 6
m_101 is on a distinguished road
Default

ok then, here's the easy way to do it on a mac


activate wifi and ssh on your iPhone, and be on same wifi network with your mac
start fugu
ssh into the phone - all that "root" and "dottie" stuff...
go to ...
/System/Library/Frameworks/Celestial.framework/
and upload the file one4house linked into the directory
restart your iPhone and enjoy actually getting your text messages on time!

if you want to alter the duration of your vibration, just alter the number between the <real> strings in the OnDuration bit, so that it matches the time in seconds you want the phone to vibrate for. for instance mine vibrates for 1.5 seconds when I get a text message. easy peasy.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 10-07-2007, 10:48 PM
one4house
Status: Offline
Senior Member
 
Join Date: Sep 2007
Posts: 265
Rep Power: 18
one4house is on a distinguished road
Default

Quote:
Originally Posted by ExOMaNiaC View Post
Tnx m8 ! ... How long makes this moded file vibrate the iphone ?
five seconds
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #7 (permalink)  
Old 10-07-2007, 10:54 PM
m_101
Status: Offline
Member
 
Join Date: Sep 2007
Posts: 73
Rep Power: 6
m_101 is on a distinguished road
Default

oooops forgot to add
the OffDuration works like a delay

so say you wanted to have a 15 second delay before your iPhone vibrated when you got text message (not 100% sure if this would affect calls, but yes it probably would), you could edit the plist for the OffDuration to be <real>15.100000...1</real>

then the phone would get the text message and chime accordingly, and 15 seconds later the phone would vibrate.

also make sure to keep the TotalDuration the sum of the OffDuration and OnDuration strings.

Last edited by m_101; 10-07-2007 at 11:07 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8 (permalink)  
Old 10-07-2007, 10:57 PM
rhydewithdis
Status: Offline
Junior Member
 
Join Date: Sep 2007
Posts: 19
Rep Power: 0
rhydewithdis is on a distinguished road
Default

excellent work. this worked flawlessly. everyone should remember to turn their phone off and on to ensure this works.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9 (permalink)  
Old 10-07-2007, 11:18 PM
one4house
Status: Offline
Senior Member
 
Join Date: Sep 2007
Posts: 265
Rep Power: 18
one4house is on a distinguished road
Default

Quote:
Originally Posted by rhydewithdis View Post
excellent work. this worked flawlessly. everyone should remember to turn their phone off and on to ensure this works.
nice find. Neither of us even mentioned that. OOPS. Be sure and reboot after you have edited the file for it to work.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #10 (permalink)  
Old 10-07-2007, 11:29 PM
m_101
Status: Offline
Member
 
Join Date: Sep 2007
Posts: 73
Rep Power: 6
m_101 is on a distinguished road
Default

nope it's cool, it's in there. In any case doesn't matter whether the restart is straight after or one week later, eventually the settings would update
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

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




All times are GMT +2. The time now is 09:41 AM.



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2 Ad Management by RedTyger
follow us on Twitter!

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105