Home User CP Donate Chat Register Today!  
  Get New posts Faq / Help?
   


Go Back   Hackint0sh > Projects and Hacks > iPhone > Applications & Development > Free Toolchain Software

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-08-2008, 02:39 AM
Former Bender's Avatar
Former Bender
Status: Offline
Guest
 
Join Date: Nov 1970
Posts: 3,501
Rep Power: 0
Former Bender has much to be proud ofFormer Bender has much to be proud ofFormer Bender has much to be proud ofFormer Bender has much to be proud ofFormer Bender has much to be proud ofFormer Bender has much to be proud ofFormer Bender has much to be proud ofFormer Bender has much to be proud ofFormer Bender has much to be proud ofFormer Bender has much to be proud of
Default [Solution] Fix Installer v3.1 "Package download failed " & permissions errors

UPDATE: THIS METHOD DOESN'T MAKE INSTALLER 3.X WORKING ON 2.0 FIRMWARE, YOU MUST WAIT FOR THE 4.0 INSTALLER RELEASE

I found a pretty simple but really efficient way to solve Installer 3.1 issues.

NOOB PROOF METHOD (OS X ONLY)

1- Backup/rename your Installer sources folder (/var/mobile/Library/Installer) with SSH, Term-VT100 or Mobile Finder.
If you don't want/care to backup, you'll have to add your sources again and reinstall your apps because the Installed apps list of Installer will be empty and you won't be able to see updated apps.

2- Download the iLiberty+ 1.51 for OS X (previous versions are not compatible with the new payload format).
3- Download the Installer3FIX.lby and save it on your desktop.
4- Open iLiberty and check the "Select a custom payload manually" option.
5- Click Browse and load the Installer3FIX.lby.
6- Click Free my iPhone/iPod Touch !
7- Update you Installer to 3.11 and restore your Installer sources folder.
8- Enjoy your error-free Installer.app




SSH/TERMINAL METHOD

Requirements:

- SSH Client: Putty for Windows or Terminal for OS X.
(You can also use TermVT-100 if it is already installed in your phone.

- Your Firmware must be 1.1.3 or 1.1.4.
- You must have or need to install BSD Subsystem.

Restart your phone and from a computer, use SSH to connect to your phone and type this:

Code:
rm -R /var/mobile/Library/Caches/Installer
rm -R /var/mobile/Library/Installer/Temp
chmod -R 755 /Applications/Installer.app
chown -R root:wheel /Applications/Installer.app
chmod 4755 /Applications/Installer.app/Installer
Quit SSH and start Installer from its icon on Springboard.
The Permissions and "Package download failed" errors are gone.

If after doing this method you still have the "Package download failed" error while installing apps (but not with all of them), they are in fact caused by down repositories, so you might try again later

Last edited by Former Bender; 07-22-2008 at 02:55 PM. Reason: Method Updated
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 05-08-2008, 05:06 AM
wlp5
Status: Offline
Senior Member
 
Join Date: Sep 2007
Posts: 253
Rep Power: 16
wlp5 is on a distinguished road
Default

You have a typo in the first command, should be "Caches" instead of "Cache"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 05-08-2008, 05:24 AM
Former Bender's Avatar
Former Bender
Status: Offline
Guest
 
Join Date: Nov 1970
Posts: 3,501
Rep Power: 0
Former Bender has much to be proud ofFormer Bender has much to be proud ofFormer Bender has much to be proud ofFormer Bender has much to be proud ofFormer Bender has much to be proud ofFormer Bender has much to be proud ofFormer Bender has much to be proud ofFormer Bender has much to be proud ofFormer Bender has much to be proud ofFormer Bender has much to be proud of
Default

Thanks, corrected
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #4 (permalink)  
Old 05-08-2008, 10:44 AM
underwaterdub's Avatar
underwaterdub
Status: Offline
Member
 
Join Date: Mar 2008
Posts: 58
Rep Power: 4
underwaterdub is on a distinguished road
Default

Doesn't work for the insufficient permisson thing...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 05-08-2008, 10:56 AM
Former Bender's Avatar
Former Bender
Status: Offline
Guest
 
Join Date: Nov 1970
Posts: 3,501
Rep Power: 0
Former Bender has much to be proud ofFormer Bender has much to be proud ofFormer Bender has much to be proud ofFormer Bender has much to be proud ofFormer Bender has much to be proud ofFormer Bender has much to be proud ofFormer Bender has much to be proud ofFormer Bender has much to be proud ofFormer Bender has much to be proud ofFormer Bender has much to be proud of
Default

You have probably moved the Applications folder in the mobile folder when it should be in root folder.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 05-08-2008, 11:09 AM
underwaterdub's Avatar
underwaterdub
Status: Offline
Member
 
Join Date: Mar 2008
Posts: 58
Rep Power: 4
underwaterdub is on a distinguished road
Default

No, I just moved the ringtones..

But the temp folder ist located in /var/root...

But even when I run your commands with root instead of mobile it doesn't help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #7 (permalink)  
Old 05-08-2008, 11:50 AM
Former Bender's Avatar
Former Bender
Status: Offline
Guest
 
Join Date: Nov 1970
Posts: 3,501
Rep Power: 0
Former Bender has much to be proud ofFormer Bender has much to be proud ofFormer Bender has much to be proud ofFormer Bender has much to be proud ofFormer Bender has much to be proud ofFormer Bender has much to be proud ofFormer Bender has much to be proud ofFormer Bender has much to be proud ofFormer Bender has much to be proud ofFormer Bender has much to be proud of
Default

Installer doesn't use root, it uses mobile folder to store the sources plists, the Cache folder and the Temp packages.

The commands i give in this thread will create the files and path with the correct permissions.

You should check that Installer.app itself has the right ownership and permissions (root:wheel and 4755).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8 (permalink)  
Old 05-08-2008, 12:19 PM
underwaterdub's Avatar
underwaterdub
Status: Offline
Member
 
Join Date: Mar 2008
Posts: 58
Rep Power: 4
underwaterdub is on a distinguished road
Default

The Installer.app has the right ownership + permissions.

I noticed, that whe I use your commands with root and mobile and let the installer refresh then close ssh then none of the folders exist. /Cashes/Installer or Installer/temp both don't exist, not under root and not under mobile.

When I start the Installer from the springboard afterwards it says the permissions (mobile:root) thing. After closing it, there's the caches and temp folder but under /var/root!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9 (permalink)  
Old 05-08-2008, 12:47 PM
Former Bender's Avatar
Former Bender
Status: Offline
Guest
 
Join Date: Nov 1970
Posts: 3,501
Rep Power: 0
Former Bender has much to be proud ofFormer Bender has much to be proud ofFormer Bender has much to be proud ofFormer Bender has much to be proud ofFormer Bender has much to be proud ofFormer Bender has much to be proud ofFormer Bender has much to be proud ofFormer Bender has much to be proud ofFormer Bender has much to be proud ofFormer Bender has much to be proud of
Default

I flawlessly used this method several times on a fresh 1.1.4 restore and Jailbreak (PwnageTool).

If Installer store/save its files in root instead of mobile it is because of ownership problem.
How in details do you set/modify the ownership and permissions ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #10 (permalink)  
Old 05-08-2008, 12:52 PM
underwaterdub's Avatar
underwaterdub
Status: Offline
Member
 
Join Date: Mar 2008
Posts: 58
Rep Power: 4
underwaterdub is on a distinguished road
Default

I tried with chown and with cyberduck. It shows root:wheel 755 when I use: Is- la
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +2. The time now is 02:59 PM.



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2 Ad Management by RedTyger
follow us on Twitter!

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105