Did you accidentally delete Cydia? If yes, then using YaluFix is probably your best bet.
- Update – You can now download mach_portalfix.ipa for iPhone 7 and iPhone 7 plus. It will fix all Cydia related errors.
Cydia can get messed up due to a number of things. If you installed any bogus file from the internet, it can disable Cydia’s functionality.
If you are getting blank sources in Cydia. If you go into the Changes tab or go to a source, nothing shows up.
This can be very problematic and you might get a ton of errors upon opening like method HTTP has failed or has died unexpectedly.
This is a major error and it’s very complicated to fix it with SSH. This is where YaluFix comes into action.
Table of Contents
What is YaluFix?
YaluFix is a modified version of Yalu jailbreak. YaluFix IPA fixes all Cydia errors by reinstalling a fresh Cydia.
It works great in the following scenarios.
- If you’ve accidentally deleted Cydia or something went horribly wrong.
- You are getting a lot of errors such as DPKG Locked, blank repo/sources, HTTP has died unexpectedly.
- Cydia’s file system was corrupted.
However, as a side effect, if you use it on a working jailbreak, it will delete all of your tweaks. It’s a great solution for novice users who are not comfortable with command line/SSH.
So here’s a one-size-fits-all solution. This will reinstall Cydia and get everything working like normal.
This method is completely safe. It works but it may require multiple tries. Now onto the tutorial.
Note – As of now, YaluFix IPA file is incompatible with iPhone 7 and iPhone 7 Plus (mach_portal).
Keep the following things ready beforehand.
- An iOS device compatible with Yalu jailbreak
- A computer running Windows/Mac/Linux
- Download Cydia Impactor
- Download YaluFix IPA file (Mirror will be uploaded soon)
How to Reinstall Cydia and Fix all Cydia Errors with YaluFix IPA on iOS 10-10.2
Step 1 Connect your device to the computer. if iTunes starts, close it.
Step 2 Launch Cydia Impactor tool.
Step 3 Install YaluFix IPA file by dragging it over to Impactor. If you don’t know how to use Cydia Impactor, read this guide first.
Step 4 Login with your Apple ID and Impactor will sign the YaluFix IPA package. If Cydia Impactor throws errors, read this FAQ.
Step 5 Go to Settings > General on your device. Scroll down and open the Device Management section.
Step 6 Select Trust Profile option.
Step 7 Unplug your device from the computer.
Step 8 Hit the “go” button.
Step 9 Start Cydia application. It will now be up and running. All Cydia errors (DPKG Locked, blank sources) will now be fixed.
Step 10 Since YaluFix installs an older version of Cydia, you must upgrade it. If there’s any weird dependency, exit Cydia and launch it again and let it do its thing. You will now be able to upgrade Cydia without any hassle.
Step 11 The Installed tab is going to be blank even though you may have several tweaks installed already. To fix broken Cydia packages, search for the tweak, install it and then uninstall it. This will fix any broken libraries that got broken while reinstalling Cydia.
Step 12 Delete the YaluFix app you just installed.
Step 13 Jailbreak again with Yalu102 beta 7 using Cydia Impactor. Follow this tutorial to do it properly.
Were you able to fix all Cydia Errors?
Now that Cydia errors have been fixed, you can start installing your favorite tweaks. If “Changes” section is blank, go to Sources and refresh. You will need to manually add all Cydia repositories/sources except the default ones.
If you are still getting any error, post a comment below. I will be happy to help.
As always, don’t forget to give us a like on Facebook and Twitter.
Thanks, Bart Eichmann for yalujailbreak.net
I’m having trouble with 10.3.3 jailbreak using h3lix on my 32-bit iPad 4. when I load cydia and open the sources the list it’s completely empty, under all packages is blank. I’ve tried the refresh button under changes, it doesn’t add the list of tweaks under the sources. Can you help me? Thank you
Run “apt-get update” command (without quotes) in terminal.
I don’t have OpenSSH installed. I can’t add it because I’m unable to download it in the first place. Is there a way to side load OpenSSH? I need OpenSSH to use Terminal with the jailbroken iPad correct?
I was able to side load Mobile Terminal to my iPad, I’m in the directory “Ryans-iPad:~ mobiles$ apt-getupdate” it says command not found, I also tried as apt-get update” Do I have to navigate to a specific directory to do this?
The command is “apt-get update”, not apt-getupdate. Also, you must first log in as root. Type –
Ok, I downloaded the necessary debs and installed them via dpkg -i, I was able to successfully run apt-get update, it went through the cycle, however at the end it came back with “Some index files failed to download, they have been ignored, or old ones used instead.” and when I load up sources in cydia, bigboss modmyi are still blank…
Remove BigBoss and add it again from Cydia’s front page.
I tried to add BigBoss from the Cydia front page but it doesn’t appear my available options. Not too mention, whenever I click on any option on the cydia front page, it highlights it and doesn’t actually process the selection…
Will this Yalu Fix ipa fix my issue on my 32 bit device jail broken with h3lix? It looks as though Cydia wasn’t properly installed because Cydia Substrate & Mobile Substrate are not installed.
No, it’s specifically for devices using Yalu jailbreak.
Ok so, new info. I just re-jailbroke my iPod Touch 5th Gen with iOS 9 using Phoenix, when I go to access the sources, I’m having the SAME PROBLEM, it doesn’t even prompt me to do a “Complete Upgrade” or “Bare Minimum” update when I run Cydia for the first time like it normally would. The sources are empty, all they say is “All Packages” and that’s it. Is Cydia having any issues at this time? Is their server down? Please look into this for me, Thank you.
No, Cydia is working just fine. I just tested it on multiple devices. I am trying to figure out a fix and in the meantime, I would suggest downloading and installing tweaks using their Debian packages via Filza.
Thank you, it appears what’s happening is after adding a cydia repo, it gets to the end and just stays stuck on “Done: Packages” and doesn’t present a Return to Cydia button. After google searching this has been inquired for the last 6-7 years on forums but no solution has ever been presented other than hit the refresh button which has done nothing. Any idea what’s going on from that point?
I can add repos on my iPod touch 4th gen, it still doesn’t finish and present a return button at the end, but if I close cydia and re-open, it will be on the list and appears to populate the sources, but this doesn’t seem to be the same case on my iOS 9 iPod touch 5th gen or iPad 4. Can you confirm if you’re having the same problem when trying to add repos on yours? thank you
Can you confirm if you are still prompted to upgrade Cydia after initial install? It doesn’t prompt me to have the option for Essential upgrade or complete upgrade. therefore I am stuck using Cydia Installer 1.1.26 and I think I’m supposed to use 1.1.30 to resolve this issue. Please confirm, and sorry for the lengthyness of these replies, not sure how else to reach you.
Ok it appears to be working now. Saurik must have had his server down over the weekend cause it would not give me the ability to upgrade at all. I just upgraded and all the package source lists populated.
That’s great. Glad you got it fixed.
actually crazy thing, last reply btw. What appears to be happening is I have no problem when I connect my idevice to my phone’s hotspot for internet, but when I try to update cydia/add new sources with my device connected to my Cable Modem, that’s when it gets stuck and won’t complete install. Is my ISP blocking cydia?
Yes, that could be the case. Try using a VPN.
will this work on iphone 4 IOS 5.0? THANKS!
Of course not. It works only with iOS 10 devices.
Please Help me ios 10.1.1
I’m desperate, I’ve tried everything for days. I can not get any further, I do not want to lose my jailbreak. Vid of youtube internet forums did not help me. Cydia stash I can not rename. I do not have access to the var directory via ifunbox. Ifile goes. I deleted the orner dynamiclibraries with the whole tweak. I tried to install the patrched yalu and then the recipe 4. The same shit. :/
Are you not able to install this IPA file using Impactor?
Hi will this work on 11.3.1?
Hi Luca, I’m from Russia, I could not restore jailbreak for a week. There was a constant DPKG_LOCKED error. Today, with the help of your article, I solved my problem. Thank you very much !!!!!!
Thank you! Ive been battling for weeks trying to resolve my issue with one of my employees ipad, no cydia, tweaks or anything after yalu. I got as far as been able to run cydia via cydia:/ from safari, it will run but nothing will update or install DPKG LOCKED This fixed it. Thank you! Thank You!
Stuck with an old iPad 2 (ios 9.3.5) and in need of YaluFix for 9.3.5.
Would it be possible to download that?
There’s no such file for iOS 9.3.5 unfortunately.
Hi Luca, happy new year and thank you for your work !
However, I’m facing an issue : Cydia won’t open on my jailbroken iPad (IOS 10.2), it keeps crashing again and again, no matter what I try (jailbreak + yalufix)… Did you already face that problem ? Must I erase and manually reinstall Cydia ?
Thank you for your help !
Happy new year, Morgane and welcome. Yes, you can try doing that and then use yalufix. In my opinion, running Meridian jailbreak first and reinstalling Cydia would be a better option that erasing everything.
i made a fucking mistake i used it a 2nd time like this
i used it to fix cydia errors i did not delete yalufix
4days later phone rebooted i used yalufix again thinking it was normal one now all cydia tweaks are gone and shit like that now what?
Hello, Bailey. This IPA deletes an important file and maybe that’s what causing the issues. You will now need to restart the process.
TRy this – https://yalujailbreak.net/accidentally-deleted-cydia-ios-10/
Hi Luca. I can’t connect to iFunbox. It’s the same issue I have with iTunes. My iPad is recognised by windows, but not by iFunbox or iTunes. I do not get the ‘Trust This Computer’ message. I need to resolve this conitue with Codina etc. Thanks for your determination. 💪🏼™
Sorry for the late reply. AppSync is the culprit here and unfortunately, you won’t be able to do that until you remove the jailbreak and wipe your device completely.
Firstly hi, i’m a new member that has been following the site for some time, however this is the first time I have posted.
My issue is with Cydia Impactor hanging when trying to re-jailbreak with Yalu102.
I enter my apple id and password into impactor after dragging in the Yalu102 file (Beta 7) it then shows a green bar which fills but then hangs with the following message – IDMSWebAuth/clientDAW.cgi
No matter how long I wait it hangs at this point, im not sure how to sort this out, I have had the jailbreak working for some time, and rejailbroken the ipad air many times using the same procedure. however it no longer works for me.
Im unable to restore my Ipad as I do not have the SHSH blobs to stay on IOS 10.2.
I think this happened when I stupidly tried to install AppSync. silly me.
Also iTunes does not recognise my ipad, but it does recognise my other devices with same cable.
Any Ideas on how I can resolve my issue, it would be much appreciated.
Hello, John. First of all, welcome to the Yalu community.
Have you tried using Pgyer given here – https://yalujailbreak.net/safari-jailbreak-ios-10/ Try this and report back.
This error may have been caused by AppSync. Several users have reported that to me already.
Hi Luca, thanks for making me feel welcome and for replying so quickly. I tried those methods yesterday, however the app starts to download but hangs on the install on the home page. The wheel gets about 3/4 of the way round before it asks me if I want to retry.
I have the ghost app file on my home screen and cannot delete it.
I tried all 3 methods starting ayouche.me.
Any other ideas?
Thanks for the kind words. I recommend you try TuTuApp – https://yalujailbreak.net/download-tutuapp/
It has a download link for the jailbreak.
I also suggest you give this a read – https://yalujailbreak.net/cydia-impactor-not-detecting/
Many thanks for the further information. I have tried TuTu helper and I again have a ghost file, with no profile to click trust on, just A ghost app on my home screen, however I can delete it this time.
Just to give you a little more info on my steps so far.
My Ipad is not recognised in iTunes but does show up in impactor. all other devices are recognised in iTunes with no issues.
When I reset location and privacy settings my ipad shows up in iTunes asks to update firmware then I click trust device on my ipad, and once I click this it is not recognised in iTunes again, but does show in imp[actor and windows as a device.
I have updated my apple drivers, also reinstalled latest version of iTunes.
I have the latest version of impactor and Yalu102 Beta7, also tried Yalufix.
I restored my ipad by using the find my iPhone method to erase device whilst protecting my ios firmware version. again same issue.
Im totally stuck and unsure how to proceed? is there a way we can remove appsync as im sure this I what’s causing the issue.
Thanks for all your help as always,
I got you. You can still save your device. I suggest following this tutorial from the beginning.
Hi Luca you mean this page we’re chatting on. Of so then this does not work. I tried Yalufix again. Impactpr hangs at the green bar with this message – IDMSWebAuth/clientDAW.cgi
Is there a way to get iTunes to recognose my device again tried the drivers and reinstalling iTunes. It’s deinoflty recognitions in device manager and impact or but not iTunes.
Try revoking your certificates from the XCode tab.
Hi Brad. I tried this but still have the same issues.
I will get it fixed, don’t worry! Have you tried using another Apple ID?
Thanks for your patience and determination 👍🏻 I have another tried another Apple ID, I think the problem is to do with it not eing recognised in iTunes, I also do not get the ‘do you trust this computer’ message when I connect the cable as it normally should. I think if I could get it recognised then it will go through the process of JB. Is there anyway to remove app sync without using SSH? My iPhone is connecting fine with the same cable.
No problem. Give this a try – https://dallaslittle .github .io/jailbreak
Thanks so much for your help the Yalu app has now installed and trusted. When clicking again it states already jailbroken. Problem now is that I do not have Cydia installed. Is there a way to show/install it?Also can I remove app sync/clean my iPad so I can be back to the usual JB Yalu fix via impactor?
Thanks again really appreciate your help 👍🏻
I’m getting stuck at Installing IPA. I’ve tried it many times, still stuck. I deleted the old Yalu and I restarted my phone.
Hello, Brad. Are you using the latest versions of impactor?
Are you sure you are not going above the 3 app limit?
still error cant make backup line …… plus i cant upgrade cydia to latest
Hello, Rana. Can you please send me a screenshot?
Luca, a huge thank you is owed to you for all that you’ve put into this and other tools. Specifically, yalufix saved me from having to update my 6S+ on 10.1.1. My phone was stuck in a Springboard loop and unable to open any apps. Unfortunately, panicked and one of the first guides I found to fix it was erasing with iCloud. After that every suggestion I found to correct the Cydia error caused by DPKG Locked, failed (SSH, sideload iFile/MTerminal, etc). 3 days searching for a solution took me everywhere, until I came across a comment with an ipa file for a 7 that caused a different version of Cydia to load and cured other reader’s phones and led me to here. Yus!
Now that I am back into a functioning Cydia and all seeming well,my questions are about the best way to proceed. I mistakingly had previously installed Stashing, so I assume that everything is still “there”? The Installed folder in Cydia is empty, do I need to try and install every tweak again (and uninstall)? Should I run OSRestoreX? or C., none of the above and I should do?
Again, a sincere thank you providing tools/guides like this.
Hello, Max. That’s Luca Todesco you are talking about, I’m Luca R.
If you had Coolstar’s Stashing, I highly recommend you use SemiRestore 10 Lite (https://yalujailbreak.net/semirestore10-lite/) and then proceed to Step 11 of this guide.
Thanks I have been looking for a solution to my problem for over a year now and I finally found it.
That’s great, Josh! Glad it worked for you.
the app that “yalufix” signed onto my phone was identical to the yalu102 that was on my phone already. and it doesnt work.
Hello, Kyle. Yes yalufix is just a modified version of the origianl Yalu jailbreak. What error are you getting?
It won’t jailbreak. It will say “already jailbroken” while my phone stays in a non jailbroken state.
Try using other modified versions such as Yalublue or Yaluspace. Just use the search box given in the sidebar.
neither yalublue or yaluspace worked. cydia was the initial problem that lead me to yalufix (cydia crashing on startup). i tried both yalublue and yaluspace with the option to reinstall cydia and still no change.
Try reinstalling Cydia manually – https://yalujailbreak.net/accidentally-deleted-cydia-ios-10/
I’m unable to connect to ifunbox for the same reason I can’t connect to iTunes. Nightmare. My device doesn’t show up in iTunes and cannot connect to ifunbox. 🙁
it says “failed,retry” and when clicked on it,it forces a restart on the device!help!
i’ve been trying to get it fixed through the methods you specified in your post on how to fix this retry error but i was still unsuccessful..please help!!
Hello, Sammeer. Try this – https://yalujailbreak.net/yalu-failed-retry-error/
I told you i tried all of them!!i’ve trying it to get to work for 2 days now!pls do help!thanks for replying tho!!👍👍
Try using airplane mode.
Bro m telling u no?tried everything which was on the page…please do help!
Have you tried Yaluspace or Blueyalu?
No, I didn’t.what is it about?
They are modified versions of Yalu jailbreak that offer more features such as “Reinstall Cydia”.
Thank you for your response.i will try rhis and will tell you the result!!thank you again!i didnt think that you will help me to this extent!you the real mvp✌️️✌️️👍👍
Haha, thank you!! No problem, buddy. I try to help everyone to the best of my abilities. The problem is I can only provide limited support over the internet. To properly fix a problem, I need to get hold of the broken device first.
Try these versions and see if they fix your errors. Good luck and don’t forget to report back.
Bro niether of them worked..should i just update and restore my device and wait for an jailbreak for that version?
Could you please clarify why did you use this IPA?
To reinstall cydia..!
You can do that manually too. Follow this guide – https://yalujailbreak.net/accidentally-deleted-cydia-ios-10/
it says “failed,retry” and when clicked on it,it forces a restart on the device!help!
it really worked , thx alot
Hello, veadee. Glad it worked for you.
is there one for the iPhone 7 plus on 10.1.1 running mach portal?
OMG OMG THANK YOU THANK YOU. You saved my iphone. I got Cydia Back. Your the best.
Hello, kizmet. Glad it worked for you.
1. Backup your device and then follow this tutorial – https://yalujailbreak.net/cydia-not-installed-ios-10/
2. Install tweaks and then restore from backup.
Doesn’t work at all for me. I was linked here from reddit.
Here is my problem : https://www.reddit .com/r/jailbreak/comments/64bcib/question_stuck_with_cydia_and_can_not_install/
Hello, Rhett. Are you getting any error or this fix is installing but not working as it’s supposed to?
The fix makes no difference in the error messages I receive trying to download anything with Cydia.
Have you tried iCloud erase?
I just completed the iCloud erase. Cydia is still on there along with Anemone, and I’m going to try yalufix again.
Just followed the steps again. Did the iCloud thing, did yalufix.
Still receiving the “unable to make backup link of ‘./Applications/Cydia.app/Sections/Dictionaries.png’ before installing new version” and “Sub-process/usr/libexec/cydia/cydo returned an error code (1)” error.
Really starting to miss iOS 8.3.
I receive those errors while trying to do the Complete Upgrade, and Cydia just crashes.
Do you have iOS 9 blobs saved up?
I have no idea what that means.
Ok. So I am assuming you don’t have them. Have you tried yalu dark?
I read it, and it told me that there’s no difference between that and yalu102. Not sure how aesthetics would fix my issue.
But worth a try.
Yes, try it and report back. Good luck.
If you have them, you can go back to iOS 9 easily.
I see. But as stated before, I have no clue what that means. Nothing worked at all. Still having the same problem.
Ok. Did the above tutorial work for you?
Also, try using this – https://yalujailbreak.net/yalu-dark-absinthe/
If it makes it any easier, I posted this question with screenshots of the errors here : https://www.reddit .com/r/jailbreak/comments/64bcib/question_stuck_with_cydia_and_can_not_install/
Worked. Thanks !!
glad you got it working!
In the first attempt i worked
that’s great, Javier. Glad you got it working on your first attempt!
Thanks good contribution excellent
thanks a lot.
No, this is for iOS 10 only.
Holly smokes this works, Thanks I was stuck on error 2 for a long time
Glad you got it working, Mike.
Do I Have To Delete The Previous Yalu App??
Yes, you need to do that first.