Here’s how to fix DPKG_LOCKED Cydia error on your iOS 10 or 10.2 jailbreak running jailbroken iPhone, iPad or iPod touch device.
The modern world of jailbreaking is certainly more exciting, and a lot more problematic, than it has ever been. And that’s not always a bad thing. However, when things go wrong, it can often put people in a position where they have little or no clue how to tackle the situation and simply end up restoring their device, such is the case when the DPKG_LOCKED error is received.
We’re here to tell you that it doesn’t always have to mean restore, and there is light at the end of the tunnel.
Step 1: In the first instance, you’re going to need to download the modified Yalu Dark IPA from GeoSn0w that comes complete with the integrated DPKG error fix. This can be grabbed immediately from the developer from his GitHub here.
Step 2: On the jailbroken device, make sure that you delete and remove all instances of the yalu102 or Yalu Dark app if they are already installed. You will then need to reboot your device so that it loads up into a non-jailbroken state.
Step 3: The next step is to actually get the modified Yalu Dark app onto the device. You can do that by using either of the two methods outlined below:
- Xcode: How To Sideload iOS Apps Without Jailbreak Using Xcode
- Cydia Impactor: Sideload iOS Apps On Windows, Mac With Cydia Impactor Without Jailbreak, Here’s How
Step 4: With the modified IPA on the device, you are now going to need to run it to allow it to work its magic, so to speak. If you are prompted that the developer of this app is untrusted and it doesn’t launch, simply head into Settings > General > Profiles & Device Management on the device. On some iOS versions, this option might be available at General > Profile(s) & Device Management or General > Device Management.
Step 5: Next, find the certificate relating to the recently installed app, tap on it, and then tap Trust and Trust again.
Step 6: Now, tap on the newly installed icon to launch. This will not only jailbreak the device, but also install Cydia with all of the necessary dependencies that Cydia needs to go about its business.
Step 7: Now, in Cydia, you’re going to need to install a file manager. This could be the very popular iFile, or the rising Filza option. You will need to use that file manager to get yourself into the root directory of the device’s file system. Once in there, you will need to delete the following files: .installed_yaluX and .installed_Yalux_Fix
Step 8: Back on the Home screen of the device, put the app icons into edit/wiggle mode and delete the newly installed Yalu Dark with DPKG fix app entirely.
Step 9: You will now need to sideload the yalu102 jailbreak IPA back onto the device using Cydia Impactor. This will put you back in a position where you can jailbreak the iPhone when/if a reboot takes place. You can download yalu102 from here.
You might also like to check out:
- iOS 10.3.1 Release Notes / Changelog: Here’s What Has Changed
- How To Downgrade iOS 10.3.1 / 10.3 On iPhone Or iPad
- Download iOS 10.3.1 / 10.3 Final IPSW Links For iPhone And iPad
- Jailbreak iOS 10.3.1 / 10.3 / 10.2.1 For iPhone And iPad [Latest Status Update]