Difference between revisions of "Preventing Baseband Update"

From The iPhone Wiki
Jump to: navigation, search
m (WHY SO LARGE?)
Line 1: Line 1:
=Step 1: Swap Ramdisks=
+
==Step 1: Swap Ramdisks==
Open the IPSW in a ZIP Editor and replace the [[Restore Ramdisk]] and the [[Update Ramdisk]] names with each other then follow Step 2
+
Open the IPSW (with your favorite ZIP utility). Replace the [[Restore Ramdisk]] and the [[Update Ramdisk]] names with each other.
<br>This is done to bypass [[baseband]] check
 
= Step 2: Edit options.plist =
 
   
  +
== Step 2: Edit options.plist ==
# Unpack Custom IPSW
 
  +
# Unpack custom IPSW
 
# Decrypt Restore Ramdisk using [[xpwntool]] and mount it
 
# Decrypt Restore Ramdisk using [[xpwntool]] and mount it
 
# Navigate to /usr/local/share/restore
 
# Navigate to /usr/local/share/restore
Line 24: Line 23:
 
<li>Reencrypt the restore ramdisk</li>
 
<li>Reencrypt the restore ramdisk</li>
 
<li>Repack the IPSW</li>
 
<li>Repack the IPSW</li>
<li>Prepare device for custom firmware using [[redsn0w]] Just enter pwned DFU option</li>
+
<li>Prepare device for custom firmware using [[redsn0w]]</li>
 
<li>Restore IPSW to [[iTunes]] in pwned [[DFU Mode]]</li>
 
<li>Restore IPSW to [[iTunes]] in pwned [[DFU Mode]]</li>
 
</ol>
 
</ol>
   
  +
You must load a patched [[iBSS]]/[[iBEC]] for this to work. Using an original IPSW will not work, because redsn0w's pwned DFU Mode doesn't patch sigchecks in [[iBSS]].
This won't work with original IPSW. Pwned DFU mode doesn't patch sigchecks in [[iBSS]], so the [[Restore/Update Ramdisks|ramdisk]] won't load. You need to load patched [[iBSS]]/[[iBEC]] for this to work.
 
   
=[[TinyUmbrella]]/[[Cydia]] Method for iPhone 4 (Doesnt work on iOS 4.2.1)=
+
==[[TinyUmbrella]]/[[Cydia]] Method for iPhone 4 (Doesnt work on iOS 4.2.1)==
   
The [[N90ap|iPhone 4]] needs [[baseband]] signature to update the baseband.Pointing the hosts file to [[Saurik]]'s server or running [[TinyUmbrella]] will allow this request for signature to be ignored thus preventing [[baseband]] update
+
The [[N90ap|iPhone 4]] requires a signature from Apple in order to update the baseband. Pointing the hosts file to [[Saurik]]'s server or running [[TinyUmbrella]] will allow this request for signature to be ignored, thus preventing a [[baseband]] update.
   
 
'''Warning : This might only work if [[Cydia]]/[[TinyUmbrella]] accepts the latest firmware SHSH'''
 
'''Warning : This might only work if [[Cydia]]/[[TinyUmbrella]] accepts the latest firmware SHSH'''
# Edit the hosts file and add the line "74.208.10.249 gs.apple.com" without the quotes or run [[TinyUmbrella]] after saving the firmwares SHSH
+
# Edit the hosts file and add the line "74.208.10.249 gs.apple.com" without the quotes, or run [[TinyUmbrella]] after saving the firmware's SHSH
# Use the restore button in iTunes to update firmware
+
# Use the "Restore" button in [[iTunes]] to update.
   
 
'''Custom [[Firmware]] wont work with [[TinyUmbrella]]/[[Cydia]] Method'''
 
'''Custom [[Firmware]] wont work with [[TinyUmbrella]]/[[Cydia]] Method'''

Revision as of 03:44, 9 December 2010

Step 1: Swap Ramdisks

Open the IPSW (with your favorite ZIP utility). Replace the Restore Ramdisk and the Update Ramdisk names with each other.

Step 2: Edit options.plist

  1. Unpack custom IPSW
  2. Decrypt Restore Ramdisk using xpwntool and mount it
  3. Navigate to /usr/local/share/restore
  4. Edit options.plist on the restore ramdisk

(Ignore the SystemPartitionSize in your plist file and leave it)

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>UpdateBaseband</key>
        <false/>
</dict>
</plist>
  1. Reencrypt the restore ramdisk
  2. Repack the IPSW
  3. Prepare device for custom firmware using redsn0w
  4. Restore IPSW to iTunes in pwned DFU Mode

You must load a patched iBSS/iBEC for this to work. Using an original IPSW will not work, because redsn0w's pwned DFU Mode doesn't patch sigchecks in iBSS.

TinyUmbrella/Cydia Method for iPhone 4 (Doesnt work on iOS 4.2.1)

The iPhone 4 requires a signature from Apple in order to update the baseband. Pointing the hosts file to Saurik's server or running TinyUmbrella will allow this request for signature to be ignored, thus preventing a baseband update.

Warning : This might only work if Cydia/TinyUmbrella accepts the latest firmware SHSH

  1. Edit the hosts file and add the line "74.208.10.249 gs.apple.com" without the quotes, or run TinyUmbrella after saving the firmware's SHSH
  2. Use the "Restore" button in iTunes to update.

Custom Firmware wont work with TinyUmbrella/Cydia Method