Page 3 of 3 FirstFirst 123
Results 21 to 30 of 30
Discuss [SMSNotifier] (sound instead of vibrate) inc Missed Calls at the Free Toolchain Software - Hackint0sh.org; I made it work using the script in your rapid$hare file, no need to copy ...
  1. #21
    peu
    peu is offline
    Senior Professional Array peu's Avatar

    Join Date
    Aug 2007
    Location
    Buenos Aires Argentina (I like ribs)
    Posts
    499
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    32

    Default

    I made it work using the script in your rapid$hare file, no need to copy all of erica's utilities in that folder

    just in case, this is the script:

    PHP Code:
    #!/bin/sh
    smsnpath=/usr/local/smsnotify
    sql
    =$smsnpath/sqlite3
    vibrate
    =$smsnpath/vibrator
    audiofilea
    =/Library/Ringtones/Sonar.m4r
    while test 1
    do
    n=`$sql /var/root/Library/SMS/sms.db 'select count(*) from message where flags=0'`;
    if [ 
    "$n-gt 0 ]
    then
    /var/root/bin/playaudio $audiofilea $vibrate
    fi
    c
    =`$sql /var/root/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
    /var/root/bin/playaudio $audiofilea $vibrate
    fi
    sleep 120
    done 
    [edit] It only works when the phone is plugged to the PC or turned on.
    Last edited by peu; 01-08-2008 at 12:45 AM.
    4S>IOS 5.01>>5.11>redsnow>JB 5.1.1 (F.Unlock)
    4>Limera1n B1>4.3.2>IOS5 GM>redsnow>JB 5.0 (F.Unlock)
    3GS>blackra1n RC3>3.1.2>Spirit>Unlock 3.1.2>Jailbreakme.com>Ultrasn0w 2.0>Unlock 4.01
    3G>redsn0w 0.72>ultrasn0w>Unlock 3.0>pwnage 3.14>Unlock 3.1.2
    2G>hardware unlock>elite-team virginizer>upgrade to 1.1.1>toc2rta JB>anysim 1.1>unlock 1.1.1>Restored to 1.1.3>Ziphone 2.2>Unlock 1.1.3>Modified Ziphone>iClarified unlock patch>Unlocked 1.1.4>QuickPWN>2.0.2>2.1>2.2>2.2.1>redsn0w 0.71>Unlock 3.0


  2. #22
    Senior Professional Array Nuttynutter123's Avatar

    Join Date
    Dec 2007
    Posts
    247
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    18

    Default

    ^^ mine doesnt work in sleep mode..
    have you got any idea what coding will make it work in sleep mode?

  3. #23
    Newbie Array

    Join Date
    Jan 2008
    Posts
    1
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    I'm having the problem of the modified smsnotify.sh file playing and vibrating every five minutes (300 seconds) when I have NO missed call or a missed text. Of course it works when I do have a missed call or text (cause it's doing the routine every 5 minutes regardless).

    I've tried modding the file myself, copying and moving the one from rapid$hare, and copying and pasting the code given in post #21 into a blank smsnotify.sh file.

    If I copy the original file back (the stock smsnotify.sh I backed up), it works every 15 seconds for vibrating.

    I've even uninstalled both Erica's utilities, then the SMSNotify program and re-installed (Erica's utilities first, then SMSNotify). Still the same issue.

    After any change....I always turn off the phone and back on.

    Any ideas? I'd love to have this work. It's about the last thing I miss on the iPhone from some of the Nokias I've had (whether it was native ala 6230 or an add on ala N73).

    Thanks much!

  4. #24
    Rookie Array

    Join Date
    Dec 2007
    Posts
    19
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    c=`$sql /var/root/Library/CallHistory/call_history.db 'select count(*) from call where flags=4 and duration=0 and ROWID=(select max(ROWID) from call)'`;

    The above statement will return a "1" if you have 1 missed call. It worked!
    However, after I acknowledged the missed call (i.e. the bubble on the phone icon goess off), tis statement still returns a "1"???!!! And it keeps vibrates.... Any idea why? What's the flag = 4 means? What abt the duration=0?

  5. #25
    Newbie Array

    Join Date
    Dec 2007
    Posts
    6
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Would it be possible for someone to write up a quick tutorial for virgin (ie. no smsnotify or erica's utils installed) iPhone to get the beep working, for missed calls and SMSs? It would only take 5 minutes.

    I currently DO have SMSNotify installed (which also means I have BSD Subsystem) but I HATE vibrating, I think it's pointless to vibrate it when it's sitting on my desk and I'm in the other room. Anyway I don't know how to SSH into the phone/edit .sh files etc.etc. on my own but I could follow instructions pretty easily.

    I'm just nervous to start poking around without some guidance XD
    Thanks!


  6. #26
    Newbie Array

    Join Date
    Mar 2008
    Posts
    6
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    "and also if your phone is on silent mode then it still makes the noise?"

    I would like to know how to determine if the iphone is on silent mode or normal mode to select if sound or vibrate.... I have searched and searched, and nothing found, no Erica utilities to use....nothing...

    Of course the script does not work if the iphone is in sleep mode

    Any help?
    Last edited by Waiting; 04-01-2008 at 11:49 PM.

  7. #27
    Newbie Array

    Join Date
    Mar 2008
    Posts
    6
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Up!!!!!!!!!!!!

  8. #28
    Rookie Array

    Join Date
    Nov 2007
    Location
    England
    Posts
    16
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Hi,

    I have a fresh 114 install (and also use SMSD) so the sms.db resides in /var/mobile/Library/SMS not /var/root/Library/SMS/ and ditto for the call_history.db

    If I use the std script from the rapid$hare file i don't get any alerts, presumably due to the path being wrong?

    I tried modding the script so that it looks to the /mobile path but upon re-boot the screen constantly flashes with no icons visible (that's all it does!) so i had to ssh into the phone and restore the original file but this means that I still don't get the alerts.

    Any ideas? thanks

  9. #29
    Newbie Array

    Join Date
    Dec 2007
    Posts
    1
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Create a virtual link

    ln -s /var/mobile/Library/SMS /var/root/Library/

    Same with the CallHistory

    ln -s /var/mobile/Library/CallHistory /var/root/Library/

    Hope it works

  10. #30
    Rookie Array

    Join Date
    Nov 2007
    Location
    England
    Posts
    16
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Thanks very much for the suggestion, I did the following:

    ln -s /var/mobile/Library/SMS /var/root/Library/SMS
    ln -s /var/mobile/Library/CallHistory /var/root/Library/CallHistory

    and the alerts now work. I have stopped using SMSD due to program crash.

    For the missed call it's not sufficient just to look at the recent calls (even though this clears the red bubble).To clear the missed call fully and remove the alert you have to touch the missed call in the list and make a call to that person (only has to be for a micro second). This then clears the alert properly.

    I also found this link which should help those trying to get it to work on 1.1.4:

    http://www.modmyifone.com/forums/nat...y-1-1-4-a.html
    Last edited by cirrus; 06-22-2008 at 08:11 AM. Reason: correction


 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. I no longer get missed calls notifications
    By mrdharris in forum iPhone 4
    Replies: 0
    Last Post: 02-01-2011, 09:23 PM
  2. Missed calls and recent calls dont save
    By 00snipe00 in forum Spirit (jailbreak)
    Replies: 4
    Last Post: 05-08-2010, 07:21 AM
  3. [Req] Sound Reminder for Missed Calls and received SMS
    By Count de Monet in forum Free Toolchain Software
    Replies: 9
    Last Post: 06-10-2008, 12:30 PM
  4. [1.1.3] Missed calls fixed
    By gr33n in forum General
    Replies: 0
    Last Post: 01-25-2008, 03:15 AM
  5. No auto-viocemail for missed calls
    By kerimeton in forum General
    Replies: 1
    Last Post: 11-09-2007, 06:57 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 05:09 PM.
twitter, follow us!