+ Reply
Results 1 to 19 of 19

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: Problem with AFCFileRefWrite: 12

is a discussion within the

OS X Specific Modding Discussion

forums, a part of the

Computer Modding Software

section;
This is what appears in my Terminal when im trying to modify icons. Problem with AFCFileRefWrite: 12 whats wrong
...
  1. #1
    What's Jailbreak?
    Join Date
    Jul 2007
    Posts
    15
    Thanks
    2
    Thanked 1 Time in 1 Post
    Default Problem with AFCFileRefWrite: 12
    This is what appears in my Terminal when im trying to modify icons.
    Problem with AFCFileRefWrite: 12

    whats wrong

  2. #2
    Retired Moderator CyberGreg's Avatar
    Join Date
    Jul 2007
    Posts
    1,096
    Thanks
    58
    Thanked 207 Times in 138 Posts

    Quote Originally Posted by eternityofmagic View Post
    This is what appears in my Terminal when im trying to modify icons.
    Problem with AFCFileRefWrite: 12

    whats wrong
    Do you remember the scene from My Cousin Vinny where he describes what happens when you drop a screw down the carburator? Yup, you're fracked.

    Sorry, it happened to my iPhone yesterday and I was not able to resolve the problem so I had to restore.

    Does iTunes see the phone when you plug it in? If so you're restore will go easy. If iTunes doesn't see your iPhone or gives you an error you'll have to boot up in Restore mode (hold power and home until yellow triangle shows up).

    Good luck

  3. #3
    My iPhone is a Part of Me JakeyBoy's Avatar
    Join Date
    Jun 2007
    Posts
    501
    Thanks
    45
    Thanked 66 Times in 48 Posts

    Before you try that run jailbreak and make sure you unjailed it right and then try again and if that doesnt work then you can go restore.
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    Old School Gaming Matrix
    Deviant Art
    "Don't think you can, know you can"




  4. #4
    What's Jailbreak?
    Join Date
    Jul 2007
    Posts
    15
    Thanks
    2
    Thanked 1 Time in 1 Post
    Im still getting this damn message like 10 hours later.... i have followed these directions to a T, and i wouldnt consider myself a computer illiterate either. I've correctly run jailbreak and opened the iphone interface....but this message appears right at the final step when i putfile the new icon.

    why...

  5. #5
    Owner / Founder - ModMyi
    aka cash7c3
    Cody Overcash's Avatar
    Join Date
    May 2007
    Location
    Denver, CO
    Posts
    11,893
    Thanks
    340
    Thanked 15,273 Times in 652 Posts

    did you use iFantastic or wtvr its called to install ringtones?

  6. #6
    What's Jailbreak?
    Join Date
    Jul 2007
    Posts
    15
    Thanks
    2
    Thanked 1 Time in 1 Post
    yea a while ago, but many restores since then have changed that.

    im going to do it again from square one and post my terminal session

    Last login: Sat Jul 28 23:26:46 on ttyp1
    Welcome to Darwin!
    Infinity:~ Century$ cd phonedmg
    Infinity:~/phonedmg Century$ ./Jailbreak
    [jailbreak 1.0] by ziel w/ special thanks to GeoHot and the rest of the #iphone-dev crew.

    Looking for iPhone...
    Sending Files...

    *** If iTunes is running, please close it.
    *** Hold the POWER and HOME buttons for approximately 25s.
    *** Release when the display says 'Please Connect to iTunes'.

    Sending More Files...
    Booting iPhone...

    Waiting for iPhone to finish booting...
    Moving files into place...
    Cleaning up...
    Rebooting iPhone...

    Enjoy your newfound freedom. Thank the devs at #iphone next time you see them for making this all possible.
    p.s. Like most other useful tools, this one may be dangerous if used carelessly. Always remember -- You brick it, you bought it.

    p.p.s. I have no idea how 'My Humps' could possibly have gotten set as your ringtone.

    Infinity:~/phonedmg Century$ ./IphoneInterface
    iPhoneInterface v0.3.3 built on Jul 11 2007

    Waiting for phone... established.
    iPhone state: Activated
    type "help" for help
    iPhone:/# cd /Applications/Stocks.app/
    iPhone:/Applications/Stocks.app/# putfile icon.png
    Problem with AFCFileRefWrite: 12
    iPhone:/Applications/Stocks.app/# exit
    Infinity:~/phonedmg Century$ ./IphoneInterface
    iPhoneInterface v0.3.3 built on Jul 11 2007

    Waiting for phone... established.
    iPhone state: Activated
    type "help" for help
    iPhone:/# cd /Applications/YouTube.app/
    iPhone:/Applications/YouTube.app/# putfile icon.png
    Problem with AFCFileRefWrite: 12
    iPhone:/Applications/YouTube.app/#
    Last edited by eternityofmagic; 07-28-2007 at 09:47 PM. Reason: Automerged Doublepost

  7. #7
    Retired Moderator CyberGreg's Avatar
    Join Date
    Jul 2007
    Posts
    1,096
    Thanks
    58
    Thanked 207 Times in 138 Posts

    The only thing I noticed is where you "cd", the line ends with a "/". I don't do it that way, nor do the instructions. I use:
    iPhone:/#cd /Applications/Stocks.app

    Questions:
    1. Can you putfile Services.plist back onto your iPhone or does that also give you the error?
    2. Can you still sync with iTunes?

    I hope we can fix you up, although, how much modding have you done? It might just be easier to do a restore.

  8. #8
    What's Jailbreak?
    Join Date
    Jul 2007
    Posts
    15
    Thanks
    2
    Thanked 1 Time in 1 Post
    Ive restored about 10 times because i dont lock the phone at the end...whenever i get this error message(everytime) i just quit terminal.

    So at the current point...my iphone is factory settings atm

  9. #9
    Retired Moderator arthursdomain's Avatar
    Join Date
    Jul 2007
    Location
    Mililani, Hawaii
    Posts
    850
    Thanks
    12
    Thanked 135 Times in 85 Posts

    i have a quick question, is the icon.png in your phonedmg directory?
    ARTHURSDOMAIN
    ModMyI.com Apps Reviewer

    Retired ModMyi.com Moderator

    Follow me on twitter: twitter.com/laynem

    Reviewed Apps:
    Oregon Trail, Who Has The Biggest Brain, Lock Puzzle, Tweetie

    Want an app reviewed? PM me with the app name

  10. #10
    What's Jailbreak?
    Join Date
    Jul 2007
    Posts
    15
    Thanks
    2
    Thanked 1 Time in 1 Post
    Yes but its in a folder. Like phonedmg/icons/Calculator/icon.png


    should it be different?

  11. #11
    Owner / Founder - ModMyi
    aka poetic_folly
    Kyle Matthews's Avatar
    Join Date
    May 2007
    Location
    Tampa, Florida, United States
    Posts
    8,475
    Thanks
    569
    Thanked 4,799 Times in 1,223 Posts

    Ha, sometimes its the easy things, eh?

    Yah, you can't put it in a folder. It has to be in the root of phonedmg.
    .


    ↑ ↑ ↓ ↓ ← → ← → B A [select] [start] Kyle Matthews

  12. #12
    What's Jailbreak?
    Join Date
    Jul 2007
    Posts
    15
    Thanks
    2
    Thanked 1 Time in 1 Post
    gimme an example here just so i can clarify lol..


    phonedmg/Calculator/icon.png?

  13. #13
    Owner / Founder - ModMyi
    aka poetic_folly
    Kyle Matthews's Avatar
    Join Date
    May 2007
    Location
    Tampa, Florida, United States
    Posts
    8,475
    Thanks
    569
    Thanked 4,799 Times in 1,223 Posts

    Nope.

    phonedmg/icon.png

    You gotta put them in there one at a time.
    .


    ↑ ↑ ↓ ↓ ← → ← → B A [select] [start] Kyle Matthews

  14. #14
    What's Jailbreak?
    Join Date
    Jul 2007
    Posts
    15
    Thanks
    2
    Thanked 1 Time in 1 Post
    oh...wow ok this is a longer process than i thougghttt.

    OK! here we go....again.

    32942th time is a charm.

  15. #15
    Owner / Founder - ModMyi
    aka poetic_folly
    Kyle Matthews's Avatar
    Join Date
    May 2007
    Location
    Tampa, Florida, United States
    Posts
    8,475
    Thanks
    569
    Thanked 4,799 Times in 1,223 Posts

    Yup. Easy once you've done it. We're working on simplifying it.
    .


    ↑ ↑ ↓ ↓ ← → ← → B A [select] [start] Kyle Matthews

  16. #16
    What's Jailbreak?
    Join Date
    Jul 2007
    Posts
    15
    Thanks
    2
    Thanked 1 Time in 1 Post
    Waiting for phone... established.
    iPhone state: Activated
    type "help" for help
    iPhone:/# cd /Applications/Stocks.app
    iPhone:/Applications/Stocks.app# putfile icon.png
    iPhone:/Applications/Stocks.app#

    does that mean it did it?

  17. #17
    Owner / Founder - ModMyi
    aka poetic_folly
    Kyle Matthews's Avatar
    Join Date
    May 2007
    Location
    Tampa, Florida, United States
    Posts
    8,475
    Thanks
    569
    Thanked 4,799 Times in 1,223 Posts

    Yup.
    .


    ↑ ↑ ↓ ↓ ← → ← → B A [select] [start] Kyle Matthews

  18. The Following User Says Thank You to Kyle Matthews For This Useful Post:

    eternityofmagic (07-29-2007)

  19. #18
    What's Jailbreak?
    Join Date
    Jul 2007
    Posts
    15
    Thanks
    2
    Thanked 1 Time in 1 Post
    finallyyyyyyyyyyyyyyy it looks great!


    now one tiny thing. itunes reads a 300 MB hard drive...did i do something wrong?

  20. #19
    Owner / Founder - ModMyi
    aka poetic_folly
    Kyle Matthews's Avatar
    Join Date
    May 2007
    Location
    Tampa, Florida, United States
    Posts
    8,475
    Thanks
    569
    Thanked 4,799 Times in 1,223 Posts

    Yup, you did. You didn't put the Services.plist file back on after modding. Open up iphoneinteface again, and do an ls (and return). If you see the Applications directory, etc, then issue the following commands:

    cd /System/Library/Lockdown/
    putfile Services.plist

    Then restart the phone.
    .


    ↑ ↑ ↓ ↓ ← → ← → B A [select] [start] Kyle Matthews

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts