My favorites | Sign in
Logo
Project hosting will be READ-ONLY Wednesday at 8am PST due to brief network maintenance.
             
New issue | Search
for
| Advanced search | Search tips
Issue 153: 3.1.2 Jailbreak Issue
10 people starred this issue and may be notified of changes. Back to list
Status:  Accepted
Owner:  NetMage.SCW
Type-Other
Priority-Medium


Sign in to add a comment
 
Reported by citricfoley, Oct 11, 2009
What steps will reproduce the problem?
1. Open iPhoneBrowser 1.9.3.0
2. iPod 2g is recognize, but says not jailbroken

What is the expected output? What do you see instead?
It is supposed to show the root folder, but instead there are only a few
folders that show up:
/Root
 - ApplicationArchives
 - DCIM
 - Downloads
 - iTunes_Control
 - Photos
 - Podcasts
 - PublicStaging
 - Purchases
 - Recordings
 - Safari

The status bar displays:
iPod 3.1.2 (iPod Touch) is connected, not jailbroken (no afc2 service found)

I cannot get to the /Library/Themes/ folder

What version of the product are you using? On what operating system?
iPod Touch 2G, 3.1.2 jailbroken firmware (blackra1n), iTunes 9.0.1.8,
iPhoneBrowser 1.9.3.0

Please provide any additional information below.


Comment 1 by tlogank, Oct 11, 2009
I am having same issue. When I first updated, it worked fine.  Then I did a Restore
as New Phone and it won't recognize my jailbreak. Please help as I can't restore my
SMS and Call History!
Comment 3 by lavarsicious, Oct 11, 2009
I just got a workaround for this locally - but it's a manual process. I'm assuming
you used blackra1n to jailbreak? 

As more methods to jailbreak become available some do not register the afc2 service
which is needed to access the root file system.

I can post a walkthrough if you need it to get this service registered. It's
relatively painless.

Comment 4 by imbored01, Oct 11, 2009
That workaround would be great... Please post
Comment 5 by lavarsicious, Oct 11, 2009
Alright, start by downloading:

PList Editor:
http://modmyi.com/forums/windows-specific-modding-discussion/377661-windows-plist-editor.html

WinSCP:
http://winscp.net/eng/download.php

Download and install OpenSSH from Cydia then reboot the device. 
Once rebooted open WinSCP and connect to your device. You'll need the IP address of
your device on the local network. 

Hostname: <ipaddress>
Username: root
password: alpine

Once logged in, move a copy of /System/Library/Lockdown/Services.plist to your
computer and open it for editing in PList editor.

*** This is important ****

Paste the following key/dict combo above the line that reads
<key>com.apple.crashreportcopy</key> (no ***)

***
	<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>
***

Save the file, move it back over to the device overwriting the current one using
WinSCP (hope you've made a backup) then reboot the device.

After this reboot ipb should be given full access to the file system. As a reference
I've attached my Services.plist which may or may not have the same entries so I don't
recommend USING it, modify your own.

Let me know if this works out for you.
Services.plist
2.1 KB   Download
Comment 6 by imbored01, Oct 11, 2009
@lavarsicious>> Worked perfectly! Thank you!!!
Comment 7 by e.rene.mendez, Oct 11, 2009
Any options for us that dont have wifi?
Comment 9 by lavarsicious, Oct 11, 2009
The only thing I can think of would be to try and use something like ifile from cydia to directly make the 
changes to the plist - but that might be a challenge. 

Alternatively if you're feeling risky you could try downloading the attached file above from your phone and 
just overwrite it. 

Either way the end goal would be to obtain that plist modification. The wifi transfer is the easiest way I 
could think of. Good luck. 
Comment 10 by jason.follis, Oct 11, 2009
@ e.rene.mendez 

Download mobile terminal and do it to it...

I didn't blackra1n (im sticking with 3.0) but from what i understand.

If you can see some folders through iphonebrowser

Download mobile terminal, move the file to a folder that is visable from 
iphonebrowser. 
Copy to computer. 
edit in plist editor. 
copy back to device from iphonebrowser. 
Rename old .plist to .plist.bak 
Copy new services.plist
reboot.

this is all dependent on if iphonebrowser can see ANYTHING as it is.
Comment 12 by Sebastian.Wicker, Oct 11, 2009
Edited the file, now my iPhone 3GS works on iPhonebrowser but iTunes says 
error 0xE8000022. Can anyone upload the edited part of services.plist UNEDITED? i 
forgot to backup :S
Comment 13 by lavarsicious, Oct 11, 2009
@jason good thinking, makes sense. 

@Sebastian what os are you on? My mod was to a clean 
3.1.2. I'm thinking imbored was the same. 
Comment 14 by ddonuts4, Oct 11, 2009
iPhone tunnel suite uses ssh over USB! Search for it on modmyi.com
Comment 15 by Sebastian.Wicker, Oct 11, 2009
 @lavasicious nevermind! i used your file and it worked perfectly! Thank you! (i am on 
3.1.2 btw :P)
Comment 16 by lavarsicious, Oct 11, 2009
Good to hear, lucky you are. Backups!
Comment 17 by stringalove, Oct 11, 2009
rebooting the device ifunbox works, it views iphone already jb'd not as jailed
Comment 18 by e.rene.mendez, Oct 11, 2009
Can assume iphonebrowser would be updated to support blackra1n in the future?
Comment 19 by kalantz, Oct 11, 2009
Oh... someone to make an installation for this and upload it on Cydia????
Comment 20 by jason.follis, Oct 11, 2009
@ e.rene.mendez

It is a problem with the blackra1n patching, not a matter of the iPhoneBrowser.

Did i just use 'problem' in the same sentence as  'blackra1n'? Geohot, please don't 
smite. I meant oversight. 
Comment 21 by e.rene.mendez, Oct 11, 2009
@jason 

thanks mate., 

With the 3G issues going around with ra1n, im sure will see a RC2 soon., maybe it
will be patch to work with iphonebrowser., 
Comment 22 by NetMage.SCW, Oct 11, 2009
A better solution is probably to write something that can be installed from Cydia so
it helps all jailbreaks that don't want the overhead of adding afc2 (or forget too :) ).

If you install Erica's utilities from Cydia, you can use the following commands from
MobileTerminal or an SSH terminal prompt:
plutil -com.apple.afc2 -dict Services.plist
plutil -com.apple.afc2 -Label -string com.apple.afc2 Services.plist
plutil -com.apple.afc2 -AllowUnactivatedService -true Services.plist
plutil -com.apple.afc2 -ProgramArguments -array Services.plist
plutil -com.apple.afc2 -ProgramArguments -arrayadd -string /usr/libexec/afcd
Services.plist
plutil -com.apple.afc2 -ProgramArguments -arrayadd -string \"--lockdown\" Services.plist
plutil -com.apple.afc2 -ProgramArguments -arrayadd -string \"-d\" Services.plist
plutil -com.apple.afc2 -ProgramArguments -arrayadd -string / Services.plist

Status: Accepted
Owner: NetMage.SCW
Labels: -Type-Defect Type-Other
Comment 23 by syedmuzaffer2, Oct 11, 2009
Super
Worked on iPhone 3Gs 3.1.2.
Jail break by blackra1n
and then followed this...
 
Comment 24 by kendrome, Oct 11, 2009
I had this problem with balckra1n and just told cydia to do a complete upgrade and installed sbsettings 
and then it worked
Comment 25 by davidn770, Oct 11, 2009
your the bast sorry for my english the Services.plist works teanks
Comment 26 by mvveelen, Oct 11, 2009
I second this :

Comment 19 by kalantz, Today (2 hours ago) "Oh... someone to make an installation 
for this and upload it on Cydia????"
Comment 27 by hrtrulz, Oct 11, 2009
I tried to set up SSH on my 3.1.2 iphone and all i get is timeouts. I tried WinSCP
and putty with no luck. 

What am i doing wrong.


Comment 28 by andrezituh, Oct 12, 2009
what program that you use to edit Services.plist?? notpad?
Comment 29 by jan.schule, Oct 12, 2009
Can someone please ulpload the modified file?? I can't get it working
Comment 31 by jan.schule, Oct 12, 2009
Or please send it to my email : janni92@web.de
Comment 32 by ELLIPHINO, Oct 12, 2009
im with jan and kalantz something needs to be done
Comment 33 by reinhardt.mail, Oct 12, 2009
For German-Speaking Users:
http://afaic.blogspot.com/2009/10/ifunbox-und-blackra1n.html


    * Installiert via Cydia den MobileTerminal
    * Gebt folgenden Befehl ein
      cp /System/Library/Lockdown/Services.plist /User/Media/DCIM/
    * Öffnet iFunBox. Ihr könnt auf den Ordner DCIM zugreifen und euch die Datei auf
dem Desktop abspeichern
    * Ladet euch einen Plist-Editor runter z.B. diesen hier.
    * Öffnet die Datei Services.plist mit dem Editor
    * Kopiert die folgende key/dict Kombination ÜBER com.apple.crashreportcopy :
      Code hier: http://paste.ubuntu.com/291534/

    * Speichert die Datei und kopiert sie wieder mit iFunBox in den DCIM Ordner auf
eurem iPhone.
    * Öffnet MobileTerminal und gebt folgenden Befehl ein
      su
    * Das Passwort ist: alpine
    * Danach das hier:
      cp -f /User/Media/DCIM/Services.plist /System/Library/Lockdown/
    * iPhone neustarten
    * Fertig - iPhone wird wieder richtig erkannt.

Comment 34 by ELLIPHINO, Oct 12, 2009
thank god for google translate   :) hopefully this works
Comment 35 by jan.schule, Oct 12, 2009
@Elliphino: Of you get it working could you pleade send the File to My E-mail??
Comment 36 by ELLIPHINO, Oct 12, 2009
 im very limited with wifi connections     will deffinatly help you out the best i can   
Comment 37 by jan.schule, Oct 12, 2009
I solved the Problem. You can download a Pathced file on :
http://touch-mania.com/wp-content/uploads/Services.plist
Comment 40 by aaronkilbey, Oct 12, 2009
using iFile works like a charm.  send yourself an email with the copy&paste text,
copy the text from the email on the phone.  browse to and edit Settings.plist in
iFile and paste in the appropriate place. don;t forget to reboot

Comment 41 by meravalmon, Oct 12, 2009
How do I do this if I can't activate?
There is a tutorial about hacktivating here
http://www.ilikemyiphone.com/2009/07/04/how-to-hacktivate-your-iphone-3gs-after-geohots-purplera1n-jailbreakunlock/
But I can't see if it works on 3.1.2 without hacktivating first so that I can get
iphonebrowser to work but I can't get iphonebrowser to work without hacktivating
How do I get past this catch 22?
Comment 42 by matejj, Oct 12, 2009
Somehow i don't have services.plist on my iphone. I only have data_ark.plist
And i also can not find the /System/Library/Lockdown/ folder, i have instead : 
/root/Library/Lockdown/
So i copied your file into /root/Library/Lockdown/ but my phone is still showing as
not jailbroken in iphoneBrowser.

(i have 3.1.2 jailbroken using blackrain)
Comment 43 by erni...@optimum.net, Oct 12, 2009
I used ifile and fixed my problems with iphonebrowser.  That works fine.  But know i
cannot connect to itunes.  Has anyone else encountered this problem?  Any help would
be appreciated.
Comment 44 by torontario, Oct 12, 2009
One thing I noticed, and I suspect others may find this useful.

Don't use DHCP to assign an IP address to your iPhone/Touch.  I kept getting timeouts
till I set a static address then everything worked fine.

Hope this helps.

Comment 46 by Jay858, Oct 12, 2009
Comment 5 by lavarsicious.
Works like a champ.
Comment 47 by rpayne76, Oct 13, 2009
I've added the Services.plist file from this thread to my device but it's still not
working. The file wasn't there though before i added it.

Any ideas?
Comment 48 by citricfoley, Oct 13, 2009
Worked for me. I just edited the file, saved it, transferred, rebooted. iPhoneBrowser
now works normally, and iTunes has no problems with it.
Comment 49 by e.rene.mendez, Oct 13, 2009
Anyone know if DevTeams pwnagetool fixes this issue?
Comment 50 by e.rene.mendez, Oct 13, 2009
I can confirm that the new pwnagetool released by the DevTeam fixes this issue.
Comment 51 by NetMage.SCW, Oct 13, 2009
If you have used Blackra1n, please try installing the new afc2add program in Cydia.
Comment 52 by erni...@optimum.net, Oct 13, 2009
I used ifile to edit the p.list. Works like a charm. 
Comment 53 by jdsniderjr, Oct 14, 2009
Search on Cydia for an app called afc2add. This makes life a whole lot easier. Do your 
blackrain, Install cydia then install afc2add and your done. Would be better if 
blackrain would do it cause then it would truely be a one click process. Still great 
but juuuuuust shy of perfection. Hope he decides to update it to make it PERFECT. I 
would donate another 10.00 to him...you did donate didn't you?????
Comment 54 by upfront, Oct 14, 2009
Thanks NetMage.SCW & jdsniderjr!!!

afc2add worked perfectly and couldn't be easier! 
(just remember to reboot using blackrain...)
Comment 55 by vernon.chiang, Oct 14, 2009
editing the services.plist solved my issue.  FYI - I used blackrain to jb 3.1.2.
Comment 56 by vernon.chiang, Oct 14, 2009
editing the services.plist solved my issue.  FYI - I used blackrain to jb 3.1.2.
Comment 57 by vernon.chiang, Oct 14, 2009
editing the services.plist solved my issue.  
Comment 58 by amad.maui, Oct 15, 2009
afc2add works for me. im using 3.1.2
Comment 59 by j.b.piaggio, Oct 15, 2009
afc2add works for me(downloaded from Rock).Using 3.1.2 jb with blackra1n, ;).

Comment 60 by ittasks, Oct 16, 2009
work as a charm
(editing services.plist)
thank you alot!
Comment 61 by socheathdarasam, Oct 16, 2009
iphonebrowser gives me an error
Comment 62 by danthemanms, Oct 16, 2009
Works for me with the afc2add tweak from Cydia.
Comment 63 by dallow.r, Oct 20, 2009
Excellent detailed resource page - Thanks!

As it happened, adding the afc2add tweak from Cydia worked for me as well, however I 
do plan to explore SSH connection to my iPod since it will be easier to work with 
than the local terminal.
Comment 64 by jakobc.nelson, Oct 26, 2009
ok, WAY easier fix guys, just get the package "afc2add" from cydia, and iphonebrowser 
as well as winterboard and everything else works just great.
Comment 65 by ziigloop, Oct 29, 2009
It's due to jailbreaking your iPhone with blackra1n as it doesn't install the mod so that you can see the root files. 
Install afc2add from Cydia, reboot your iphone and it should do the trick.
Comment 66 by 08G37S, Nov 02, 2009
I used the afc2add on my 3GS with 3.1.2 after jailbreaking with blackra1n and it 
worked for me too.... Thanks to all for the help!!
Comment 67 by expazatrix, Nov 03, 2009
I used the afc2add on my iPod Touch 2g and it worked perfectly!!!
Comment 68 by jealous.ones.nv, Nov 04, 2009
afc2add works for me(downloaded from Cydia).3GS Using 3.1.2 jb with blackra1n, THANK 
YOU SO MUCH!!!!! I was freaking out because I couldn't install my themes...almost 
brought me to tears!
Comment 69 by beaston939, Nov 05, 2009
AWESOME! It works now. Used the afc2add on my 2G , 3.1.2
Comment 70 by eugene.hernandez, Nov 07, 2009
i can now use iphoneborwser but i don't see all of my apps and games installed (in
iphonebrowser). HELP!!!
Comment 71 by ivonny21, Nov 10, 2009
BRAVO! Have used afc2add from Cydia on 3G, 3.1.2. Work perfectly! Thank you very 
much!
Comment 73 by jerredsevold, Nov 11, 2009
Ok i keep running into major issues with my iPhone when ever i try to install or edit 
something. This in turn leads to me having to completely reset my phone and return 
everything to its factory settings. 

Phone Specs:
16GB 3GS
3.1.2 firmware with baseband 5.11.07

I can successfully install the newest blackra1n jailbreak along with the unlock and 
load up cydia and rock and get the updates and what not blah blah blah. Now when i 
download and install afc2add from cydia and install it, my iPhone reboots and hangs 
up and shows the USB cable and iTunes logo/CD. After waiting over 5 min, I restore to 
fac settings.

Same goes for when I manually edit the Services PList and loading it back to the 
phone with WinSCP. Same thing happens, when i reboot, it gets hung up on the USB 
cable and iTunes logo/CD. Oh and I even had OpenSSH installed and everything... What 
am I doing wrong? It seems like everyone else can get it to work but myself. I mean I 
am following step by step procedures and its still requiring me to reset phone to fac 
settings... plz help! Thx in advance.
Comment 74 by Balkrs, Nov 21, 2009
Im uploadind this the a patched file to cydia 
Comment 75 by kdo900, Nov 22, 2009
Hello all,

When use iphone browser, in the "goto location" go down to "Third parties apps" 
thereafter, there are no option for saving these third parties apps at all. Is there 
any way or option to save these third parties apps? thanks.
Comment 76 by pkiman, Nov 23, 2009
Hi,
3G 3.1.2 (7D11) 05.11.07 no wi-fi at all the Wi-Fi si gray, reset restore did not 
work,. Any suggestions.
Comment 77 by FrancisChuaMD, Nov 23, 2009
do you have to install openSSH before installing afc2add? my ipod touch restarted
after installation and got stuck in recovery mode...
Comment 78 by FrancisChuaMD, Nov 23, 2009
do you have to install openSSH before installing afc2add? my ipod touch restarted
after installation and got stuck in recovery mode...
Comment 79 by psygn0...@hotmail.com, Nov 23, 2009
YOU ARE THE MAN!!!!!!
I WOULD KISS YOU ALL OVER LOL!!!

WORKS PERFECTLY! Thank you for the step by step!
Comment 80 by kbrowneIBM, Dec 04, 2009
go to cydia and download afc2add and I bet your problems will go away!
Comment 81 by nikitavo, Dec 13, 2009
Lavarsicious@

Thank You Very Much!!
Works perfectly, step by step guide was the best out of all i have seen.
Well done!!


Comment 82 by flanagan.james, Dec 22, 2009
Re: Comment 5  by lavarsicious, Oct 11, 2009
After failing to get a complete jailbrake with blackra1n, I was able to did this
(comment 5) and rebooted my iphone after confirming the update of the Services.plist
file.  Even after reboot iphoneexplorer still reports my phone as jailed so I cannot
change the root to what I want.  Also, ifunbox reports the phone as jailed. I know it
is not jailed because I was able to load Cydia and using that was able to load SSH
etc. What does all this mean?

BTW what I really want to do is use a browser to move files from GoodReaderUSB file
location (/private/var/mobile/Media/DCIM/GoodReaderUSB/) to GoodReader Document
location (/private/var/mobile/Applications/8A67F62C.../Documents). Anyone know some
other way to do that?

Comment 83 by marcelo.ferrarotti, Dec 23, 2009
Well, today I found that not always SSH and blackra1n are the problem.
I have at home an old 3com 3CRWE554G72 wifi router. I have never make my Ipod touch
2g 3.1.2 Openssh work fine, just a few seconds. and iFile webserver doesnt work at all.
Reason: router. Just swap with a new Linksys and now iFile works. SSH from my Ubuntu
box (Asus eee 4g) refuses to connect (connection refused) but at least have some
response at all!!!
Will try with a newer Linksys model to see if the SSH issue is about the same.
Thanks all
Comment 84 by richard.inns, Dec 26, 2009
@ #77:  FrancisChud, you have to load up itunes (at least I think it needs to be 
running) and connect the ipod, then run blackrain again from your PC and hit 'make 
it rain'. Do this when the recovery mode screen (the one with the pic of the USB 
cable) shows up.

It'll show GeoHots face for a few seconds, then bingo, all should be working again. 
You can eject the Ipod and continue on your way!
Comment 85 by chad.rivoli, Dec 28, 2009
Ok, I am in an endless loop here.

Cydia crashes when trying to run it.  I know I need to delete some files to get it 
running again, but I have not yet installed SSH so I cannot see the files on the 
phone.  iPhoneBrowser gives me an error message saying that I dont have afc2 
installed so it wont work either.

is there any way I can access my phones files without SSH or iphonebrowser??

Please help.
Comment 86 by espn05, Dec 28, 2009
@chad.rivoli

What I did for my friend's iPhone, was to install Rock, install Terminal, then
removed the files.

After that restarted Cydia and it worked fine.

To get iPhoneBrowser/Disk Aid/iPhone Explorer to show the root of the iPhone, you
need to modify a PLIST file else it will not show the real root ("/").
Comment 87 by buddyggglee, Dec 30, 2009
afc2add afc2add afc2add afc2add afc2add afc2add afc2add afc2add afc2add 
just download that on cydia 

Comment 88 by thejackub, Dec 31, 2009
afc2add worked!
Comment 89 by jessy_bo...@hotmail.com, Jan 03, 2010
thank you

Comment 90 by Superbuggem, Jan 04, 2010
In order to jailbreak using blackra1n, iTunes and all it's derrivatives must be turned off via task manager. You must also run 
blackra1n from your hard drive. 
Comment 94 by NetMage.SCW, Jan 07, 2010
As an iPhone developer, no discussion of stealing programs please
Comment 95 by wintun76, Jan 17, 2010
how can get afc2add for iPhone ? I have looking through Cydia, but I count find. Pls tech 
me easier way. I have no Wifi connection. How can I do ?

plssssssssssssss
Comment 96 by Daedeh, Jan 21, 2010
Well I tried the services.plist edit and that didn't work unfortunately so now I'm 
trying afc2add. Hopefully that works ok as it is important that I be able to use ipb 
and NOT WinSCP.

Thanks a bunch to both though for the tips!
Sign in to add a comment

Hosted by Google Code