Saurik explains why Cydia must reload packages every time it’s opened

By , Feb 28, 2012

Have you ever wondered why Cydia has to perform the ‘loading packages’ step every time you open it up? Well reddit user indochris609 did, and decided to take his question to the reddit jailbreak forum.

Dozens of users responded to the query, including Cydia’s creator, Saurik. And as usual, the hacker/developer’s explanation of the topic at hand is both interesting and informative…

“So, the “Reloading Data” step is something that can be made faster (and often is: new releases of Cydia often improve the performance of Reloading Data, and it is drastically improved when Apple releases new devices; on the new A5 CPU that step is almost pleasant).

However, the part where it is downloading packages from third party servers is a different story: Cydia, unlike the App Store (or almost any similar service), stores the entire package catalog locally. This is why it can (quite quickly, in fact) render an insanely long table with all packages in it that you can just fling your way through, while the App Store shows you 25 packages at a time with a slow “load more” button.

However, this means that it actually has to keep packages locally, and has to keep their records up to date. From a “cold start”, downloading the package catalog is something like three megabytes, compressed (totaled from BigBoss, ModMyi, and ZodTTD).”

Saurik goes on to explain that Cydia must download the package catalog on every load to ensure that users will automatically see all of the latest uploaded packages and updates. There is, however, a 15 minute window after Cydia performs this task where it won’t automatically download the catalog upon launch.

Saurik’s entire response to the aforementioned question is worth reading if you have the time. It’ll remind you why he’s one of the most recognized figures in the jailbreak community, and why Cydia is still the number one store for jailbreakers.

  • Share:
  • Follow:
  • waleed LA

    mine stays on downloading packages forever … last night it went on for like 15 mins and then i had to cancel it :(
    is there any way to fix it?

    • Puneet Jaswal

      Maybe an conflict with your existing tweaks or the one of your source site is down / heavy traffic … etc.

    • http://www.facebook.com/jacer.lee Jacer Lee

      u will need to trial and error by removing the corrupted sources using ifile, or it could be your bad connections, or you can restoring if these are too much hassle to you

    • Anonymous

      Try removing sources you don’t use or that come up with errors. This happened to me on my 3GS (when i first started jailbreaking), and now I only have about 15 source repos that don’t take long to reload at all.

      • http://www.facebook.com/dimitrios.pandioras Dimitrios Pandioras

        15??? Any good ones you can recommend? I only have 4 lol

    • David Villamizar

      Delete some sources

    • http://adam.hbang.ws/ Adam D

      Which sources do you have installed? I find it’s best to stick to the stock ones and maybe a few beta repos.

      Ad@m

  • Anonymous

    An ‘apt-get update’ command via SSH or MobileTerminal runs much faster than Cydia’s update process. I prefer to update the package lists like that.

  • http://twitter.com/bshelton68 Brent Shelton

    If you want to see new packages in Cydia, you need to wait.

    It is annoying. But it is what it is. Not too aggravating on the 4S now.

    • http://twitter.com/vantheman169 vantheman420

      I have found if I do not let Cydia download the packages everytime when into to install a tweak or an app from Cydia it will error out, everytime. So I let Cydia do it’s thing then I download and I have zero problems.

    • Anonymous

      yes the 4s is 50% faster than 4 and it feels better at everything.. i want a cheap used 4s to hold me till the 5 comes out.. but they are all $500 or more online

  • Usama Shafiq

    Yeah they bought an amazing store like the Rock App just to kill it. I was hoping to see some good features like refereshing respositories from Rock App into Cydia. But they don’t bother to implement it.

  • http://twitter.com/vantheman169 vantheman420

    I know right. I miss Rock. When Saurik first bought it he said it was taking dangerous shortcuts…..but I liked this shortcuts lol

  • Kok Hean

    It’s funny how I already knew about this by browsing through the file system ._.

  • Anonymous

    There has to be a better way though….. i use back grounder and leave cydia on alot to avoid the loading BS..

  • http://twitter.com/Asad_1nfam0us ᗩsad ᔕhahab (Wild ᗩ)

    I read about Saurik and people dont like him lol cuz he ruined the Rock store..? Or something

  • http://www.facebook.com/people/Carlos-de-Leon/100000545472444 Carlos de Leon

    thats bs he but Rock App bcuz he coulndont do what RA did
    load fast en w/o that eternal refresh

    • http://adam.hbang.ws/ Adam D

      According to saurik when he bought rock, it made a few bad shortcuts when it was reloading data that could require a restore if they go wrong.

      Ad@m

      • http://www.facebook.com/profile.php?id=1649839720 Raul Henriquez

        BS Cydia is the only thing that has ever caused that. Rock was solid : )

  • http://www.facebook.com/people/Carlos-de-Leon/100000545472444 Carlos de Leon

    thats all we want is rockapp back

  • http://www.facebook.com/people/Francesco-Murru/581386943 Francesco Murru

    I use NoCyfresh and my Cydia opens in 3 seconds…..then once a week I put it off with SBSettings toggle and I open Cydia in a normal way to make the updates arriving into my device…. and voila’ problem solved….so easy!!!

    • innomen

      Except now that’s not allowed because the latest version deletes older versions.

      I don’t want my damn hand held, by Apple or Cydia. Let me break my own damn phone.

      This trend is disgusting. I feel like I’m being scolded by a grade school hall monitor more and more online.

  • http://www.facebook.com/people/Francesco-Murru/581386943 Francesco Murru

    C’mon Jeff lets gives to the beginners some advices….I just put some sources ….what’s the problem?

  • http://www.facebook.com/people/Francesco-Murru/581386943 Francesco Murru

    STOP ACTA in all WAYS !!

  • http://www.facebook.com/people/Francesco-Murru/581386943 Francesco Murru

    I just put the names of the sources which are 100% safe and this is a bonus to the jailbbreak community….you know what I’m talking about

  • http://www.facebook.com/people/Francesco-Murru/581386943 Francesco Murru

    iHacks..@ithemes..@hacku..@hackyour,,,,@insan..@sinfu…@ …..no more

    • Anonymous

      It’s called “Spam” and “Illegal Sources”. -_-

      • Anonymous

        What are you talking about???????

  • Emad Hikmat Zuraiqat

    i have an Iphone 3gs running on 6.0.1 , it downloads the packages each time i open it , but fast , just wondered why download each time and i just found out why ! seams very normal and convincing to mee