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


Go Back   Hackint0sh > Projects and Hacks > iPhone > iPhone 3G and 3G(s) Solutions > Old *pwn Solutions > Winpwn

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-04-2008, 03:52 PM
Jim Danner
Status: Offline
Respected Member
 
Join Date: Dec 2007
Posts: 1,029
Rep Power: 67
Jim Danner is a jewel in the roughJim Danner is a jewel in the roughJim Danner is a jewel in the rough
Default [WinPwn 2.5][Cydia] Keep Applications on root partition?

WinPwn has this great new feature where you can choose the size of the system (root) partition. Presumably this is useful because it allows you to put many more applications on the phone than with the standard partition size. Great!

Then Cydia comes along and... moves the Applications folder to the media partition. There goes the whole purpose of enlarging the root partition. I don't even know why they included the option in WinPwn, because this way it has no conceivable use.

Is there a way to install Cydia but still keep everything where Apple put it? In the Cydia payload that comes with WinPwn 2.5 (\Program Files\winpwn-2.5\bundles\Cydia.tar.gz) there are some scripts in /usr/libexec/cydia/, like free.sh with a list of directories that are to be moved. But I'm afraid if I just edit or remove such a file with WinRar I'll corrupt the archive and make it unusable on an Apple device...
__________________
iPhone 3GS / 3.1.2 JB (PwnageTool) / 04.26.08 carrier-locked, Carrier Logo Fixer / Cydia / 1000 posts on Hackint0sh

Installing Cydia programs on a phone that has no internet connection: read this.

Editing binary .plist, .strings, .nib and .xib files:
* on your computer: Windows tool / conversion website.
* on your iPhone: convert those files in a terminal with plutil (installed with Erica Utilities) or edit them with iFile (Cydia links).
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 09-08-2008, 10:49 AM
Jim Danner
Status: Offline
Respected Member
 
Join Date: Dec 2007
Posts: 1,029
Rep Power: 67
Jim Danner is a jewel in the roughJim Danner is a jewel in the roughJim Danner is a jewel in the rough
Default

126 views and no replies... Maybe someone can answer this:
Should it be OK to edit the payload Cydia.tar.gz on the iPhone and then use it in WinPwn, or would problems be likely to arise from this?

Here's what I did: put the file on the iPhone, extracted the usr/libexec/cydia/free.sh script, edited that to leave it basically empty (it goes straight to "done"), then executed these commands:
Code:
# gzip -d Cydia.tar.gz
# tar -rvvf Cydia.tar usr/libexec/cydia/free.sh
# gzip Cydia.tar
It looks like things are still OK, though the archive now contains two copies of free.sh (when viewed in WinRar). Could anyone more knowledgable express an opinion?
__________________
iPhone 3GS / 3.1.2 JB (PwnageTool) / 04.26.08 carrier-locked, Carrier Logo Fixer / Cydia / 1000 posts on Hackint0sh

Installing Cydia programs on a phone that has no internet connection: read this.

Editing binary .plist, .strings, .nib and .xib files:
* on your computer: Windows tool / conversion website.
* on your iPhone: convert those files in a terminal with plutil (installed with Erica Utilities) or edit them with iFile (Cydia links).
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 10-12-2008, 11:29 PM
navco786's Avatar
navco786
Status: Offline
Senior Member
 
Join Date: Jan 2008
Location: United Kingdoms
Posts: 143
Rep Power: 18
navco786 has a spectacular aura aboutnavco786 has a spectacular aura about
Default

Hi. I think the reason you have two copies is because the original file is still in there. The file you added didn't overwrite the original because the paths are different. Have a look at the paths of the two files.
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 10-13-2008, 12:27 AM
Jim Danner
Status: Offline
Respected Member
 
Join Date: Dec 2007
Posts: 1,029
Rep Power: 67
Jim Danner is a jewel in the roughJim Danner is a jewel in the roughJim Danner is a jewel in the rough
Default

Actually, the paths are the same. The issue is that in a .tar file, edited files are appended at the end of the .tar (after all, tar literally means "tape archive"). The original one stays in the archive as well. But when you unpack it, only the most recent one remains.

Anyway, Cydia checks and sets up the moved folders every time it runs, so this won't work. I emailed Saurik, the author of Cydia, about this, and he convinced me that the whole idea of resizing the system partition is nonsense and that symlinks work exactly as well and fast as the original folders. If that's true, you can only lose space by resizing: either you make it too big and have empty space left, or you make it too small and have to move /Applications after all, leaving even more empty space.

Next time I pwn, it's 500 MB for me.
__________________
iPhone 3GS / 3.1.2 JB (PwnageTool) / 04.26.08 carrier-locked, Carrier Logo Fixer / Cydia / 1000 posts on Hackint0sh

Installing Cydia programs on a phone that has no internet connection: read this.

Editing binary .plist, .strings, .nib and .xib files:
* on your computer: Windows tool / conversion website.
* on your iPhone: convert those files in a terminal with plutil (installed with Erica Utilities) or edit them with iFile (Cydia links).
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 09:43 AM.



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