|
I had no trouble doing it with Terminal in Mac OS X. Here's a primer for those who consider themselves callow newbies (as we all once were). I've purposely written this so pedantically that it will absolutely offend the wise and experienced among us. Again, this isn't for them. (So, if you consider yourself to be wizened and devirginized, then please spare yourself much anguish and skip this post.)
Ok, if you're a total novice and don't mind being addressed like a first-grader (and only if), then this one's for you:
1) Presumably you have a jailbroken iPhone with some third-party applications installed. (Otherwise you wouldn't be running out of applications space which necessitates your reading these instructions.) However, if you've not yet installed OpenSSH on your iPhone, then do it now. One easy way to install OpenSSH is via Installer.app on your iPhone.
2) Make sure the Mac and the iPhone are connected to the same wireless router.
3) Get the iPhone's IP address. You can obtain it this way: Tap the iPhone's "Settings" icon. Then tap "Wi-Fi." Then tap the right-facing blue arrow located adjacent to your wireless access point's name. Note the top line titled "IP Address." Jot that down. For the rest of this tutorial when you see this -- XXXXXXXXXX -- you should substitute your IP address (both the numbers and the periods, which looks something like this: 192.168.11.4).
4) Now, on the Mac, launch the "Terminal" app (it's in the Utilities folder inside your Applications folder... i.e., /Applications/Utilities/Terminal). At the cursor in Terminal, type the following string and then press return (remembering again that you should substitute your iPhone's IP address instead of XXXXXXXXXX):
ssh root@XXXXXXXXXX
(In other words, your typed string should look something like: ssh root@192.168.11.4)
5) Terminal on your Mac should now prompt you for a password. If you're running iPhone firmware 1.0.2 then the password is Dottie (with a capital D). More likely, though, you're running iPhone firmware 1.1.1, so the password is Alpine (with a capital A). Carefully type the proper password and press return.
6) If this was the first time you've accessed your iPhone via SSH or FTP (technically, SFTP), then you'll see a bunch of machinations like "generating your keys for the first time" or the like. Don't worry. You'll soon be presented with the Number Sign character (#) which is what we're looking for and signifies a successful iPhone access via SSH. If this wasn't the first time you've accessed your iPhone this way, then you got the # character right after entering the proper password.
7) Ok, now you should be looking at a blank # on a line by itself in Terminal. Here's where the real work begins. Type (or just copy and paste) the following into Terminal on your Mac and press return:
mv /Applications /private/var/Applications
Note a few things. First, this is the string that moves your Applications folder to more spacious environs. Second, you shouldn't let your iPhone go to sleep at this point. Third, note that NOTHING will happen for awhile in Terminal while that big iPhone Applications folder is moved to its new location. When it's complete, you'll see another # character on a line by itself in Terminal on your Mac.
8) Next, type this into Terminal on your Mac and press return:
cd /
Note that this UNIX command you just typed simply changes the directory ("cd") to the top of the iPhone's disk.
9) You should see another # right away. Next type this (or copy and paste it) into Terminal on your Mac and press return:
ln -s /private/var/Applications Applications
Note that this creates the symbolic link (UNIX-speak for what Mac people call "an alias") so that the iPhone "sees" its Applications folder in its proper place even though it's really been moved.
10) Now you should see the # command again. Technically, you are DONE at this point, but we're going to do something to ensure that what we hoped would happen did in fact actually happen. So type the following into the Terminal on the Mac and press return:
ls -la
11) Wow, a big directory listing just spilled out. The fourth line (or thereabouts) from the top should look something like this (so YOU DON'T TYPE THIS as it should be somewhere in there):
lrwxr-xr-x 1 root admin 25 Nov 15 06:34 Applications -> /private/var/Applications
Note the word "Applications" with the little arrow (->) that points to where the Applications folder now really lives. Voila. If it's there (and it should be), you are done.
12) Type the word exit and then press return in your Terminal on the Mac. It should say that your connection is now closed.
13) Reboot your iPhone now by pressing the Home button as well as the power button (on the top right of your iPhone) at the same time for several seconds until you see the big red arrow and "slide to power off" phrase. Go ahead and "slide to power off," then wait about 5 seconds, then press that power button again (iPhone, top right). You're all set (hopefully).
14) Done. Enjoy not worrying about running out of space for your iPhone applications anymore.
Randy
P.S. If you're on Windows, presumably you can substitute the "Putty" program referenced earlier in this thread everywhere I've mentioned the Mac's "Terminal" program.
|