Dual Booting 64 Bit devices

Dual Booting 64 Bit devices

Introduction:

Previously, all public information regarding iOS dual booting has been for 32bit devices, e. g. iPhone 5 and older, and iPad 4th Generation and older. In this guide, we are going to be dual booting 64 bit devices, (iPhone 5s and newer). Keep in mind, the information you will see here focuses on APFS, Apple's new partition scheme, instead of old style HFS+. Just a little note, it should be possible to dual boot any version, provided the currently installed SEP is compatible with the target operating system. At the time of this article, we can only boot with the checkm8 exploit, which limits us to tethered boots of the secondary operating system.

Disclaimer:

There's no warranty given. Follow this guide on your own risk. If something goes wrong, a restore should fix everything.

Requirements:

  1. MacOS
  2. A 64bit jailbroken iPhone
  3. ipwndfu fork (or any utility to place device in pwned DFU mode)
  4. A disassembler (I will use IDA)

Contents:

Partitioning and Restoring RootFS
Making custom ramdisk
Modifying filesystem partition
No-effaceable-storage
First boot
iOS 13

Brought to you by @Ralph0045 and @mcg29_ on twitter.

Credits/Thanks to:

@axi0mx for checkm8 exploit
@b1n4r1b01 for restored_external tricks
@b1n4r1b01 for restored_external tricks
@LinusHenze for ipwndfu fork
@nyan_satan for original 32 bit guide and fixkeybag
@tihmstar for iBoot64Patcher and liboffsetfinder64
@xerub for img4lib
@JonathanSeals for relzss