Check out our new iPad forum.
iPod touch 3G deals: 8GB $183.99, 32GB $269.99, 64GB $357.00 with free shipping

Go Back   iPod touch Fans forum > Archives > iPod touch Fans Archives > Jailbroken iPod touch Application Archive > Pwnage and Winpwn Discussions

 
 
Thread Tools
  #1  
Old 04-15-2008
consume1's Avatar
iPod touch Lover
Join Date: Dec 2007
 
Default [HOWTO] Create custom bundles in Pwnage 1.1 (It has pretty pictures!)

First right click the PwnageTool.
Second, Click "Show package contents
When the Folder opens, Navigate to Contents>Resources>InternalPackages


Create a new folder and rename it to whatever you want.

Open the folder and create a folder called "files"



Inside here, anything you put that relates to the firmware's filesystem will be added to the firmware. (Ex : Creating files>Applications>chat.app will install the mobile chat application into your firmware. For roms, it would be files>var>mobile>Media>ROMs>GBA,NES...etc. (You have to make these folders inside your bundles))

Next, you need to actually tell the PwnageTool that you have made your own custom package. To do this, you need to create an Info.plist telling the program what to do. You can do this by taking this "clean" Info.plist and adding the information you need to :


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Commands(Only needed if you need to chmod or set permissions for a specfic file)</key>
<array/>
<key>Description</key>
<string>XXX XXX XXX(What the description will be in the pwnage tool)</string>
<key>Identifier</key>
<string>com.XXX.XXX(not really sure what this is for, works even if you don't have one here)</string>
<key>Name</key>
<string>XXX(What the bundle will be called inside the pwnage tool)</string>
<key>Size</key>
<integer>XXXXX(The bundle size in bytes)</integer>
<key>SupportedFirmware(Pretty Obvious. This tells the pwnage tool which firmwares can use this bundle)</key>
<array>
<string>iPhone1,1_1.1.4_4A102</string>
<string>iPod1,1_1.1.4_4A102</string>
</array>
</dict>
</plist>

Now Save that in a text file and rename it to Info.plist. Edit it to your liking to get your desired result. Once it is saved as Info.plist, navigate to your folder you created and drop the Info.plist next to the files folder (not inside). When you have added everything, rename the folder you created to (insert name here).bundle.

If all works, you should see this when trying to install custom packages in the PwnageTool.



If my explanation of the Info.plist wasn't clear, here is an example from my AppPack bundle :
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Commands</key>
<array/>
<key>Description</key>
<string>Applications that are useful!</string>
<key>Identifier</key>
<string>com.TIMBO.apple</string>
<key>Name</key>
<string>AppPack</string>
<key>Size</key>
<integer>18224179</integer>
<key>SupportedFirmware</key>
<array>
<string>iPhone1,1_1.1.4_4A102</string>
<string>iPod1,1_1.1.4_4A102</string>
</array>
</dict>
</plist>
__________________

Last edited by consume1; 04-15-2008 at 08:21 AM..
  #2  
Old 04-15-2008
jimbeam's Avatar
iPod touch Zealot
Join Date: Nov 2007
 
Looks pretty strait forward. I give it a shot in a few day. Im waiting on a new iphone and i dont feel like screwing with the ipod. About the plists can i just copy one from another bundle and edit it to do what i want and how big of a bundle can you make?
  #3  
Old 04-15-2008
consume1's Avatar
iPod touch Lover
Join Date: Dec 2007
 
Quote:
Originally Posted by jimbeam View Post
Looks pretty strait forward. I give it a shot in a few day. Im waiting on a new iphone and i dont feel like screwing with the ipod. About the plists can i just copy one from another bundle and edit it to do what i want and how big of a bundle can you make?
Yup, that's what I did. I would have put that in the tut but i figured people would get confused.
  #4  
Old 04-15-2008
jimbeam's Avatar
iPod touch Zealot
Join Date: Nov 2007
 
This is great. It looks alot simpler the the old way. What about symlinks and the space limit?
With 1.0 i figured out how to get around that. But with this method it could be more complex.
  #5  
Old 04-15-2008
consume1's Avatar
iPod touch Lover
Join Date: Dec 2007
 
Quote:
Originally Posted by jimbeam View Post
This is great. It looks alot simpler the the old way. What about symlinks and the space limit?
With 1.0 i figured out how to get around that. But with this method it could be more complex.
Well you can always resize the root filesystem partition (by changing the plist in each firmware bundle) but the custom installer package will always read that you have 25mb left. Not sure how to do it in this one. Actually, if you resize the filesystem to 400 and just fake the actual size of your package, it might work. Not sure about symlinks though.

Last edited by consume1; 04-15-2008 at 09:43 AM..
  #6  
Old 04-15-2008
jimbeam's Avatar
iPod touch Zealot
Join Date: Nov 2007
 
I wounder what would happen if you created the file system with links just like you would in 1.0 and bundled it. Would you have to modify the plist to match it.
  #7  
Old 04-15-2008
iPod touch Amateur
Join Date: Apr 2008
 
hmm can't seem to get it to recognize the new bundles... here is the code i've got (and i've tried a couple others, they didn't work either...) am i doing something wrong?

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Name</key>
	<string>App Pack 1</string>
	<key>Identifier</key>
	<string>com.apptapp.Installer</string>
	<key>Description</key>
	<string>Collection of apps like Solitare. Includes GBA and NES roms.</string>
	<key>SupportedFirmware</key>
	<array>
		<string>iPhone1,1_1.1.4_4A102</string>
		<string>iPod1,1_1.1.4_4A102</string>
	</array>
	<key>Size</key>
	<integer>75656396</integer>
</dict>
</plist>
  #8  
Old 04-15-2008
Teslanaut's Avatar
iPod touch Savant
Join Date: Sep 2007
 
This is gonna take a while to learn
  #9  
Old 04-15-2008
iPod touch Admirer
Join Date: Apr 2008
 
how do you get hands on apps (as opposed to have them installed via installer)?
  #10  
Old 04-15-2008
consume1's Avatar
iPod touch Lover
Join Date: Dec 2007
 
Quote:
Originally Posted by chucky3456 View Post
hmm can't seem to get it to recognize the new bundles... here is the code i've got (and i've tried a couple others, they didn't work either...) am i doing something wrong?

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Name</key>
	<string>App Pack 1</string>
	<key>Identifier</key>
	<string>com.apptapp.Installer</string>
	<key>Description</key>
	<string>Collection of apps like Solitare. Includes GBA and NES roms.</string>
	<key>SupportedFirmware</key>
	<array>
		<string>iPhone1,1_1.1.4_4A102</string>
		<string>iPod1,1_1.1.4_4A102</string>
	</array>
	<key>Size</key>
	<integer>75656396</integer>
</dict>
</plist>
Did you try restarting the pwnage tool?
I just tried it and it worked for me.

Last edited by consume1; 04-15-2008 at 12:41 PM..
 

Thread Tools

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



All times are GMT -7. The time now is 07:57 AM.


Sort of vBulletin-powered
Copyright 2007 - 2010 Vigorous Media LLC - All Rights Reserved.


Page generated in 0.04698 seconds with 7 queries