Results 1 to 8 of 8
Discuss Cannot putfile. Why?? at the General - Hackint0sh.org; Now that iActivate runs on PPC mac's, I'm working on my G4 to unlock and ...
  1. #1
    Newbie Array

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

    Default Cannot putfile. Why??

    Now that iActivate runs on PPC mac's, I'm working on my G4 to unlock and add ringtones to my iPhone. I sucessfully ran iActivate and jailbreak was fantastic. My phone is now writeable. I have iPhoneinterface running in my terminal and I was able to create the ringtones folder: /var/root/Library/Ringtones

    Now I have that test CTU.mp3 file and when i type in putfile CTU.mp3 I get the following error: Problem with AFCFileRefOpen: 7.

    Now I am running all files from phonedmg folder in my home directory and I have the CTU.mp3 file in that folder as well. I searched all around for this error but I have no clue what is happening. Can anyone here shed some light on this?

    Below is my Terminal session.

    Thanks!!

    Jonas:~ Aaron$ /Users/Aaron/phonedmg/iPhoneInterface; exit
    iPhoneInterface v0.3.3 built on Jul 11 2007

    Waiting for phone... established.
    iPhone state: Activated
    type "help" for help
    iPhone:/# cd var/root/Library/Ringtones
    iPhone:/var/root/Library/Ringtones/# putfile CTU.mp3
    Problem with AFCFileRefOpen: 7
    iPhone:/var/root/Library/Ringtones/#



  2. #2
    Advanced Array

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

    Default

    you're not the only one look at page 2. I asked the same question.
    I would link you but I'm writing on my iPhone.

  3. #3
    Senior Professional Array

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

    Default

    I had the same problem. I think it may have to do with the way iActivator breaks jail...it's different from the method used in the previous "jailbreak" program.

    Instead of using iPhoneInterface, I use iphonedisk. It can do everything you need to do to install ringtones. iphonedisk will allow you to mount your iphone in /Volumes/iPhone and you can use standard terminal 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.

    ORRRRRRR, you can use one of the available programs that do very specific things, like installing ringtones and changing icons. One such programs is ifuntastic.
    http://gizmodo.com/gadgets/ifuntastic/

  4. #4
    Newbie Array

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

    Default

    I'm going to attempt to use iphonedisk to get the ringtones onto my iphone but I need to install macfuze first. I tried to Make the iphonedisk files but it crapped out because I forgot to install fuze.

    I'll try to work on this later on but the macfuze install looks a bit complicated and I'm not sure how easily this will work. For a friggin' ringtone, this is almost too much work.

    Also, iFuntastic is Intel only so I can't use it on my PPC.

    BTW, I did see the other thread on here about the same error, so I'll keep an eye there as well.

  5. #5
    Newbie Array

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

    Default

    Well only 10 mintues into this, I realized that iPhoneDisk is Intel-only. There goes that idea. I did get MacFuze installed although it doesn't do anything for me now.


  6. #6
    Senior Professional Array

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

    Default

    Quote Originally Posted by slider10 View Post
    Well only 10 mintues into this, I realized that iPhoneDisk is Intel-only. There goes that idea. I did get MacFuze installed although it doesn't do anything for me now.
    iphonedisk is not intel only. I'm on a PPC and use it. You have to download the source and compile it. Then, you can run the mount.sh script to mount the drive. http://code.google.com/p/iphonedisk/source
    If you don't have svn installed, then you should get it or download each file manually from http://iphonedisk.googlecode.com/svn/trunk/ . If any of the files get an .htm extension after you download them, you should remove it (most notably, Makefile).

    On a side note, if you need to restart your phone or disconnect it, and you have it mounted, you need to unmount it by dragging it's icon on your Desktop to the Trash/Eject. Otherwise, you have to do more terminal shenanigans to get rid of it before you can mount it again.

  7. #7
    Newbie Array

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

    Default

    Quote Originally Posted by kurro View Post
    iphonedisk is not intel only. I'm on a PPC and use it. You have to download the source and compile it. Then, you can run the mount.sh script to mount the drive. http://code.google.com/p/iphonedisk/source
    If you don't have svn installed, then you should get it or download each file manually from http://iphonedisk.googlecode.com/svn/trunk/ . If any of the files get an .htm extension after you download them, you should remove it (most notably, Makefile).
    Wow am I dumb! You helped me a lot but I need just a little more. The issue was that Makefile was .txt and not .htm. I fixed that and the Make executed...... with an error. I'm not sure what this is and I'm hoping you could help. That or would it be possible for you to post the compiled files for me to just download? I appreciate your help.

    Here is my terminal session to let you see what is going on.

    Thanks!

    Last login: Tue Jul 31 18:27:47 on ttyp1
    Welcome to Darwin!
    Jonas:~ Aaron$ cd desktop
    Jonas:~/desktop Aaron$ cd iphonedisk
    Jonas:~/desktop/iphonedisk Aaron$ make
    g++ -Wall -D_FILE_OFFSET_BITS=64 -D__FreeBSD__=10 -DFUSE_USE_VERSION=26 -c iphonedisk_mount.cpp
    g++ -Wall -D_FILE_OFFSET_BITS=64 -D__FreeBSD__=10 -DFUSE_USE_VERSION=26 -c iphonedisk.cpp
    g++ -Wall -D_FILE_OFFSET_BITS=64 -D__FreeBSD__=10 -DFUSE_USE_VERSION=26 -c connection.cpp
    ar rc libiphonedisk.a iphonedisk.o connection.o
    ranlib libiphonedisk.a
    cd ythread && make
    g++ -O -Wall -c thread.cpp
    g++ -O -Wall -c mutex.cpp
    g++ -O -Wall -c condvar.cpp
    g++ -O -Wall -c threadpool.cpp
    ar rc libythread.a thread.o mutex.o condvar.o threadpool.o
    ranlib libythread.a
    rm -f iphonedisk_mount
    g++ -o iphonedisk_mount iphonedisk_mount.o -lfuse -framework CoreFoundation -F/System/Library/PrivateFrameworks -framework MobileDevice -Lythread -lythread -L. -liphonedisk
    /usr/bin/ld: /System/Library/PrivateFrameworks/MobileDevice.framework/MobileDevice load command 14 unknown cmd field
    collect2: ld returned 1 exit status
    make: *** [iphonedisk_mount] Error 1
    Jonas:~/desktop/iphonedisk Aaron$

  8. #8
    Advanced Array

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

    Default

    I had the same problem. Download the latest DAC software from mac. I don't recall the name but its the one with new xcode. This was the same error I got and after installing this it fixed the problem. Hope this helps.
    I would link but I can't from the phone.

 

 

Similar Threads

  1. IPHUC with putfile and getfile MAC PPC
    By picaso in forum Tools
    Replies: 1
    Last Post: 10-11-2007, 08:48 PM
  2. Replies: 8
    Last Post: 08-13-2007, 10:51 AM
  3. putfile error in iPHUC
    By midfielder100 in forum Tools
    Replies: 2
    Last Post: 08-09-2007, 08:43 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 11:48 AM.
twitter, follow us!