HomeStoreForumsWikiiPhone Native AppsiPhone Apps modmyifone Downloadsmodmyifone Links








Cell Phone Reception

Go Back   iPhone Forums at ModMyiFone.com - iPhone | iPod Touch, news, apps, themes. > ModMyiFone > News
Register FAQ Members List READ THIS Today's Posts Mark Forums Read

News What's the latest news? Check it out here. Grab Our News RSS Feed


Discuss AppStore Apps! | MMi Cydia Repo Download Stats

Get more out of ModMyiFone by joining our free community. By registering you get privileges to download files from our downloads section and you may also post your questions in our forums! It's fast, free, and easy!

2.0 Unlock|Jailbreak OS X / Windows | iPhone 3G Detailed Review w/Pics! | Developers - Port Your Apps to 2.0
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-22-2008, 01:29 AM
sayam's Avatar
MMi Writer
 
Join Date: Jul 2008
Device + Firmware: iPhone 2.0
Operating System: Windows XP
Posts: 99
Thanks: 0
Thanked 45 Times in 9 Posts
How to create Installer 4.0 repository

With the introduction of Installer 4.0, RipDev have also introduced a new repo style consisting of mostly php files which has made it a bit complex for previous repo owners to continue their repo. So, here's a simple way of creating it.

1. Download the Installer 4.0 repository code from including demo package from here.



2. Extract the contents of the above downloaded file.



3. Open the Package folder, there will be three files inside it.
  • Info.plist: Contains all the description of package
  • Install.png: Image shown in Installer for the package
  • Fallout.png: The package (can be replaced by application or anything else)


4. Open Info.plist, edit the file in following way and save it.
  • Identifier: These are unique for every package, change it to something like com.demo.mmi
  • Description: Change it to description of your package
  • Name: Change it to name of your package
  • Copy Path and Remove Path: Change the path to the destination folder of package file like /Applications/Package.app
  • Version: Change it to version number of the package


5. Change the Install.png to whatever you want to be shown in it's place on Installer (only png file). Change Fallout3.png with your package (non-zipped).

4. Compress all the three files and change the name of zip file to the name of package i.e. packagename.zip

5. Copy the package, create a folder with the name of category in which you want your package to be in inside Packages folder in Repository and paste the in the newly created folder.



6. Go to the repository folder, edit Info.plist in the following way and save it.
  • Name: Change it to name of the repository
  • Mantainer: Change it to mantainer's name
  • Contact: Change it to your e-mail address
  • URL: Change it with the url of your site
  • Category: Change it to the category for your repository
  • Description: Change it to your repo's description


7. Copy this Info.plist in Info folder.

8. Edit the config.inc.php as in image below.
  • Packages_Path_Url: Change it to the location in which the packages folder will be located at your server.
  • Info_Path_Url: Change it to the location in which the Info folder will be located at your server.
  • Regenerate_Secret: Change it to a secret word.


9. Now rename the folder repository to whatever you like to be displayed in your URL. For instance, if you rename the repository to abc, link to it will be http://yoursitename.com/abc

10. Upload it to the public directory of your server.

11. Now, to check if everything is right, go to the following url

http://yoursitename.com/abc/

It should look similar to the image below.



12. Then, go to

http://yoursitename.com/abc/regenerate.php?secret=xyz

It should look similar to the image below.


13. Finally, go to http://yoursitename.com/abc/?debug=1

It should look similar to the image below.



14. If you get the correct response, then your repository is successfully created.
Attached Thumbnails
               

   
__________________
http://www.modmyifone.com/forums/image.php?type=sigpic&userid=1405491&dateline=1219  774616

Last edited by sayam; 08-23-2008 at 09:15 AM.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following 7 Users Say Thank You to sayam For This Useful Post:
bklynjava (08-23-2008), david77123 (08-22-2008), Dixavado (08-22-2008), hiphonepro (08-25-2008), padsquad43 (08-22-2008), pamgoo (08-24-2008), tahazahoor@hotmail.com (08-22-2008)
  #2 (permalink)  
Old 08-22-2008, 01:34 AM
What's Jailbreak?
 
Join Date: Aug 2008
Device + Firmware: iPod Touch 8GB 2.0 Jailbroken
Operating System: WinXP SP3
Location: Gibraltar
Posts: 19
Thanks: 3
Thanked 0 Times in 0 Posts

Wow! I am most impressed! Great tut by the way. Really easy to understand, even though I'm not making a repo!
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #3 (permalink)  
Old 08-22-2008, 01:46 AM
sayam's Avatar
MMi Writer
 
Join Date: Jul 2008
Device + Firmware: iPhone 2.0
Operating System: Windows XP
Posts: 99
Thanks: 0
Thanked 45 Times in 9 Posts

Quote:
Originally Posted by Renblade View Post
Wow! I am most impressed! Great tut by the way. Really easy to understand, even though I'm not making a repo!
Thanks, it took me an hour or two to make this one
__________________
http://www.modmyifone.com/forums/image.php?type=sigpic&userid=1405491&dateline=1219  774616
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #4 (permalink)  
Old 08-22-2008, 02:56 AM
Green Apple
 
Join Date: Jul 2007
Posts: 88
Thanks: 3
Thanked 2 Times in 2 Posts

15. Use Cydia instead.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #5 (permalink)  
Old 08-22-2008, 04:37 AM
What's Jailbreak?
 
Join Date: Mar 2008
Device + Firmware: Iphone 1.1.4 unlocked and jailbroken
Operating System: Windows XP
Posts: 7
Thanks: 6
Thanked 0 Times in 0 Posts

I agree...Just use Cydia!
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #6 (permalink)  
Old 08-22-2008, 09:16 AM
sayam's Avatar
MMi Writer
 
Join Date: Jul 2008
Device + Firmware: iPhone 2.0
Operating System: Windows XP
Posts: 99
Thanks: 0
Thanked 45 Times in 9 Posts

Quote:
Originally Posted by bscott1504 View Post
I agree...Just use Cydia!
I don't think cydia is the best. Everyone have different choices so let them make their own choices!!
__________________
http://www.modmyifone.com/forums/image.php?type=sigpic&userid=1405491&dateline=1219  774616
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to sayam For This Useful Post:
tahazahoor@hotmail.com (08-22-2008)
  #7 (permalink)  
Old 08-22-2008, 10:08 AM
Green Apple
 
Join Date: Apr 2008
Device + Firmware: Iphone +1.1.4
Operating System: OSX
Location: Georgia
Posts: 99
Thanks: 2
Thanked 4 Times in 4 Posts

Cydia functions much better as of late. Until installer gets out of beta I am not willing to add installer to my iphone
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #8 (permalink)  
Old 08-22-2008, 11:45 AM
r1994augusto's Avatar
Green Apple
 
Join Date: Jul 2008
Device + Firmware: iPhone 8GB 2.0
Operating System: Windows XP, Windows Vista
Posts: 37
Thanks: 4
Thanked 0 Times in 0 Posts

cydia is easy!
WHY NOT USE IT
and for 2.0 users is faster
__________________
Augusto!...Sony VaiO FW Intel Core 2 Duo Processor 2.26GHz ATI Mobility Radeon HD 3470 with 256MB vRAM" (XBRITE-ECO) 160 GB SATA Hard Disk Drive 3GBRAMClick the image to open in full size.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #9 (permalink)  
Old 08-22-2008, 12:48 PM
Green Apple
 
Join Date: Jul 2007
Posts: 88
Thanks: 3
Thanked 2 Times in 2 Posts

Damn, didn't mean to start that old war again. But, I too was a Cydia naysayer in the old days. It is in fact much better than installer these days, both feature wise and dare I say ease of use. And open source if I'm correct? When in doubt, open software is always better.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #10 (permalink)  
Old 08-22-2008, 09:49 PM
Green Apple
 
Join Date: Apr 2008
Device + Firmware: iPhone 8gb fw:1.1.4 BL:3.9
Operating System: MacBook Pro Vista Ultimate/osx 10.5.5
Location: Lanc Ȏnc
Posts: 63
Thanks: 2
Thanked 3 Times in 3 Posts
Send a message via AIM to keatonreckard Send a message via MSN to keatonreckard Send a message via Yahoo to keatonreckard Send a message via Skype? to keatonreckard

cydia ftw
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #11 (permalink)  
Old 08-23-2008, 11:30 AM
What's Jailbreak?
 
Join Date: Aug 2008
Posts: 13
Thanks: 6
Thanked 0 Times in 0 Posts

I have put installer4 repo in my host and get to the part where i run the regenerate and then i'm prompted with: Secret phrase is invalid. Sorry.

here is what my password looks like in the config.inc.php:

// Cache regeneration control. Calling regenerate.php will now regeneritory index files, so make sure you provide a good password and don't forget to update the firmware versions array when new firmware comes out.
define('password', ''); // THis is a secret key for your access to regenerate.php. Please define it to something non-obvious - you will be calling regenerate.php?secret=[yoursecretword]

global $POSSIBLE_FIRMWARE_VERSIONS;

// Update this array whenever new firmware comes out. The repository will serve empty list of packages for all other versions.
$POSSIBLE_FIRMWARE_VERSIONS = array( '2.0', '2.0.1' );

?>

I've tried all sorts of alternatives also and i've tried matching the pass to the yoursecretword NOTHING WORKS!! HELP!!!!

Last edited by hiphonepro; 08-23-2008 at 11:40 AM.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #12 (permalink)  
Old 08-23-2008, 11:36 AM
bklynjava's Avatar
Developer
 
Join Date: Jul 2007
Device + Firmware: 16G Unlk MyFW
Operating System: LINPCMAC
Location: Bklyn
Posts: 190
Thanks: 4
Thanked 25 Times in 21 Posts
Send a message via AIM to bklynjava Send a message via MSN to bklynjava Send a message via Yahoo to bklynjava

Quote:
Originally Posted by hiphonepro View Post
I have put installer4 repo in my host and get to the part where i run the regenerate and then i'm prompted with: Secret phrase is invalid. Sorry.

here is what my password looks like in the config.inc.php:
// Cache regeneration control. Calling regenerate.php will now regeneritory index files, so make sure you provide a good password and don't forget to update the firmware versions array when new firmware comes out.
define('password', ''); // THis is a secret key for your access to regenerate.php. Please define it to something non-obvious - you will be calling regenerate.php?secret=[yoursecretword]

global ;

// Update this array whenever new firmware comes out. The repository will serve empty list of packages for all other versions.
= array( '2.0', '2.0.1' );

?>

I've tried all sorts of alternatives also and i've tried matching the pass to the yoursecretword NOTHING WORKS!! HELP!!!!
In your config file you should have something like this

define('REGENERATE_SECRET', 'demo');

demo would be your regenerate password
__________________

Last edited by bklynjava; 08-23-2008 at 11:38 AM.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #13 (permalink)  
Old 08-23-2008, 12:02 PM
What's Jailbreak?
 
Join Date: Aug 2008
Posts: 13
Thanks: 6
Thanked 0 Times in 0 Posts

I just did what you suggest (I now notice in between the marks now thanks) but still same response?

"Secret phrase is invalid. Sorry."

Man! This is frustrating!!

Last edited by hiphonepro; 08-23-2008 at 12:13 PM.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #14 (permalink)  
Old 08-23-2008, 12:53 PM
bklynjava's Avatar
Developer
 
Join Date: Jul 2007
Device + Firmware: 16G Unlk MyFW
Operating System: LINPCMAC
Location: Bklyn
Posts: 190
Thanks: 4
Thanked 25 Times in 21 Posts
Send a message via AIM to bklynjava Send a message via MSN to bklynjava Send a message via Yahoo to bklynjava

Quote:
Originally Posted by hiphonepro View Post
I just did what you suggest (I now notice in between the marks now thanks) but still same response?

"Secret phrase is invalid. Sorry."

Man! This is frustrating!!
You should have
http://yoursitename.com/repository/r...hp?secret=demo

with your site and repo folder name.
__________________
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to bklynjava For This Useful Post:
hiphonepro (08-25-2008)
  #15 (permalink)  
Old 08-23-2008, 01:23 PM
What's Jailbreak?
 
Join Date: Aug 2008
Posts: 13
Thanks: 6
Thanked 0 Times in 0 Posts

Quote:
Originally Posted by bklynjava View Post
You should have
http://yoursitename.com/repository/r...hp?secret=demo

with your site and repo folder name.
THANKS!! That worked and I can veiw the sample packages now but im geting the unable to decode error any ideas on this??Also how or where do I add the .png icon for my source?

Last edited by hiphonepro; 08-23-2008 at 03:09 PM.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  iPhone Forums at ModMyiFone.com - iPhone | iPod Touch, news, apps, themes. > ModMyiFone > News

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 On
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

ModMyMoto.com - ModMyGPhone.com - ModMyiFone.com - Dedicated Server Hosting by SingleHop - iPhone Wallpapers - iPhone forums | iPod touch forums, news, themes, apps, games, unlock, jailbreak community - ModMyiFone.com RSS Feeds - Contact Us - Link to us - Archive - Privacy Statement - - Top
Copyright © 2007-08 by ModMy, LLC. All rights reserved. You may not copy anything on this site unless you link to the original.
All times are GMT -6. The time now is 03:44 PM. Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
ModMyiFone.com is an independent publication and has not been authorized, sponsored, or otherwise approved by Apple, Inc or Cisco Systems, Inc. The information contained on this site is for educational purposes only.
Forum skin by poetic_folly