How to Create a Cydia Repo


Cydia is a useful, even necessary application on jailbroken iPhones and iPods to download custom-made resources, such as themes, apps or ringtones. Cydia repositories are directories of applications that can be used on jailbroken devices. However, you can't just upload an app to your web host and expect Cydia to download it on your device. Use Ubuntu and a other few tools to create the repository and upload it to the host before using it.

Things You'll Need

  • Ubuntu
  • Open the Web browser and download the Tools Package on your desktop. Right-click on the archive and select the "Extract" option to extract the tools on your desktop. A folder named "cydiarepo" is created.

  • Go to the "Applications" menu, navigate to "Accessories" and click on the "Terminal" icon to start the Terminal.

  • Run these commands in the Terminal to install the tools from the cydiarepo folder:

    sudo cp /home/username/Desktop/cydiarepo/dpkg-scanpackages /usr/bin
    sudo chmod 0777 /usr/bin/dpkg-scanpackages
    sudo cp /home/username/Desktop/cydiarepo/ /etc/perl
    sudo chmod 0777 /etc/perl/

  • Create a new folder on your desktop and name it "MyApp." Create two additional folders inside the MyApp folder: DEBIAN and Applications. Place your application in the Applications folder.

  • Open the DEBIAN folder, right-click on the white space and select the "Create new document" option. Type "control" and press "Enter" to name the file. Double-click on the control file to edit it.

  • Insert these lines and save the file:

    Package: package identifier
    Name: Application name
    Version: App's version number
    Architecture: iphoneos-arm
    Depends: Insert a program if your app depends on it (for example, Winterboard)
    Description: describe your app
    Depiction: URL to show in an iframe
    Maintainer: your name
    Author: the author's name
    Sponsor: the sponsor's name
    Section: Cydia category where your app should appear (for example, themes)

    Replace the example information with your own info and make sure there is a blank line at the end of the document.

  • Create a new folder on your desktop and name it "repository." Create two folders inside the repository folder and name them "deb_files" and "uploads." Copy the "MyApp" folder from your desktop to the "uploads" folder.

  • Run the following command in the Terminal to make a package out of the "MyApp" folder:

    cd /home/username/Desktop/repository/uploads
    dpkg -b MyApp

    A "MyApp.deb" file is created in the "uploads" folder.

  • Move the "MyApp.deb" file from the "uploads" folder to the "deb_files" folder. Run the following commands to create a package file from the "repository" folder:

    cd /home/username/Desktop/repository/
    dpkg-scanpackages -m . /dev/null >Packages

    A "Packages" file is created in the "repository" folder.

  • Double-click on the "Packages" file to start editing it. Enter the path to the "MyApp.deb" file in the "Filename" line: ./deb_files/MyApp.deb. Save the file.

  • Right-click on the "Packages" file and select the "Compress" option. Select "bz2" as the extension and click on the "Create" button to create the "Packages.bz2" file.

  • Create a new file inside the "repository" folder and name it "Release." Double-click on the new file to edit it. Insert these lines:

    Origin: A long version of your repository name
    Label: A short version of your repo name
    Suite: stable
    Version: the repository version
    Codename: type anything here
    Architectures: iphoneos-arm
    Components: main
    Description: Describe your repository

    Save the file. Your "repository" folder now contains the "deb_files" and "uploads" directories and "Packages," "Packages.bz2" and "Release" files.

  • Upload the entire "repository" folder to your Web host. Open "Cydia" on your device, go to "Manage Tab," select "Sources," tap on "Edit," select "Add" and type your repository's URL; then type in the URL to add it to Cydia.

Related Searches


  • Photo Credit Jupiterimages/ Images
Promoted By Zergnet



Related Searches

Check It Out

Geek Vs Geek: Robot battles, hoverboard drag race, and more

Is DIY in your DNA? Become part of our maker community.
Submit Your Work!