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
8
votes
4 answers

No jailbreak detection

I'm trying to make an app which only works on jailbroken iDevices. I already have jailbreak detection code: ([[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:@"cydia://"]]);{ UIAlertView *cydiaisinstalled=[[UIAlertView…
user1658674
7
votes
2 answers

How Can I Get A Crash report From a Jailbroken App Running In My Device?

My Application is for jailbroken devices. It compiles and works fine in general in the iOS simulator but it crashes instantly the moment I open it in my device. Again, it's a Jailbroken app so I can't get crash logs the same way registered…
Andy Ibanez
  • 12,104
  • 9
  • 65
  • 100
7
votes
1 answer

Setting a BBSectionInfo using BBSettingsGateway fails for unclear reason

I’m attempting to create a solution for an end-to-end testing suite to set user permissions (contacts, photos, notifications, etc.) on the simulator. The reason for doing this is because permission alerts are displayed by SpringBoard, and they…
Léo Natan
  • 56,823
  • 9
  • 150
  • 195
7
votes
4 answers

Resign Cydia App to Install on Non-Jailbroken iPhone

I'm part of the apple developer program so I can code sign and install on my device. Is it possible to take an application from Cydia (it doesn't appear to use mobilesubstrate, it's packaged as a .deb) and re-sign it so I can install it on my…
BarrettJ
  • 3,431
  • 2
  • 29
  • 26
7
votes
1 answer

Apple Notification Service for Jailbreak app

I am creating a Jailbreak app that gets installed in /Applications. No matter what I do I can't seem to get Push Notifications to work. I have: Created the necessary App ID in the Apple Developer console, Created all necessary certificates and…
user3701103
  • 157
  • 1
  • 8
7
votes
1 answer

App with jailbreak detection rejected by Apple

the App we are working on was rejected because the Device in the Review Process was detected as jailbroken ^^ To detect a jailbroken Device, several Tests were performed: NSString* bundlePath = [[NSBundle mainBundle] bundlePath]; // scan for itunes…
Zeek
  • 71
  • 1
  • 2
7
votes
1 answer

Prevent installation of iOS app in jail broken devices

I want to prevent installation of my iOS app in jail broken devices. Is there any checks that can be done during installation to identitfy if the device is jail broken ? Is there any way to stop the installation if the device is jail broken?
odukku
  • 366
  • 5
  • 17
7
votes
2 answers

Simulate all physical buttons like the pressure on the home button on iOS 7 (Jailbreak)

I'm trying to simulate the "home button pressed" on iOS 7 but the previous method used on iOS 6 doesn't work. I speak of course of a jailbroken device. #include "GSEvent.h" - (void)simulateHomeButton { struct GSEventRecord record; …
Usi Usi
  • 2,967
  • 5
  • 38
  • 69
7
votes
3 answers

How much access will my users have to a SQLite Database I ship with my app?

I'm developing an iPad app that will rely on a very large database of valuable information. I'm not too familiar with the device myself (I don't have a personal iPad, nor have I ever used one outside of developing this app). Users cannot directly…
GeneralMike
  • 2,951
  • 3
  • 28
  • 56
7
votes
1 answer

Running unsigned code in an iOS app to test jailbreak

I need a stable way to attempt to run an unsigned executable on an iOS device in order to test if the device has been jailbroken (i.e. allows the running of unsigned code). I have written a small executable which essentially does nothing. int…
richie
  • 71
  • 1
  • 4
7
votes
3 answers

how to get the message when receiving the "kCTMessageReceivedNotification" notification on IOS5

With ios4.x I can use code below to get the message when get the "kCTMessageReceivedNotification" notification CTTelephonyCenterAddObserver( ct, NULL, callback,NULL,NULL, CFNotificationSuspensionBehaviorHold); if ([notifyname…
dustdn
  • 418
  • 2
  • 6
  • 18
7
votes
1 answer

iPhone background app to update the screen when a phone call is received

We are in the process of writing an iPhone app (that will be in the background) that would be notified when an incoming phone call comes. The app does some background work - going to a server retrieving some data while the phone session is ongoing…
R K
  • 81
  • 3
6
votes
3 answers

Get path to iOS application based on name or bundle identifier

Is there an easier way to get the path to an iOS application, than searching /var/mobile/Applications? I know both the name and the bundle identifier, however the path is not consistent on different iOS devices. This is for use in a jailbreak tweak,…
Tyilo
  • 28,998
  • 40
  • 113
  • 198
6
votes
3 answers

iphone: strace, dtruss, dtrace or equivalent?

Does anyone know if there is something like strace, dtruss, or dtrace for iPhone? tester-iPhone:/tmp root$ apt-cache search dtruss tester-iPhone:/tmp root$ apt-cache search dtrace tester-iPhone:/tmp root$ apt-cache search trace tester-iPhone:/tmp…
osmund sadler
  • 1,021
  • 2
  • 15
  • 27
6
votes
2 answers

Programmatically send iMessage using private frameworks

Does anyone know if it's possible to directly send an iMessage using a private framework? I tried using CTMessageCenter from CoreTelephony but it'll send an SMS even though my phone can send iMessages.
Alexandre Blin
  • 270
  • 6
  • 13