Where to find apple-touch-icon

Discussion in 'iPhone' started by Lycan, Sep 23, 2010.

  1. Lycan macrumors newbie

    Joined:
    Jul 30, 2010
    #1
    Hi...

    Does anyone know where iPhone 4 stores the apple-touch-icon for a specific website added to the homescreen?
     
  2. Lostanddamned macrumors 6502a

    Lostanddamned

    Joined:
    May 3, 2009
    Location:
    London, UK
    #2
    Could you post a screenshot of the icon in question?
     
  3. twelve56 macrumors member

    Joined:
    Sep 16, 2008
    Location:
    Sunny England
    #3
    Do you mean the icon that is saved when adding a website/shortcut to the homescreen?

    Im sure you can only access it if jailbroken, i havnt jailbroken for a while now, especially tinkering with the icons so ive forgotten how to get there. But im sure someone on here could help you out with the correct path to the icon file.
     
  4. Lycan thread starter macrumors newbie

    Joined:
    Jul 30, 2010
    #4
    Yes that icon...
    It must be somewhere, since I see it even when offline.

    My iPhone is jailbroken, but I can't seem to find the place... :-(
     
  5. twelve56 macrumors member

    Joined:
    Sep 16, 2008
    Location:
    Sunny England
    #5
    Try this path...... /Library/Themes/THEME/Icons/. Have the prefered icon named exactly the same way it is on your iphone. Let me know if this works.

    EDIT: Better still try this... found it on ilounge

    You will need the following:

    * Jailbreak iPhone/iPod-touch.
    * SSH Server installed on your iPhone/iPod-touch.
    * WinSCP if you're on Windows.


    Lets get started:

    1. Start the Wifi on your iPhone/iPod.
    2. Start the SSH server on your iPhone/iPod.
    3. Check IP address your iPhone/iPod was assigned with: Settings -> Wi-Fi -> (the relavent blue arrow) -> IP Address.
    4. Connect your iPhone/iPod with WinSCP, using the the IP address we checked and the following user information: Username:root Password:alpine
    (I'm not sure what is the root password on iPod-touch, it could be dottie)
    5. Navigate to the webclips directory: /private/var/mobile/Library/WebClips/
    6. You will see directories similar to this one: 833C7AC6-9AD4-4350-A873-6CE648B76AF4.webclip
    Each of these directories contain two files: Info.plist and icon.png
    7. Move through the directories opening the Info.plist file until you find the webclip you're looking for.
    You can now alter the webclip information by editing the Info.plist file, which is nothing more than a XML file.
    8. If you have a better icon you can simply replace the icon.png file.
    9. You're done. Now reload the SpringBoard, by either reloading your iPhone/iPod or use a 3rd party app.
     
  6. Lycan thread starter macrumors newbie

    Joined:
    Jul 30, 2010
    #6
    Great!
    Just what I was looking for...

    And I can even theme it with my homemade Winterboard them!
    I know that the string before .webclip is different on another iPhone using the same site added to homescreen, but the them is just for so, so it will do.

    Thanks a lot!!!
     
  7. Lycan thread starter macrumors newbie

    Joined:
    Jul 30, 2010
    #7
    UPDATE!

    It's possible to replace the icon in the webclips folder, but when you visit that clip again, the icon gets replaced by the original from the site.

    So you'll have to theme it, the get your own icon everytime...
     

Share This Page