Now that you have jailbroken your iPhone 4S and iPad 2, you have endless options available to supercharge both of your devices with popular jailbreak tweaks available in Cydia store. One of them is Spire, which will help in installing Siri on your newly jailbroken iPad 2. The method is bit complex, however.
That who is unaware, Spire is developed by skilled developer @chpwn and Ryan Petrich, well known names among jailbreak community. It helps in installing a complete and stable interface of SIRI on jailbroken iPhone 4, iPhone 3GS, iPod touch 4G, iPad 2 and iPad 1G running on iOS 5.x.
We have already detailed the steps to port Siri on iPhone 4 and iPhone 3GS. The instruction listed below will let you in setting up a SiriProxy server so you can safely configure Spire tweak on your iPad 2. The tutorial is Mac specific only, however, it should work on Windows PC as well.
- Jailbroken iPad 2 on iOS 5.0.1. Install OpenSSH. If you are unaware how to jailbreak 5.0.1 follow Absinthe guide (Mac, Windows). Install SBSettings tweak as well which would be helpful for toggling SSH.
- Jailbroken iPhone 4S to obtain authentication tokens on the same network. You can ask your friend for assistance, in case you don’t own an iPhone 4S. Without having iPhone 4S, you will not be able to get authenticated tokens.
Step 1: Forward port 443 to your server using AirPort Extreme
a. Open AirPort Utility
b. Click on Manual Setup
c. Go to Advanced > Port Mapping and tap on the “+” symbol
d. Put in 443 for all the ports and your IP address. Click continue
e. Fill in a description (For example, Siri) and click ‘Done’.
f. Now wait for your router to update and you’re done
Step 2: Configuring SiriProxy
This is the most complicated step and be careful while you follow the instructions.
1) Download SiriProxy
2) Download and install Mac Ports
3) Open your Mac Terminal and type the following command:
sudo port install dnsmasq
4) Type in your computer’s password to process further, when prompted and then type following command
bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer) to download and install RVM
5) Type [[ -s "$HOME/.rvm/scripts/rvm" ]] && . “$HOME/.rvm/scripts/rvm” to activate RVM
6) Type echo ‘[[ -s "$HOME/.rvm/scripts/rvm" ]] && . “$HOME/.rvm/scripts/rvm” # Load RVM function’ >> ~/.bash_profile to add RVM to your .bash_profile
7) Type rvm install 1.9.3 to install Ruby 1.9.3
Some users might get an error while installing Ruby. This only applies to *some* Lion users.
9) In case you get error, type rvm install 1.9.3 –with-gcc=clang
10) Type rvm use 1.9.3 –default to set RVM to use/default to 1.9.3
11) Now you need to cd into the siri proxy folder (unzipped) you downloaded at step 1. To do so, type cd and then just drag-and-drop the folder from your desktop (if you have downloaded it on your desktop) to your terminal shell.
12) Type rvmsudo gem install rake bundler to install Rake and Bundler. Type in your computer password
13) Type rake install to Install SiriProxy gem
14) Type mkdir ~/.siriproxy to make .siriproxy directory
15) Type cp ./config.example.yml ~/.siriproxy/config.yml to move default config file to .siriproxy
16) Type sudo port install openssl
NOTE: If you have a static IP you can continue to the next step. If you have dynamic IP you’ll need a dynamic dns set up in your router (or domain). This will make Siri to run over 3G (as well as WiFi).
17) Now its time to Generate certificates
For dynamic IP:
1. Browse to /opt/local/etc/openssl/openssl.cnf and open openssl.cnf in a text editor.
2. Scroll down (line 148), until you see:
commonName = Common Name (eg, YOUR name)
commonName_max = 64
3. Replace it with:
0.commonName = Common Name (eg, YOUR name)
0.commonName_default = www.domain1.com
0.commonName_max = 64
1.commonName = Common Name (eg, YOUR name)
1.commonName_default = www.domain2.org
1.commonName_max = 64
4. Save and quit
5. Open up a finder window, hit cmd+shift+g and go to ~/.siriproxy
6. open up a terminal shell and cd ~/.siriproxy
7. Generate the certificates (do these commands one at a time, carefully.)
IMPORTANT: You can use whatever info you want when it asks for it, just make sure that for the common names you put your dnyDNS or no-ip domain FIRST and guzzoni.apple.com SECOND. Very important step.
openssl genrsa -des3 -out ca.key 4096
openssl req -new -x509 -days 365 -key ca.key -out ca.crt
openssl genrsa -des3 -out server.key 4096
openssl req -new -key server.key -out server.csr
openssl x509 -req -days 365 -in server.csr -CA ca.crt -CAkey ca.key -set_serial 01 -out server.passless.crt
openssl rsa -in server.key -out server.key.insecure
mv server.key server.key.secure
mv server.key.insecure server.passless.key
For static IP:
1. Type ./siriproxy gencerts
18) Install certificates
1) To install ca.pem or ca.crt onto your iPhone (both iPhone 4S and iPad 2), open a finder window, press cmd+shift+G and enter the following path ~/.siriproxy
2) Email ca.pem/ca.crt to yourself
3) On your phone you will see the new file. Tap on it and install it.
19) Search your Mac for this file:
dnsmasq.conf. Locate #address=double-click.net/127.0.0.1 (line 62).
Right below that, add the following line:
20) Type in terminal sudo dnsmasq.
21) Change your DNS address under Settings > Wifi to the IP of your server.
22) Now you need to cd into the bin folder found in the westbaer-SiriProxy-a2219ee that you’ve downloaded at step 1. To do that type cd and drag-and-drop the bin folder into the terminal
23) Type ./siriproxy bundle
24) Type rvmsudo siriproxy server and type your password.
25) Hold the Home button to bring up Siri and say “Test Siri Proxy” you should see some data start flowing in the terminal and a “Siri Proxy is up and running!” response on your phone.
After testing SiriProxy successfully you are now ready to follow next steps. Don’t move on from this step unless your iPhone 4S gets successful responses from the SiriProxy test.
26) Install Spire on your jailbroken iPad 2. Follow (Step 2 – Step 4 from this guide) to install Spire tweak. Install iFile too. But, due to dependencies you won’t be able to install Spire. Before installing Spire you will receive the message:
Note: The requested modifications cannot be applied due to required dependencies or conflicts that cannot be automaticaly found or fixed.
Here’s how you fix Cannot Comply conflict.
27) Go to /Sysyem/Libray/CoreServices/SpringBoard.app folder on your iPad, search for K93AP.plist file (it can also be K94AP.plist or K95AP.plist) and open it. Personally, I prefer to use iFile app from Cydia to create and edit files on my iPad.
Search for the string:
And Replace it to:
Install Spire after fixing gsc.ipad conflict. This time you should successfully pass through the installation process. Your iPad 2 will reboot after installation. Sometimes it just turns off instead of rebooting, so in this case just simply turn it on.
28) Go to Settings.app ->General ->Siri and turn it on
29) Go to Settings.app > Spire and fill in your proxy host.
For static IP use https://guzzoni.apple.com and for dynamic IP use https://your-dns-domain-name
30) Go to preference folder. To do so, Open iFile and navigate to /var/mobile/Library/Preferences/
31) Locate the com.apple.assistant.plist and tap on it to open with the property list viewer.
32. Add 3 new strings to the Dictionary. To do so; Tap on ‘Accounts’, then tap on ‘Dictionary’, hit the “+” symbol on the bottom right side of the screen and add:
- Ace Host
- Assistant Identifier
- Speech Identifier
33) Make sure SiriProxy is running and use your iPhone 4S to trigger Siri (Say ‘Testing Siri’). By doing this, you will assign your 4S tokens to your iPad 2.
34) Now you should be able to use Siri over WiFi on your iPad 2.
35) To use it over 3G, navigate to /etc/ and look for the hosts file. Open it with text viewer, edit it, and add the following line:
- for static IP: your-ip-address guzzoni.apple.com
- for dynamic IP: your-dns-domain-name guzzoni.apple.com
Finally, you can enjoy Siri voice assistant running on a jailbroken iPad 2 (untethered), and all of the fun and excitement that it offers! Did you give any of the Siri jailbreak apps a try (VoiceUtils or SiriToggle)? Share your experience in the comments section below and follow @JAlLBREAKS on twitter. Via [FSM]
[UPDATE 1]: You can now install Siri port on your iPhone 4, iPad 2, iPad, iPhone 3GS and iPod touch 4G without having to install Spire tweak or iPhone 4S in hand. For details visit here.