Feb 3, 2012

Step By Step Tutorial to Setup A Spire Server Without iPhone 4S Keys With SiriServer

Summary : A few days ago we told you guys about a new project being developed with the help of @cale250 dubbed SiriServer that will actually replace the need for Siri to contact Apple’s server altogether. This is because instead of using Apple’s servers for the speech processing SiriServer uses Google Speech-To-Text API. While this is a great development because it takes away the need for iPhone 4S Authentication keys (you no longer need to have access to an iPhone 4S), it does mean that you are limited to commands that are shorter than 10 seconds. The developer notes that he may be able to overcome this, but at this time this 10 second command limitation is here to stay.

  • PandaApp Editor
  • Current Device: HTC Chacha
  • Future Device: iPhone 5.6.7.8...iPad 2.3.4.5...
  • Introduction:Tracing new technology like fashion!
 
A few days ago we told you guys about a new project being developed with the help of @cale250 dubbed SiriServer that will actually replace the need for Siri to contact Apple’s server altogether. This is because instead of using Apple’s servers for the speech processing SiriServer uses Google Speech-To-Text API. While this is a great development because it takes away the need for iPhone 4S Authentication keys (you no longer need to have access to an iPhone 4S), it does mean that you are limited to commands that are shorter than 10 seconds. The developer notes that he may be able to overcome this, but at this time this 10 second command limitation is here to stay.
For those of you who were interested in setting up a server using SiriServer you will be glad to know that in this How To guide from iJailbreak.com you will learn how to setup SiriServer on a Linux computer or Linux virtual machine. This will allow you to use Siri on your older generation iOS Device thanks to the Spire Cydia tweak without the need of iPhone 4S authentication keys.
Note: Please keep in mind that SiriServer will work on Mac OS X, but in this tutorial we will be setting it up on Ubuntu (a form of Linux).
Setup SiriServer Ubuntu
Section A: Setting Up The Required Components
Step 1 Windows: For Windows users it should be fairly easy to get Ubuntu working on your computer (as there is numerous ways). Probably the easiest way to do this is to go to the Ubuntu download page by clicking here, and then simply following the instructions for dual-booting your computer with Ubuntu. You could of course also use a Virtual Machine (like virtualbox), or boot Ubuntu from a CD or USB drive.
Step 1 Mac OS X:  For Mac OS X users your options of running Ubuntu are slightly more limited. You can either use a Virtual Machine (like virtualbox) or of course you can boot Ubuntu from a CD or USB drive by clicking here.
Step 2: Once you have found a way to get access to an Ubuntu computer you will need to launch terminal and type in the following command:
sudo apt-get install libspeex1 libflac8
Tip: If you do not want to type all of the terminal commands shown in this tutorial you can copy the command and paste it into terminal by right clicking and then clicking the paste option.
Step 3: Make sure you keep Terminal open, as we will come back to it soon, but you will now need to open the Ubuntu Software Center. Once the Ubuntu Software Center is up and running you will need to search for the following:
Python
When you see Python on the search results (it will be labeled interactive high-level object-orientated language (default version)) you will need to install it to your Ubuntu computer.
If you do not see an Install button, but rather a Remove button this means you already have Python install and can move on to step 4.
Step 4: Next you will need to install another package to your Ubuntu Computer, thus search for the following through the Ubuntu Software Center:
M2Crypto
When you see M2Crypto appear on the search results you will need to click it and install it your computer Ubuntu computer.
Step 5: We will now be exiting the Ubuntu Software Center and going back over to terminal. With Terminal resumed you will need to enter the following command:
Step 6: Once the command above has been executed you will need to enter the command shown below:
sudo easy_install biplist
Step 7: It is now time to download the SiriServer files. Go to the official SiriServer GitHub page and download the files as .zip file by clicking here.
Step 8: Extract the the file you just downloaded and rename the folder to:
siriserver
Step 9: Now go back to terminal and type in the following command to go into the Downloads directory:
cd ~/Downloads
Step 10: Next type in the command shown below to move the SiriServer files into your Ubuntu root directory:
sudo mv siriserver /
Note: It is recommend that you double check to see if your siriserver folder was indeed moved to the the Ubuntu root directory. To double check this open up a folder, go into the File System tab and you should see siriserver sitting there.
Section B: Generating Your Certificate
Step 11: The SiriServer files have now been placed in the correct directory. We have now setup all of the required components for SiriServer to work. Congratulations for getting this far! We will now start generating the certificate for your iOS Device to properly connect to the server you are creating. To do this the first thing you need to do is go into the proper directory:
cd /siriserver/gen_certs
Step 12: From here you will need to 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 13: After you have entered the command shown above you will find a certificate file named ca.pem in the siriserver directory (the siriserver folder that you moved to the Ubuntu root directory). When you see the ca.pem file in the siriserver directory you will need to copy it to your desktop and email it to yourself.
Section C: Installing The Certificate
Step 14: Now you will need to grab your iOS Device, fire up your email client and click the ca.pem file you attached to your email.

Step 15: When you click the attachment you will need to click the Install button, read the warning screen, click the other Install button, and finally click the Done button.
Step 16: With the certificate now installed, you will need to go back into the Settings.app, into the Spire tab and you will need to enter the address of your server. This will be whatever you replaced XXXXX with in step 12.
Example: https://192.168.1.1
OR https://domain.com

Note: Keep in mind that you are using https not http.
Section D: Activating The Server
Step 17: Everything has now been configured, and the final step is to begin the server. To do this navigate to the siriserver directory by entering the following command:
cd /siriserver
Step 18: Finally you will need to enter that command that will turn the server on:
sudo python siriServer.py
Your server should now be up and running and you can try using Siri on your iOS Device. We hope you have enjoyed this How To guide from iJailbreak.com on setting up SiriServer to use Siri on your older generation iOS Device with the Spire Cydia tweak. If you are having troubles we suggest visiting the official documentation page by clicking here.
via ijailbreak

0 comments:

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More