
Originally Posted by
BigBoss
There are numerous threads now with people having problems with installer. The most common cause of the problem is that people have used up all the disk space. Most people don't realize that the iPhone has two hard disk partitions. So deleting music, having 7gb free for music has nothing to do with how much disk space you have to install applications.
To help solve this issue, I have stripped the undeveloped features from BossTool and sent v0.34 off to MMi to host. This tool will allow you to move your Applications, Ringtones, and Wallpaper from the smaller disk to the bigger disk partition. There should be *no* ill side effects from this move. Everything will work the same before and after assuming all went well. The tool also make sure your fstab has noexec properly removed from the larger partition so the move of applications will work. Many of the manual methods posted leave out this crucial step.
I have also removed a lot of the dependency files in the app to make it as small as possible. It now requires only a few kb so hopefully you can free up enough disk space to install it if you are already in trouble.
I suggest everyone, especially 1.1.1 and 1.1.2 users moves their applications before they run into problems. A clean 1.1.1 install only gives about 50mb for apps. 1.0.2 gave about 130mb. So there is not much free space.
To use bosstool, just load the app, go the the disk space screen, and you can see your free space on both partitions. The tool currently does not check that the larger partition has enough free space. Make sure you have at least 100 mb free on the big partition before moving apps! If not, you can delete some music, photos etc to get there. Now, before you move apps, move something like wallpaper or ringtones first. Make sure that the free disk space increased. If it did not, don't move apps. Something is not working on your phone. If it did, (which it should for everyone), then move the applications next.
It is always a good idea to have open SSH installed prior to doing anything like this. That way if anything goes wrong you have a way into your phone to fix it without having to restore. This app does move system files. In doing this, there is always a risk that something can go wrong. So be prepared.
If you are already into a situation where you cannot install anything without installer crashing (just going to springboard without completing install), then you probably need to free disk space before you can even install bosstool and fix the problem. If installer will load, load it and uninstall a few things. Install bosstool, move the apps, then reinstall the things you uninstalled back on afterwards.
If you are totally out of disk space and installer won't even load to uninstall stuff, you may need to manually delete something. If you have openssh, termvt100, or mobile finder installed, you can do this. Just remote in or load finder, and wipe out your most unused third party app in /Applications. You can uninstall or reinstall it later after you solve the problem. After this, installer should be healthy enough to refresh sources and allow you to uninstall some stuff. Uninstall a couple things to be safe then install bosstool and move your applications.
If you have any questions or concerns feel free to contact me. Remember, I only do this to help you people. If you're worried that the tool will mess up your phone or plan to send me hate mail over it, just move on..
Common questions:
1) After doing this, will I need to redo it for future apps? No. It is a one-time deal. Once this is done you never need to do it again. All future apps install to the new location.
2) I freed disk space but I still have only 50mb free. Why not 300mb? This is because the operating system requires disk space, too. That extra space is being used by the OS that runs your phone.
3) Is this method compatible with application {insert app name here}? Yes, this is an OS level change. All applications are accessed from /Applications. The path /Applications still works and no application will even know its been changed.
4) I want to undo the move, what do I do? I don't recommend undoing the change. I do this move to all my phones when I first set them up even before installing apps. But if you do anyway, here you go. SSH into the phone, remove /Applications and then move /var/Applications back to /. Here are the commands:
rm -f /Applications
cp -r /var/Applications /Applications
rm -rf /var/Applications
Remember you will need BSD subsystem installed for this to work *and* enough free space on your hard drive to hold the apps.
Questions