Installer 4 – Part II
Some days ago I brought you the news from the Rip-Dev team. They are still working on installer v4 and updated their blog with some new information. They will probably release a beta version tommorow but i’ll let you read the entry after the break.
As promised, I am continuing telling about the new Installer.
Previous Installer had another one major technical issue – it was using Property Lists (plist) files to store the database of available and installed packages. While this was very convenient for us (as programmers) as reading and writing to it required almost no effort, there was numerous complications caused by this design decision.
First, saving and loading property lists with the number of packages available across numerous repositories was long, simply because each property list file could get as large as 10-20 megabytes, and parsing that when Installer is starting up was not an instant operation. This problem was partially eliminated in Installer 3.1 and beyond when we have moved to binary format property list files from the plain XML – they take less space on disk and load and save faster.
Second, when the database with all available packages was loaded, it was kept in memory. The iPhone has strict rules about memory usage – so if you had too many sources or packages in the database, the Installer may have been closing due to not enough RAM conditions.
Third, searching through an array of, say, 1000 packages was slow – it had to run through all of them in memory one by one to find matches. Of course the ARM processor used in the device is fast, but either way that required time.
So Installer 4 uses sqlite database for all it’s stuff – which means indexing and searching is fast, the index is not loaded all in RAM and only accessed on demand. The startup is significantly faster because of that.
Next thing I am going to tell you tomorrow is how the packages itself have changed.
And to answer a common question, we’re getting there with the release – tomorrow the Installer may hit the private beta, depending on how well the work progresses.
\\ tags: installer 4, installer v4, jailbreak, rip-dev
July 14th, 2008 at 9:06 pm
nice i hope they keep up the good work, :grin:
July 14th, 2008 at 9:08 pm
nicely to read progress
July 14th, 2008 at 9:13 pm
I’m assuming Installer v4 is debuting on 2.0, right?
I’m sorry, but 1.x.x doesn’t make sense anymore, since public 2.0 jailbreaking method is due within a few days.
July 15th, 2008 at 3:17 am
I’ve actually been reading a lot on different sites/blogs that the 2.0 firmware is unstable, very buggy, and causes lots of random reboots and crashes. So even when a public jailbreak appears, I’ll probably be sticking to 1.1.4 until Apple fixes all those problems.
July 15th, 2008 at 11:26 am
2.0 not baggy)))
installer 4 will be released with 2.0 unlock……
and it’s really cool))))
July 15th, 2008 at 12:34 pm
for those staying on 1.1.4 will installer 4.0 work for us?
July 15th, 2008 at 4:34 pm
NO. Because Installer 4 will be made on a new API that does not suppoer 1.1.4 !