How to install afc2add and other packages without WiFi connection
Build a local Cydia repository so you can install afc2add and dependencies without connecting your phone to WiFi.
In my last post, I explained how to jailbreak iOS 7.x offline.
After jailbreak, your phone may not appear as fully jailbroken in tools like iTools or iFunBox. You usually need to install afc2add, but at this point you still cannot do that through the typical local methods.
The workaround is creating a local Cydia repository with the required packages and adding that repository on your iPhone.
You have two options:
- Host the repository on your local web server and connect the iPhone through local WiFi/AP.
- Put the repository directly inside the iPhone filesystem so no WiFi is required.
Below is option 2, installing afc2add and Erica Utilities.
-
Create a text file named
Packageswith entries like:Package: us.scw.afctwoadd Name: afc2add Version: 1.01 Architecture: iphoneos-arm Description: Package to add afc2 service for USB browsing of filesystem. Section: System Size: 1136 MD5sum: 624641d8ce8ee0c4035faf1997bf5df6 Filename: afc2add.deb Package: com.ericasadun.utilities Name: Erica Utilities Version: 1:0.4.2 Architecture: iphoneos-arm Description: A collection of command-line utilities for various purposes. Section: Utilities Size: 55410 MD5sum: 89a3bb9791c2deee6f530773089ee43d Filename: erica.debMake sure
Size,MD5sum, andFilenamematch the real.debfiles exactly. -
Compress that file to
Packages.bz2. -
Open iTools or iFunBox and navigate to
Downloads(or similar writable folder). -
Copy
Packages.bz2,afc2add.deb, anderica.debthere. -
Open Cydia and go to Manage > Sources.
-
Add this source URL:
file:///var/mobile/Media/Downloads/Replace
Downloadswith your actual folder if different. -
Open the newly added source and install packages.
-
Install
Erica Utilitiesfirst, thenafc2add. -
Reboot the phone if needed.
That’s it. No internet connection required (other than initially downloading the .deb files).