Jailbreak Your iPhone Through Linux.

ANURAG PATHAK
4 min readMar 7, 2020

--

By default, on a non-jailbroken iPhone, apple has imposed some restrictions to the normal users due to which they are not allowed to modify certain parts of the operating system or to install the applications from an unauthorised source.

After the jailbreak, the device can do things it previously couldn’t, such as install unofficial apps and modify settings and areas of the phone.

What is Jailbreaking?

Jailbreaking is the process of removing restrictions in iOS, and allow root access to the iOS file system so that it can run unsigned code or software that has not been approved by Apple.

It allows users to install jailbreak apps, tweaks and themes to customise the look and feel of their device, and also enhance the functionality.

Is Jailbreaking iPhone legal?

Jailbreaking smartphones like iPhone, tablets, smart TVs and other all-purpose computing devices are exempted from the DMCA to allow users to gain the root access of their device without breaching copyright law.

However, it is illegal to use your jailbreak to illegal activities like downloading torrent movies, download paid apps for free, or commit other cyber and copyright crimes.

During the Jailbreak process, some apps like Cydia or Selio get installed to your device. These are the parallel app stores for jailbroken devices similar to the apple store.

Types of Jailbreaking?

There are majorly four different types of jailbreaking which are -

Tethered: Temporary jailbreak it needs to be re-jailbroken every time devices reboots.

Untethered: Permanent type jailbreak, meaning that the device will be jailbroken even after the reboot.

Semi-tethered: The iPhone will boot up but it will not be able to run the modified code, which means jailbreak apps and tweaks won’t work. You need to re-jailbreak it again.

Semi-untethere: The iPhone is not jailbroken after the reboot. but it gives you an ability to re-jailbreak it from the device itself without connecting it to the system.

Let’s start the jailbreak process.

Step 1: Identify the device model and the ios version from the device setting.

Note: These steps are performed and verified on iPhone 6 and ios version 12.4.5

Step 2: Visit https://canijailbreak.com/ and check which exploit will work for your devices version and device type.

Step 3: CheckraIn will work for ios version greater than 12.3. Hence browse the checkraIn page (https://checkra.in/linux)for more details and download the checkraIn on you Linux machine.

Step4: Follow the instruction on the checkraIn page, also listed here.

  1. Add our APT repo: echo "deb https://assets.checkra.in/debian /" | sudo tee -a /etc/apt/sources.list
  2. Add our public key: sudo apt-key adv --fetch-keys https://assets.checkra.in/debian/archive.key
  3. sudo apt update
  4. Install the checkra1n package by modifying the permission.
  5. chmod +x checkra1n
  6. sudo ./checkraIn

Step 5: Connect the device to the Linux machine using USB. CheckraIn will automatically detect the device and will show the information.

Step 6: Keep the options default and start the exploit.

Step 7: Follow the instructions on the screen which will lead you to enter into the recovery mode.

Step 8: Script will guide you to put your device to the recovery mode. Follow the instruction on the screen.

Step 9: Device will get booted once, enter the device pass code if asked.

Step 10: Once rebooted, your device will be jailbroken and you will see the checkraIn icon on the screen.

Step 11: Using checkraIn install the parallel app store for jailbreak devices which is “Cydia”.

That’s all for this article, now there are no dependencies of mac system to jailbreak the device, we can jailbreak it from Linux based systems as well.

--

--

ANURAG PATHAK

Patriot | Security Enthusiast | Foodie | Jugadu | Learner