[Tutorial] How to create a DEB Package for Cydia

 

[How-To] Create a DEB package for Cydia!

Hacks, themes, tweaks, mods and other stuff can be installed in many ways. One of the easiest way is to convert the whole package into a DEB package so that it becomes easier to install it without messing around with the file system.

Required Stuff :

  • An iPhone, iPod Touch or iPad.
  • SSH (OpenSSH installed on device).
  • WinSCP, FileZilla, CyberDuck or any other SFTP software.

Let’s get started:

First of all, create a folder on your desktop. Lets call it “X”.

Next, we make a Control file which is important so that the package can be viewed in Cydia. To do this, create a folder called “DEBIAN” in the “X” folder. Copy the Control template given below and add your settings to it :

                                     Package: com.yourcompany.yourapp
                                     Name: YourAppNameHere
                                     Version: Number
                                     Architecture: iphoneos-arm
                                     Description: Small Desc. about your app.
                                     Homepage: Your Website
                                     Maintainer: YourName
                                     Author: YourName
                                     Sponsor: YourWebSiteName
                                     Section: System

Create according to your file structure :

Inside your “X” folder, it’s going to be like the iPhone File System. Like if you want to add a file to the root partition, just put the file in “X”.

1. For Applications :

To install apps with DEBs, inside of “X”, make a folder called “Applications”. Then inside of Applications, make your app folder (EX: Cydia.app)

2. For Themes :

To install themes wth DEBs, inside of “X”, make a folder called “Library”. Then inside of Libary, make another folder called “Themes” . After that inside of themes make your theme folder (EX: Cydia.theme)

 

Done! Now, normally install them through iFile, Cydia-Autoinstall or SSH. You can even submit this package to a Cydia repo for others to download.

8 thoughts on “[Tutorial] How to create a DEB Package for Cydia

  1. when i upload deb file to cydia repo. then app download to device. download successfully but when i click on app icon app crash.
    What can i do for resolve this issue .
    thanks in advance

  2. Jailbreakdude178

    Good post. However, I have a question. What kind of file (txt,plist,etc) is the control file? Please reply, thanks very much, technologic101!!

  3. […] it, though I have no idea if it’s necessary to do so. Here’s mine, structured after this guide:5. To make your .deb fileou need to have installed dpkg, a utility that handles .deb packages. To […]

  4. […] it, though I have no idea if it’s necessary to do so. Here’s mine, structured after this guide:5. To make your .deb fileou need to have installed dpkg, a utility that handles .deb packages. To […]

  5. it actually does work.
    Read the last line ” normally install them through iFile, Cydia-Autoinstall or SSH”

    Worked for me through that. :)

  6. Matheos Mattsson

    This is not done. U have to do
    -Su
    -alpine
    -dpkg -b “x”

Comment Below If You Have Any Question!

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s