Our Smartphone Network: BlackBerryWindows MobileAndroidPalm Pre
iPhone Forums
EverythingiCafe iPhone cases, accessories iPhone Social iPhone Wallpapers iPhone forums iPhone blog iPhone accessory reviews iPhone news

Go Back   iPhone Forums > Modifications > iPhone Modifications




Reply
 
LinkBack Thread Tools Display Modes
Old 01-29-2009, 06:40 PM   #1 (permalink)
Super Moderator
 
Lincoln's Avatar
 
Join Date: Aug 2007
Posts: 6,425
Thanks: 69
Thanked 260 Times in 200 Posts
Thumbs up Creating a Cydia Repository

A Cydia Repository, much like an Installer source, is a way to host your own files, like applications, themes, and wallpapers, on Cydia, the unofficial application distribution app for jailbroken iPhones and iPod touches. This is a guide on creating on of these things, and no, you don't need a website of your own to do it! Note that while the screenshots within this guide were taken on a Mac, you can easily follow this tutorial with Debian (see "What's Needed if you have no idea what the heck I'm talking about).

Important: There are steps in the guide where I'll instruct you to copy text from this page into a Text Editor and into Terminal. Unfortunately, due to this forum's restrictions on the number of images allowed within a post (6), I had to convert about 90% of the guide into one big image, so you'll have to manually type the text in. Sorry about that.

Also, you may have already seen that this guide is pretty long. Don't get scared and decide not to try; it's only long because I wanted to make it as detailed as possible. Doing this is not as hard as it looks.

First off, check out the EverythingiCafe Cydia Repository before you create your own. If all you want is a place to host your files, we'll host your stuff for you. If you want your own repository, carry on.

What's Needed
• Internet Access
• Basic Text Editor
• Either a Virtual Machine with Debian installed, a computer running Debian, or a Mac with Fink installed.
• Either a website of your own or a free sub-domain with FTP access (Your own website is recommended, but if you're going to use the latter of the two, I suggest using 110mb.com.)

Last edited by Lincoln; 07-13-2009 at 10:25 PM..
Lincoln is offline  
Digg this Post!Share on Facebook!
Reply With Quote
The Following User Says Thank You to Lincoln For This Useful Post:
psylichon (01-30-2009)
Old 01-29-2009, 06:40 PM   #2 (permalink)
Super Moderator
 
Lincoln's Avatar
 
Join Date: Aug 2007
Posts: 6,425
Thanks: 69
Thanked 260 Times in 200 Posts
Default

Adding More Packages to the Repository

Let's say you have another package - like an app, theme, or wallpaper - that you want on your repository. It's basically the same as adding the first one, but we remove a few steps and modify a few.

1) Follow steps 1 through 5 in the previous post.

2) You should now have a .deb file for your next package. Use step 10 in the first post to give the appropriate name to your new .deb.

3) Upload the new .deb to the debs folder within the folder on your website that is named with cydia or apt.

4) In the package file, skip two lines from the last line of the first part of your packages file, then do steps 14 and 15 in the first post. When done, the Packages file should look similar to this:



Updating Packages

1) Follow steps 1 through 5 in the first post with the updated version of your package.

2) Use step 10 to properly name the new .deb file.

3) Replace the .deb file of the old version of your package with the .deb file of the new one.

4) Update the Packages file as necessary, being sure to skip two lines as shown in the top part of this post. Also be sure to update the Packages.gz file.

----------------

That's it! Any questions or problems, don't hesitate to post them here.
Lincoln is offline  
Digg this Post!Share on Facebook!
Reply With Quote
Old 01-29-2009, 07:06 PM   #3 (permalink)
 
Join Date: Jan 2009
Posts: 510
Thanks: 1
Thanked 7 Times in 6 Posts
Default

Ok well the first thing I need help on is downloading Debian: http://www.debian.org/CD/torrent-cd/

Which one should I get? I just need something basic to run in a small VM that will be able to follow the tutorial.

EDIT: OH MY GOD! I have to download 21 CDs??!?!?!?!?!!??!?
__________________
My Sig: http://is.gd/ipVA
Need help? Message me whenever!
Visit my website! http://drumsplace.co.cc

Last edited by drumthrasher109; 01-29-2009 at 07:13 PM..
drumthrasher109 is offline  
Digg this Post!Share on Facebook!
Reply With Quote
Old 01-29-2009, 07:59 PM   #4 (permalink)
 
Join Date: Jan 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Use Linux!
__________________
iPhone 3G chopped and skrewd!

Last edited by carrlos; 01-31-2009 at 12:22 AM..
carrlos is offline  
Digg this Post!Share on Facebook!
Reply With Quote
Old 01-29-2009, 08:16 PM   #5 (permalink)
 
Join Date: Jan 2009
Posts: 510
Thanks: 1
Thanked 7 Times in 6 Posts
Default

It's downloading...the old version didn't want to install as easily as it did before.

I'll be installing it in MS Virtual PC 2007 so I don't have to keep restarting my computer to do stuff.

OR I could just install my copy of OS X on my PC...
__________________
My Sig: http://is.gd/ipVA
Need help? Message me whenever!
Visit my website! http://drumsplace.co.cc
drumthrasher109 is offline  
Digg this Post!Share on Facebook!
Reply With Quote
Old 01-29-2009, 09:23 PM   #6 (permalink)
Super Moderator
 
Lincoln's Avatar
 
Join Date: Aug 2007
Posts: 6,425
Thanks: 69
Thanked 260 Times in 200 Posts
Default

Honestly, I have no experience with the actual OS of Debian, just the Debian command line. I've never downloaded it, so I'm not sure what version(s) you should use.
Lincoln is offline  
Digg this Post!Share on Facebook!
Reply With Quote
Old 01-29-2009, 10:10 PM   #7 (permalink)
 
Join Date: Jan 2009
Posts: 510
Thanks: 1
Thanked 7 Times in 6 Posts
Default

Originally Posted by Lincoln View Post
Honestly, I have no experience with the actual OS of Debian, just the Debian command line. I've never downloaded it, so I'm not sure what version(s) you should use.
Is there ANY possible way of doing this in Windows?
__________________
My Sig: http://is.gd/ipVA
Need help? Message me whenever!
Visit my website! http://drumsplace.co.cc
drumthrasher109 is offline  
Digg this Post!Share on Facebook!
Reply With Quote
Old 01-30-2009, 02:42 AM   #8 (permalink)
 
Join Date: Jan 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You can build your .deb files in Windows with the iphone and Terminal. Also, you can make the Control file and Release file with a Windows text editor. But the Package and Package.gz need to be done in Debian or Linux.
__________________
iPhone 3G chopped and skrewd!

Last edited by carrlos; 01-31-2009 at 12:23 AM..
carrlos is offline  
Digg this Post!Share on Facebook!
Reply With Quote
Old 01-30-2009, 03:05 AM   #9 (permalink)
Super Moderator
 
psylichon's Avatar
 
Join Date: Oct 2007
Location: Philly
Posts: 10,767
Thanks: 442
Thanked 980 Times in 681 Posts
Default

Nice writeup, Linc. I'll never use that info, but I can appreciate all the time and effort you went through to share that with folks who will. Kudos.
__________________
-Dave
Come Chat...for info click here.
psylichon is offline  
Digg this Post!Share on Facebook!
Reply With Quote
Old 01-30-2009, 09:20 AM   #10 (permalink)
 
Join Date: Jan 2009
Posts: 510
Thanks: 1
Thanked 7 Times in 6 Posts
Default

I'll install OS X back on my PC later so I can start doing this stuff.

Well, how would one go about doing this in MobileTerminal?
__________________
My Sig: http://is.gd/ipVA
Need help? Message me whenever!
Visit my website! http://drumsplace.co.cc
drumthrasher109 is offline  
Digg this Post!Share on Facebook!
Reply With Quote
Reply

Tags
cydia, debian, repository


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 Off
Pingbacks are Off
Refbacks are Off



All times are GMT -5. The time now is 01:30 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Integrated by BBpixel