Tutorial :Extended/Advanced Preferences Fix

Discussion in 'iOS Jailbreak & Cydia' started by ChikityChinaGuy, Jan 18, 2008.

  1. ChikityChinaGuy

    ChikityChinaGuy New Member

    Joined:
    Dec 19, 2007
    Messages:
    289
    Likes Received:
    0
    Device:
    iPhone 4 (Black)
    This tutorial is for those who have installed Extended Preferences or Advanced Preferences, got the "Main script execution failed!" dialogue, and found out that their Preferences.app (Settings) has either stopped working (just shows the background and freezes) or completely disappeared, and all attempts to uninstall and reinstall fail to bring back your beloved Settings application.

    First, use your favorite program to access your iPod's filesystem.
    *Make sure you have write privileges!*
    Now, navigate to the "/var/root/Library/Preferences" directory.
    There should be a file in this folder called "Preferences.app.bak".
    This is the backup created when the Extended/Advanced Preferences application was installed.
    Copy this file and paste it into the "/var/Applications" directory.
    Rename it to "Preferences.app" (just delete the .bak part).
    *If a warning comes up informing you that there is already a file named "Preferences.app" in this directory, select "overwrite all" or simply delete the other file.*
    Chmod "Preferences.app" to 755.

    Start up your iPod and restart springboard if needed.

    Now, you should have either: a working Settings application, or a Settings application that freezes with only the background showing.

    If you have the latter, go back into your preferred filesystem access program.
    Navigate back to your newly restored "Preferences.app" in the Applications folder.
    Instead of simply chmodding the ".app" file itself, navigate into the ".app" file, and manually chmod every file in there to 755.


    Start up your iPod again and restart springboard if needed.

    You now have a fully functional Settings application.

    Thanks to this whole forum for creating a kickass community!
  2. Apple Guy

    Apple Guy Well-Known Member

    Joined:
    Dec 24, 2007
    Messages:
    1,992
    Likes Received:
    41
    Device:
    iPhone 4S (Black)
    Nice guide
  3. ChikityChinaGuy

    ChikityChinaGuy New Member

    Joined:
    Dec 19, 2007
    Messages:
    289
    Likes Received:
    0
    Device:
    iPhone 4 (Black)
    Thanks
    I saw a lot of posts regarding this bug, and i even had to go through it myself.
    Just trying to make some peoples lives better

    Please Register or Log in to view images

  4. papasmerf10101

    papasmerf10101 New Member

    Joined:
    Dec 22, 2007
    Messages:
    48
    Likes Received:
    0
    ur my hero thanx
  5. ChikityChinaGuy

    ChikityChinaGuy New Member

    Joined:
    Dec 19, 2007
    Messages:
    289
    Likes Received:
    0
    Device:
    iPhone 4 (Black)
    no problem
  6. tipii

    tipii New Member

    Joined:
    Dec 25, 2007
    Messages:
    2,147
    Likes Received:
    38
    hey how do i get rid of the extended prefs (just found out its not for the touch =[) when i uninstall it says ERROR: Main Script execution failed!

    Oh and i did what u said and still no prefs app. changed all to 755.
  7. armano

    armano New Member

    Joined:
    Jan 2, 2008
    Messages:
    9
    Likes Received:
    0
    Got some problems here too..
    I'm in my iPod directory but there is no "Preferences.app.bak" in my "/var/root/Library/Preferences" directory.

    But there is a Preferences.app.bak MAP in the "/var/root/Library/Preferences" directory.

    In the map there also is no file called Preferences.bal.app.
    And there also is no "/var/Applications" directory.

    I work with WinSCP, i hope it's all because maybe i don't have the write privileges and it won't let me see the files or something like that.
    If not, i'm screwed?

    Thnx in advance
  8. ChikityChinaGuy

    ChikityChinaGuy New Member

    Joined:
    Dec 19, 2007
    Messages:
    289
    Likes Received:
    0
    Device:
    iPhone 4 (Black)
    Tipii: Did you transfer the backup and chmod the actual app to 755? (you have to use a ssh program or total commander, because if you use mobilefinder, it doesn't replace the folder correctly)

    Armano: Did you relocate your application folder with the bosstool app? And what do you mean by a Preferences.app.bak MAP?
  9. armano

    armano New Member

    Joined:
    Jan 2, 2008
    Messages:
    9
    Likes Received:
    0
    I'm not quite sure if I've replaced the app folder with the bosstool app.
    Oh wait yeah, that app is taking care of the message that you can't download anymore or something like that. To earn more diskspace.

    And in the "/var/root/Library/Preferences" directory, like i said, there is a MAP/Folder called Preferences.app.bak with serveral files etc in it..

    Attachments have screens of my "/var/root/Library/Preferences" directory and one with the folder "/var/root/Library/Preferences/Preferences.bak.app" directory.

    Attached Files:

  10. armano

    armano New Member

    Joined:
    Jan 2, 2008
    Messages:
    9
    Likes Received:
    0

Share This Page