Results 1 to 10 of 10
Discuss iPhoneInterface Error: AFCFileRefOpen: 7 (was: AFCFileRefOpen: 7) at the Tools - Hackint0sh.org; I can't carry out the putfile command in iPhoneInterface without getting this AFCFileRefOpen: 7 I ...
  1. #1
    Advanced Array

    Join Date
    Jul 2007
    Posts
    36
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default iPhoneInterface Error: AFCFileRefOpen: 7 (was: AFCFileRefOpen: 7)

    I can't carry out the putfile command in iPhoneInterface without getting this

    AFCFileRefOpen: 7

    I need to put the services.plist on my iPhone and I can't

    also I can't return to jail using iActivator what should I do

    What should I do?
    Last edited by nnny; 07-27-2007 at 10:17 AM.



  2. #2
    Senior Professional Array

    Join Date
    Jul 2007
    Posts
    148
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    14

    Default

    This happened to me when breaking jail with iActivator and using iPhoneInterface.

    My solution, which works great, is to break jail with iActivator, and then use iphonedisk to carry out all file operations, eliminating the need for iPhoneInterface (well, for getfile and putfile). Basically, iphonedisk will allow you to mount your iphone as a drive in /Volumes/iPhone and you can use standard commands like cp, vi, etc to do things.

    Be careful though...it's tempting to just use Finder to move files around, but it seems that file permissions are not being preserved when using Finder. So, stick to the terminal.

    Get iphonedisk here: http://code.google.com/p/iphonedisk/
    You'll have to download/install MACFuse, and then download the source for iphonedisk and compile it. It comes with a handy dandy mount script to mount the phone for you.

  3. #3
    Advanced Array

    Join Date
    Jul 2007
    Posts
    48
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    This also happened to me.
    I have tried the iphone disk with out any luck.

    Another was to get around this is to put you phone in restore mode.
    Launch iTunes, iTunes will see that your phone is in recovery modes.
    Choose "restore".

    Now if this is a ATT activated phone then it will do a couple reboots the iTunes will ask you to choose a backup from the last time you did a sync.

    You should still have all your contacts and stuff. Once its done then check to make sure iTunes see the full space on your phone. I have had it happen were it only came up as a 300mg drive. Dont panic, just do the same thing by putting your phone in restore mode again. Sometimes it works on the first shot, and other time you might have to do it again.

    If this is not an activated ATT phone then after the restore you will have to activate the phone the same way you did before or try iActivator this time.

    Make sure you put your phone back in jail after you activate it (now this im not sure of) and hopefully the next time you run iTunes it was then prompt you for the backup restore?

    I'm not sure, I have an activated phone. But an idea might be to leave itunes up but stay disconnected from the internet. After the reboot were the phone say not activated then use iActivator, when the final reboot happens itunes should see it then move on to you picking the restore from the last sync?

  4. #4
    Advanced Array

    Join Date
    Jul 2007
    Posts
    36
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    How would I compile the Iphone disk source.

    Also, my itunes does say my iPhone has a 300mg drive

    Is there a way to restore it without losing all of my songs and settings
    Update: If quit iActivator
    then open Itunes
    then quit Itunes and restart the iPhone and then run iActivator I can Return to jail
    But still with iPhoneInterface I get that error
    Last edited by nnny; 07-27-2007 at 08:01 PM.

  5. #5
    Senior Professional Array

    Join Date
    Jul 2007
    Posts
    148
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    14

    Default

    To compile the iphonedisk source, you must first download it via subversion (svn). If you don't know what subversion is, then you should just download each file through your web browser. When you download extension-less files (Makefile in particular), your browser might try to add a .htm extension. If it does, remove it.
    http://iphonedisk.googlecode.com/svn/trunk/

    After you have the source downloaded, go into that directory via a terminal and type "make". Watch some things fly, and then you should have the iphonedisk binary. Now you can use the mount script. If you downloaded via the browser, the mount script probably won't have execute permissions, so you may need to type "chmod +x mount.sh".

    Just type "./mount.sh" and it should mount the iPhone as /Volumes/iPhone. Remember that all interaction with the phone should be through the terminal. You can use Finder, but there are bugs here and there.

    Hope that helps.


  6. #6
    Advanced Array

    Join Date
    Jul 2007
    Posts
    36
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Is there anyway to be able to use the putfile command without getting this error?
    Does anyone now why this happens and how I can solve it?

    Thanx

  7. #7
    Professional Array

    Join Date
    Jul 2007
    Posts
    50
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    9

    Default

    Experiencing the same issues... broke jail using iActivator, used terminal to turn iphoneinterface... cd'ed to the correct directory (Applications) putfile HelloWorld.app and got iPhoneInterface Error: AFCFileRefOpen: 7. I am running a mac mini (ppc) with tiger. iPhoneInterface is version 1.1. Any help would be great.

    I also tried iphonedisk and could not run ./mount.sh got a few errors... I have macfuse installed. Guess I will try to do this on windows.

  8. #8
    Newbie Array

    Join Date
    Jul 2007
    Posts
    5
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    I'm getting the same error! Talk about annoying.

    I'm going to try the iphonedisk method later on today after work. Hopefully that will get things going. Someone needs to make this process easier or release universal versions of these tools! Ugh.

  9. #9
    Senior Professional Array

    Join Date
    Jul 2007
    Location
    ATLANTA, GA
    Posts
    103
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    12

    Default

    Hate to say this, but Im seeing tons of these threads pop up and every one of them seem to start with iActivator. Sounds like that app is the problem or someone is not using it correctly say on the right OS or something.

    Ive done mine countless number of times on a Mac Intel, PC, and no problem. Used the terminal Jailbreak and terminal iphoneinterface and to this day no issues.

    Dixit

  10. #10
    Advanced Array

    Join Date
    Jul 2007
    Posts
    36
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    The main problem with this is th fact that iPhoneInterface and iActivator do not work together on PowerPC Macs. Is there anyway toget iActivator and iPhoneInterface to work together without this error? Also, the problem is that both programs were originally Intel only. If someone built the two programs with PPC Macs inind then we would not have such an error.So if someone could fix both programs and provide links to the updates that would be great.


 

 

Similar Threads

  1. iPhoneinterface.exe and CHMOD
    By geircito in forum Tools
    Replies: 3
    Last Post: 02-23-2008, 09:06 PM
  2. iphoneinterface.exe error when running iBrickr?
    By ag_oo7 in forum Free Toolchain Software (Cydia App's)
    Replies: 0
    Last Post: 11-13-2007, 05:48 PM
  3. iphoneinterface?
    By betomxl in forum iPhone "2G" (Rev. 1)
    Replies: 1
    Last Post: 10-24-2007, 05:55 AM
  4. Restoring via iphoneinterface
    By freit5 in forum Tools
    Replies: 10
    Last Post: 08-02-2007, 05:19 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 10:44 PM.
twitter, follow us!