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
11
votes
3 answers

Will fork() in iOS app likely be rejected by Apple's vetting process?

I'm writing a mechanism (in an iOS app) to detect whether a device is jailbroken by checking for App sandbox's integrity by doing a fork();. Does anyone know if attempting this call would violate App Store guidelines?
Ocelot
  • 1,733
  • 4
  • 29
  • 53
11
votes
2 answers

Send programmatically SMS on jailbreak device

I am using a iOS 6 iphone 4S and I want to be able to send the unnoticed sms messages. So using the standard view controller won't work in this case. I tried using - (BOOL)sendSMSWithText:(id)arg1 serviceCenter:(id)arg2 toAddress:(id)arg3; but it…
gop
  • 2,150
  • 5
  • 26
  • 54
11
votes
4 answers

Get GNU C Compiler working on iOS 6.x

I have a jailbroken (evasi0n) 4th generation iPad, with iOS 6.1 firmware. Through Cydia I've installed Mobile Terminal, version 520-2. Then, following this tutorial, I've downloaded and installed CSU, Link Identify Editor, LibGCC, GCC and…
user2043441
  • 200
  • 2
  • 2
  • 8
11
votes
3 answers

Detect screen on/off from iOS service

I am developing a network monitor app that runs in background as a service. Is it possible to get a notification/call when the screen is turned on or off? It exists in Android by using the following code: private void…
Sunkas
  • 9,542
  • 6
  • 62
  • 102
11
votes
5 answers

Do I have to support jailbroken iPhones?

We're days away from submitting our first app to the appstore and last night I was horrified to hear that it does not work on jailbroken devices. I got a few seconds with the device and saw the OS version, and free memory available (36MB, I guess…
Rhythmic Fistman
  • 34,352
  • 5
  • 87
  • 159
10
votes
5 answers

iphone reboot programmatically

I have code system("reboot") The reboot command works in the terminal, but even if I run the app as root, the operation is still denied. Has anyone found any way that works, or can explain a bit about SBSetting's reboot, which makes me curious?
philions
  • 186
  • 1
  • 1
  • 10
10
votes
2 answers

Interprocess SQLite Thread Safety (on iOS)

I'm trying to determine if my sqlite access to a database is thread-safe on iOS. I'm writing a non App Store app (or possibly a launch daemon), so Apple's approval isn't an issue. The database in question is the built-in sms.db, so for sure the OS…
Nate
  • 31,017
  • 13
  • 83
  • 207
9
votes
1 answer

Setting iOS background/lockscreen image programmatically?

I'd like to be able to set the lockscreen background image programmatically. I'm aware that this is only possible for jailbroken iOS devices. Here are some things that I've tried: Place a LockBackground.png in…
EightyEight
  • 3,430
  • 4
  • 36
  • 67
9
votes
1 answer

How do I add a subview to UIStatusBar in Theos?

I know it sounds like this question has a simple answer, but hear me out. Although UIStatusBar is a subclass of UIView, you can't use the addSubview method to add a subview to it because it doesn't use it. The same goes for UIStatusBarWindow.…
Artillect
  • 239
  • 1
  • 13
9
votes
2 answers

iOS: How to get the servicebundle headers for iOS 9?

How do we get/dump the servicebundle headers for iOS 9 (especially the IncomingCall.servicebundle headers)? There are published IncomingCall.servicebundle headers for older iOS versions (e.g.…
jakob.j
  • 942
  • 13
  • 28
9
votes
3 answers

Codesign and Ambiguos identity, matches "Mac Developer" and "iPhone Developer"

I'm in the process of release testing a library. The process requires testing on a Jail Broken iOS device. For that, I use an old iPad 1 running iOS 5.1 jail broken with RedSn0w. RedSn0w does not patch the Gatekeeper service (code signing), so I…
jww
  • 97,681
  • 90
  • 411
  • 885
9
votes
4 answers

Where does iOS keep its data folder

In Android, if you have root, you can access a folder /data/data/ In this folder you can find databases or other files for your project. Is this folder available on iOS if you have Jailbreak? I did find some root explorers for iOS but…
Andrei Ciuca
  • 165
  • 1
  • 3
  • 17
9
votes
5 answers

How to unlock iOS screen programmatically?

I'm currently exploring creating a jailbreak tweak. I want to unlock the phone screen. How is this done? What private API can be used to achieve this on iOS 7?
radj
  • 4,360
  • 7
  • 26
  • 41
9
votes
4 answers

dpkg error: contains ununderstood data member

I'm trying to install a jailbreak tweak using make package install but I'm receiving this error from dpkg: dpkg-deb: file `/tmp/_theos_install.deb' contains ununderstood data member data.tar.xz , giving up dpkg: error processing…
Connor Pearson
  • 63,902
  • 28
  • 145
  • 142
9
votes
1 answer

lsof gives "information error: Cannot allocate memory" in iOS

My intent is to check for TCP and UDP being opened by a specific process. lsof -p $1 | grep -E "TCP|UDP" (this works well on Mac OS) I installed lsof binary on a jailbroken iPad, from cydia. When i execute lsof on iOS device (terminal), it just…
Ocelot
  • 1,733
  • 4
  • 29
  • 53
1 2
3
96 97