Oscar Mederos

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:

  1. Host the repository on your local web server and connect the iPhone through local WiFi/AP.
  2. Put the repository directly inside the iPhone filesystem so no WiFi is required.

Below is option 2, installing afc2add and Erica Utilities.

  1. Create a text file named Packages with 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.deb

    Make sure Size, MD5sum, and Filename match the real .deb files exactly.

  2. Compress that file to Packages.bz2.

  3. Open iTools or iFunBox and navigate to Downloads (or similar writable folder).

  4. Copy Packages.bz2, afc2add.deb, and erica.deb there.

  5. Open Cydia and go to Manage > Sources.

  6. Add this source URL:

    file:///var/mobile/Media/Downloads/

    Replace Downloads with your actual folder if different.

  7. Open the newly added source and install packages.

  8. Install Erica Utilities first, then afc2add.

  9. Reboot the phone if needed.

That’s it. No internet connection required (other than initially downloading the .deb files).