Hello everyone!
A few days ago, I decided to move back into Ubuntu, and was immediately stomped: I couldn't install any .ipa's I obtained, since I didn't have iTunes!
Well, after some snooping around, I solved this issue, and wrote up a small tutorial, which I will write out here, more elaborately.
So, people who like to keep .ipa backups of their apps, read on!
Requirements:
1. iPhone/iPod touch running:
1.1. Jailbreak (I won't need to explain this here. I highly recommend GeoHot's utility, though: blackra1n)
1.2. OpenSSH: this you can easily install on a jailbroken device, simply search for it on Cydia/Icy/Rock.
1.3. Installous: this one is rather tricky. Source. Needless to say, I don't approve of piracy, but totally recommend the use of this program to install .ipa's you already have, acquired, for instance, through iTunes.
2. Ubuntu desktop (I'm running 9.10 at the moment, but that's irrelevant) running:
2.1. sshfs: this should come already installed with your OS; at least it did in mine. If it doesn't, it should be in the repos (ALT + F2: synaptic).
2.2. Fuse: should also come as default.
Now that we got all that out of the way, on to the tutorial itself:
STEP 1:
Connect both your iDevice and computer to the same network. I highly recommend using a standard router, since Ad-Hoc seems quite complicated (didn't manage it myself).
STEP 2:
First off, lets mount your device as a file system, using sshfs:
Code:
sshfs root@<yourdevice'sIP>:/ mountpoint
In my case, this would be:
Code:
sshfs root@192.168.0.102:/ ~/pod
Since my iPod's IP on the network is 192.168.0.102.
You will be prompted for root password, which by default is "alpine".
I highly recommend you change this, since it's a vulnerability. Also, you shouldn't leave SSH on when not using it. (look for SBSettings on the Cydia/Icy/Rock repos).
STEP 3:
Now that you have your device mounted on the mountpoint of your choice, point your file browser to it (I'm using GNOME's Nautilus).
You should now see some folders, typical in the root of a UNIX file system (such as usr, var, etc...).
Using good old drag'n'drop, place your .ipa's in:
Code:
mountpoint/var/mobile/Lybrary/Downloads
(Case sensitive)
Not that your .ipa's are in place, you can unmount the device, using Fuse:
Code:
fusermount -u mountpoint
In my case this would be
Code:
fusermount -u ~/pod
STEP 4:
Now, to do the actual installation, fire up Installous on your iDevice, tap "Downloads", and all your -ipa's should be there. Tap once to install.
ALTERNATE METHOD:
As I later found out, you can use Nautilus to direclty SSH into something. On your desktop, CTRL+L, then type
Code:
ssh:<yourdevice'sIP>
then login as root.
I never tested this method thoroughly, but it should work, and has the advantage of simplicity.
Presto!
Observation:
When you install apps using installous, Apple won't send you updates for them. This might come to be a problem. A little workaround I'd use is have iTunes installed in a Windows virtual machine, get your app updates from there, and install them on your device using Installous.
You don't need to uninstall the apps before updating, just do as before, and Installous should update them without further hassle.
Bookmarks