A lot of users are unable to use their device with unofficial tools. To do this, you must install Apple File Conduit 2 fist. Here’s how to do it.
Table of Contents
What is Apple File Conduit 2?
Apple File Conduit (AFC) is the “link” between applications such as iTunes and your iOS device. It allows these programs to read and write files from your device through a USB connection.
However, it doesn’t grant complete access. It only allows access to media files like photos, music, official App Store applications data.
This is where Saurik’s Apple File Conduit 2 comes in. It creates a new “link” called AFC2 that grants complete access to the filesystem.
If you are using a device management tool, it might require AFC2 to work.
Why do I need Apple File Conduit 2 for iOS 10?
Jailbreak tools no longer come bundled with AFC extensions. It is required for programs such as iFunbox, DiskAid, and AnyTrans. So if you want to use any of these programs, you should install the AppleFile Conduit “2” Debian package from Cydia.
It is also useful in case you need to manually remove tweak files.
Apple File Conduit 2 is recommended for users that really use this functionality. If you think you are good without it, there’s no need to install it.
Now on to the tutorial.
APPLE FILE CONDUIT 2 COMPATIBLE DEVICES
IPHONE
- iPhone 5S
- iPhone 6
- iPhone 6 Plus
- iPhone SE
- iPhone 6S
- iPhone 6S Plus
- iPhone 7
- iPhone 7 Plus
IPAD
- iPad Pro (12.9 inches)
- iPad Pro (9.7 inches)
- iPad Air
- iPad Air 2
- iPad Mini 2
- iPad Mini 3
- iPad Mini 4
IPOD
- iPod touch 6
How to Install Apple File Conduit 2 on iOS 10/10.1.1/10.2
Step 1 Launch Cydia application.
Step 2 Search for Apple File Conduit “2” debian package.
Step 3 Install Apple File Conduit “2”.
Step 4 (This step is optional) To use Apple File Conduit 2, you must reinstall it each time you reboot your device. This happens because the daemon doesn’t start automatically. This is where AFC 2 iOS 10 fix comes in. It fixes this issue and you will no longer need to reinstall it after rebooting. To install it, add this repo https://apt.enduniverse.com/cydia/
Step 5 Install AFC 2 iOS 10 fix.
Step 6 Reboot your device.
Now you can easily use programs such as iFunBox with your device. Don’t run iFunBox unless your iOS device is connected to the computer.
If this method doesn’t work on your iPhone 7 or iPhone 7 plus, here’s what you need to do.
How to Install Apple File Conduit 2 on iPhone 7/7 Plus on iOS 10.1.1
Step 1 Open Cydia and search for afc2add.
Step 2 Exit from Cydia, start it once again and install Apple File Conduit “2”. Once you install this package, afc2add will get deleted automatically.
Step 3 Install AFC 2 iOS 10 fix as given above.
Step 5 Reboot your device.
It should work now. If it still doesn’t work, restart your device and run mach_portal application.
If you get the “size mismatch” or Cydo code (1) error, refresh your sources.
Remember, it might not work every time due to a bug present in Yalu jailbreak and backboardd daemon. Once Yalu jailbreak comes out of beta, AFC 2 should work as usual.
If you are still facing any errors, don’t hesitate to leave a comment below.
I want to 10.2 iOS download
Hi! I entered in the new repo but Cydia says did not find repository. What should I do. I am new to this.
Which repo did you add?
Hi Luca
Re https://yalujailbreak.net/team-vexation-repo/ Cydia cannot Find Repo. Any thoughts? Thanks
Hello, Gordon. Try adding it again, it’s up now.
Step 3 Install AFC 2 iOS 10 fix as given above.
where to get this? this is no longer available at https://apt.enduniverse.com/cydia/
Hello, Geoff. Here’s the new repo – https://yalujailbreak.net/team-vexation-repo/
Thanks for the quick response.. 🙂
hi @YaluJailbreak:disqus i have done every single step but still ifunbox has not detected my iphone being in a Jailbroken state? What can I do?
What are you trying to accomplish with iFunBox?
i want to do USB Tunnel and share my LAN connection via USB SSH.
Background about my iphone. its an iphone 6s wand was originally jailbroken ever since Yalu came out. However due to tweaks compatibility my device was sent to a bootloop. Unfortunately i don’t have any idea to what caused the bootloop so i decided to do “OSRestoreXTerm” which wiped out my entire device (geez i have no backup. stupid me). So i re-jailbreak my device once again with BlueYalu (https://loftynine7.github.i…. I have been dding through the internet and have not found any solution to mine. Please help. Thanks! 🙂
Try the method for iPhone 7 given above.
Still no luck.. its still showing as (Jailed) on ifunbox.. 🙁
Try rebooting your PC.
Done.. Still detecting it as (Jailed). I have also removed and reinstalled ifunbox but still, similar results..
Make sure the “Emulate Jailed Device” option is turned off. Try reinstalling after each reboot.
Presto.. That solves it.. Sorry for getting to you back late. But that solves it all.. THANK YOU SO MUCH!!! Your an iOS GOD!!!
So glad to hear that. iOS God, LOL! Just been dealing with iOS since 2009 so needless to say I have quite a bit of experience with all things jailbreak 😉
Luca!
You have been a saint!
Yes, I have installed the modified mach_portal IPA countless times! It didn’t seem to make any difference; I have also run the MTerminal CydiaSubstrate “fix” command countless times.
I finally took the plunge and used iFile to install the Cydia “firmware-sbin_0-1” file. (It turned out to be a reinstall). Once I did that, Cydia had no problems with any updates. It seems quite happy; I still have not installed any tweaks.
But after three days (!) of this whirlwind, I still cannot install Apple File Conduit “2”; I still get the same error:
subprocess new extra-installation script returned error exit status 1
Now that Cydia is healthy again, I will start all over again tomorrow afternoon, assuming there is enough sunlight to recharge my battery bank (I am a monk, camped out in the wilderness of Utah, US, after a bad hiking accident–or so I’m told 🙂 .)
This has been a rough ride!
Thank you!!
That’s great, Richard! Glad you got it working. Try again and see how it goes. Be sure to report back. Good luck.
Please feel free to ask many questions as you want to. I will be happy to help.
Best.
Luca!
You have been a saint!
Yes, I have installed the modified mach_portal IPA countless times! It didn’t seem to make any difference; I have also run the MTerminal CydiaSubstrate “fix” command countless times.
I finally took the plunge and used iFile to install the Cydia firmware-sbin_0-1 file. (It turned out to. e a reinstall). Once I did that, Cydia had no problems with any updates. It seems quite happy; I still have not installed any tweaks.
But after three days (!) of this whirlwind, I still cannot install Apple File Conduit “2”; I still get the same error:
subprocess new extra-installation script returned error exit status 1
Now that Cydia is healthy again, I will start all over again tomorrow afternoon, assuming there is enough sunlight to recharge my battery bank (I am a monk, camped out in the wilderness of Utah, United States of America.)
This has been a rough ride!
Thank you!!
Greetings, folks!
Thanks for such an invaluable site!!
I have been trying for hours to get Cydia to install Apple File Conduit “2”, but keep getting errors. Any advice would be appreciated. Here’s the log:
Downloading Apple File Conduit “2”
Done: Apple File Conduit “2”
Running Debian Packager
(Reading database 4430 files and directories currently installed.)
Removing us.scw.afctwoadd (1.01) …
Removing afc2add (iphoneos-arm)
Preparing for removal of afc2add (iphoneos-arm)
CoreFoundation = 1348.000000
Could not match CoreFoundation = 1348.000000
Error: File not found at path /System/Library/Lockdown/Services.plist
Removing afc2add (iphoneos-arm)
Removed afc2add (iphoneos-arm)
Running Debian Packager
Preparing to unpack …/com.saurik.afc2d_1.2_iphoneos-arm.deb …
Installing Apple File Conduit “2” (iphoneos-arm)
Unpacking com.saurik.afc2d (1.2)
Preparing Apple File Conduit “2” (iphoneos-arm)
downloading afcd…
error: [response statusCode] !=206
dpkg: error processing archive
/var/mobile/Library/Caches/com.saurik.Cydia/archives/com.saurik.afc2d_1.2_iphoneos-arm.deb (–unpack):
subprocess new extra-installation script returned error exit status 1
subprocess new extra-installation script returned error exit status 1
Errors were encountered while processing:
/var/mobile/Library/Caches/com.saurik.Cydia/archives/com.saurik.afc2d_1.2_iphoneos-arm.deb
Sub-process /usr/libexec/cydia/cydo returned an error code (1)
Hello, Richard. Have you tried refreshing your sources?
Yes, Luca, repeatedly,; thank you for your response. I carefully followed your instructions, including refreshing my Cydia sources! Thoughts?
P. S.: iPhone 7 Plus, iOS 10.1.1
Hey Richard, are you getting this error with other tweaks as well?
No, Luca. All other tweaks seem fine; I can send the (small) list if that would help. (I am using MTerminal to fix the Substrate.)
Do you have Coolstar’s Stashing installed?
No.
?
I think Cydia’s filesystem must be corrupted. I suggest you use the modified mach_portal to fix it – https://yalujailbreak.net/mach-portal-not-installing-cydia/
Wow. Wow. Wow.
I used to have a working jailbreak . . .
It was great . . .
Cydia Impactor (0.9.41 ) wouldn’t copy the modified mach_portal over, so I deleted the original mach_portal, thinking there might be a conflict with two apps on the iPhone at the same time.
BAD MOVE
Now Cydia Impactor won’t copy either .ips file over.
All I get is the dbox asking for my password, and then a dbox saying “your password is only sent to Apple”
Then _nothing_ happens
It worked perfectly the first time I tried a few days ago.
How can I get the original mach_portal back onto my iPhone??
Was the modified mach_portal not sideloading with Impactor?
Can you use SemiRestore10 Lite?
If not, then use this tutorial – https://yalujailbreak.net/accidentally-deleted-cydia-ios-10/. This will repair your Cydia.
Getting the error (in iFile):
dpkg: dependency problems prevent configuration of cydia:
cydia depends on dpkg (>= 1.18); however:
Version of dpkg on system is 1.14.25-10.
I haven’t found a site where I can download a latest version of dpkg
Sorry for the bother, and thank you!
No problem. Please feel free to ask as many questions as you want to. Please try using SemiRestore.
🙂
Well, not quite to bed yet!
I followed your link using SSH, and Cydia 1.1.28 b14 is now on my iPhone 7+!
> Please try using SemiRestore
I did!
Cydia still wants UIKit Tools >=1.1.4.
When I try to install UIKit Tools 1.1.12, Cydia refuses with:
Depends firmware <8.3
Depends Patcyh
?
Thank you!
Try OSRestoreX now. It will clean all jailbreak+user data though. Your device will be restored to stock while still staying on the same iOS. Follow this tutorial – https://yalujailbreak.net/osrestorex/
You can then re-jailbreak your device easily with Impactor and mach_portal after that.
Thanks, Luca, but OSRestoreX’s page now states:
Update (March 31) – Refrain from using this tool for the time being. Any stock application that has been modified by a Cydia tweak will be removed by the tweak. Wait for an update.
All I really need to do is to install UIKit Tools 1.1.12. Is there _any_ shell script I can run? Many of the other updates run in MTerminal just fine.
Since you have already used SemiRestore by CoolStar, you can use OSRestoreX now. Try it and report back.
Grrr. My reply had a link in it, and seems to have been wiped, I trust you got it!
Bless you!
Hello, Richard. Yes, I have read your question. The best way to fix these errors is by installing modified mach_portal IPA. May I ask why aren’t you able to install it?
I installed Order 66 Substrate Fix for Yalub3 and Cydia is no longer on the iPhone and the two mack–portals do not bring it back.
Going to bed!