Thursday, February 28, 2008

Tweaking 1.1.4 (install SSH/Installer/Community Sources & fix EDGE) (PPC & intel Mac)

Step 1.
First we must install SSH using iNdependence. Click the SSH tab and then click the Install SSH/SFTP/SCP button.

You'll see a message about generating SSH keys.

You'l get a message telling you to shut off the iPhone. You will shut it off and turn it on a total of three times.

Slide the slider to shut it off.

Turn the iPhone back on and this message will appear next "please reboot using the same steps". You need to shut the iPhone off and turn it on again.

You will get a success message when SSH is installed.

Step 2.
Now that SSH is installed let's get the IP address for the iPhone. Press Settings, then Wi-FI (where your network name should appear).

On the next screen press the small blue arrow to the right of your network name. Note your IP address at the next screen. In this example, mine is

Step 3.
Download Fugu here. Note: while I realize you could install an application with iNdependence, I think it is critical to learn how to use a true SSH client.

Enter your iPhone's IP address in the Connect to: box, then enter root in the Username: box, then enter 22 in the Port: box, then enter / in the Directory: box, then click Connect.

You'll get a prompt to continue.

You'll be prompted to enter your SSH password. Unless you have changed it, it is "alpine". Click Authenticate.

The left side window represents your computer's directory structure. The right side window represents your iPhone's directory structure.

Download the Installer version 3.0 here. Unzip the Installer download file.

In the left side window, navigate to where you downloaded your file. In the right side window double click the Applications folder. Now simply drag the file from the left to the right window. Make sure that when you do this you do not copy it into another application's folder, drag it into the window (the right side window should become outlined in blue).

Once you have done this, restart the iPhone and you'll see the Installer icon on your SpringBoard.

Step 4.
On your Mac, go to your Appliations folder, then into the Utilities folder. There is a program called Terminal. Launch it. I hope I am painfully clear here. As seen below you will enter two things into the terminal. Note: after ssh - the character that follows is a lower case l (el), it is not an I (eye). The IP address is YOUR address. In my example it is for MY iPhone. The next line is alpine, which is the default password, unless you changed it.

ssh -l root

You will now be at a -sh-3.2# prompt. Enter this command:

chmod ug+s /Applications/

You can close the Terminal after doing this.

Step 5.
Next launch the Installer. It is critical you install this file (and update it when it asks you to). Press the Install icon at the bottom of the screen. Scroll down the list of folder to Sources. Press it. Press Community Sources, then install it. This will open up all third party sources and the programs they offer to the Installer. If you don't do this you'll only see a fraction of the programs available for the iPhone.

You'll receive this warning. Press OK. It will now refresh the sources it has access to. This can take some time. You can press and hold the Home button to exit out of this mode if you get tired of waiting.

Here is what your Sources screen should look like when its finished.

Step 6.
Note: I've received an email about a simple solution should your EDGE connection not work right away. Press the Home button, then Settings, General, Reset and select either Reset Network Settings or Reset All Settings. EDGE should now work.

Should you need to enter EDGE account data and not have a way to do it (first check by pressing Settings, General, Network, and then look for an EDGE button which will take you to a settings sub menu), you can use this method to fix it. The two screen shots below show a non authorized carrier (in Amercia at least) and the presence of the EDGE menu.

This screen shot shows what the same screen looks like on an authorized carrier.

To add this menu, download these files. Decompress the download. There will be two folders: private, and System. There are many subfolders inside these folders. Eventually you will get to files inside of the folders. You must duplicate this directory structure on your iPhone. For example let's look at the private folder.

private/var/preferences leads you to a file called proxy.pac and a folder called SystemConfiguration. So copy the proxy.pac file to your iPhone's private/var/preferences folder by using Fugu. Now for that folder that's in there, click it and you'll see a preferences.plist file. Put this file into the iPhone's private/var/preferences/SystemConfiguration folder. Now repeat the process for the other folder (if you are an O2 customer only.)

No comments: