Difference between revisions of "Jailbreak"

From The iPhone Wiki
Jump to: navigation, search
(iPod Touch 3g)
(Exploits which are used in order to jailbreak 2.0 and above: Copy-pasted the userland exploits that Spirit used.)
Line 18: Line 18:
   
 
==Exploits which are used in order to jailbreak 2.0 and above==
 
==Exploits which are used in order to jailbreak 2.0 and above==
  +
  +
===Userland (used for all devices)===
  +
*[[MobileBackup Copy Exploit]] + [[Incomplete Codesign Exploit]] + [[BPF_STX Kernel Write Exploit]] (together for untethered jailbreak)
  +
 
===iPhone / iPhone 3G / iPod Touch===
 
===iPhone / iPhone 3G / iPod Touch===
 
* [[Pwnage]] and [[Pwnage 2.0]] (together)
 
* [[Pwnage]] and [[Pwnage 2.0]] (together)
Line 26: Line 30:
   
 
===iPhone 3GS===
 
===iPhone 3GS===
* [[iBoot Environment Variable Overflow]] (also uses the [[24kPwn]] exploit to make it untethered)
+
* [[iBoot Environment Variable Overflow]] (also uses the [[0x24000 Segment Overflow]] to make it untethered on older devices)
* [[usb_control_msg(0x21, 2) Exploit]] (also uses the [[24kPwn]] exploit to make it untethered)
+
* [[usb_control_msg(0x21, 2) Exploit]] (also uses the [[0x24000 Segment Overflow]] to make it untethered on older devices)
   
 
===iPod Touch 3g===
 
===iPod Touch 3g===

Revision as of 16:46, 28 June 2010

This is the process by which full execute and write access is obtained on all the partitions of the iPhone. It is done by patching /etc/fstab to mount the System partition as read-write. This is entirely different from an unlock. Jailbreaking is the first action that must be taken before things like unofficial activation (hacktivation), and unofficial unlocking can be applied.

The original jailbreak also included modifying the afc service (used by iTunes to access the filesystem) to give full filesystem access from root. This was later updated to create a new service (afc2) that allows access to the full filesystem.

Modern jailbreaks also include patching the kernel to get around code signing and other restrictions.

Exploits which were used in order to jailbreak (in chronological order)

1.0.2

  • Restore Mode (iBoot had a command named cp, which had access to the whole filesystem)

1.1.1

1.1.2

  • Mknod (an upgrade jailbreak)

1.1.3 / 1.1.4

Exploits which are used in order to jailbreak 2.0 and above

Userland (used for all devices)

iPhone / iPhone 3G / iPod Touch

iPod Touch 2G

iPhone 3GS

iPod Touch 3g