+ Reply
Results 1 to 10 of 10
  1. #1
    What's Jailbreak?
    Join Date
    Sep 2008
    Posts
    23
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default Vibrate when unlocking or locking iphone.

    It is similar to the mod that makes the keyboard vibrate when keys are pressed, but this occurs when you lock or unlock the phone. I know someone has done this when the phone is not in silent mode, but I was wondering if someone can play around with the SystemSoundBehaviour.plist to make it work in silent mode. Similar to making keys vibrate in silent mode.

    If anyone could make the SystemSoundBehaviour.plist so that the iphonevibrates on locking, I'd be really thankful.

  2. #2
    iPhone? More like MyPhone BoneCrif's Avatar
    Join Date
    Apr 2008
    Location
    Utah
    Posts
    111
    Thanks
    10
    Thanked 9 Times in 8 Posts

    this should be pretty easy, however I haven't tried this. But I do have a copy of SystemSoundBehaviour.plist with me so I can make a guess...

    Open SystemSoundBehaviour.plist with PropertyList Editor

    Find:
    Code:
    	<key>ScreenLocked</key>
    	<dict>
    		<key>RingVibrateIgnore,SilentVibrateOff,RingerSwitchOff</key>
    		<array/>
    		<key>RingVibrateIgnore,SilentVibrateOn,RingerSwitchOff</key>
    		<array/>
    		<key>RingVibrateOff,SilentVibrateIgnore,RingerSwitchOn</key>
    		<array>
    			<string>Beep</string>
    		</array>
    		<key>RingVibrateOn,SilentVibrateIgnore,RingerSwitchOn</key>
    		<array>
    			<string>Beep</string>
    		</array>
    	</dict>
    Replace with:
    Code:
    	<key>ScreenLocked</key>
    	<dict>
    		<key>RingVibrateIgnore,SilentVibrateOff,RingerSwitchOff</key>
    		<array>
    			<string>Vibrate</string>
    		</array>
    		<key>RingVibrateIgnore,SilentVibrateOn,RingerSwitchOff</key>
    		<array>
    			<string>Vibrate</string>
    		</array>
    		<key>RingVibrateOff,SilentVibrateIgnore,RingerSwitchOn</key>
    		<array>
    			<string>Beep</string>
    		</array>
    		<key>RingVibrateOn,SilentVibrateIgnore,RingerSwitchOn</key>
    		<array>
    			<string>Beep</string>
    		</array>
    	</dict>
    8GB iPhone 2G
    3.1.2 - Unlocked and Jailbroken

    AMD Athlon 5000 Dual-Core 2.2GHz with 4.00 GB RAM
    Windows 7 Ultimate 64 bit

  3. The Following User Says Thank You to BoneCrif For This Useful Post:

    jkmonkey (05-31-2010)

  4. #3
    iPhoneaholic ceelo2008's Avatar
    Join Date
    Jul 2007
    Location
    New Jersey
    Posts
    347
    Thanks
    27
    Thanked 36 Times in 30 Posts

    Quote Originally Posted by BoneCrif View Post
    this should be pretty easy, however I haven't tried this. But I do have a copy of SystemSoundBehaviour.plist with me so I can make a guess...

    Open SystemSoundBehaviour.plist with PropertyList Editor

    Find:
    Code:
    	<key>ScreenLocked</key>
    	<dict>
    		<key>RingVibrateIgnore,SilentVibrateOff,RingerSwitchOff</key>
    		<array/>
    		<key>RingVibrateIgnore,SilentVibrateOn,RingerSwitchOff</key>
    		<array/>
    		<key>RingVibrateOff,SilentVibrateIgnore,RingerSwitchOn</key>
    		<array>
    			<string>Beep</string>
    		</array>
    		<key>RingVibrateOn,SilentVibrateIgnore,RingerSwitchOn</key>
    		<array>
    			<string>Beep</string>
    		</array>
    	</dict>
    Replace with:
    Code:
    	<key>ScreenLocked</key>
    	<dict>
    		<key>RingVibrateIgnore,SilentVibrateOff,RingerSwitchOff</key>
    		<array>
    			<string>Vibrate</string>
    		</array>
    		<key>RingVibrateIgnore,SilentVibrateOn,RingerSwitchOff</key>
    		<array>
    			<string>Vibrate</string>
    		</array>
    		<key>RingVibrateOff,SilentVibrateIgnore,RingerSwitchOn</key>
    		<array>
    			<string>Beep</string>
    		</array>
    		<key>RingVibrateOn,SilentVibrateIgnore,RingerSwitchOn</key>
    		<array>
    			<string>Beep</string>
    		</array>
    	</dict>

    Has anyone tried this?

  5. #4
    What's Jailbreak?
    Join Date
    Sep 2008
    Posts
    23
    Thanks
    0
    Thanked 1 Time in 1 Post
    I shall try this is about 45 minutes, but I have a feeling that I did exactly this and ended up losing vibration altogether.

    Will update In 45 mins. Is propertylist editor an app on the mac? I am running leopard.

    EDIT: It does work, thanks very much. Most appreciated
    Last edited by filberto; 03-02-2009 at 10:59 AM.

  6. #5
    What's Jailbreak?
    Join Date
    Sep 2007
    Location
    Alaska
    Posts
    11
    Thanks
    1
    Thanked 0 Times in 0 Posts

    or you can make it a lot easier and just add this to your repo

    *************/cydia/

    and search for haptic

  7. #6
    Green Apple
    Join Date
    Oct 2007
    Posts
    87
    Thanks
    2
    Thanked 5 Times in 5 Posts

    where is that file located at, thanks

    Edit: found it /System/Library/PrivateFrameworks/Celestial.framework/
    Last edited by irich25; 03-05-2009 at 11:59 PM.

  8. #7
    What's Jailbreak?
    Join Date
    Feb 2009
    Posts
    16
    Thanks
    6
    Thanked 0 Times in 0 Posts

    i tried this and it didnt do anything...

  9. #8
    iPhone? More like MyPhone BoneCrif's Avatar
    Join Date
    Apr 2008
    Location
    Utah
    Posts
    111
    Thanks
    10
    Thanked 9 Times in 8 Posts

    Quote Originally Posted by mikeoxlong View Post
    i tried this and it didnt do anything...
    Did you Respring your iPhone after transfering the file back?
    it could be that it doesn't work with the 3g... not sure
    8GB iPhone 2G
    3.1.2 - Unlocked and Jailbroken

    AMD Athlon 5000 Dual-Core 2.2GHz with 4.00 GB RAM
    Windows 7 Ultimate 64 bit

  10. #9
    What's Jailbreak?
    Join Date
    May 2010
    Location
    Upstate NY
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    I really want to try this on my 3G, what program do I use to navigate to these system files?

  11. #10
    Livin the iPhone Life jkmonkey's Avatar
    Join Date
    Mar 2010
    Location
    Upstate NY
    Posts
    1,435
    Thanks
    67
    Thanked 254 Times in 245 Posts

    If your doing it from your phone use ifile. Or winscp from a pc via wifi. Ifunbox or diskaid for a USB connection.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts