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 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

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.

1443 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,171
  • 2
  • 15
  • 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
  • 340
  • 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
  • 8,997
  • 6
  • 49
  • 90
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,035
  • 12
  • 53
  • 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
  • 61,898
  • 63
  • 233
  • 391
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
  • 305
  • 4
  • 20
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,641
  • 6
  • 27
  • 35
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
  • 9,416
  • 9
  • 46
  • 63
12
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
  • 900
  • 2
  • 12
  • 20
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,042
  • 9
  • 23
11
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
  • 2,970
  • 8
  • 32
  • 54
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
  • 20,445
  • 9
  • 73
  • 162
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
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,060
  • 5
  • 24
  • 50
1
2
3
96 97