iPad 2 Jailbreak Update! Comex Working On Reducing Jailbreak Installation Time For iPad 2
For those who are dying to just get a glimpse of some sort of iPad 2 jailbreak update, then here’s one: Comex is working on a method which will drastically improve the installation time of the jailbreak and will also implement it in the upcoming iPad 2 jailbreak too.
Comex has explained the whole process in very much detail which appears to be the world’s longest tweet on the planet, jokes aside, here it is:
If you don’t know, the stashing approach jailbreaks have been using for years– Cydia’s “Reorganizing Filesystem”– involves moving some large directories from the small / partition into the large /var partition, then creating symlinks from the original to the new location. This both ensures that any additional stuff put in those directories by packages will end up in the /var partition, and frees up space on the / partition for files created outside of those directories. However, the process has some issues, like taking forever to do when you jailbreak (I am a bit fanatical about speed), pretty much requiring the jailbreak to reboot the system to ensure there aren’t any running applications pointing to the old files (ditto about speed, I want a jailbreak to not even require a respring, as in star, but since star used stashing, some obscure things could cause issues before a reboot), and seriously confusing the sandbox code in the kernel (because each application has a sandbox with a list of allowed filenames, but after the symlink has moved files, the filenames no longer match), requiring that code to be patched (it needs to be patched anyway these days because tweaks have to run under the sandboxes of the applications they’re hooking, but depend on accessing various directories; but it still feels good to get rid of a kludge).
With unionfs (which was saurik’s idea originally), new files are created in the /var partition, and merged with files in the corresponding directories in the / partition, so no files need to be moved, no descriptors are invalidated, and I think the sandbox code won’t notice what happened. It also opens the door for upgrading the base operating system without destroying the jailbreak files (although maybe iOS 5 delta updates will already allow this? I haven’t looked at them yet).
I’ve wanted to do this since literally a year ago (that’s the date of the nullfs checkin, since I was dumb and thought I wanted that instead of unionfs), but I never got around to making it work properly.
So, I just hope that I can get rid of the crashes my meddling with unionfs’s code have introduced, and fix it for the iPad 2 (my dumped copies of iPad 2 kernels do not include symbols; I wrote a small BinDiff-like tool to copy over symbols from a kernel for another device, but it’s not perfect) and that there aren’t any performance issues.
We’re expecting to see the iPad 2 jailbreak in the form of JailbreakMe 3.0 (being developed by Comex) and Chronic (the head of the Chronic Dev Team) teased about a few days back, and will be based on a PDF exploit, and we’re certain that the new method of jailbreaking the iPad 2 at a lightning fast speed will be implemented in it. More updates as they come, stay tuned! [via BlogsDNA]
Follow the author of this post on Twitter by clicking this link.