1. Fuzzlet's Avatar
    One of the iPhone-Elite members posted a method for patching the MeCCA framework binary to allow for custom ringtones.

    Source: http://code.google.com/p/iphone-elite/wiki/Ringtones111


    I followed the instructions and am just releasing a pre-patched MeCCA file for easier use. All credit goes to the iphone-elite team! I patched it using XVI32 (a hex editor)

    Instructions
    -------------------

    1. Backup MeCCA file located at /System/Library/Frameworks/MeCCA.framework/ (I renamed mine to MeCCA.bak)

    2. SCP the included MeCCA file to this location

    3. Set permissions to 755 (I used WinSCP to do this)

    4. Reboot iPhone

    5. Copy your m4a ringtone to /Library/Ringtones

    6. Change the extension of your m4a file from "name.m4a" to "name .m4r"
    NOTE: THE SPACE BEFORE THE DOT IS IMPORTANT, IT'S WHAT THE PATCH LOOKS FOR

    7. Go to Settings->Sounds and select your ringtone.

    Download link
    --------------------
    http://rapidshare.com/files/65716567/mecca.zip
    2007-10-28 10:16 AM
  2. redeldog1's Avatar
    works great. thanks!!!
    2007-10-28 06:10 PM
  3. Endorphiin's Avatar
    Boo Yah..... easy as breathing.
    Last edited by Endorphiin; 2007-10-28 at 10:50 PM.
    2007-10-28 10:45 PM
  4. Destructo's Avatar
    I can confirm that this works. Thanks.
    2007-10-28 11:18 PM
  5. truenorth's Avatar
    +1
    Sydney, Australia
    If you received help, click on the Thanks button!

    2007-10-30 01:57 PM
  6. soda97's Avatar
    Can someone put this on installer?


    thanks in advance,
    soda
    2007-10-30 05:55 PM
  7. mo010's Avatar
    For some reason this isn't working for me. I followed your instructions by the letter except for renaming my backed up MeCCA file to MeCCA.bak.

    -I uploaded the file using Cyberduck (I'm on a mac), and the permissions were already set to 755.

    -I rebooted the iPhone.

    -I copied the file.m4a to /Library/Ringtones, then I renamed it to "file .m4r" and I made sure that the extension was changed not the file name.

    -I went to Settings->Sounds, and I found the ringtone as labeled as "._file".

    -I tapped, and I couldn't here anything. No sound what so ever.

    I did the same process to another ringtone. Same result!

    Thanks in advance.


    Edit: I forgot to tell you guys that iTunes was on the whole time when I did this, and the iPhone was docked too.
    Last edited by mo010; 2008-02-27 at 06:02 AM.
    2007-10-30 06:33 PM
  8. custom2005altima's Avatar
    Put this on installer! Thanks
    2007-10-30 06:38 PM
  9. vampyros_wrath's Avatar
    Will iTunes still delete these after every sync?
    2007-10-30 10:52 PM
  10. Destructo's Avatar
    Will iTunes still delete these after every sync?
    Not sure. Do this just incase : http://modmyi.com/wiki/index.php/Pre...n_iPhone_1.1.1

    I did that, and it doesn't delete anything when I sync.
    2007-10-30 10:54 PM
  11. iHeartMyiPhone's Avatar
    I performed the steps and I can also confirm this works. I had to restart the phone before I can hear the custom ringtones though.

    Will iTunes still delete these after every sync?
    I just connected to iTunes and synced. Ringtones are still there and working. I didn't have to perform the symlink mod above.

    Thanks everyone!
    2007-11-02 07:32 AM
  12. vkzawa's Avatar
    Works like a charm. This is amazing. Thanks Fuzz for taking the time to edit the MeCCA for us, and thanks 'elite' team for figuring that one out. I love this phone!

    Also, ringtones are staying after I synced. No extra modifications needed.
    2007-11-02 09:28 AM
  13. LesAshmore's Avatar
    Hi, I assume that with the downloaded meCCa file it is not neccassary to set permissions to 755 as they will already be set (I am not a winsscp user) and I can then backup and then copy the meCCa file using iphonebrowser, also I notice that the extension is renamed to m4r AFTER its placing on iphone is this important or can it be done before.
    Last edited by LesAshmore; 2007-11-02 at 05:51 PM. Reason: Automerged Doublepost
    2007-11-02 05:33 PM
  14. iHeartMyiPhone's Avatar
    It doesn't matter when the files are renamed. I ran a tool to batch rename my files before uploading them via WinSCP.

    +1 vote for this to be stickied. This seems to be one of the easiest solutions out.
    2007-11-02 07:13 PM
  15. PhoneLine's Avatar
    Will iTunes still delete these after every sync?
    Nope, they stay after a sync. Itunes doesn't check the Library/Ringtones folder as custom ringtones do not go there (normally ) That directory is just for the ringtones that come with the phone, so it just lists whatever is in the directory, thats why this method does not need a plist to be edited either, just rename it and your good to go.

    Sweet work!
    2007-11-02 08:59 PM
  16. mgt's Avatar
    I follow the instructions, and does work for me. Any suggestions?
    2007-11-05 05:15 PM
  17. danimsta's Avatar
    this worked perfect for me
    thanks so much!
    so easy!
    2007-11-08 09:24 PM
  18. Mr.P's Avatar
    how do you set the permissions? is this step neccessary? i tried it without permissions because i dont know how to do it and it didnt work.
    2007-11-17 08:54 PM
  19. irmatt's Avatar
    n/m
    Last edited by irmatt; 2007-11-19 at 07:11 AM.
    2007-11-19 07:06 AM
  20. scr4p's Avatar
    Confirmed that this still works after updating to 1.1.2

    -Steve
    2007-11-19 07:26 PM
40 12
LINK TO POST COPIED TO CLIPBOARD