accidentally deleted cydia

Discussion in 'Jailbreaks and iOS Hacks' started by cage715, Aug 27, 2010.

  1. cage715 macrumors newbie

    Joined:
    Feb 9, 2010
    #1
    Hello, i accidentally deleted cydia. I have an iphone 4 and i have SSH installed as well as ifile and mterminal. Any idea how i can get my precious cydia back =(, thanks!
     
  2. Corndog5595 macrumors 65816

    Joined:
    Jul 16, 2010
    #2
    just go to jailbreakme.com and rejailbreak (it will just install cydia again)
     
  3. nora47 macrumors regular

    Joined:
    Apr 20, 2010
    #3
    your best option really is to back up and restore and rejailbreak, just in case something goes awry. But i have not used jailbreakme so i am not sure, this is is recommended when using redsn0w or pwnagetool or other tools.
     
  4. maturola macrumors 68040

    maturola

    Joined:
    Oct 29, 2007
    Location:
    Atlanta, GA
    #4
    I am VERY curious ....how exactly you "accidentally" deleted Cydia?
     
  5. cage715 thread starter macrumors newbie

    Joined:
    Feb 9, 2010
    #5
    I tried jailbreakme.com again but i forgot i had installed hte PDF fix on my phone from cydia. lol =(
     
  6. Mystikal macrumors 68020

    Mystikal

    Joined:
    Oct 4, 2007
    Location:
    Irvine, CA
    #6
    Well you COULD:
    find the mobileterminal.app from the xsellize repo
    SSH it into your applications folder
    run it
    "su root" then type in your password
    "apt-get install" (run that command)
    "apt-get update"(also run that command)

    Then Cydia SHOULD be there.
     
  7. cage715 thread starter macrumors newbie

    Joined:
    Feb 9, 2010
  8. maturola macrumors 68040

    maturola

    Joined:
    Oct 29, 2007
    Location:
    Atlanta, GA
    #8
    Try apt-get Install Cydia

    *Reboot after
     
  9. cage715 thread starter macrumors newbie

    Joined:
    Feb 9, 2010
    #9
    Nope that command didn't seem to work properly; still no luck =[ any way i can delete the PDF fix from cydia and then try jailbreak me.com again?
     
  10. ulbador macrumors 68000

    ulbador

    Joined:
    Feb 11, 2010
    #10
    Case matters:

    apt-get install cydia
     
  11. MikePA macrumors 68020

    MikePA

    Joined:
    Aug 17, 2008
    #11
    I'm interested in the answer to this question as well.
     
  12. TMar macrumors 68000

    TMar

    Joined:
    Jul 20, 2008
    Location:
    Ky
    #12
    As was I. Yet he seems to be avoiding that like the plague.
     
  13. MikePA macrumors 68020

    MikePA

    Joined:
    Aug 17, 2008
    #13
    Since Cydia can't be deleted like a standard iPhone app, it's hard to imagine how this can be done accidentally.
     
  14. TMar macrumors 68000

    TMar

    Joined:
    Jul 20, 2008
    Location:
    Ky
    #14
    Oh, just like some 'accidentally' upgrade to the beta of 4.1 yesterday. Trust me I know..
     
  15. murdercitydevil macrumors 68000

    murdercitydevil

    Joined:
    Feb 23, 2010
    Location:
    california
    #15
    The only ways that I know of are manually through SSH or by using CyDelete, but that app forces you to uncheck an option protecting cydia, so that wouldn't really be an accident.
     
  16. Applejuiced macrumors Westmere

    Applejuiced

    Joined:
    Apr 16, 2008
    Location:
    At the iPhone hacks section.
    #16
    Lol:)
    I was just gonna say that too.
     
  17. -aggie- macrumors P6

    -aggie-

    Joined:
    Jun 19, 2009
    Location:
    Where bunnies are welcome.
    #17
    This happens all the time. :rolleyes::)
     
  18. gottafly macrumors regular

    Joined:
    Aug 26, 2008
    #18
    My son just did the same thing.

    He was deleting apps from within Cydia and it crashed. After restarting, Cydia is no longer on his iphone4.

    Any ideas or fixes? JB apps are still on his phone. Weird.
     
  19. IBradMac macrumors 68000

    IBradMac

    Joined:
    Jun 27, 2008
    Location:
    Ohio
    #19
    Did you read this thread?
     
  20. gottafly macrumors regular

    Joined:
    Aug 26, 2008
    #20
    I have read the thread, but it offers three totally different methods with no confirmation that one is right and the others wrong.

    1. "just go to jailbreakme.com and rejailbreak (it will just install cydia again)" seems easiest but not sure if it is detrimental.

    2. "your best option really is to back up and restore and rejailbreak, just in case something goes awry.". Also would seem easy, but conflicts with the third recommendation.

    3. "SSH" and command line prompts but I am unfamiliar with SSH'ing on running commands on terminal etc. If he doesn't have Cydia any longer, how does one acess and use these methods?
     
  21. cage715 thread starter macrumors newbie

    Joined:
    Feb 9, 2010
    #21
    I want to try jailrbeakme.com again, but i need to find a way to manually delete the pdf fix with SSH, anyone able to help with that?
     
  22. ulbador macrumors 68000

    ulbador

    Joined:
    Feb 11, 2010
    #22
    This did it on my ip4

    dpkg -r com.saurik.iphone.cve-2010-1797
     
  23. cage715 thread starter macrumors newbie

    Joined:
    Feb 9, 2010
  24. ulbador macrumors 68000

    ulbador

    Joined:
    Feb 11, 2010
    #24
    Ha, are you even on a previously jailbroken iPhone? Are you actually logging in as the "root" user via ssh? It's not rocket science, but then again you did manage to somehow uninstall Cydia.

    This will install Cydia if it's not already:
    apt-get install cydia

    Type this,
    dpkg --get-selections | grep saurik

    it will display something like:
    com.saurik.iphone.cve-2010-1797 install

    The one with the cve in it is the package to uninstall for the PDF fix:

    Uninstall it with dpkg
    dpkg -r com.saurik.iphone.cve-2010-1797
     
  25. Applejuiced macrumors Westmere

    Applejuiced

    Joined:
    Apr 16, 2008
    Location:
    At the iPhone hacks section.
    #25
    It would be alot easier and with less problems if you just restore and jailbreak again IMO.
     

Share This Page