How to activiate siri just by dialing a number (via bluetooth)
#33
Changing the number, absolutely. You would change the SQL statement were it queries for the number to whatever number you want, BUT .... you have to pick a number the phone that will dial (and you probably want a number that will not actually connect to anywhere)
What do I mean by that ... try to dial just a # and (depending on your phone provider) you will get an error. This did not write a record to recent calls, and therefore you could not use this to dial SIRI. So you need enough of a number that the phone will dial it, and then it needs to terminate quickly.
What do I mean by that ... try to dial just a # and (depending on your phone provider) you will get an error. This did not write a record to recent calls, and therefore you could not use this to dial SIRI. So you need enough of a number that the phone will dial it, and then it needs to terminate quickly.
#35
I updated to ios 8 and am trying to reinstall. I believe that the plist file needs to be put in library/launchdaemons directory rather than system/library/launchdaemons. Note I am also using the activator send libactivator.system.virtual-assistant command in the sh file so I do not have terminal activator installed.
Everything seems to work fine, however, siri is not activated when I call the number. Any ideas?
Note: If the plist file is in system/library/launchdaemons directory, I receive the following error when I run the launchclt command:
The specified service path was not in the service cache
Everything seems to work fine, however, siri is not activated when I call the number. Any ideas?
Note: If the plist file is in system/library/launchdaemons directory, I receive the following error when I run the launchclt command:
The specified service path was not in the service cache
Last edited by slee1812; 11-07-2014 at 11:23 PM.
#36
First off you are right, Apple moved the root level launchdaemons to /Library/LaunchDaemons, so that part is right. The problem is they decided to change everything else as well. Ironically I just fixed this today (hopefully) which is why I looked here to see if anyone noticed it.
You have to change a couple of things.
First your sql db needs to point to a different location, so your lines should look something like this...
n=`sqlite3 /private/var/mobile/Library/CallHistoryDB/CallHistory.storedata '.read /usr/bin/idlewhile/VoiceDialer/BluetoothQuery'`;
(note I changed the directory to VoiceDialier, but fix that accordingly).
So its a different db, and of course a different query. This is literally just hours old, so I hope I got all the epoch settings right, but your query commands should look like this...
where *#611#* is the numbers you want.
Note: I never got an email about this thread changing, so for anyone looking specifically for help, it might work better to PM me to trigger me to the fact that something changed.
You have to change a couple of things.
First your sql db needs to point to a different location, so your lines should look something like this...
n=`sqlite3 /private/var/mobile/Library/CallHistoryDB/CallHistory.storedata '.read /usr/bin/idlewhile/VoiceDialer/BluetoothQuery'`;
(note I changed the directory to VoiceDialier, but fix that accordingly).
So its a different db, and of course a different query. This is literally just hours old, so I hope I got all the epoch settings right, but your query commands should look like this...
Code:
select max(Z_PK) from ZCALLRECORD where ZADDRESS="*#611#*" and CAST(strftime('%s','now','localtime')-strftime('%s',ZDATE,'unixepoch', '+31 years','localtime') as integer) < 6;
Note: I never got an email about this thread changing, so for anyone looking specifically for help, it might work better to PM me to trigger me to the fact that something changed.
Last edited by IvanRaide; 12-02-2014 at 07:10 PM.
#37
First, you dont need to use terminal activator anymore (I'm not even sure if its supported on iOS8?) Make sure to read all of these pages since a bunch of troubling shooting tips, (and fixes) have been posted. That all said you should replace the terminal activitor lines with
activator send libactivator.system.virtual-assistant
This will allow activator to call SIRI directly.
Terminal Activator used to have the notify_post in the wrong spot, so that could be your problem, but I would suggest you run the script in a bash window before running it as the daemon and then you can see errors, write ECHO statements to see where you are in the code, etc,etc,etc general debugging *but the script is very simple so not too daunting*
Once the script is running solid then you can leave it triggered in the daemon
activator send libactivator.system.virtual-assistant
This will allow activator to call SIRI directly.
Terminal Activator used to have the notify_post in the wrong spot, so that could be your problem, but I would suggest you run the script in a bash window before running it as the daemon and then you can see errors, write ECHO statements to see where you are in the code, etc,etc,etc general debugging *but the script is very simple so not too daunting*
Once the script is running solid then you can leave it triggered in the daemon
#38
Siri Activator IOS 8
Thanks. I now have it working under IOS 8. I have attached the updated files for IOS 8 including updated installation instructions.
Last edited by slee1812; 12-30-2014 at 05:39 PM.
#39
If you're running iOS6 make sure to use the older files, these new changes are for iOS8 only. Read all the pages for debugging steps, but I would recommend removing Terminal Activiator and just going with the activator command directly...
#40
hi everyone and thank you for this script.
i use it from ios 6 and it's saved my life sometimes
I have set up the ios 8 siri activator update but if i respring device or free the ram, script stop to work and the only way to make it work again is restart the device.
have you found the same problem?
solutions?
tks
i use it from ios 6 and it's saved my life sometimes
I have set up the ios 8 siri activator update but if i respring device or free the ram, script stop to work and the only way to make it work again is restart the device.
have you found the same problem?
solutions?
tks
#41
I do not have that problem. On a respring they stay running, and even when using KillBackground it would not close daemons? What are you using to "free memory"
I have the launchdaemon plists set to this currently, notice the keep alive entry, etc. Another thing is to see if they are running or not, run from shell, (replace idlewhile with whatever you have) ps -ax | grep idlewhile
I have the launchdaemon plists set to this currently, notice the keep alive entry, etc. Another thing is to see if they are running or not, run from shell, (replace idlewhile with whatever you have) ps -ax | grep idlewhile
Last edited by IvanRaide; 07-08-2015 at 08:48 AM.
#43
Well, it should not END in .txt of course but this site does not allow uploading a .plist. That said a .txt would not cause a locked-up boot. Also, you would have to make sure that the directory structure matched in the .plist, to your own directory structure, but other than that, yes, its the file right off my phone. You should first make sure its not something else by booting into safemofe (assuming you have substract safe installed), while booting hold and keep holding volume up. If that works, its not the daemons but something else.
In the future, (though of little help to you right now), you should run the daemons from shell and make sure they are ok before booting.
launchctl load /Library/LaunchDaemons/com.IdleWhile.VoiceCommandNumber.plist
In the future, (though of little help to you right now), you should run the daemons from shell and make sure they are ok before booting.
launchctl load /Library/LaunchDaemons/com.IdleWhile.VoiceCommandNumber.plist
Last edited by IvanRaide; 07-08-2015 at 12:30 PM.
#45
Did you run the launchctl prior to rebooting, was it working, although, even if there was an error it should not lock up anything.