Thread: SMSnotify on 1.1.4
-
03-30-2008, 09:13 AM #1
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
-
-
03-30-2008, 06:52 PM #2
Thank you, this was very helpful, I really wanted this app to work on my phone and now it does.
Thanks again
-
03-30-2008, 08:56 PM #3iPhone? 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.
-
03-31-2008, 01:21 AM #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
-
03-31-2008, 01:12 PM #5
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?
-
04-02-2008, 10:07 AM #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 itLast edited by Magicians35; 04-02-2008 at 10:15 AM.
-
04-02-2008, 05:29 PM #7
Awesome, worked on my 1.1.4. Thanks
-
04-02-2008, 05:43 PM #8
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 05:47 PM. Reason: Added quote
-
04-02-2008, 05:55 PM #9
btw, the smsnotify does not work if ur phone is in sleep mode.
-
04-09-2008, 02:21 PM #10The One and Only
- Join Date
- Mar 2008
- Location
- Boston
- Posts
- 1,200
- Thanks
- 29
- Thanked 58 Times in 54 Posts
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 02:51 PM.
-
05-01-2008, 03:29 AM #11iPhone? 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
-
05-01-2008, 07:16 PM #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
-
05-02-2008, 05:22 AM #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...
-
05-14-2008, 05:00 PM #14
Any luck getting Kiwi-isation iAlert work while phone is in sleep mode?
-
05-15-2008, 07:21 AM #15
hi, i editted the smsnotify.sh and rebooted my phone but it doesnt vibrate. any ideas?
-
05-25-2008, 07:07 PM #16
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

-
08-01-2008, 01:35 PM #17



LinkBack URL
About LinkBacks
Reply With Quote



