Thread: Installer Main Scrip Exec Failed
-
02-09-2008, 03:39 PM #1
Installer Main Scrip Exec Failed
Installer keeps giving me this problem... Doesn't matter 1.1.1, 1.1.2 or 1.1.3.
How do i fix thids?
-
02-09-2008, 05:24 PM #2
i had a same problem when i upgraded from 1.1.2 to 1.1.3
the reason why it is doing this is because installer is not recognizing where the application folder really is
there are few ways to fix it
try this
ssh into your iPhone using Terminal
this should reinstall your Installer App and set the right permissionsCode:cd / cd Applications/ wget http://repository.apptapp.com/packages/System/Installer.zip rm -rf Installer.app unzip Installer.zip chmod +s Installer.app/Installer chown -R root:wheel Installer.app rm Installer.zip
if that don't work you can try
going into the installer, go into uninstall and select installer app and top right corner click reinstall
you can also try
i got the above from a thread here on modmyi.comIn my case the failure was due to the 'mobile' user not being able to extract files to /Applications. By default the folder had 755 permissions which resulted in a no permission failure by Installer. When I changed permissions to 777 I still couldn't extract to the folder due to an out of space error even though I had enough space, very odd. To fix it I created a new Applications folder at /private/var/mobile/Applications and created a softlink at /Applications. This is similar to what the BossTool does.
Use the following commands at your own risk. It worked for me but I can't make any guarantees that it will work for you.
Connect to your phone using ssh (putty works on windows) then execute the following commands.
mkdir /private/var/mobile/Applications
chown mobile:mobile /private/var/mobile/Applications
cp -r /Applications/* /private/var/mobile/Applications
mv /Applications /Applications.old
ln -s /private/var/mobile/Applications /Applications
Verify your phone and apps are working correctly. If installer and other apps are working then execute the final step.
rm -rf /Applications.old
The step above deletes your original Applications directory and frees space in your OS partition.
Certain applications will not install because they attempt to use /private/root/Media. These apps need to be updated for 1.1.3 but for now you can work around it with the following command. It gives the mobile user permission to use the root user's Media folder.
chmod 777 /private/var/root/Media
http://www.modmyi.com/forums/showthread.php?t=28875
seems to have worked for few people
my problem was fixed just by reinstalling installer app, but i then figured since there is going to be so much junk on there iPhone i better start clean, so i just put by iPhone in DFU mode, restored it back to firmware 1.1.1, did jailbreak on it, upgraded it to firmware 1.1.2, did jailbreak on it, upgraded it to firmware 1.1.3 (soft update) and it was already unlocked since restoring didn't change the baseband and everything is working like a charm
-
02-09-2008, 05:29 PM #3
When you say "Put it in DFU mode" did you manually do it? or did you use the program that came with iBrickr?
-
02-09-2008, 05:42 PM #4iPhone? More like MyPhone
- Join Date
- Nov 2007
- Location
- Washington
- Posts
- 187
- Thanks
- 10
- Thanked 27 Times in 17 Posts
I have tried this many times. I still can't figure out why it keeps giving me that main script execution failed. For those who have tried this and it didn't work have you found another way?
-
02-09-2008, 08:31 PM #5
I already know this method, but the place I unlock my phone doesn't let SSH connections........
Is there anyway I can do this w/out the SSH?
-
02-09-2008, 10:32 PM #6
have you tried reinstalling installer application by going into installer it's self
i don't know any other way unless u wanna start fresh
yes i did it manually by holding power + home for about 10 seconds then home for 10 seconds and when connected to iTunes it said it has found iPhone in Recovery Mode
now, iBricker will do the job
as well as Independence (friend of mine used Independence to put his iPhone in DFU mode and it work like a charm for him since manually it wasn't doing it)Last edited by Croatian; 02-09-2008 at 10:32 PM. Reason: Automerged Doublepost
-
02-10-2008, 11:09 AM #7iPhone? More like MyPhone
- Join Date
- Nov 2007
- Location
- Washington
- Posts
- 187
- Thanks
- 10
- Thanked 27 Times in 17 Posts
you shouldn't have this problem if you do a full restore back to 1.1.1. After the 1.1.1 restore...oktoprep to 1.1.2 and jailbreaking using the touchless jailbreak method. Then use the dev teams official upgrade to upgrade to 1.1.3 which should fix this. I have been having the same problem. I had redid my phone at least 20 times before I figured this out. There are a few more things to install like bsdsystems, but these steps are the important steps to followl. hope this helps.



LinkBack URL
About LinkBacks
Reply With Quote
