Erica Sadun



Adding afc2 back to your 1.1.1 iPhone

Erica Sadun | 4:03 pm | October 16, 2007 | How-to, Hacks

You need to add an afc2 service if you want to use iphuc and see your entire directory tree. The instructions and a couple of utilities are found here

In order to enable afc2 on your iPhone, go to /System/Library/Lockdown. Copy your Services.plist to OriginalServices.plist. Then edit Services.plist to add:

   <key>com.apple.afc2</key>
        <dict>
                <key>Label</key>
                <string>com.apple.afc2</string>
                <key>ProgramArguments</key>
                <array>
                        <string>/usr/libexec/afcd</string>
                        <string>--lockdown</string>
                        <string>-d</string>
                        <string>/</string>
                </array>
        </dict>

Reboot your iPhone. Then, in iphuc, issue setafc com.apple.afc2 and bob’s your uncle.

25 Comments »

Comment by benoitcerrina | October 29, 2007 | 12:10 pm

Hello,
I think more information is needed. Most people have no idea what is afc2 and what it does.
I have found that this solves a huge issue with 1.1.1 jailbroken iphones, third party pc (mac also I guess) apps which connect to the phone through the usb connection (without having sshd running) like iphonebrowser could not access the root filesystem. I found that this gives back this access.
I suggest you clarify what it does and post it at tuaw.
I linked to this article in a forum post of modmyiphone where people where complaining they lost “read/write access to files” after jailbreaking 1.1.1


Pingback by You’ve got iPhone or iPod touch jailbreak! What next? | iPhone News, Reviews, Accessories and more | October 30, 2007 | 4:04 am

[…] Add direct file access. Install the BSD subsystem and (in Community Sources) Open SSH (both from NerveGas). Once you’ve installed ssh, you can use any sftp client to transfer files onto and off of your unit. On the Mac, you can additionally install MacFuse and sshfs to gain Finder access to your units. Remember that the new iPhone and iPod touch 1.1.1 password is “alpine”, not “dottie”. Many GUI sftp clients may not see the entire directory tree. In that case, you may want to enable afc2. […]


Pingback by iPhone Cheats » Blog Archive » You’ve got iPhone or iPod touch jailbreak! What next? | October 30, 2007 | 4:41 am

[…] Add direct file access. Install the BSD subsystem and (in Community Sources) Open SSH (both from NerveGas). Once you’ve installed ssh, you can use any sftp client to transfer files onto and off of your unit. On the Mac, you can also install MacFuse and sshfs to gain Finder access to your units. Remember that the new iPhone and iPod touch 1.1.1 password is “alpine”, not “dottie”. Many GUI sftp clients may not see the entire directory tree. In this case, you may want to enable afc2. […]


Pingback by iPhone 101: You’ve got iPhone or iPod touch jailbreak! What next? | GOSSIP | October 30, 2007 | 7:20 am

[…] Add direct file access. Install the BSD subsystem and (in Community Sources) Open SSH (both from NerveGas). Once you’ve installed ssh, you can use any sftp client to transfer files onto and off of your unit. On the Mac, you can also install MacFuse and sshfs to gain Finder access to your units. Remember that the new iPhone and iPod touch 1.1.1 password is “alpine”, not “dottie”. Many GUI sftp clients may not see the entire directory tree. In this case, you may want to enable afc2. […]


Pingback by Me and my iPhone » Blog Archive » You’ve got iPhone or iPod touch jailbreak! What next? | October 31, 2007 | 10:06 pm

[…] Add direct file access. Install the BSD subsystem and (in Community Sources) Open SSH (both from NerveGas). Once you’ve installed ssh, you can use any sftp client to transfer files onto and off of your unit. On the Mac, you can also install MacFuse and sshfs to gain Finder access to your units. Remember that the new iPhone and iPod touch 1.1.1 password is “alpine”, not “dottie”. Many GUI sftp clients may not see the entire directory tree. In this case, you may want to enable afc2. […]


Comment by amiller311 | November 2, 2007 | 7:42 am

I have not been able to see the iphone’s entire file directory using iphonebrowser or FTP from my Windows XP PC. I understand that I need to enable afc2 on my iphone and I have seen various instructions on how to do this. I don’t understand the instructions listed here. If ‘go to /System/Library/Lockdown’ means on through Mobile Finder, then I can’t do it b/c there is no services.plist file in that folder. Even if there was, where/how do I type in the code? Can someone post detailed instructions for a total noob? Thanks for your help!


Comment by Erica Sadun | November 2, 2007 | 7:48 am

You’re not going to be able to do this using Mobile Finder. I recommend using the Unix command line via ssh.


Comment by amiller311 | November 2, 2007 | 4:55 pm

I recommend using the Unix command line via ssh.

Is this on the iPhone or on the PC? Pardon my lack of knowledge…


Comment by amiller311 | November 2, 2007 | 5:09 pm

I can’t connect to my iphone using putty (ssh)! I type in the Ip address and I get time out msg


Comment by iwaskurt | November 3, 2007 | 1:33 am

Scenario. No wifi. I’m using xp. I’m using iphonebrowser. I need a way to modify services.list to enable afc2 so iphonebrowser has rootaccess.

Question 1. Can I use mobileFinder to modify services.plist? I’ve already created a copy of it but am holding off on editing anything. I have a text editor loaded onto my iphone and have no problem opening/editing services.plist.

Question 2. If I am able (I know I “can” edit but not sure if it is unsafe due to something beyond my grasp) to modify services.plist with mobileFinder, where will the section I’m inserting be added? Will I just append it to the end of the file or what?

Question 3. Supposing 1 and 2 are possible, how will I actually enable afc2 if I’m not able to use iphuc at all? I’m assuming iphuc is a mac program.. correct me if I’m wrong.

Question 4. Is afc2 an actual file I need to add to my iphone or something I don’t need to concern myself with past making the afore mentioned changes.

I follow directions very well. Thanks in advance.


Comment by Erica Sadun | November 3, 2007 | 10:03 pm

AMiller: The new jailbreak automates AFC2 installation.

As for the unix command line, use ssh from your PC *to* your iPhone or touch


Comment by Erica Sadun | November 3, 2007 | 10:04 pm

iwasskurt: I do not believe you can use MobileFinder to modify services.plist

To enable AFC2, consider just re-jailbreaking with the newest appsnapp


Comment by Erica Sadun | November 3, 2007 | 10:13 pm

I haven’t messed with SMS tones but I’ve added this to my “to investigate” list


Pingback by Nmancer’s TekLog » Blog Archive » Instant iPhone Jailbreak Site Offers Many New Features | November 7, 2007 | 12:29 pm

[…]   Instant iPhone Jailbreak Site Offers Many New Features Nov07 7 November 2007, nmancer @ 11:29 am Sure, firmware release 1.1.2 is just around the corner — expected to launch along with the European iPhone in just a few days — but that hasn’t stopped the guys at jailbreakme.com from updating their software and enhancing your jailbreaking experience.New features include better YouTube compatibility, a progress indicator (so you don’t have to sit around and try to guess whether it is working or not), AFC2 service support, and (best of all in my opinion) automatic installation of the libarmfp library. This last bit means that your apps won’t open and immediately close after launching. This also means that you don’t need to do a separate BSD subsystem installation as a work-around. You probably will want to add BSD anyway–it’s a great system enhancement–but you no longer have to for your apps to run right. Please note that you can’t use AppSnapp via a HTTP/SOCKS proxy. You won’t get the “Install AppSnapp” button on the page if you do. And if you’ve already jailbroken and need the AFC/libarmfp features? For now, you’ll either have to do a complete restore/re-jailbreak or manually follow my afc2 tutorial. […]


Pingback by iPhone Releases / Updated AppSnapp | November 7, 2007 | 12:37 pm

[…] automatic installation of the libarmfp library. This should improve app stability. If you’re already already jailbroken and need the libarmfp features, you’ll either have to do a complete restore/re-jailbreak or manually follow Erica Sadun’s afc2 tutorial. […]


Pingback by Jailbreak.com sigue avanzando…a pesar de 1.1.2 : | November 7, 2007 | 1:50 pm

[…] del código de apoyo libarmfp - esta te ahorra la necesidad de instalar el sistema BSD encima. El tutorial de TUAW nos explica en detalle el proceso.El equipo promete que están trabajando en una nueva […]


Pingback by feed me apple snacks » Instant iPhone jailbreak site offers many new features | November 7, 2007 | 7:59 pm

[…] New features include better YouTube compatibility, a progress indicator (so you don’t have to sit around and try to guess whether it is working or not), AFC2 service support, and (best of all in my opinion) automatic installation of the libarmfp library. This last bit means that your apps won’t open and immediately close after launching. This also means that you don’t need to do a separate BSD subsystem installation as a work-around. You probably will want to add BSD anyway–it’s a great system enhancement–but you no longer have to for your apps to run right. Please note that you can’t use AppSnapp via a HTTP/SOCKS proxy. You won’t get the “Install AppSnapp” button on the page if you do. And if you’ve already jailbroken and need the AFC/libarmfp features? For now, you’ll either have to do a complete restore/re-jailbreak or manually follow my afc2 tutorial. […]


Pingback by The 4th Planet » Blog Archive » Rejailbreak your iphone, AppSnapp gets updated | November 7, 2007 | 8:45 pm

[…] the latest version fixed the YouTube issue with better compatibility for unactivated phones, added AFC2 service support and, most importantly, added automatic installation of the libarmfp library. This means […]


Pingback by Instant iPhone jailbreak site offers many new features | InYourMobile | November 8, 2007 | 2:51 am

[…] For now, you’ll either have to do a complete restore/re-jailbreak or manually follow my afc2 tutorial. I asked an AppSnapp team member about the TIFF exploit getting closed by Apple in the 1.1.2 […]


Pingback by Instant iPhone jailbreak site offers many new features | iPhone News, Reviews, Accessories and more | November 8, 2007 | 3:37 am

[…] The latest iPhone Accessories, News, Reviews, ringtones and more Nov 08 Instant iPhone jailbreak site offers many new features Posted by | Filed Under (iPhones Talk) Sure, firmware release 1.1.2 is just around the corner — expected to launch along with the European iPhone in just a few days — but that hasn’t stopped the guys at jailbreakme.com from updating their software and enhancing your jailbreaking experience.New features include better YouTube compatibility, a progress indicator (so you don’t have to sit around and try to guess whether it is working or not), AFC2 service support, and (best of all in my opinion) automatic installation of the libarmfp library. that last bit means that your apps won’t open and immediately close after launching. that additionally means that you don’t need to do a separate BSD subsystem installation as a work-around. You probably will want to add BSD anyway–it’s a great system enhancement–but you no longer have to for your apps to run right. Please note that you can’t use AppSnapp via a HTTP/SOCKS proxy. You won’t get the “Install AppSnapp” button on the page whether you do. And whether you’ve already jailbroken and need the AFC/libarmfp features? For now, you’ll either have to do a complete restore/re-jailbreak or manually follow my afc2 tutorial. […]


Pingback by iPhone Cheats » Blog Archive » Instant iPhone jailbreak site offers many new features | November 8, 2007 | 5:21 am

[…] Sure, firmware release 1.1.2 is just around the corner — expected to launch along with the European iPhone in just a few days — but that hasn’t stopped the guys at jailbreakme.com from updating their software and enhancing your jailbreaking experience.New features include better YouTube compatibility, a progress indicator (so you don’t have to sit around and try to guess whether it is working or not), AFC2 service support, and (best of all in my opinion) automatic installation of the libarmfp library. This last bit means that your apps won’t open and immediately close after launching. This also means that you don’t need to do a separate BSD subsystem installation as a work-around. You probably will want to add BSD anyway–it’s a great system enhancement–but you no longer have to for your apps to run right. Please note that you can’t use AppSnapp via a HTTP/SOCKS proxy. You won’t get the “Install AppSnapp” button on the page if you do. And if you’ve already jailbroken and need the AFC/libarmfp features? For now, you’ll either have to do a complete restore/re-jailbreak or manually follow my afc2 tutorial. […]


Pingback by Me and my iPhone » Blog Archive » Instant iPhone jailbreak site offers many new features | November 8, 2007 | 5:22 am

[…] Sure, firmware release 1.1.2 is just around the corner — expected to launch along with the European iPhone in just a few days — but that hasn’t stopped the guys at jailbreakme.com from updating their software and enhancing your jailbreaking experience.New features include better YouTube compatibility, a progress indicator (so you don’t have to sit around and try to guess whether it is working or not), AFC2 service support, and (best of all in my opinion) automatic installation of the libarmfp library. This last bit means that your apps won’t open and immediately close after launching. This also means that you don’t need to do a separate BSD subsystem installation as a work-around. You probably will want to add BSD anyway–it’s a great system enhancement–but you no longer have to for your apps to run right. Please note that you can’t use AppSnapp via a HTTP/SOCKS proxy. You won’t get the “Install AppSnapp” button on the page if you do. And if you’ve already jailbroken and need the AFC/libarmfp features? For now, you’ll either have to do a complete restore/re-jailbreak or manually follow my afc2 tutorial. […]


Comment by burbu | November 9, 2007 | 1:33 pm

Hi. I am not an expert using iPhuc. But I have downloaded the Services.plist file with SSH Fugu. When I looked into it, I have seen that the strings you told us ALREADY EXISTS. Do you mean that we you should again? There is another group of strings about AFC (not afc2). Should we delete those ones?
And finally, how can we send the final order setafc com.apple.afc2 via SSH? May I?

Thanx, you rock!!!!


Comment by Erica Sadun | November 9, 2007 | 1:37 pm

The newer jailbreak methods automatically add AFC2. If they’re already there, don’t add them again and certainly do not delete the normal AFC information.


Pingback by blog.fotogenia.info » Hakowanie iPhone część 8 | March 10, 2008 | 11:19 am

[…] wyegzekwowanie naprawy gwarancyjnej… Ponadto program automatycznie uruchamia usługę AFC2 a także instaluje pakiety Community Sources, BSD subsystem, OpenSSH oraz VT-100 i robi jeszcze […]


Comments RSS.

Leave a comment

You must be logged in to post a comment.

Previous and Next Entry

« Voice Notes is live | Added toJPEG to Erica Utilities »


wordpress | sheepdip design by mahud © 2007


You are viewing a mobilized version of this site...
View original page here

Mobilized by Mowser Mowser