How to Setup Spire Server Using SiriServer Without iPhone 4S Auth Keys

by jbwire on February 4, 2012

Last week we detailed the procedure to Siri on iPad 2 using Spire and SiriProxy. The method required iPhone 4S authentication keys for complete installation. And also we updated you about a method to install Siri without any proxy server (which was quite simple method), but was not working for many of users due to high load on the server and some apps were faulting for some after installation. Here we have a guide to Setup SiriServer for using Siri on older devices without auth keys.

This process of setting up the SiriServer does not require Authentication keys of iPhone  4S. Those users who have installed Spire tweak, can now use Siri without iPhone 4S keys. Siriserver will work on Mac OSX but the guide below can be followed on a Linux computer or a Linux virtual machine on Ubuntu.

Setup SiriServer on Ubuntu requires 4 major sections:

(A) Setting Up The Required Components
(B) Generating Your Certificate
(C) Installing the Certificate
(D) Activating The Server

Note: Windows users can easily download Ubuntu on your computer and follow instructions to dual boot with Ubuntu. Or you can also use a Virtual Machine (like virtualbox) on your windows and Mac machines. The tutorial below uses Linux machine.

How to Setup SiriServer Ubuntu Without iPhone 4S Auth Keys

(A) Setting Up The Required Components 

Step 1: Get an access to Ubuntu computer and launch terminal.

Step 2: On the terminal screen type in the following command: [Tip: You can also copy the text of the commands in the tutorial and just paste in the terminal window by just right clicking.]

sudo apt-get install libspeex1 libflac8

Step 3: Open Ubuntu Software Center and search for the following [Note: Don't close the terminal window as we will come back to it in next steps]

Python

Step 4: If Python is not installed, you will a button with “Install” option in right side. Just install it. If you see “remove” button instead of “install”, then it means Python is already installed on your machine. The screen will be similar as the image below.

Step 5: Now search for another package to install to your Ubuntu Computer, so search for in Ubuntu Software Center and install it:

M2Crypto

Step 6: After installing these packages, exit the Ubuntu Software Center and go back to terminal window and enter the following command:

sudo apt-get install python-setuptools

Step 7: Now enter the following command:

sudo easy_install biplist

Step 8: Now go to the official SiriServer GitHub page and download the SiriServer files from here.

Step 9: Extract the downloaded file and rename the folder to:

siriserver

Step 10: Now go to Terminal and type in the following command to go into the Downloads directory:

cd ~/Downloads

Step 11: Next type in the following command to move the SiriServer files into your Ubuntu root directory:

sudo mv siriserver /

You can just confirm by going into the File System tab and check siriserver should be there.

Now, the initial setup is complete and we need to generate and install the certificate to connect to the server we are creating.

(B) Generating Your Certificate 

Step 12: For doing this go into the proper directory:

cd /siriserver/gen_certs

Step 13: Now enter the command shown below. Keep in mind, however, that you will replace XXXXX with most likely an IP Address or in some cases a domain name (for more information click here).

./gen_certs.sh XXXXX

Example: ./gen_certs.sh 192.168.1.1

Or ./gen_certs.sh domain.com

Step 14: After the successful above command, a certificate file with name ca.pem can be noe found in the SiriServer directory (the SiriServer folder that you moved to the Ubuntu root directory).

Step 15: Copy the ca.pem file in the SiriServer directory to your desktop and email it to yourself.

(C) Installing The Certificate

Step 16: Now open your email account in your iOS idevice and click the ca.pem file in your email.

Step 17: Now when you click the file, you will see a Install button, just click on it. A warning screen will appear, just click the other Install button, and finally click the Done button.

Step 18: With the certificate now installed, you will need to go back into the Settings.app, into the Spire tab of your device and enter the address of your server. This will be whatever you replaced XXXXX with in step 13.

Example: https://192.168.1.1

OR https://domain.com

Note: Please use https instead http.

Now you are all done with the server setup. You just need to start the server.

(D) Activating The Server

Step 19:  To start the server, navigate to the SiriServer directory by entering the following command:

cd /siriserver

Step 20: And enter the following command that will turn the server on:

sudo python siriServer.py

Now, your server must be up and running. You can now try using Siri on your iPhone / iPad. If some troubleshooting you can visit the official documentation page by clicking here. For any further quires let us know by leaving comments.  For more updated join us on @Jailbreakwire Facebook Fanpage and Google+ network.

 Via [iJailbreak]

Previous post:

Next post: