Questions tagged [jailbreak]

Questions related to the process of gaining root access to a mobile device for the purpose of software and OS modification. This term is generally used in association with iOS devices, but can be used to describe the rooting process for other devices.

Jailbreak is a term that is used to describe the process of getting root access to a mobile device. This can come in a variety of ways depending on the device, but the purpose is the same. Root access will give the user the ability to install software outside approved methods. It also allows you direct access to OS files that you would not normally have access to.

Questions that should have the jailbreak tag would include:

  • achieving an escalation of privileges or entitlements
  • accessing system file locations
  • creating 'jailbroken' apps or tweaks to other apps

As the iOS platform is locked from user modification and the confines of the App Store, a need arose to allow users to install apps and change the OS to work around and outside the basic offerings of the OS. While some methods can be reused, Apple generally tries to close any open loopholes that allow this to happen. This creates the cycle of closing the holes and finding new ones to gain root access to the device. In the iPhone's short history, access has always been obtained.

While jailbreaking your device is generally regarded as being a safe practice, it is not for the faint of heart. Some methods can be very complicated to achieve a proper jailbreak, and others like the jailbreakme.com exploit can be very easy. It is suggested that before you attempt to jailbreak your device that you back it up and read the proper documentation for your device and OS version.

If you are interested in jailbreaking your device, you can find a wealth of information on these sites, or by using a simple search.

redsn0w - The most popular unlock tool for iOS some years ago

evasi0n - iOS 6.0-6.1.2 Untethered JB.

Cydia - The jailbreak 'App Store' equivalent

iOS JB Wiki - Wikipedia page with history, definitions, and general info on jailbreaking

In 2021, the popular jailbreak tools for iOS include:

Checkra1n - exploiting the m8 hardware flaw

unc0ver - re-jailbreak conveniently by pressing a button in an app

taurine - along with chimera and odyssey before it, uses the Sileo store rather than Cydia

As a disclaimer, jailbreaking will void any warranty you have on your device. If your phone is broken, or bricked as it is referred to, don't expect any help from the Apple Store or Genius Bar. While jailbreaking is almost always reversible with a simple restore in iTunes, it is not 100%. So proceed at your own risk.

1455 questions
5
votes
2 answers

iOS - Install unsigned .ipa on device

I’ve modified an .ipa file by unzipping contents, decrypted and modified a few scripts, and re-zipped. How can I test the new app as quickly as possible to see the new changes, without having to go through code signing (yet)? Do I require to…
zantuja
  • 211
  • 1
  • 4
  • 14
5
votes
7 answers

Is an iPhone app's document directory /var/mobile/Documents or /var/mobile/Library/AppName?

As far as I know (and read everywhere) an application's documents directory should be somewhere in /var/mobile/Library/ on the iPhone but if I'm logging the gotten directory it is /var/mobile/Documents. I get the directory as follows: NSArray *paths…
Daniel M.
  • 51
  • 1
  • 1
  • 2
5
votes
1 answer

How to add third party framework to mobile substrate tweak

I would like to add the iOS AWS framework, specifically S3 functionality, to a Mobile Substrate tweak that I am building. Unfortunately, I can't for the life of me figure out how to make it work. I have tried adding the following to my Makefile…
thiesdiggity
  • 1,897
  • 2
  • 18
  • 27
5
votes
0 answers

How to manipulate iOS conversation's streams?

I found two very useful topics here and here. But I need somehow to change speaker/mic stream. For example, apply some effects or stop audio from being played to user at all. So my question is not about recording, but about manipulation of audio in…
KY1VSTAR
  • 395
  • 4
  • 16
5
votes
2 answers

Can you hook into system function calls in iOS using private APIs?

Is it possible to hook into system function calls in iOS using private APIs on a non-jailbroken device? From what I've seen it's doable on jailbroken devices using MobileSubstrate's MSHook. What I'd like to accomplish is to have an app that would…
bsniezul
  • 53
  • 1
  • 3
5
votes
0 answers

How to add subprojects to iOSOpenDev?

I have been making jailbreak tweak recently and have just been using a normal text editor for everything and then compiling and installing using a makefile(THEOS). I have tried using iOSOpenDev before but didn't like it because in my projects I…
Praxder
  • 2,315
  • 4
  • 32
  • 51
5
votes
3 answers

Programatically access (your own) iCloud data from a desktop or from a server?

I want to access and manipulate, FROM A SERVER OR FROM MY DESKTOP MACHINE, my iPhone's iCloud data programmatically. For example... http://www.phonesheriff.com/investigator.html Does anyone know if it is possible? Is there any API or mechanism by…
zzzzz
  • 1,209
  • 2
  • 18
  • 45
5
votes
3 answers

How to class-dump AppStore app

I installed "Class Dump" from Cydia to get application header files. But there is a problem. I can use class-dump in default app. For example, I ran this command: class-dump -H /Applications/MobileSafari.app/MobileSafari -o /Headers/safari and…
user3336535
5
votes
2 answers

How to run my app even after iPhone screen locks?

I want my app (LaunchDaemon) to keep running even if user locks the iPhone. My LaunchDaemon simply check a file and if some condition is true, it displays an Alert to the User. Its working great when iPhone is on Home Screen, but it is not working…
raziiq
  • 549
  • 11
  • 28
5
votes
2 answers

Long strings in system Keyboard plist settings

I try add my own characters in keyboard. I expand key 'z' by code to "Keyboard-en.plist": "Roman-Accent-z" = { Keycaps = "z mylongstringtitle ..."; // ... == \U017e \U017a \U017c characters ('z' with apostrophes and dots) Strings = "z…
Tapa Save
  • 4,769
  • 5
  • 32
  • 54
5
votes
2 answers

Why do I get "Cocoa error 513" when write files to "/var/mydir/files" on an jailbroken iPhone?

My app will write some files to file system and it is installed in /Application not in /var/mobile/Application, On my develop iPhone, every things goes right.But when distribute to others, They got "Cocoa error 513".The files are written at…
Suge
  • 2,808
  • 3
  • 48
  • 79
5
votes
2 answers

Once jailbroken, will iOS apps run with root privilege?

Once an iOS device is jailbroken, we can build jailbreak apps (with theos) and it gets installed in the /Applications directory where the preloaded apps run with root privileges. If an app is built with Xcode, once it is installed, it gets into the…
Ocelot
  • 1,733
  • 4
  • 29
  • 53
5
votes
1 answer

Any Good iOSOpenDev Sample Code/Reference Materials?

I've had some experience developing iOS apps and I'm currently working on an idea I had for a Cydia tweak. The tweak would work with action menus, adding a new button to the menu and presenting an interface when the button is tapped on. I'm trying…
Charles
  • 4,372
  • 9
  • 41
  • 80
5
votes
1 answer

Is there a way to programmatically restore my iPhone to factory settings?

I am developing for a jailbroken app and I don't care if it's rejected by the App store. I have found a way to completely wipe out my iPhone using this way Is there a way to completely wipe out iPhone data programatically?. There is a problem with…
zzzzz
  • 1,209
  • 2
  • 18
  • 45
5
votes
2 answers

iOS Private API: lock device and power off the screen

I'm making an app for jailbreak that lock the device when the user launch the app. I've tried GSEventLockDevice(); from GraphicsServices.framework but this does not work properly because it locks the screen but does not power off the screen. Is…
Davide Di Febbo
  • 301
  • 5
  • 14