Main Script Execution Failed

Ok…I just got this error in my Installer – “main script execution failed!” I tried restarting my iPhone, installing different apps (both new and updates) and even installing apps from different sources…no luck, still got the error. That is when, in frustration, I handed my iPhone to Doug and being as brilliant as he is…he fixed it! All I needed to do was clear my queue! I had tried to install weTool-US…which got almost through the install process and gave me the “main script execution failed!” error (which I still get when I try to install this app). Well, from there, I tried to install other apps not realizing that weTool-US was still in my queue. So, moral of the story, try clearing your queue (or hand your iPhone to someone brilliant)!


1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Comments

  1. i get this error after i freshly jailbroke my ipod touch to 1.1.3 … people said that internal full memory may also be a reason for that, which could be, because the 1.1.3 soft install puts about 300 mb of files onto your internal drive, which has …… 300 mb size :/

    does that mean i have to reinstall as often as this error comes until it works? because i did the same things to jailbreak b4 and in 1 out of 2 times it worked :/

    strange error

  2. Soft jailbreak bad, ZiPhone good! This cave man is going to bed now!

  3. I got this error when i tried changing permissions for installer. Once I put it to 0777, no apps would install anymore. When I put it back to 0755, nothing changed. Weird. I had to restore and use ZiPhone all over again.

  4. Totally unrelated, but does anyone know of a program like total commander thats compatible with 1.1.3 and does not need wifi. Iphonebrowser does not work on 1.1.3 nor does total commander. I have winscp but it needs wifi….any suggestions would be greatly appreciated =)

  5. i have the same problem.
    After i move /Applications folder to /var/root/Applications to make more disk space for install app.
    Now, i cannot install from installer, always: main scripts execution failed.
    + i moved back app to /Applications, but could not solve the problem.
    Help me please.
    Thanks.

    • dermapthera says

      Hi ducga

      I used to have that problem. But once I cleared the queue, everything is back to normal. That worked for me though…

    • ducga, I was in the same exact situation.
      i didn’t move the /Application folder back, left it in /var/root
      clearing the queue didn’t help

      here’s what solved it for me:

      # chmod +s /Applications/Installer.app/Installer
      # chown -R root:wheel /Applications/Installer.app

  6. For Installer problem, run: (in term-vt100, or putty, or…)
    Code:
    cd /Applications
    chmod +s Installer.app/Installer
    chown -R root:wheel Installer.app

    It helped me
    http://www.hackint0sh.org/forum/showthread.php?t=26068

  7. I have the error as well, and clearing the queue makes total sense but…..How do i do it?

  8. I know that isnt the right place for that but can anyone look and tell me what are the permission for the notes file in var/mobile/library/notes/notes.dtb. Or can anyone can send me a blank notes file because on mine if I write something, it dissapear always and i can not delete my notes. This happen to me because I did a back up of this file and I put it on my phone after a restore. I dont know what is wrong with that… Please Help !

    • The MobileNotes.app is set as 0775. But, if you are dragging the file from your computer it should work to set it as 0755.

    • Im not talking about the mobilenotes.app, Im talking about the file who is
      situated in var/mobile/library/notes for 1.1.3 or var/root/library/ notes for
      1.1.2 and lower.. thanks

    • Oh my bad…mine is 0755 (but, I may have changed that at some points from what it is stock…sorry I can’t remember…I do sooo much changing!!)

    • Mmm yeah I tried but no chance..!

  9. After installing newAT&Tiphone source, my iphone started to give “Main Script Execution Failed” error.
    I don’t know what to do, please help.

  10. Hi, something weird happened with my 1.1.3 iPhone..

    I tried to install BEATPHONE and i got “Main Script Execution Failed”… So, i quit installer and surprise! The BEATPHONE icon was in my SpringBoard.. i click on it but nothing happens.. I then go to installer and click on uninstall but BEATPHONE is not there! I try to install it and get the same error

    What should i do???

    Should i manually remove this app using FTP?

    Thanks, fuser

    PS: PLEASE HELP!

  11. Gerardo Costilla says

    I am running an originally 1.0.0 iPhone that was upgraded to 1.1.3 and unlocked, jailbreaked using ziphone.

    After moving all the applications from / to /private/var (with sym link to /var), Installer was no longer working and the ‘main script execution failed’ error was shown.
    This is what I did to move all the applications to /private/var
    cd /
    cp -r Applications /private/var
    rm -r Applications
    ln -s /private/var/applications

    OK, that was good, that will save some space of the / partition and will allow me to install EVERYTHING the Installer can come up with.

    After doing the applications move I got the ‘main script…’ error.

    This is what worked for me: I reinstalled ‘Installer’ on the ‘Uninstall’ section of the ‘Installer’ application and then, executed using ssh:
    chmod +s /Applications/Installer.app/Installer
    chown -R root:wheel /Applications/Installer.app

    I quited Installer and springboard was restarted. I started Installer and immediately after installed ‘Britannica Consice’, without any trouble.

    I hope this works for all of you,

    • Kevin Heine says

      hey gerardo i just did what yous aid and now the only app i have is installer everything else is missing :/ how do i get em back something went terribly wrong!!!!

    • Gerardo Costilla says

      Hey Kevin,

      I see that the cp command is missing a ‘-r’, that might be the reason, but cp should have exited with an error, and if so, you shouldn’t see anything, not even the Installer. If the applications are missing, thats terrible, don’t know how to fix that. I can’t understand how come Installer is the only application that you see.

      Try to restore your iPhone to 1.1.3 using iTunes. Then, jailbreak and unlock it using Ziphone. Be sure to execute the following instructions by copying and pasting, so that you won’t miss anything.

      cd /
      cp -r Applications /private/var/
      rm -r Applications
      ln -s /private/var/Applications

      Reinstall ‘Installer’ on the ‘Uninstall’ section of the ‘Installer’ application and then, execute using ssh:
      chmod +s /Applications/Installer.app/Installer
      chown -R root:wheel /Applications/Installer.app

      Kevin, I am absolutely sorry for posting an incorrect command. I hope that my suggestion works for you and if not, add me to your msn so that I can help you directly: costicost atgmaildotcom, If you don’t have a way of restoring your iPhone, I could provide you with a .tar.bz2 archive of all my applications so that you can untar it to your iPhone, how’s that?

      **** Guys, please note that in my original post the cp command is missing a ‘-r’ argument.

    • I added the -r to your previous post!

    • donaldclark says

      how do i move the applications folder back to “/ ”

    • donaldclark says

      well, i got all the apps back but they all crash as soon as they open.

      help?

    • You probably need to set the permission to 0755. Do you know how to do that?

  12. Please help me! I have read through the posts above but don’t understand any of it!!! I updated my phone to 1.1.3 and jailbreaked it using Ziphone which was grand, and installed loads of programmes. Then i updated it t0 1.1.4 and jailbreaked it, and it all works fine but all my programmes are gone. I went into installer and they are still supposedly there. However, when I try to uninstall them or install any programme at all, it says ‘main script execution failed’. Please please help me!!!! Thanks!

  13. wisefool says

    John (#7) I didn’t see any one reply to your question…to clear the installer.app queue;

    1) while in installer.app click on ANY application in the install list.
    2) on the application’s install screen, click ‘install’ on the top right.
    3) instead of confirming by clicking the 2nd install button, click ‘Clear Queue’ instead.

    I think the problem is some that some application resources are having problems of late, though I can’t confirm it. I don’t remember what I was trying to install exactly, but once you try to install something and it has any kind of failure, installer.app puts it first in the queue. Every time you try to install something after that, it keeps trying to install the same failed application first. If any install fails, immediately click install again and clear the queue, or it’ll interfere.

    ————————————-

    Fuser (#10) I had this same problem attempting to instal iphysics. It was on my springboard, although it failed to actually install (seeing it was 4k in mobilefinder was kind of a clue) and still showed up as not installed in installer. Mobilefinder wouldn’t delete it though…I used the Finder on my Mac after I installed AFP to delete it. If you’re on Windows I suppose SFTP should be fine.

    I don’t know what causes the problem or how to avoid it. I’m still waiting to install iphysics.

    ———————————–

    Braker (#12) Try clearing the queue. (see above) it might have been one bad resource, that failed to install that’s choking installer.app. Bet it is.

    ———————————-

    Now, I’m hoping to find out if anyone else having problems with apps from Conceited Software? I have been trying to download term vt-100 and Beat Phone for days, and every time the download fails. Is anyone familiar with a site that lists app resources for installer? Anyone know if there are other problem resources out there right now?

  14. whitelights says

    1) i have the 1.1.4 version for my ipod touch.
    2) i downloaded the Ziphone.
    3) but when i’m downloading something i have this error : “main script execution failed!”
    4) i tried to Clear Queue.but i still have the problem !!!!
    what should i do ???
    Help me please.
    Thanks.

    • I understand. First let me say I am sorry that you are having problems. Have you tried Ziphone or iNdependence. Those two programs have helped me when I could not get my phone going. Also if you install software in the installer that warns you that it is not certified to be risk free then you may have bad software installed that can make your phone run unstable and not boot up. You have to understand that I am self educated and have don a boatload of research on the iPhones and their versions. I have a 1.1.2 OTB iPhone and have upgraded to 1.1.3 and 1.1.4 and have been able to use Ziphone to install the installer program on my iPhone with 1.1.4 on it then was able to instal summer board and only install apps that installer says are ok. Meaning when you go to install the application within installer you don’t get a red install bar. The install bar is grey. There are people out there who would like to screw with your phone. They just don’t care about you they think its funny or they like the power trip they are getting from it. if you cant unlock your phone and it boots ok then first download Ziphone here http://www.ziphone.org/2008/02/ziphone.html next unpack and install it depending on what operating system. Hook up your iPhone. When itunes comes up close it. Check jailbreak, activate and then click on start. You may get an error when its done. Your phone should be unlocked and or Jailbreak. If your phone is not starting up right you can try Ziphone or you can use iNdependence http://code.google.com/p/independence/ it has worked for me when I had a friends phone locked in a loop booting. Its really good to use also to unlock problem phone or phones stuck in recovery. You have to understand these phones are having to go through allot right now. I am expecting since the developer code is released we will see better performance updates for cracking and hacking these phones. I am sorry for any problems you are dealing with that may be a result of my advise. I am trying to help any one who reads my advise. Let me know if this new info helps. By the way Ziphone is iPod touch capable

  15. Ok. If you have the firmware 1.1.3 or 1.1.4 and you are trying to install from the installer. You will need to do two things. One is clear the queue and the other is as follows. Go to settings then general. Down at the very bottom there is reset. Go into reset and select reset all settings. It will clear all cache and settings. You will not lose your installer or your programs. I tried this and I was able to install items I was not able to before. Also having the newest firmaware and the installer not having any updates for it can cause this as well. So if you just updated to 1.1.4 give the developers some time to come up with the apps updates to get things working back to normal.

    • hey ty,
      I tried exactly what you said to do and now my iphone version 1.1.3 will not turn on, the little apple icon comes up and is trying to boot up.( it blinks and i get the little spindle thingy circle)…. It never gets to start up… Ive tried powering it off and on, nothing. Ive tried holding the power and home together, nothing… do i need to plug it into itunes to let it restore or what? someone please help!!!!!
      P.s. this is a jailbroken iPhone

    • Tried that, didn’t work; Still getting the “main scrips execution failed” error on any app I try to uninstall.

    • jesconsa says

      YES!..I did it and it works. Iphone 8Gb and firmware 1.1.4.

    • Cheers Ty-worked a treat!!

  16. My iphone use firm 1.1.1, after i try to update my installer 3.0, it failed “main script execution failed”. I already clear my queqe but still can not install any application, except ebook for book app? Any simple solution?

  17. I understand. First let me say I am sorry that you are having problems. Have you tried Ziphone or iNdependence. Those two programs have helped me when I could not get my phone going. Also if you install software in the installer that warns you that it is not certified to be risk free then you may have bad software installed that can make your phone run unstable and not boot up. You have to understand that I am self educated and have don a boatload of research on the iPhones and their versions. I have a 1.1.2 OTB iPhone and have upgraded to 1.1.3 and 1.1.4 and have been able to use Ziphone to install the installer program on my iPhone with 1.1.4 on it then was able to instal summer board and only install apps that installer says are ok. Meaning when you go to install the application within installer you don’t get a red install bar. The install bar is grey. There are people out there who would like to screw with your phone. They just don’t care about you they think its funny or they like the power trip they are getting from it. if you cant unlock your phone and it boots ok then first download Ziphone here http://www.ziphone.org/2008/02/ziphone.html next unpack and install it depending on what operating system. Hook up your iPhone. When itunes comes up close it. Check jailbreak, activate and then click on start. You may get an error when its done. Your phone should be unlocked and or Jailbreak. If your phone is not starting up right you can try Ziphone or you can use iNdependence http://code.google.com/p/independence/ it has worked for me when I had a friends phone locked in a loop booting. Its really good to use also to unlock problem phone or phones stuck in recovery. You have to understand these phones are having to go through allot right now. I am expecting since the developer code is released we will see better performance updates for cracking and hacking these phones. I am sorry for any problems you are dealing with that may be a result of my advise. I am trying to help any one who reads my advise. Let me know if this new info helps.

  18. To Solve “Main Script Execution Failed!”
    > Open “ZiPhone”
    > Choose “Don’t Unlock”

    Wait… wait… wait… Wooohlaaa!!!
    That’s it man!

    Result after doing this..
    > My installed program remained and can be opened normally
    > Installer work great.. no more “Main Script Execution Failed!”

    Benefit..
    > You won’t need to reinstall the whole thing :P
    > Don’t take much time
    > You do not need to type anything.. just click!

    Hope this help you guys out
    I test in on firmware 1.1.4 and 1.1.3 might work as well

  19. If an iPhone is stuck in a loop You will have to either restore or if you can get it into recovery mode then use itunes to update or restore. Then use Ziphone to add the installer. But do not! Install the apps that are not approved by the installer program. Thats all I can do for ya. Any more and you will have to talk to another person such as the guy that write Ziphone. Email him or see if he is online in his chat on his site.

  20. After I moved the Apps directory, I got this error, but I fixed it by fixing the perms on the installer app…

    # chmod +s /Applications/Installer.app/Installer
    # chown -R root:wheel /Applications/Installer.app

  21. I’m having the same error “main script execution failed”. I tried SSH, but after entering chmod +s /Applications/Installer.app/Installer I get the following
    “chmod: /Applications/Installer.app/Installer: Read-only file system”
    Specs;
    Iphone 4GB
    firmware v 1.1.4
    iNdependece
    Installer v 3.01

  22. i recently change my permissions of all apps using term-vt100 to make drunknbass work…

    but now it shows me the “main script execution failed”

    i think i need to change the permissions back but what are the permissions?

  23. hi
    i have iphone 1.1.3 i try to install any thing it gives me error message of main script execution failed and i m not so good in computer so please help me
    it happen when i run the jail breaker

  24. please help me to install the themes in the summer board i m not good in computer and it is given the error message main script execution failed when ever i install the theme

  25. hi i have iphone 1.1.4 and it just start till the apple sign and dosen’t go ferther so what can i do i don’t know what i install

  26. Hello, I am having the problem, as well. The only thing is… it ONLY happens when trying to install the BSD Subsystem. YES, I have tried to clear the queue. Please help..?

  27. Okay, fixed it. Okay, here’s the solution: Put it in recov. mode and restore with iTunes.

    Re-jailbreak USING ZiPHONE.

    Simple, no?

  28. I can install almost all app.
    But very sometimes i got the problem
    I wanted to isntall iLottery (what´s unsafe to install) and there i got the problem. And the problem came with Excuses too.
    Both are from iSpazio DavTeam.
    But i´m able to download most of the other app´s.
    I´ve tried all methodes that are listed here but none of the worked :(
    i mean it don´t bothers a lot but i´m still wondering if there is something wrong with my iPod touch 16 gb 1.1.4.

    Is that a problem of iSpazio or worked it with you guys?

    • ok now something has changed…
      I´ve now MSEF with all apps… :(
      And i tried all things that are to try, but none of them worked…
      Please is there someone who have a similar problem?

    • forget it.
      It´s okay now

  29. I try installing different apps but it shows an error main script execution failed . What should I do ?

  30. sunshine says

    having the same problem as well.. pls help.

  31. Excuse my english and my limited knowledge about anything…
    But my installer started showing that error only when I installed by drag and dropping it with iNdependence, which dropped it in the User folder, not System folder. (1.1.4)

    Could it be the original Installer had more resources and declared in more places than it is now?

    You know… it was intended for being used in one folder, and now all paths are wrong. I can’t uninstall anything from before (apps that are not visible in desktop anymore, in disk)

    or… different BSD subsystem?

    I think I’ll restore it and start from a clean 1.1.4 (iNdependence)

    Main Script execution failed: Not fixed yet.

  32. I really tried everything up there but results??…..zero plz ppl heeelp im getting insane and 1 question do u loose all ur programms and that when restoring?? Thx alot (excuse my english)

  33. I had the same problem. Before, the iPhone had warned several times that the drive was getting full. (But room for music etc in Itunes)

    When I uninstalled some of the apps I didn’t use – everything was back to normal. No need for me to use unlock etc. Try this & Good Luck!

  34. Adel Hallak says

    Hi there,

    I am having the Execution Failed message only when I try to download iRemember program. Any idea why? also, sometimes it tells me that my memory is getting full but i still have 10gb of free space…what is going on? thanks

  35. Piaget Lauren says

    Hi, i am having a big problem with my 1.1.4 Jailbroke iPod touch, juz now when I tried to uninstall the “Vista perfection” thingy as i dun like it di, then it came out “Main Exucution Failed”, then my iPod crashed, then when I open some aplication also cannot, like”Setting”, when i pressed it then it will crash and switch back to SummerBoard, and some of my button are missing, for example, when i am playing song, the back button is not there. HELP !!! What I can do, pls help…Thanks

  36. Adel Hallak says

    Hi there,

    I am having the Execution Failed message only when I try to download iRemember program. Any idea why? also, sometimes it tells me that my memory is getting full but i still have 10gb of free space…what is going on? thanks

  37. Michael T Kerr says

    I am having the Execution Failed message only when I try to download iRemember program. Any idea why?

  38. hkdownfall says

    I have same problem. Any program can fix? Thank you