Jump to content

Welcome to AppCake Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. If you already have an account, login here - otherwise create an account for free today!
Photo

How to crack Cydia Apps/Tweaks tut #1


  • You cannot start a new topic
  • Please log in to reply
No replies to this topic

#1
Sacmunraga

Sacmunraga

    Pro Caker

  • IC Member
  • 292 posts
    • Time Online: 6d 3h 11m 17s
  • iDevices Owned:iPad Mini with Retina, iMac, iHave a PC

How to crack Cydia Apps/Tweaks tut #1

 

by Sacmunraga

 

Disclaimer: The provided tutorial is a demonstration of circumventing a DRM strategy, and should be used for educational purposes only.

 

So yeah guys, I haven't been too active for a while, and I decided to make a tutorial on how to crack Cydia Apps/Tweaks. At the time of this writing, this is the only tutorial out there, and I'm sure some people are interested on how cracking works.

 

This is more or less a tutorial on how to unpack the .deb file. If you know how to do that, check the 2nd part out:

https://forum.iphone...s-tut-1-part-2/

 

Tools You'll Need

  • MacOS X with Hopper Disassembler. (If you don't have a Mac, you can use Windows with IDA Pro.) Note: You will need to "acquire" these, if you need some help with that, PM me.
  • Jailbroken iDevice - duh
  • The App we'll be cracking. Download right here: https://mega.nz/#!DNJFAIiT!h4-89QIeJ62rk2wjwATRE5rnXW2bJVZ_w_GTRhiFPdQ
  • Filza File Manager or iFile - You need one of these, I prefer Filza.
  • dpkg-deb - once again not required, but I'll explain later.

 

Alrighty fellers, today we will be cracking the app "BackupAZ2". This is a Cydia App which will backup various system files and other stuff to make restoring Cydia stuff easier once you jailbreak on a different iOS version. You can download the app from the link that I provided, and it is uncracked, so once you install it, you should be getting some kind of error about piracy. Another thing that I want to point out is that I am a noob, maybe an experienced noob in this stuff but still a noob, so I will be explaining this stuff in noob explanations.

 

Let's get started!

 

1. Upon installing the "BackupAZ2" app on your iDevice, you should see something like this:

 

IMG_0169.PNG

 

Pretty much this is the piracy message and it tells us that we have pirated the app, and that we have to buy it to actually use it. Well, maybe we don't want to do that, so that leads with no other choice but to crack the app.

 

First off, we need to find someway to transport the .deb file from our iDevice to the computer on which we will be reversing. This is a pretty simple method, but there are a couple of steps in it. In the real world, You won't be handed .deb file to crack right away, you will actually have to retrieve it from your device. This is accomplished by downloading and installing something in Cydia, then after you respring, DO NOT OPEN CYDIA, instead, open Filza or iFile, whichever you prefer, and navigate to /var/mobile/Library/Caches/com.saurik.Cydia/archives and you should see something like this:

 

IMG_0170.png  

In there you will find the .deb file that you recently downloaded. To move it from that location, press "Edit", then select the .deb file, then press "move" on the bottom left, and move it to a convenient location on your iDevice, such as /var/mobile/Documents/cracking. Next, you will want to unpack the .deb file, either on your iDevice or on your Mac. To do this on your iDevice, you need Filza. Simply press on the .deb file and click on "Extract" on the bottom.

IMG_0171.png

You should now end up with a folder with the same name as the .deb file, other than the fact that it is a folder. In that folder you will (in this case) end up with 3 Separate folders - "Applications", "DEBIAN", and "Library". 

thumbnail_IMG_0173.jpg

For people who want to move the .deb to their computer and then unpack it, you can do it this way. Move the .deb file to a convenient location as we did previously, then press on the settings/gear icon that Filza has. Next you will need to enable the "WebDAV server", and then navigate to the website it shows underneath, and then download the file from your web browser onto your computer. This should be pretty straight-forward, but if anything confuses you, just ask.

thumbnail_IMG_0172.png

 

After you move the .deb file onto your computer, you will need to unpack it. The easiest way is to get dpkg-deb, and use that. To get dpkg-deb, install homebrew, and then install dpkg-deb via homebrew. To simply unpack a .deb file with dpkg-deb run this command 

 

dpkg-deb -R debname outputFolder

 

Screen%2BShot%2B2017-03-14%2Bat%2B4.12.5

Note: outputFolder should actually be a folder, either on your Desktop or somewhere else. This will create the same 3 folders as it did on your iDevice in the folder you specified as outputFolder.

 

If you unpack the .deb file this way, then you are already set, because the files are on your computer, if you unpacked the file on you iDevice, then you can either create a .zip of all of the folders, and move it to your computer, or move every single file back to your computer which is cumbersome.

 

This is the end of part 1, unpacking the tweak. Even though this seems like a complicated process, it is used every time to move your files over. I will upload the actual cracking part next.

 

Part 2 can be found here: https://forum.iphone...s-tut-1-part-2/


  • hotsjf, AwesomeRob, haen and 5 others like this