Results 1 to 17 of 17

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: SMSnotify on 1.1.4

  1. #1
    What's Jailbreak?
    Join Date
    Mar 2008
    Posts
    8
    Thanks
    0
    Thanked 2 Times in 1 Post
    Default SMSnotify on 1.1.4
    i thought i might help new users for 1.1.4 who wants their smsnotify to work.

    1. use installer.app to download smsnotify.
    2. winscp into /usr/local/smsnotify
    3. edit smsnotify.sh according to the text below.
    (the only difference is that the location of sms library is different since 1.1.3)
    (i believe there are other posts to tell you how to edit this file so that it has audible alert together with vibration)
    (you can also set the reminder interval by editing (sleep 120)
    4. restart


    #!/bin/sh
    smsnpath=/usr/local/smsnotify
    sql=$smsnpath/sqlite3
    vibrate=$smsnpath/vibrator
    while test 1
    do
    n=`$sql /var/mobile/Library/SMS/sms.db 'select count(*) from message where flags=0'`;
    if [ "$n" -gt 0 ]
    then
    $vibrate
    fi
    c=`$sql /var/mobile/Library/CallHistory/call_history.db 'select count(*) from call where flags=4 and duration=0 and ROWID=(select max(ROWID) from call)'`;
    if [ "$c" -gt 0 ]
    then
    $vibrate
    fi
    sleep 120
    done

  2. The Following 2 Users Say Thank You to werdna1 For This Useful Post:

    DiPSET08 (03-30-2008), es8177 (05-14-2008)

  3. #2
    Thank you, this was very helpful, I really wanted this app to work on my phone and now it does.

    Thanks again

  4. #3
    iPhone? More like MyPhone
    Join Date
    Sep 2007
    Location
    Montgomery Village, MD
    Posts
    202
    Thanks
    84
    Thanked 12 Times in 12 Posts

    I agree, thanks for posting this up for people who don't get all this.

  5. #4
    Hi I followed the instructions, but now my phone keeps vibrating every 2 minutes.....isnt suppose to just vibrate when i get a SMS message. Please help, thanks

  6. #5
    What's Jailbreak?
    Join Date
    Mar 2008
    Posts
    8
    Thanks
    0
    Thanked 2 Times in 1 Post
    jhebi, not too sure what happened there.

    tell us how u edit the file.

    yes, its supposed to vibrate only when sms arrives, is it because you have missed calls?

  7. #6
    Yes it appears to work on my 1.1.4 phone! If u have missed calls it works as well!
    Any clue how u can make it play the message tone at same time.

    Wait no it started vibratting all time
    Ive cleared missed calls and it still vibratting so i removed it
    Last edited by Magicians35; 04-02-2008 at 11:15 AM.

  8. #7
    Awesome, worked on my 1.1.4. Thanks

  9. #8
    Quote Originally Posted by jhebi View Post
    Hi I followed the instructions, but now my phone keeps vibrating every 2 minutes.....isnt suppose to just vibrate when i get a SMS message. Please help, thanks
    hey buddy, basically if you see in the code that werdna1 has set the time to 2 mins.

    if you go to this line in the code sleep 120, its the 2nd to last in the line of code, basically this is the timer interval.

    by default werdna1 used sleep 120, meaning 2 mins as there are 60 seconds in a minuet and 2 x 60 is 120,
    so all you need to do is change this number to either 15, 20, 25 or any number you want, the number represents seconds.

    good luck
    Last edited by safa_uk; 04-02-2008 at 06:47 PM. Reason: Added quote

  10. #9
    What's Jailbreak?
    Join Date
    Mar 2008
    Posts
    8
    Thanks
    0
    Thanked 2 Times in 1 Post
    btw, the smsnotify does not work if ur phone is in sleep mode.

  11. #10
    Hey guys, just some updates on this.

    Note that the iphone will continue to vibrate even if you looked at your missed calls. You have to actually click the missed call in recents, because if you don't, the iPhone will still have it marked as missed, even if the bubble on the home screen isn't there. :/
    Last edited by GregTheWang; 04-09-2008 at 03:51 PM.

  12. #11
    iPhone? More like MyPhone
    Join Date
    Mar 2008
    Location
    Puerto Rico
    Posts
    112
    Thanks
    6
    Thanked 63 Times in 19 Posts

    i edited that .sh so here are to of them one for 30seg vibrate and the other one for 120seg this is only for 1.1.4

    just replace them in /usr/local/smsnotify
    and restart iphone
    ONLY SMSNotify
    Attached Files Attached Files

  13. #12
    Is it true that it WONT notify in sleep mode ???

    Thought that it was the purpos of this app, as if it is not in sleep mode is usualy becouse ur setting playin with the iPhone and No need for a notifier

    Plz confirm this, thanx

  14. #13
    http://www.kiwi-ise.co.nz/kiwi-ise-ialert/

    * Only tested on, and made available for, firmware 1.1.3 / 1.1.4.
    * There is a known issue with the iPhone going into sleep mode - the alert does not sound. This is obviously far from ideal and I am working on a fix.
    * You can customise the alert sound by replacing the "alert.mp3" file inside the "/var/mobile/Media/iAlert" directory with your own.

    Features:

    * Alerts Missed Calls
    Plays a sound every 5 minutes if you have a missed call.
    * Alerts Missed SMS Messages
    Plays a sound every 5 minutes if you have an unread text message.

    Version History:

    * v0.2
    o Added alert for missed calls.
    o Moved "alert.mp3" to more accessible location to allow easy customisation.




    bye...

  15. #14
    iPhone? More like MyPhone
    Join Date
    Mar 2008
    Posts
    112
    Thanks
    1
    Thanked 1 Time in 1 Post
    Any luck getting Kiwi-isation iAlert work while phone is in sleep mode?

  16. #15
    hi, i editted the smsnotify.sh and rebooted my phone but it doesnt vibrate. any ideas?

  17. #16
    Quote Originally Posted by carlospr21 View Post
    i edited that .sh so here are to of them one for 30seg vibrate and the other one for 120seg this is only for 1.1.4

    just replace them in /usr/local/smsnotify
    and restart iphone
    ONLY SMSNotify
    Hey,
    Thanks for that file! I used the 30 sec one and changed it to 15 instead (Since I prefer 15) I SSH into my iPhone 1.1.4FW and copied the file over. I left permissions the same and sent my iPhone a text, IT WORKS! Also, when the iPhone has recieved a text and goes into sleep mode, it continues to vibrate every 15 seconds. That is what I wanted!
    Thanks again.

    Also, any idea how to make it vibrate but adding/coding a sound to the file? I was reading something over @ hackint0sh but got really confussed LOL


  18. #17
    Quote Originally Posted by 7h31ll3g4l View Post
    KIWI-ISE - Customise your iPhone or iPod Touch for the New Zealand network

    * Only tested on, and made available for, firmware 1.1.3 / 1.1.4.
    * There is a known issue with the iPhone going into sleep mode - the alert does not sound. This is obviously far from ideal and I am working on a fix.
    * You can customise the alert sound by replacing the "alert.mp3" file inside the "/var/mobile/Media/iAlert" directory with your own.

    Features:

    * Alerts Missed Calls
    Plays a sound every 5 minutes if you have a missed call.
    * Alerts Missed SMS Messages
    Plays a sound every 5 minutes if you have an unread text message.

    Version History:

    * v0.2
    o Added alert for missed calls.
    o Moved "alert.mp3" to more accessible location to allow easy customisation.




    bye...
    Thanks for this, looks quite good, havent had chance to try it out yet though
    I have a question, any ideas if you can change the 5 minute interval to anything you want like u can with smsnotify by editing a file?

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