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 ...
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.
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
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.
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.
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.
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.
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.
Originally Posted by kurro
Here is my terminal session to let you see what is going on.
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
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
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
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.
Last Post: 10-11-2007, 09:48 PM
By DAlba in forum General
Last Post: 08-13-2007, 11:51 AM
By midfielder100 in forum Tools
Last Post: 08-09-2007, 09:43 PM