Repair Cydia scarlet letter flAbsPath on / var/lib/dpkg/status failed
After a jailbreak, erase all data, and then use doubleH3lix to break jailbreak successfully. When you open Cydia, you will get the following error:
FlAbsPath on / var/lib/dpkg/status failed-realpath (2: No such file or directory) Could not open file-open (2: No such file or directory) Problem opening
The solution is divided into seven steps, as follows:
(1) download CydiaImpactor, MobileTerminal.deb, Love Assistant, 7zip, winrar.
(2) use 7zip to open MobileTerminal.deb and click extract to extract the file.
(3) there is data.tar in the extracted file. After decompression, there is an Applications directory inside. After entering it, you will see MobileTerminal.app, create a new Payload directory, put MobileTerminal.app in the Payload directory, and then select Payload to package it into zip format and rename it to MobileTerminal.ipa.
(4) Open CydiaImpactor, drag MobileTerminal.ipa to CydiaImpactor, enter your Apple ID account and password, and install MobileTerminal on your phone.
(5) Open the love assistant and upload the prepared lib file to the books directory
(6) Open MobileTerminal on your phone and enter the following command, which will solve the problem.
Sualpinecp-R / var/mobile/Media/Books/lib / var
As shown in the following figure:
(7) since the DynamicLibraries directory is gone after erasing the data, you need to create a new one, otherwise some applications need to write DynamicLibraries and the installation fails. You can see that DynamicLibraries is actually a shortcut and points to / var/stash/_.CWM8Du/DynamicLibraries. Just create the new directory.
IPhone:/Library/MobileSubstrate root# ls-altotal 0drwxr-xr-x 4 root wheel 128 Mar 19 00:57. Drwxrwxr-x 21 root admin 672 Jan 14 16:38.. lrwxr-xr-x 1 root wheel 36 Jan 14 17:59 DynamicLibraries-> / var/stash/_.CWM8Du/DynamicLibrarieslrwxr-xr-x 1 root staff 79 Mar 19 00:57 MobileSubstrate.dylib-> / Library/Frameworks/CydiaSubstrate.framework/Libraries/SubstrateInjection.dylibiPhone:/Library/MobileSubstrate root#
Test model: iPhone6
System: iOS 10.3.3
Download related tools
MobileTerminal
Link: https://pan.baidu.com/s/10f4HDMv3OxQKNt3uZSRG6g password: rwvu
Lib.zip
Link: https://pan.baidu.com/s/1adz9onORQpuff_AEUQOlOQ password: f6ce
CydiaImpactor
Link: https://pan.baidu.com/s/1DlHTWMPVuCJHOU72dK-aIA password: u95k
Original address: https://www.exchen.net/%E8%B6%8A%E7%8B%B1%E5%90%8E%E6%8A%B9%E6%8E%89%E6%89%80%E6%9C%89%E5%86%85%E5%AE%B9%E4%BF%AE%E5%A4%8D-cydia.html