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
16
votes
2 answers

How do I change my iOS applications' entitlements?

I need to run the following code to turn off my iphone screen . On iOS6: void (*BKSDisplayServicesSetScreenBlanked)(BOOL blanked) = (void (*)(BOOL blanked))dlsym(RTLD_DEFAULT, "BKSDisplayServicesSetScreenBlanked"); and then…
zzzzz
  • 1,209
  • 2
  • 18
  • 45
15
votes
1 answer

Root Privileges for iOS App

I am developing an app targeted at jailbroken iOS devices. It is to assist in automating some tasks. I need to create a simple text file (actually a .lua file) in /private/var/mobile/Library. Obviously, the debugger throws an access denied…
Kikootwo
  • 360
  • 2
  • 14
14
votes
2 answers

Is there any ways to detect the roaming status on iOS 6?

My application using below methods to detect roamming in iOS 4 and 5. NSString *carrierPListSymLinkPath = @"/var/mobile/Library/Preferences/com.apple.carrier.plist"; NSString *operatorPListSymLinkPath =…
JoanneWong
  • 141
  • 1
  • 3
13
votes
5 answers

Xcode 4.2: Error 0xC002 when trying to use a jailbroken iPhone 3G for development

I have this jailbroken iPhone 3G with iOS version 4.2.1 (the latest supported version). When I connect it to Xcode 4.2, Xcode starts copying the debug symbols. It stops copying towards the end of the process, and shows the following error: Xcode…
Ricardo Sanchez-Saez
  • 9,466
  • 8
  • 53
  • 92
13
votes
1 answer

Gaining root permissions on iOS for NSFileManager (Jailbreak)

I am trying to write file to the root partition of the device. It is a Jailbreak app so it is installed in /Applications. When writing to the root filesystem using NSFileManager the write fails with a "Permission Denied" error. It seems like my app…
JonasG
  • 9,274
  • 12
  • 59
  • 88
13
votes
2 answers

Attempting to deploy my app on my jailbroken iphone, but the app closes immediately!

I'm trying to develop iphone apps on my jailbroken iphone, and I can't seem to get the process down, for whenever I deploy my app, set all file permissions to 777, and respring, the application closes immediately when I try to launch it.…
Stefan Kendall
  • 66,414
  • 68
  • 253
  • 406
13
votes
3 answers

Can users modify NSUserDefaults key values in an iOS app?

I have a question about security. I am making an iOS app with in app purchase following this tutorial, and I store what products were bought in NSUserDefaults. That's why I wonder : Can a user with a jailbroken device modify NSUserDefaults key and…
darksider
  • 1,030
  • 2
  • 14
  • 20
12
votes
3 answers

IOS Jailbreak How do intercept SMS / Text Messages

I'm currently trying to write an application that intercepts text messages and reacts depending on the content of that message. I tried to hook into _receivedMessage:(struct __CKSMSRecord *)message replace:(BOOL)replace method in the CKSMSService…
Pascal
  • 315
  • 5
  • 22
12
votes
2 answers

USB communication between iPad and Mac or PC

I would like to write an iPhone/iPad app that can communicate through a USB connection with a Mac or PC program (that I would also write). Does anyone know how I could go about doing this? (I realize that I may have to jailbreak my iPad)
cduck
  • 2,691
  • 6
  • 29
  • 35
12
votes
3 answers

Python on iPhone

How can I get a Python shell on my iPhone? I'm looking for step-by-step instructions. It's jailbroken using greenpo1son, I have SSH enabled and know how to use it.
JShoe
  • 3,186
  • 9
  • 38
  • 61
12
votes
3 answers

pull notification locally on jailbroken device

Since the iOS framework doesn't allow local notifications to execute code before they are posted, I'm looking for a way to achieve it on a jailbroken device. Is there built in functionally on a jailbroken device to schedule code execution with no…
Kirill Kulakov
  • 10,035
  • 9
  • 50
  • 67
12
votes
2 answers

Where are the iOS frameworks binaries located in the filesystem?

I'm kind of confused about frameworks on iOS. I think they are basically a directory containing a dynamic library, headers and resources. But in my device the frameworks directories in System/Library/Frameworks don't contain the dynamic library. How…
Zmaster
  • 1,095
  • 9
  • 23
11
votes
1 answer

Reading Serial Port iOS

I have the following code to read and write to serial ports on iOS 10.3.3 Jailbroken iPhone 6S (I used h3lix to jailbreak): Serial.h: // // Serial.h // iOUSB // // Created by Brandon on 2018-05-21. // Copyright © 2018 XIO. All rights…
Brandon
  • 22,723
  • 11
  • 93
  • 186
11
votes
1 answer

Overcoming OS X and Jailbroken iOS private Apple entitlements

This one is probably a lost cause, but I'll ask cause I'm honestly just curious... We have a client that wants to create a replacement Messaging app for OS X. They basically want to use the same accounts, chat history, and everything, but provide a…
ldoogy
  • 2,819
  • 1
  • 24
  • 38
11
votes
2 answers

How to learn about iPhone jailbroken programming?

I'm interested in learning about what additional features and APIs an app has access to when an iPhone is jailbroken. Can someone provide me with some basic resources to learn about this? I would be most interested in: documentation on the private…
tomorini
  • 111
  • 1
  • 3
1
2
3
96 97