Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

cage715

macrumors newbie
Original poster
Feb 9, 2010
20
0
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!
 
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!

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.
 
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!

I am VERY curious ....how exactly you "accidentally" deleted Cydia?
 
I tried jailbreakme.com again but i forgot i had installed hte PDF fix on my phone from cydia. lol =(
 
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.
 
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?
 
Since Cydia can't be deleted like a standard iPhone app, it's hard to imagine how this can be done accidentally.

Oh, just like some 'accidentally' upgrade to the beta of 4.1 yesterday. Trust me I know..
 
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.
 
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.
 
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.

Did you read this thread?
 
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?
 
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?
 
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?

This did it on my ip4

dpkg -r com.saurik.iphone.cve-2010-1797
 
damn, no luck with that either. This sucks.

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
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.