This tutorial is to be used after running i4SiriAutoCertificate
iPhone configuration utility download here
- Now we need to install this certificate on your iPhone. We will do this through the utility downloaded earlier called iPhone Configuration utility. Open iPhone configuration utility and connect your iPhone 4S to the computer.
- Click File, New Configuration Profile.
- In the General section enter guzzoni.apple.com as the name, and anything can be put in as the identifier. Lets just go with com.apple.siri
- Select the Credentials section and click Configure.
- Then find the file ca.crt file we created earlier and select that. This should be in desktop/siriport
- Now select your iPhone 4S on the right side and go to configuration profile tab.
- You should see the profile we just created there. Now click install.
Catching 4S keys (TO BE REPEATED WHEN KEYS CHANGE)
- Now we need to find our python script we downloaded before. Save this file as dns.py in your siriport folder on your desktop.
- Open that file with a code editor or text editor and go to line 29 and change the IP to the local ip address of the computer you are currently using. You can find this ip address by going to system preferences network and click on the interface you are currently using (wifi/ethernet) and you should see ip address. Use that one.
- Now in a new terminal window type cd desktop/siriport then type.
sudo python dns.py
- If this gives an error go into activity monitor.app (Applications/Uttilies) and search for a process matching python.If this exists end the process and try the last command again.
- Now go to your iPhone and open the settings app. Then go to wifi, then click the blue arrow on the wifi you are currently using. (Should be the same as the computer thats running dns.py) then scroll down to dns and input the local ip address that we found earlier on your mac.
- Now open a new terminal window leaving dns.py running. Run the command cd desktop/siriport
- Enter the following into the new Terminal window:
sudo ruby siriServer.rb
- If this gives an error do the same process as before with activity monitor except search for ruby. Quit process and re run the command.
- Make a siri command on your iPhone 4S. The command should not go through but on your computer you should see a lot of text popup on the siriserver.rb terminal window.
- Copy and paste this into a text file. Usually it is best to copy from xace-host all the way down.
Converting Validation Data:
- Make sure you have the noon important download on your computer. Verify that the contents of the noon important folder are in desktop/siriport.
- Open the file in the siriport folder and look for convertvalidationdata.rb. Open this is your code editor.
- Where you see quotes you are going to want to put your validation data that you copied into the text file. The validation data is the long series of numbers and slashes. Be sure to copy and paste from beginning of quotes to end and put this into convertvalidationdata.rb.
- Open Terminal and type cd desktop/siriport. Now type
sudo ruby convertvalidationdata.rb
The output should be a long series of characters. Copy and paste this into your text editor.