Difference between revisions of "OTA Updates"

From The iPhone Wiki
Jump to: navigation, search
(iPad 2 (CDMA))
m
 
(561 intermediate revisions by 26 users not shown)
Line 1: Line 1:
  +
{{float toc|left}}
'''OTA Updates''' (Over-the-Air Updates) have been introduced with iOS 5. The device contacts [http://mesu.apple.com/assets/com_apple_MobileAsset_SoftwareUpdate/com_apple_MobileAsset_SoftwareUpdate.xml mesu.apple.com] to check for updates. The updates are delivered in plain unencrypted ZIP files.
 
  +
'''OTA Updates''' ('''Over-the-Air Updates''', also known as ''wireless updates'') were introduced with iOS 5. This allows a user of a device to go into Settings > General > Software Update and download and install the latest iOS software on-device, without the need for [[iTunes]]. The device checks an XML-based PLIST file on mesu.apple.com or sends a POST JSON request to gdmf.apple.com (codenamed Pallas) for updates. The updates are delivered in plain unencrypted ZIP files.
   
== OTA Update Files ==
+
== OTA Update contents ==
  +
There are three known versions of OTA updates. OTA update bundles contain an Info.plist file and two folders: ''META-INF'' and ''AssetData''. ''META-INF'' has only one file ''com.apple.ZipMetadata.plist'' which describes bundle contents.
<!-- === [[Apple TV]] ===
 
==== [[k66ap|Apple TV 2G]] ==== -->
 
=== [[iPad]] ===
 
==== [[k48ap|iPad 1G]] - iPad1,1 ====
 
{| class="wikitable sortable" style="font-size: smaller; text-align: center; width: auto; table-layout: fixed; border-collapse: collapse;" border="1"
 
|-
 
! width="40" | Version
 
! width="120" | Build
 
! width="120" | Prerequisite Build
 
! width="210" | OTA Download URL
 
! width="140" | Type
 
! width="140" | Comments
 
! width="70" | File Size
 
|-
 
| 5.0b5
 
| 9A5288d
 
| 9A5259f
 
| [http://appldnld.apple.com/iPhone4/041-2068.20110806.Axpyt/com_apple_MobileAsset_SoftwareUpdate/9023d1ebd320d91b35fb3820b3c2ed0ce42c6d03.zip 9023d1ebd320d91b35fb3820b3c2ed0ce42c6d03.zip]
 
| Beta
 
|
 
| 193,443,604
 
|-
 
| 5.0b5
 
| 9A5288d
 
| 9A5259f
 
| [http://appldnld.apple.com/iPhone4/041-2068.20110806.Axpyt/com_apple_MobileAsset_SoftwareUpdate/e32a3ed51a0913d882d7e8a87af0623d8f191e60.zip e32a3ed51a0913d882d7e8a87af0623d8f191e60.zip]
 
| Carrier
 
|
 
| 195,891,742
 
|-
 
| 5.0.1b2
 
| 9A404
 
| 9A402
 
| [http://appldnld.apple.com/iPhone4/041-3249.20111103.Qswe3/com_apple_MobileAsset_SoftwareUpdate/04d4f2d4537ac918ac3e494788c282bb67001bbb.zip 04d4f2d4537ac918ac3e494788c282bb67001bbb.zip]
 
| Beta
 
|
 
| 39,473,876
 
|-
 
| 5.0.1
 
| 9A405
 
| 9A334
 
| [http://appldnld.apple.com/iPhone4/041-3333.20111109.Xder5/com_apple_MobileAsset_SoftwareUpdate/a10da09644bd17d9ad67e88ba5224b719faa7b95.zip a10da09644bd17d9ad67e88ba5224b719faa7b95.zip]
 
| Release
 
|
 
| 41,066,648
 
|-
 
| 5.1b3<!-- There was not 5.1b2 -->
 
| 9B5141a
 
| 9B5127c
 
| [http://appldnld.apple.com/iPhone4/041-3806.20120109.GVMcb/com_apple_MobileAsset_SoftwareUpdate/0ed3620795c3e7c46f9153d15764669ce5b38d3a.zip 0ed3620795c3e7c46f9153d15764669ce5b38d3a.zip]
 
| Beta
 
|
 
| ?
 
|-
 
| 5.1
 
| 9B176
 
| 9A334
 
| [http://appldnld.apple.com/iPhone4/041-4219.201218.D22We/com_apple_MobileAsset_SoftwareUpdate/0f536b7c0b32a36f211d5ec9de49b5af5a446637.zip 0f536b7c0b32a36f211d5ec9de49b5af5a446637.zip]
 
| Release
 
|
 
| 206,257,384
 
|}
 
   
  +
''AssetData'' contains three Bill-Of-Materials files (they can be viewed with ''lsbom'' and created with ''mkbom''). ''pre.bom'' states filesystem before update, ''post.bom'' - after and payload.bom describes the patches to be applied during update process. It also contains ''boot'' folder where [[bootchain]]-related files are stored (iBoot, kernelcache, etc.), ''payloadv2'' or ''payload'' (depends on PackageVersion value of ''AssetData/Info.plist'' file) and ''Info.plist'' file which describes the update. ''Info.plist'' file from ''AssetData'' folder contains ''PackageVersion'' field which can be 1.0, 2.0 or 3.0.
==== [[iPad 2]] ====
 
===== [[k93ap|iPad 2 (Wi-Fi)]] - iPad2,1 =====
 
{| class="wikitable sortable" style="font-size: smaller; text-align: center; width: auto; table-layout: fixed; border-collapse: collapse;" border="1"
 
|-
 
! width="40" | Version
 
! width="120" | Build
 
! width="120" | Prerequisite Build
 
! width="210" | OTA Download URL
 
! width="140" | Type
 
! width="140" | Comments
 
! width="70" | File Size
 
|-
 
| 5.0.1b2
 
| 9A404
 
| 9A402
 
| [http://appldnld.apple.com/iPhone4/041-3249.20111103.Qswe3/com_apple_MobileAsset_SoftwareUpdate/23289e9f5c752e67cbb650179bc0fdfce9613648.zip 23289e9f5c752e67cbb650179bc0fdfce9613648.zip]
 
| Beta
 
|
 
| 39,937,791
 
|-
 
| 5.0.1
 
| 9A405
 
| 9A334
 
| [http://appldnld.apple.com/iPhone4/041-3333.20111109.Xder5/com_apple_MobileAsset_SoftwareUpdate/f2ae60b598040fb475668fba346720094187909b.zip f2ae60b598040fb475668fba346720094187909b.zip]
 
| Release
 
|
 
| 41,300,532
 
|-
 
| 5.1b3<!-- There was not 5.1b2 -->
 
| 9B5141a
 
| 9B5127c
 
| [http://appldnld.apple.com/iPhone4/041-3807.20120109.kc5Wg/com_apple_MobileAsset_SoftwareUpdate/82f69270db293451d9d3b0e9c374ede1237f7212.zip 82f69270db293451d9d3b0e9c374ede1237f7212.zip]
 
| Beta
 
|
 
| ?
 
|-
 
| 5.1
 
| 9B176
 
| 9A334
 
| [http://appldnld.apple.com/iPhone4/041-4219.201218.D22We/com_apple_MobileAsset_SoftwareUpdate/92630263465e52fbbdea5faec5977dded28c61ce.zip 92630263465e52fbbdea5faec5977dded28c61ce.zip]
 
| Release
 
|
 
| 208,857,189
 
|}
 
   
===== [[k94ap|iPad 2 (GSM)]] =====
+
=== Format 1.0 ===
  +
These updates do not contain ''payload.bom'' file and are deprecated. These updates do not contain any .bom files.
{| class="wikitable sortable" style="font-size: smaller; text-align: center; width: auto; table-layout: fixed; border-collapse: collapse;" border="1"
 
  +
*'''archive.cpio.gz''' - the actual cpio patch archive (encrypted). Contains a list of BSDIFF40 patches and baseband firmware updates, if available, with the associated flashing tools (bbupdater/imeisv).
|-
 
  +
*'''Info.plist.signature''' - asymmetric signature of Info.plist validated against /System/Library/Lockdown/iPhoneSoftwareUpdate.pem.
! width="40" | Version
 
  +
*'''libupdate_brain.dylib''' - stage 2 update process library (encrypted).
! width="120" | Build
 
! width="120" | Prerequisite Build
 
! width="210" | OTA Download URL
 
! width="140" | Type
 
! width="140" | Comments
 
! width="70" | File Size
 
|-
 
| 5.0b5
 
| 9A5288d
 
| 9A5274d
 
| [http://appldnld.apple.com/iPhone4/041-2068.20110806.Axpyt/com_apple_MobileAsset_SoftwareUpdate/7087529d848729133957d979f54bdebe1c07a7fd.zip 7087529d848729133957d979f54bdebe1c07a7fd.zip]
 
| Carrier
 
|
 
| 148,024,221
 
|-
 
| 5.0b5
 
| 9A5288d
 
| 9A5274d
 
| [http://appldnld.apple.com/iPhone4/041-2068.20110806.Axpyt/com_apple_MobileAsset_SoftwareUpdate/0ac25e80cac4b6d12cc7cc2c5ba98d7cc3c03fb9.zip 0ac25e80cac4b6d12cc7cc2c5ba98d7cc3c03fb9.zip]
 
| Beta
 
|
 
| 146,544,905
 
|-
 
| 5.0.1b2
 
| 9A404
 
| 9A402
 
| [http://appldnld.apple.com/iPhone4/041-3249.20111103.Qswe3/com_apple_MobileAsset_SoftwareUpdate/538ae578b5e1e2f6199d5f0f8a3d9072fd907e4c.zip 538ae578b5e1e2f6199d5f0f8a3d9072fd907e4c.zip]
 
| Beta
 
|
 
| 48,066,431
 
|-
 
| 5.0.1
 
| 9A405
 
| 9A334
 
| [http://appldnld.apple.com/iPhone4/041-3333.20111109.Xder5/com_apple_MobileAsset_SoftwareUpdate/ed440421275bd52d6748abf3a31837fda03cc086.zip ed440421275bd52d6748abf3a31837fda03cc086.zip]
 
|
 
|
 
| 49,120,994
 
|-
 
| 5.1b3<!-- There was not 5.1b2 -->
 
| 9B5141a
 
| 9B5127c
 
| [http://appldnld.apple.com/iPhone4/041-3808.20120109.Gb65t/com_apple_MobileAsset_SoftwareUpdate/9d7dfc2b71aaf7c0301c9214a676ddca8c6e95c7.zip 9d7dfc2b71aaf7c0301c9214a676ddca8c6e95c7.zip]
 
| Beta
 
|
 
| ?
 
|}
 
   
===== [[k95ap|iPad 2 (CDMA)]] - iPad2,3 =====
+
=== Format 2.0 ===
  +
All updates with 2.0 package version have ''payload'' folder inside ''AssetData'' instead of ''archive.cpio.gz'' file from 1.0 updates. It contains only two folders: ''added'' folder with unencrypted files which are to be added during update process and ''patches'' folder. ''patches'' folder is used to store BSDIFF40 patches that are applied to files during update process. They can be easily applied manually with [http://www.daemonology.net/bsdiff/ bsdiff] utility. ''patches'' folder file hierarchy is similar to devices [https://theiphonewiki.com/wiki// root file system] (ex. patch for ''/sbin/launchctl'' will be found at ''AssetData/payload/patches/sbin/launchctl''). ''AssetData'' also contains ''payload.bom.signature'' that replaces ''Info.plist.signature''. ''payload.bom.signature'' is used to check ''payload.bom'' which contains CRC32 of all files inside ''AssetData'' folder.
{| class="wikitable sortable" style="font-size: smaller; text-align: center; width: auto; table-layout: fixed; border-collapse: collapse;" border="1"
 
|-
 
! width="40" | Version
 
! width="120" | Build
 
! width="120" | Prerequisite Build
 
! width="210" | OTA Download URL
 
! width="140" | Type
 
! width="140" | Comments
 
! width="70" | File Size
 
|-
 
| 5.0b5
 
| 9A5288d
 
| 9A5274d
 
| [http://appldnld.apple.com/iPhone4/041-2068.20110806.Axpyt/com_apple_MobileAsset_SoftwareUpdate/444e2f5f79af95b9601b8871b86cbf9793cd7a14.zip 444e2f5f79af95b9601b8871b86cbf9793cd7a14.zip]
 
| Beta
 
|
 
| 142,810,356
 
|-
 
| 5.0b5
 
| 9A5288d
 
| 9A5274d
 
| [http://appldnld.apple.com/iPhone4/041-2068.20110806.Axpyt/com_apple_MobileAsset_SoftwareUpdate/58cfede05a3813ecd8446e293eaef7d0cb5ea2ce.zip 58cfede05a3813ecd8446e293eaef7d0cb5ea2ce.zip]
 
| Carrier
 
|
 
| 144,264,157
 
|-
 
| 5.0.1b2
 
| 9A404
 
| 9A402
 
| [http://appldnld.apple.com/iPhone4/041-3249.20111103.Qswe3/com_apple_MobileAsset_SoftwareUpdate/f5053274861e6a9144e6540a6ec340aea976ec33.zip f5053274861e6a9144e6540a6ec340aea976ec33.zip]
 
| Beta
 
|
 
| 53,765,294
 
|-
 
| 5.0.1
 
| 9A405
 
| 9A334
 
| [http://appldnld.apple.com/iPhone4/041-3333.20111109.Xder5/com_apple_MobileAsset_SoftwareUpdate/7e7666c0e4ab2dcb0977987da8501dc8f3361644.zip 7e7666c0e4ab2dcb0977987da8501dc8f3361644.zip]
 
| Release
 
|
 
| 55,647,323
 
|-
 
| 5.1b3<!-- There was not 5.1b2 -->
 
| 9B5141a
 
| 9B5127c
 
| [http://appldnld.apple.com/iPhone4/041-3809.20120109.Jut5t/com_apple_MobileAsset_SoftwareUpdate/6affecb981cd973c5c7b534145de95da9ae8c7e0.zip 6affecb981cd973c5c7b534145de95da9ae8c7e0.zip]
 
| Beta
 
|
 
| ?
 
|-
 
| 5.1
 
| 9B176
 
| 9A405
 
| [http://appldnld.apple.com/iPhone4/041-4219.201218.D22We/com_apple_MobileAsset_SoftwareUpdate/e056ec60839f70a53293c113583603f62a9422c0.zip e056ec60839f70a53293c113583603f62a9422c0.zip]
 
| Release
 
|
 
| 222,925,778
 
|}
 
   
=== [[iPhone]] ===
+
=== Format 3.0 ===
  +
There are quite a number of changes to note between format 2.0 and 3.0. In particular, the filesystem contents are now stored in a large, proprietary archive.
==== [[n88ap|iPhone 3GS]] - iPhone2,1====
 
{| class="wikitable sortable" style="font-size: smaller; text-align: center; width: auto; table-layout: fixed; border-collapse: collapse;" border="1"
 
|-
 
! width="40" | Version
 
! width="120" | Build
 
! width="120" | Prerequisite Build
 
! width="210" | OTA Download URL
 
! width="140" | Type
 
! width="140" | Comments
 
! width="70" | File Size
 
|-
 
| 5.0b5
 
| 9A5288d
 
| 9A5259f
 
| [http://appldnld.apple.com/iPhone4/041-2068.20110806.Axpyt/com_apple_MobileAsset_SoftwareUpdate/5f3c1bb45bdf4ec0b34be4554516a09a245bfdb4.zip 5f3c1bb45bdf4ec0b34be4554516a09a245bfdb4.zip]
 
| Beta
 
|
 
| 179,789,824
 
|-
 
| 5.0b5
 
| 9A5288d
 
| 9A5259f
 
| [http://appldnld.apple.com/iPhone4/041-2068.20110806.Axpyt/com_apple_MobileAsset_SoftwareUpdate/30a65ecc4bd61b2298c28676d025ae4babad337c.zip 30a65ecc4bd61b2298c28676d025ae4babad337c.zip]
 
| Carrier
 
|
 
| 182,017,013
 
|-
 
| 5.0b5
 
| 9A5288d
 
| 9A5274d
 
| [http://appldnld.apple.com/iPhone4/041-2068.20110806.Axpyt/com_apple_MobileAsset_SoftwareUpdate/ff1081181b5647475f62bf5c19c04c0386adb103.zip ff1081181b5647475f62bf5c19c04c0386adb103.zip]
 
| Beta
 
|
 
| 119,114,569
 
|-
 
| 5.0[[Golden Master|GM]]?
 
| 9A332
 
|
 
|
 
| Possible GM?
 
|
 
|
 
|-
 
| 5.0.1b2
 
| 9A404
 
| 9A402
 
| [http://appldnld.apple.com/iPhone4/041-3249.20111103.Qswe3/com_apple_MobileAsset_SoftwareUpdate/ae57c4dc797aeb0c6f230172c49ad54de9b75aa3.zip ae57c4dc797aeb0c6f230172c49ad54de9b75aa3.zip]
 
| Beta
 
|
 
| 39,717,063
 
|-
 
| 5.0.1
 
| 9A405
 
| 9A334
 
| [http://appldnld.apple.com/iPhone4/041-3333.20111109.Xder5/com_apple_MobileAsset_SoftwareUpdate/19f78b3b21dc48a8a5baea455377c134321b5887.zip 19f78b3b21dc48a8a5baea455377c134321b5887.zip]
 
| Release
 
|
 
| 40,811,305
 
|-
 
| 5.1b3<!-- There was not 5.1b2 -->
 
| 9B5141a
 
| 9B5127c
 
| [http://appldnld.apple.com/iPhone4/041-3810.20120109.Luvr4/com_apple_MobileAsset_SoftwareUpdate/ffd65cefb4f892725a2592960f953a31944872e2.zip ffd65cefb4f892725a2592960f953a31944872e2.zip]
 
| Beta
 
|
 
| ?
 
|-
 
| 5.1
 
| 9B176
 
| 9A405
 
| [http://appldnld.apple.com/iPhone4/041-4219.201218.D22We/com_apple_MobileAsset_SoftwareUpdate/0e0e6444cae79c3c809107eb61c3ee6c75c10c2f.zip 0e0e6444cae79c3c809107eb61c3ee6c75c10c2f.zip]
 
| Release
 
|
 
| 110,916,945
 
|}
 
   
  +
* The '''added''' folder no longer exists.
==== [[iPhone 4]] ====
 
  +
* '''links.txt''' is just a list of strings. Strings that begin with '=' are symlink targets and following strings that begin with '+' are places where symlinks should be created.
===== [[n90ap|iPhone 4 (GSM)]] - iPhone3,1 =====
 
  +
* '''patches''' no longer use the BSDIFF40 format; they use a modified version dubbed BXDIFF41.<ref name="bxdiff" />
{| class="wikitable sortable" style="font-size: smaller; text-align: center; width: auto; table-layout: fixed; border-collapse: collapse;" border="1"
 
  +
* '''payload''' and '''prepare_payload''' hold the filesystem contents in a proprietary format.<ref>http://newosxbook.com/articles/OTA.html</ref> As the name implies, ''prepare_payload'' is extracted first.
|-
 
  +
* The '''payloadv2''' folder replaces the '''payload''' folder in updates packaged in format 3.0.
! width="40" | Version
 
  +
* '''removed.txt''' contains a list of files that should be removed before update starts.
! width="120" | Build
 
  +
* '''payload.bom''' now contains SHA1 hashes of all files in the '''AssetData''' folder.
! width="120" | Prerequisite Build
 
! width="210" | OTA Download URL
 
! width="140" | Type
 
! width="140" | Comments
 
! width="70" | File Size
 
|-
 
| 5.0b5
 
| 9A5288d
 
| 9A5259f
 
| [http://appldnld.apple.com/iPhone4/041-2068.20110806.Axpyt/com_apple_MobileAsset_SoftwareUpdate/05e3a3f0fc43c968f93af8464720c50fbd0ad620.zip 05e3a3f0fc43c968f93af8464720c50fbd0ad620.zip]
 
| Carrier
 
|
 
| 193,261,005
 
|-
 
| 5.0b5
 
| 9A5288d
 
| 9A5274d
 
| [http://appldnld.apple.com/iPhone4/041-2068.20110806.Axpyt/com_apple_MobileAsset_SoftwareUpdate/cde871abbf88d40ff2de05b729ae7d77299cb718.zip cde871abbf88d40ff2de05b729ae7d77299cb718.zip]
 
| Beta
 
|
 
| 135,075,264
 
|-
 
| 5.0b5
 
| 9A5288d
 
| 9A5274d
 
| [http://appldnld.apple.com/iPhone4/041-2068.20110806.Axpyt/com_apple_MobileAsset_SoftwareUpdate/af342f8dbdcfb16cecef31b915b172b1b54923ca.zip af342f8dbdcfb16cecef31b915b172b1b54923ca.zip]
 
| Carrier
 
|
 
| 135,591,402
 
|-
 
| 5.0.1b2
 
| 9A404
 
| 9A402
 
| [http://appldnld.apple.com/iPhone4/041-3249.20111103.Qswe3/com_apple_MobileAsset_SoftwareUpdate/accafa6d7e44bac2f21f52e579b20ec877d725e2.zip accafa6d7e44bac2f21f52e579b20ec877d725e2.zip]
 
| Beta
 
|
 
| 45,464,950
 
|-
 
| 5.0.1
 
| 9A405
 
| 9A334
 
| [http://appldnld.apple.com/iPhone4/041-3333.20111109.Xder5/com_apple_MobileAsset_SoftwareUpdate/18d1ad5c7de11dced1914b59be08eaa2a3e6503d.zip 18d1ad5c7de11dced1914b59be08eaa2a3e6503d.zip]
 
| Release
 
|
 
| 46,787,119
 
|-
 
| 5.1b3<!-- There was not 5.1b2 -->
 
| 9B5141a
 
| 9B5127c
 
| [http://appldnld.apple.com/iPhone4/041-3811.20120109.8Kcr4/com_apple_MobileAsset_SoftwareUpdate/f7b405cca1af5de58a49c63772e59a8feb17a877.zip f7b405cca1af5de58a49c63772e59a8feb17a877.zip]
 
| Beta
 
|
 
| ?
 
|-
 
| 5.1
 
| 9B176
 
| 9A334
 
| [http://appldnld.apple.com/iPhone4/041-4219.201218.D22We/com_apple_MobileAsset_SoftwareUpdate/03e5a74f68e6d997820fce4584d4c4b248b7a311.zip 03e5a74f68e6d997820fce4584d4c4b248b7a311.zip]
 
| Release
 
|
 
| 186,113,559
 
|-
 
| 5.1
 
| 9B176
 
| 9A405
 
| [http://appldnld.apple.com/iPhone4/041-4219.201218.D22We/com_apple_MobileAsset_SoftwareUpdate/4df53ad9e8cbf24a021ea6619654dec4c15fe942.zip 4df53ad9e8cbf24a021ea6619654dec4c15fe942.zip]
 
| Release
 
|
 
| 186,154,575
 
|}
 
   
===== [[n92ap|iPhone 4 (CDMA)]] - iPhone3,3=====
+
==== iOS 10.3 ====
  +
With iOS 10.3, Apple began to use the same "delta" package for multiple firmware versions (e.g. iOS 7.1 through 7.1.2 receive the same ZIP file).
{| class="wikitable sortable" style="font-size: smaller; text-align: center; width: auto; table-layout: fixed; border-collapse: collapse;" border="1"
 
|-
 
! width="40" | Version
 
! width="120" | Build
 
! width="120" | Prerequisite Build
 
! width="210" | OTA Download URL
 
! width="140" | Type
 
! width="140" | Comments
 
! width="70" | File Size
 
|-
 
| 5.0b5
 
| 9A5288d
 
| 9A5274d
 
| [http://appldnld.apple.com/iPhone4/041-2068.20110806.Axpyt/com_apple_MobileAsset_SoftwareUpdate/8f6b3c14f3387b6fe0db08b52338a29d845d3197.zip 8f6b3c14f3387b6fe0db08b52338a29d845d3197.zip]
 
| Beta
 
|
 
| 144,482,539
 
|-
 
| 5.0.1b2
 
| 9A404
 
| 9A402
 
| [http://appldnld.apple.com/iPhone4/041-3249.20111103.Qswe3/com_apple_MobileAsset_SoftwareUpdate/252a641e24b440a1e8fcdf5a2da3139b19273c9c.zip 252a641e24b440a1e8fcdf5a2da3139b19273c9c.zip]
 
| Beta
 
|
 
| 55,140,468
 
|-
 
| 5.0.1
 
| 9A405
 
| 9A334
 
| [http://appldnld.apple.com/iPhone4/041-3333.20111109.Xder5/com_apple_MobileAsset_SoftwareUpdate/f32393169909696c2b3efb2aa9c82b9a7d8ba8b8.zip f32393169909696c2b3efb2aa9c82b9a7d8ba8b8.zip]
 
| Release
 
|
 
| 56,495,306
 
|-
 
| 5.1b3<!-- There was not 5.1b2 -->
 
| 9B5141a
 
| 9B5127c
 
| [http://appldnld.apple.com/iPhone4/041-3812.20120109.pm4Rt/com_apple_MobileAsset_SoftwareUpdate/d504ee2e5a295880ef9ddef8f2e95749463c5c2d.zip d504ee2e5a295880ef9ddef8f2e95749463c5c2d.zip]
 
| Beta
 
|
 
| ?
 
|-
 
| 5.1
 
| 9B176
 
| 9A405
 
| [http://appldnld.apple.com/iPhone4/041-4219.201218.D22We/com_apple_MobileAsset_SoftwareUpdate/3225fd68ea19c195181ec755e58797f881145454.zip 3225fd68ea19c195181ec755e58797f881145454.zip]
 
| Release
 
|
 
| 195,532,946
 
|-
 
| 5.1
 
| 9B176
 
| 9A334
 
| [http://appldnld.apple.com/iPhone4/041-4219.201218.D22We/com_apple_MobileAsset_SoftwareUpdate/4c34ed79631d24a81dcd56f99a2fe8fe6ba1b506.zip 4c34ed79631d24a81dcd56f99a2fe8fe6ba1b506.zip]
 
| Release
 
|
 
| 195,682,427
 
|}
 
   
  +
* An additional key called <code>ComboAsset</code> is included in the Info.plist, which is an array of dictionaries containing information for supported versions.
==== [[n94ap|iPhone 4S]] - iPhone4,1 ====
 
  +
* The <code>PrerequisiteBuild</code> and <code>PrerequisiteOSVersion</code> keys of Info.plist are still strings. However, the string may contain multiple versions and build numbers, separated with semicolons.
{| class="wikitable sortable" style="font-size: smaller; text-align: center; width: auto; table-layout: fixed; border-collapse: collapse;" border="1"
 
|-
 
! width="40" | Version
 
! width="120" | Build
 
! width="120" | Prerequisite Build
 
! width="210" | OTA Download URL
 
! width="140" | Type
 
! width="140" | Comments
 
! width="70" | File Size
 
|-
 
| 5.0.1b2
 
| 9A404
 
| 9A402
 
| [http://appldnld.apple.com/iPhone4/041-3249.20111103.Qswe3/com_apple_MobileAsset_SoftwareUpdate/554f7813ac09d45256faad560b566814c983bd4b.zip 554f7813ac09d45256faad560b566814c983bd4b.zip]
 
| Beta
 
|
 
| 839,302,389
 
|-
 
| 5.0.1
 
| 9A405
 
| 9A334
 
| [http://appldnld.apple.com/iPhone4/041-3333.20111109.Xder5/com_apple_MobileAsset_SoftwareUpdate/323d76efa3e44947838dca305cd104ca740dd30c.zip 323d76efa3e44947838dca305cd104ca740dd30c.zip]
 
| Release
 
|
 
| 58,221,403
 
|-
 
| 5.1b3<!-- There was not 5.1b2 -->
 
| 9B5141a
 
| 9B5127c
 
| [http://appldnld.apple.com/iPhone4/041-3813.20120109.KBHD4/com_apple_MobileAsset_SoftwareUpdate/5e15af51bc7ee8c741d7b25dd1ae7653dcb1efb3.zip 5e15af51bc7ee8c741d7b25dd1ae7653dcb1efb3.zip]
 
| Beta
 
|
 
| ?
 
|-
 
| 5.1
 
| 9B179
 
| 9A405
 
| [http://appldnld.apple.com/iPhone4/041-4322.20120218.5vjM/com_apple_MobileAsset_SoftwareUpdate/a37da9fd18dd0a40d46192b63ed5069fa4e852c9.zip a37da9fd18dd0a40d46192b63ed5069fa4e852c9.zip]
 
| Release
 
|
 
| 198,459,428
 
|-
 
| 5.1
 
| 9B179
 
| 9A334
 
| [http://appldnld.apple.com/iPhone4/041-4290.20120218.Zxxcd/com_apple_MobileAsset_SoftwareUpdate/bdf35bb991b25d0ecc0e2cfb2d59f99d63082c09.zip bdf35bb991b25d0ecc0e2cfb2d59f99d63082c09.zip]
 
| Release
 
|
 
| 198,658,723
 
|-
 
| 5.1
 
| 9B179
 
| 9A406
 
| [http://appldnld.apple.com/iPhone4/041-4326.20120218.Plr45/com_apple_MobileAsset_SoftwareUpdate/94fbce740b4e3f59f047ce5369c7afb5f806e249.zip 94fbce740b4e3f59f047ce5369c7afb5f806e249.zip]
 
| Release
 
|
 
| 198,383,965
 
|}
 
   
  +
It is otherwise the same as before.
=== [[iPod touch]] ===
 
==== [[n18ap|iPod touch 3G]] - iPod3,1====
 
{| class="wikitable sortable" style="font-size: smaller; text-align: center; width: auto; table-layout: fixed; border-collapse: collapse;" border="1"
 
|-
 
! width="40" | Version
 
! width="120" | Build
 
! width="120" | Prerequisite Build
 
! width="210" | OTA Download URL
 
! width="140" | Type
 
! width="140" | Comments
 
! width="70" | File Size
 
|-
 
| 5.0b5
 
| 9A5288d
 
| 9A5259f
 
| [http://appldnld.apple.com/iPhone4/041-2068.20110806.Axpyt/com_apple_MobileAsset_SoftwareUpdate/11ad90a32d70e944ec08358cbdd4efdd1034cc6c.zip 11ad90a32d70e944ec08358cbdd4efdd1034cc6c.zip]
 
| Beta
 
|
 
| 178,581,139
 
|-
 
| 5.0.1b2
 
| 9A404
 
| 9A402
 
| [http://appldnld.apple.com/iPhone4/041-3249.20111103.Qswe3/com_apple_MobileAsset_SoftwareUpdate/cce9a9b7d7368a27b6db5e34b9fb057245d3e87a.zip cce9a9b7d7368a27b6db5e34b9fb057245d3e87a.zip]
 
| Beta
 
|
 
| 39,019,275
 
|-
 
| 5.0.1
 
| 9A405
 
| 9A334
 
| [http://appldnld.apple.com/iPhone4/041-3333.20111109.Xder5/com_apple_MobileAsset_SoftwareUpdate/0dac8a3eb9292d05d013d84ad3c2f6ca5b74c0f3.zip 0dac8a3eb9292d05d013d84ad3c2f6ca5b74c0f3.zip]
 
| Release
 
|
 
| 39,868,989
 
|-
 
| 5.1b3<!-- There was not 5.1b2 -->
 
| 9B5141a
 
| 9B5127c
 
| [http://appldnld.apple.com/iPhone4/041-3814.20120109.6Jut5/com_apple_MobileAsset_SoftwareUpdate/6997c9f76060dde8071a3c02d07359dd2d702009.zip 6997c9f76060dde8071a3c02d07359dd2d702009.zip]
 
| Beta
 
|
 
| ?
 
|-
 
| 5.1
 
| 9B176
 
| 9A405
 
| [http://appldnld.apple.com/iPhone4/041-4219.201218.D22We/com_apple_MobileAsset_SoftwareUpdate/470a2df0e401405c9bdc52e627172193fe38750f.zip 470a2df0e401405c9bdc52e627172193fe38750f.zip]
 
| Release
 
|
 
| 110,901,484
 
|}
 
   
==== [[n81ap|iPod touch 4G]] - iPod4,1 ====
+
==== iOS 11 ====
  +
iOS 11 introduced more changes to Format 3.0. (A <code>PackageVersion</code> of 3.0 continues to be listed.)
{| class="wikitable sortable" style="font-size: smaller; text-align: center; width: auto; table-layout: fixed; border-collapse: collapse;" border="1"
 
  +
|-
 
  +
* The new '''app_patches''' folder handles patching of removable stock apps, such as Mail.app and iTunes Store.app, to extract them, everything before the PBZX header needs to be removed.
! width="40" | Version
 
  +
* '''patches''' now uses the BXDIFF50 format.<ref name="bxdiff" />
! width="120" | Build
 
  +
* The payload.000-999 files use the AppleArchive compression. They can be extracted using the built-in macOS yaa command line tool or by adding the .aar extension and opening the file with the built-in macOS Archive Utility or Keka.
! width="120" | Prerequisite Build
 
  +
! width="210" | OTA Download URL
 
  +
== Conflicts With [[Jailbreak]]ing ==
! width="140" | Type
 
  +
OTA Updates are often known to cause issues when jailbreaking a device. This became evident with [[evasi0n7]], because most devices that were updated OTA, had to be restored with iTunes first, since the jailbreak would often fail if it was not.
! width="140" | Comments
 
  +
! width="70" | File Size
 
  +
While jailbroken, a device cannot install OTA updates successfully. If you try, it is likely that your device will either be stuck in a boot loop, or certain things will not work correctly. Newer jailbreaks such as [[evasi0n]] and [[evasi0n7]] disable the OTA search daemon, which prevents the device from searching for an update (it will just stay indefinitely at "Checking for Update..." and will never show any updates available for installation). This can also be done manually on any jailbreak, by deleting or moving ''/System/Library/LaunchDaemons/com.apple.mobile.softwareupdated.plist'' and ''/System/Library/LaunchDaemons/com.apple.softwareupdateservicesd.plist'' from your device. It can also be done with tools such as iCleaner Pro.
|-
 
  +
| 5.0b5
 
  +
== OTA updates list ==
| 9A5288d
 
  +
=== Accessories ===
| 9A5259f
 
  +
==== AirPods ====
| [http://appldnld.apple.com/iPhone4/041-2068.20110806.Axpyt/com_apple_MobileAsset_SoftwareUpdate/d143312070ccc3d4b3758fa1d0b4732ecb20721b.zip d143312070ccc3d4b3758fa1d0b4732ecb20721b.zip]
 
  +
{{:OTA Updates/AirPods}}
| Beta
 
  +
|
 
  +
==== AirTag ====
| 185,480,615
 
  +
* [[OTA Updates/AirTag|AirTag]]
|-
 
  +
| 5.0b5
 
  +
==== Apple Pencil ====
| 9A5288d
 
  +
* [[OTA Updates/Apple Pencil (1st generation)|Apple Pencil (1st generation)]]
| 9A5274d
 
  +
* [[OTA Updates/Apple Pencil (2nd generation)|Apple Pencil (2nd generation)]]
| [http://appldnld.apple.com/iPhone4/041-2068.20110806.Axpyt/com_apple_MobileAsset_SoftwareUpdate/03351fa4268c0bbaeef301c20c92ea1b2c0bb338.zip 03351fa4268c0bbaeef301c20c92ea1b2c0bb338.zip]
 
  +
| Beta
 
  +
==== [[Beats]] ====
|
 
  +
* [[OTA Updates/BeatsX|Beats<sup>X</sup>]]
| 129,931,195
 
  +
* [[OTA Updates/Beats Fit Pro|Beats Fit Pro]]
|-
 
  +
* [[OTA Updates/Beats Flex|Beats Flex]]
| 5.0.1b2
 
  +
| 9A404
 
  +
==== [[Beats Solo]] ====
| 9A402
 
  +
* [[OTA Updates/Beats Solo3 Wireless|Beats Solo<sup>3</sup> Wireless]]
| [http://appldnld.apple.com/iPhone4/041-3249.20111103.Qswe3/com_apple_MobileAsset_SoftwareUpdate/97bbaa762247dc9cad795148251fa641cceba24f.zip 97bbaa762247dc9cad795148251fa641cceba24f.zip]
 
  +
* [[OTA Updates/Beats Solo Pro|Beats Solo Pro]]
| Beta
 
  +
|
 
  +
==== [[Beats Studio]] ====
| 40,140,664
 
  +
* [[OTA Updates/Beats Studio3 Wireless|Beats Studio<sup>3</sup> Wireless]]
|-
 
  +
* [[OTA Updates/Beats Studio Buds|Beats Studio Buds]]
| 5.0.1
 
  +
| 9A405
 
  +
==== [[Powerbeats]] ====
| 9A334
 
  +
* [[OTA Updates/Powerbeats3 Wireless|Powerbeats<sup>3</sup>]]
| [http://appldnld.apple.com/iPhone4/041-3333.20111109.Xder5/com_apple_MobileAsset_SoftwareUpdate/ee5492289cb3126be3ccbaf55f9f6cd8eb3d1ccb.zip ee5492289cb3126be3ccbaf55f9f6cd8eb3d1ccb.zip]
 
  +
* [[OTA Updates/Powerbeats Pro|Powerbeats Pro]]
|
 
  +
* [[OTA Updates/Powerbeats|Powerbeats]]
|
 
  +
| 42,019,565
 
  +
==== Displays ====
|-
 
  +
* [[OTA Updates/Studio Display/15.x|Studio Display]]
| 5.1b3<!-- There was not 5.1b2 -->
 
  +
* [[OTA Updates/Pro Display XDR|Pro Display XDR]]
| 9B5141a
 
  +
| 9B5127c
 
  +
==== Siri Remote ====
| [http://appldnld.apple.com/iPhone4/041-3815.20120109.3QH12/com_apple_MobileAsset_SoftwareUpdate/e718832f57845f146010545386f1949a1353999b.zip e718832f57845f146010545386f1949a1353999b.zip]
 
  +
{{:OTA Updates/Siri Remote}}
| Beta
 
  +
|
 
  +
==== Smart Keyboard ====
| ?
 
  +
* [[OTA Updates/Smart Keyboard|Smart Keyboard]]
|-
 
  +
* [[OTA Updates/Smart Keyboard Folio|Smart Keyboard Folio]]
| 5.1
 
  +
| 9B176
 
  +
=== Apple TV ===
| 9A334
 
  +
{{:OTA Updates/Apple TV}}
| [http://appldnld.apple.com/iPhone4/041-4219.201218.D22We/com_apple_MobileAsset_SoftwareUpdate/8af6942d8211bb00fb32b93aafeeba1c4b8e1e32.zip 8af6942d8211bb00fb32b93aafeeba1c4b8e1e32.zip]
 
  +
| Release
 
  +
=== Apple Watch ===
|
 
  +
{{:OTA Updates/Apple Watch}}
| 183,616,163
 
  +
|-
 
  +
=== HomePod ===
| 5.1
 
  +
{{:OTA Updates/HomePod}}
| 9B176
 
  +
| 9A405
 
  +
=== iPad ===
| [http://appldnld.apple.com/iPhone4/041-4219.201218.D22We/com_apple_MobileAsset_SoftwareUpdate/62866fb35adf18d8a0ffbdf0fa340b95297c90d3.zip 62866fb35adf18d8a0ffbdf0fa340b95297c90d3.zip]
 
  +
{{:OTA Updates/iPad}}
| Release
 
  +
|
 
  +
=== iPad Air ===
| 183,366,472
 
  +
{{:OTA Updates/iPad Air}}
|}
 
  +
  +
=== iPad Pro ===
  +
{{:OTA Updates/iPad Pro}}
  +
  +
=== iPad mini ===
  +
{{:OTA Updates/iPad mini}}
  +
  +
=== iPhone ===
  +
{{:OTA Updates/iPhone}}
  +
  +
=== iPod touch ===
  +
{{:OTA Updates/iPod touch}}
  +
  +
=== Mac ===
  +
{{:OTA Updates/Mac}}
  +
  +
== External links ==
  +
* Jonathan Levin's examination of OTA updates
  +
** [http://newosxbook.com/articles/OTA.html Taking apart iOS OTA Updates]
  +
** [http://newosxbook.com/articles/OTA2.html Recreating the iOS filesystem from an OTA]
  +
** [http://newosxbook.com/articles/OTA3.html Recreating the iOS filesystem from an OTA, revisited for tvOS]
  +
** [http://newosxbook.com/articles/OTA4.html Searching through an OTA update]
  +
** [http://newosxbook.com/articles/OTA5.html XZ strikes back]
  +
  +
=== Software Update XMLs ===
  +
* [https://mesu.apple.com/version.xml Apple TV (1st generation)]
  +
* [https://mesu.apple.com/version_ATV4.xml Apple TV (for releases prior to iOS 6.0)]
  +
* [https://mesu.apple.com/assets/audio/com_apple_MobileAsset_SoftwareUpdate/com_apple_MobileAsset_SoftwareUpdate.xml audioOS]
  +
* [https://mesu.apple.com/assets/audio/com_apple_MobileAsset_MobileSoftwareUpdate_UpdateBrain/com_apple_MobileAsset_MobileSoftwareUpdate_UpdateBrain.xml audioOS UpdateBrain]
  +
* [https://mesu.apple.com/assets/audio/com_apple_MobileAsset_SoftwareUpdateDocumentation/com_apple_MobileAsset_SoftwareUpdateDocumentation.xml audioOS Documentation]
  +
* [https://mesu.apple.com/assets/com_apple_MobileAsset_SoftwareUpdate/com_apple_MobileAsset_SoftwareUpdate.xml iOS] (includes [[K66AP|Apple TV (2nd generation)]] and [[Apple TV (3rd generation)]] releases after iOS 6.0)
  +
* [https://mesu.apple.com/assets/com_apple_MobileAsset_SoftwareUpdateDocumentation/com_apple_MobileAsset_SoftwareUpdateDocumentation.xml iOS Documentation]
  +
* [https://mesu.apple.com/assets/com_apple_MobileAsset_MobileSoftwareUpdate_UpdateBrain/com_apple_MobileAsset_MobileSoftwareUpdate_UpdateBrain.xml iOS UpdateBrain]
  +
* [https://mesu.apple.com/assets/tv/com_apple_MobileAsset_SoftwareUpdate/com_apple_MobileAsset_SoftwareUpdate.xml tvOS]
  +
* [https://mesu.apple.com/assets/tv/com_apple_MobileAsset_MobileSoftwareUpdate_UpdateBrain/com_apple_MobileAsset_MobileSoftwareUpdate_UpdateBrain.xml tvOS UpdateBrain]
  +
* [https://mesu.apple.com/assets/watch/com_apple_MobileAsset_SoftwareUpdate/com_apple_MobileAsset_SoftwareUpdate.xml watchOS]
  +
* [https://mesu.apple.com/assets/com_apple_MobileAsset_WatchSoftwareUpdateDocumentation/com_apple_MobileAsset_WatchSoftwareUpdateDocumentation.xml watchOS Documentation]
  +
* [https://mesu.apple.com/assets/watch/com_apple_MobileAsset_MobileSoftwareUpdate_UpdateBrain/com_apple_MobileAsset_MobileSoftwareUpdate_UpdateBrain.xml watchOS UpdateBrain]
  +
* [https://swscan.apple.com/content/catalogs/others/index-12-10.16-10.15-10.14-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog.gz macOS SUCatalog (InstallAssistants, and other assets)]
  +
* [https://swscan.apple.com/content/catalogs/others/index-rosettaupdateauto-1.sucatalog.gz macOS Rosetta 2 SUCatalog (Rosetta 2 packages)]
  +
* [https://swscan.apple.com/content/catalogs/others/index-windows-1.sucatalog.gz macOS Windows SUCatalog (Boot Camp drivers)]
  +
* Accessory Software Update XMLs:
  +
** Adapters
  +
*** [https://mesu.apple.com/assets/com_apple_MobileAsset_MobileAccessoryUpdate_A1619_EA/com_apple_MobileAsset_MobileAccessoryUpdate_A1619_EA.xml Lightning to USB 3 Camera Adapter]
  +
** [[List of AirPods|AirPods]]
  +
*** [https://mesu.apple.com/assets/com_apple_MobileAsset_MobileAccessoryUpdate_A1523_EA/com_apple_MobileAsset_MobileAccessoryUpdate_A1523_EA.xml AirPods (1st generation)]
  +
*** [https://mesu.apple.com/assets/com_apple_MobileAsset_MobileAccessoryUpdate_A2032_EA/com_apple_MobileAsset_MobileAccessoryUpdate_A2032_EA.xml AirPods (2nd generation)]
  +
*** [https://mesu.apple.com/assets/com_apple_MobileAsset_MobileAccessoryUpdate_A2564_EA/com_apple_MobileAsset_MobileAccessoryUpdate_A2564_EA.xml AirPods (3rd generation)]
  +
*** [https://mesu.apple.com/assets/com_apple_MobileAsset_MobileAccessoryUpdate_A2084_EA/com_apple_MobileAsset_MobileAccessoryUpdate_A2084_EA.xml AirPods Pro (1st generation)]
  +
*** [https://mesu.apple.com/assets/com_apple_MobileAsset_UARP_A2618/com_apple_MobileAsset_UARP_A2618.xml AirPods Pro (2nd generation)]
  +
*** [https://mesu.apple.com/assets/com_apple_MobileAsset_MobileAccessoryUpdate_A2096_EA/com_apple_MobileAsset_MobileAccessoryUpdate_A2096_EA.xml AirPods Max]
  +
** [[AirTag]]s
  +
*** [https://mesu.apple.com/assets/com_apple_MobileAsset_MobileAccessoryUpdate_DurianFirmware/com_apple_MobileAsset_MobileAccessoryUpdate_DurianFirmware.xml AirTag]
  +
** [[Apple Pencil]]
  +
*** [https://mesu.apple.com/assets/com_apple_MobileAsset_MobileAccessoryUpdate_WirelessStylusFirmware/com_apple_MobileAsset_MobileAccessoryUpdate_WirelessStylusFirmware.xml Apple Pencil (1st generation)]
  +
*** [https://mesu.apple.com/assets/com_apple_MobileAsset_MobileAccessoryUpdate_WirelessStylusFirmware_2/com_apple_MobileAsset_MobileAccessoryUpdate_WirelessStylusFirmware_2.xml Apple Pencil (2nd generation)]
  +
** [[Beats]]
  +
*** [https://mesu.apple.com/assets/com_apple_MobileAsset_MobileAccessoryUpdate_A1763_EA/com_apple_MobileAsset_MobileAccessoryUpdate_A1763_EA.xml Beats<sup>X</sup>]
  +
*** [https://mesu.apple.com/assets/com_apple_MobileAsset_MobileAccessoryUpdate_A2577_EA/com_apple_MobileAsset_MobileAccessoryUpdate_A2577_EA.xml Beats Fit Pro]
  +
** [[Beats Solo]]
  +
*** [https://mesu.apple.com/assets/com_apple_MobileAsset_MobileAccessoryUpdate_A1796_EA/com_apple_MobileAsset_MobileAccessoryUpdate_A1796_EA.xml Beats Solo<sup>3</sup> Wireless]
  +
*** [https://mesu.apple.com/assets/com_apple_MobileAsset_MobileAccessoryUpdate_A1881_EA/com_apple_MobileAsset_MobileAccessoryUpdate_A1881_EA.xml Beats Solo Pro]
  +
** [[Beats Studio]]
  +
*** [https://mesu.apple.com/assets/com_apple_MobileAsset_MobileAccessoryUpdate_A1914_EA/com_apple_MobileAsset_MobileAccessoryUpdate_A1914_EA.xml Beats Studio<sup>3</sup> Wireless]
  +
*** [https://mesu.apple.com/assets/com_apple_MobileAsset_UARP_A2513/com_apple_MobileAsset_UARP_A2513.xml Beats Studio Buds]
  +
** [[Powerbeats]]
  +
*** [https://mesu.apple.com/assets/com_apple_MobileAsset_MobileAccessoryUpdate_A1747_EA/com_apple_MobileAsset_MobileAccessoryUpdate_A1747_EA.xml Powerbeats<sup>3</sup>]
  +
*** [https://mesu.apple.com/assets/com_apple_MobileAsset_MobileAccessoryUpdate_A2048_EA/com_apple_MobileAsset_MobileAccessoryUpdate_A2048_EA.xml Powerbeats Pro]
  +
*** [https://mesu.apple.com/assets/com_apple_MobileAsset_MobileAccessoryUpdate_A2015_EA/com_apple_MobileAsset_MobileAccessoryUpdate_A2015_EA.xml Powerbeats]
  +
** Magic Accessories
  +
*** [https://mesu.apple.com/assets/com_apple_MobileAsset_MobileAccessoryUpdate_TrackpadFirmware_6/com_apple_MobileAsset_MobileAccessoryUpdate_TrackpadFirmware_6.xml Magic Trackpad 2]
  +
*** [https://mesu.apple.com/assets/com_apple_MobileAsset_MobileAccessoryUpdate_KeyboardFirmware_5/com_apple_MobileAsset_MobileAccessoryUpdate_KeyboardFirmware_5.xml Magic Keyboard (1st generation)]
  +
** [[MagSafe]] and Magnetic chargers
  +
*** [https://mesu.apple.com/assets/com_apple_MobileAsset_UARP_A2515/com_apple_MobileAsset_UARP_A2515.xml Apple Watch Magnetic Charging Cable]
  +
*** [https://mesu.apple.com/assets/com_apple_MobileAsset_UARP_A2384/com_apple_MobileAsset_UARP_A2384.xml MagSafe Battery Pack]
  +
*** [https://mesu.apple.com/assets/com_apple_MobileAsset_UARP_A2140/com_apple_MobileAsset_UARP_A2140.xml MagSafe Charger]
  +
*** [https://mesu.apple.com/assets/com_apple_MobileAsset_UARP_A2463/com_apple_MobileAsset_UARP_A2463.xml MagSafe Charger (MFi Module) ''A2463'']
  +
*** [https://mesu.apple.com/assets/com_apple_MobileAsset_UARP_A2728/com_apple_MobileAsset_UARP_A2728.xml MagSafe Charger (MFi Module) ''A2728'']
  +
** Power Adapters
  +
*** [https://mesu.apple.com/assets/com_apple_MobileAsset_UARP_A2676/com_apple_MobileAsset_UARP_A2676.xml 35W Dual USB-C Port Power Adapter]
  +
*** [https://mesu.apple.com/assets/com_apple_MobileAsset_UARP_A2571/com_apple_MobileAsset_UARP_A2571.xml 35W Dual USB-C Port Compact Power Adapter]
  +
** [[Siri Remote]]
  +
*** [https://mesu.apple.com/assets/tv/com_apple_MobileAsset_MobileAccessoryUpdate_WirelessRemoteFirmware/com_apple_MobileAsset_MobileAccessoryUpdate_WirelessRemoteFirmware.xml Siri Remote (1st generation)]
  +
*** [https://mesu.apple.com/assets/tv/com_apple_MobileAsset_MobileAccessoryUpdate_WirelessRemoteFirmware_2/com_apple_MobileAsset_MobileAccessoryUpdate_WirelessRemoteFirmware_2.xml Siri Remote (Rev A)]
  +
*** [https://mesu.apple.com/assets/tv/com_apple_MobileAsset_MobileAccessoryUpdate_WirelessRemoteFirmware_3/com_apple_MobileAsset_MobileAccessoryUpdate_WirelessRemoteFirmware_3.xml Siri Remote (2nd generation)]
  +
** [[Smart Battery Case]]
  +
*** [https://mesu.apple.com/assets/com_apple_MobileAsset_MobileAccessoryUpdate_A1585_EA/com_apple_MobileAsset_MobileAccessoryUpdate_A1585_EA.xml iPhone 6/6s Smart Battery Case]
  +
*** [https://mesu.apple.com/assets/com_apple_MobileAsset_MobileAccessoryUpdate_A1765_EA/com_apple_MobileAsset_MobileAccessoryUpdate_A1765_EA.xml iPhone 7 Smart Battery Case]
  +
*** [https://mesu.apple.com/assets/com_apple_MobileAsset_MobileAccessoryUpdate_A2070_EA/com_apple_MobileAsset_MobileAccessoryUpdate_A2070_EA.xml iPhone XS Smart Battery Case]
  +
*** [https://mesu.apple.com/assets/com_apple_MobileAsset_MobileAccessoryUpdate_A2071_EA/com_apple_MobileAsset_MobileAccessoryUpdate_A2071_EA.xml iPhone XS Max Smart Battery Case]
  +
*** [https://mesu.apple.com/assets/com_apple_MobileAsset_MobileAccessoryUpdate_A2121_EA/com_apple_MobileAsset_MobileAccessoryUpdate_A2121_EA.xml iPhone XR Smart Battery Case]
  +
** Displays
  +
*** [https://mesu.apple.com/assets/com_apple_MobileAsset_MobileAccessoryUpdate_A1999-19G_EA/com_apple_MobileAsset_MobileAccessoryUpdate_A1999-19G_EA.xml Pro Display XDR]
  +
** [[Smart Keyboard]]
  +
*** [https://mesu.apple.com/assets/com_apple_MobileAsset_MobileAccessoryUpdate_KeyboardCoverFirmware/com_apple_MobileAsset_MobileAccessoryUpdate_KeyboardCoverFirmware.xml Smart Keyboard]
  +
*** [https://mesu.apple.com/assets/com_apple_MobileAsset_MobileAccessoryUpdate_KeyboardCoverFirmware_4/com_apple_MobileAsset_MobileAccessoryUpdate_KeyboardCoverFirmware_4.xml Smart Keyboard Folio (11-inch)]
  +
*** [https://mesu.apple.com/assets/com_apple_MobileAsset_MobileAccessoryUpdate_KeyboardCoverFirmware_5/com_apple_MobileAsset_MobileAccessoryUpdate_KeyboardCoverFirmware_5.xml Smart Keyboard Folio (12.9-inch)]
  +
*** [https://mesu.apple.com/assets/com_apple_MobileAsset_MobileAccessoryUpdate_KeyboardCoverFirmware_6/com_apple_MobileAsset_MobileAccessoryUpdate_KeyboardCoverFirmware_6.xml Smart Keyboard Folio (unknown)]
  +
*** [https://mesu.apple.com/assets/com_apple_MobileAsset_MobileAccessoryUpdate_KeyboardCoverFirmware_7/com_apple_MobileAsset_MobileAccessoryUpdate_KeyboardCoverFirmware_7.xml Smart Keyboard Folio (unknown)]
  +
*** [https://mesu.apple.com/assets/com_apple_MobileAsset_MobileAccessoryUpdate_MiniKeyboardCoverFirmware/com_apple_MobileAsset_MobileAccessoryUpdate_MiniKeyboardCoverFirmware.xml Smart Keyboard (mini) (unknown)]
  +
  +
* Other XMLs with unknown uses
  +
** [https://mesu.apple.com/assets/com_apple_MobileAsset_IOAccessoryManager/com_apple_MobileAsset_IOAccessoryManager.xml IOAccessoryManager]
  +
** [https://swscan.apple.com/content/catalogs/others/index-mobilestoredemo-1.sucatalog.gz MobileStoreDemo SUCatalog]
  +
  +
== References ==
  +
<references>
  +
<ref name="bxdiff">https://github.com/npupyshev/bxdiff</ref>
  +
</references>
  +
  +
== See Also ==
  +
* [[Beta OTA Updates]]
  +
* [[Firmware]]
  +
* [[Beta Firmware]]
  +
* [[Firmware Keys]]
  +
* [[RecoveryOSUpdates]]
  +
* [[Rapid Security Responses]]
  +
* [[Beta Rapid Security Responses]]
  +
* [[Software Update Service]]
  +
  +
[[Category:Firmware]]

Latest revision as of 17:45, 29 November 2022

OTA Updates (Over-the-Air Updates, also known as wireless updates) were introduced with iOS 5. This allows a user of a device to go into Settings > General > Software Update and download and install the latest iOS software on-device, without the need for iTunes. The device checks an XML-based PLIST file on mesu.apple.com or sends a POST JSON request to gdmf.apple.com (codenamed Pallas) for updates. The updates are delivered in plain unencrypted ZIP files.

OTA Update contents

There are three known versions of OTA updates. OTA update bundles contain an Info.plist file and two folders: META-INF and AssetData. META-INF has only one file com.apple.ZipMetadata.plist which describes bundle contents.

AssetData contains three Bill-Of-Materials files (they can be viewed with lsbom and created with mkbom). pre.bom states filesystem before update, post.bom - after and payload.bom describes the patches to be applied during update process. It also contains boot folder where bootchain-related files are stored (iBoot, kernelcache, etc.), payloadv2 or payload (depends on PackageVersion value of AssetData/Info.plist file) and Info.plist file which describes the update. Info.plist file from AssetData folder contains PackageVersion field which can be 1.0, 2.0 or 3.0.

Format 1.0

These updates do not contain payload.bom file and are deprecated. These updates do not contain any .bom files.

  • archive.cpio.gz - the actual cpio patch archive (encrypted). Contains a list of BSDIFF40 patches and baseband firmware updates, if available, with the associated flashing tools (bbupdater/imeisv).
  • Info.plist.signature - asymmetric signature of Info.plist validated against /System/Library/Lockdown/iPhoneSoftwareUpdate.pem.
  • libupdate_brain.dylib - stage 2 update process library (encrypted).

Format 2.0

All updates with 2.0 package version have payload folder inside AssetData instead of archive.cpio.gz file from 1.0 updates. It contains only two folders: added folder with unencrypted files which are to be added during update process and patches folder. patches folder is used to store BSDIFF40 patches that are applied to files during update process. They can be easily applied manually with bsdiff utility. patches folder file hierarchy is similar to devices root file system (ex. patch for /sbin/launchctl will be found at AssetData/payload/patches/sbin/launchctl). AssetData also contains payload.bom.signature that replaces Info.plist.signature. payload.bom.signature is used to check payload.bom which contains CRC32 of all files inside AssetData folder.

Format 3.0

There are quite a number of changes to note between format 2.0 and 3.0. In particular, the filesystem contents are now stored in a large, proprietary archive.

  • The added folder no longer exists.
  • links.txt is just a list of strings. Strings that begin with '=' are symlink targets and following strings that begin with '+' are places where symlinks should be created.
  • patches no longer use the BSDIFF40 format; they use a modified version dubbed BXDIFF41.[1]
  • payload and prepare_payload hold the filesystem contents in a proprietary format.[2] As the name implies, prepare_payload is extracted first.
  • The payloadv2 folder replaces the payload folder in updates packaged in format 3.0.
  • removed.txt contains a list of files that should be removed before update starts.
  • payload.bom now contains SHA1 hashes of all files in the AssetData folder.

iOS 10.3

With iOS 10.3, Apple began to use the same "delta" package for multiple firmware versions (e.g. iOS 7.1 through 7.1.2 receive the same ZIP file).

  • An additional key called ComboAsset is included in the Info.plist, which is an array of dictionaries containing information for supported versions.
  • The PrerequisiteBuild and PrerequisiteOSVersion keys of Info.plist are still strings. However, the string may contain multiple versions and build numbers, separated with semicolons.

It is otherwise the same as before.

iOS 11

iOS 11 introduced more changes to Format 3.0. (A PackageVersion of 3.0 continues to be listed.)

  • The new app_patches folder handles patching of removable stock apps, such as Mail.app and iTunes Store.app, to extract them, everything before the PBZX header needs to be removed.
  • patches now uses the BXDIFF50 format.[1]
  • The payload.000-999 files use the AppleArchive compression. They can be extracted using the built-in macOS yaa command line tool or by adding the .aar extension and opening the file with the built-in macOS Archive Utility or Keka.

Conflicts With Jailbreaking

OTA Updates are often known to cause issues when jailbreaking a device. This became evident with evasi0n7, because most devices that were updated OTA, had to be restored with iTunes first, since the jailbreak would often fail if it was not.

While jailbroken, a device cannot install OTA updates successfully. If you try, it is likely that your device will either be stuck in a boot loop, or certain things will not work correctly. Newer jailbreaks such as evasi0n and evasi0n7 disable the OTA search daemon, which prevents the device from searching for an update (it will just stay indefinitely at "Checking for Update..." and will never show any updates available for installation). This can also be done manually on any jailbreak, by deleting or moving /System/Library/LaunchDaemons/com.apple.mobile.softwareupdated.plist and /System/Library/LaunchDaemons/com.apple.softwareupdateservicesd.plist from your device. It can also be done with tools such as iCleaner Pro.

OTA updates list

Accessories

AirPods

AirTag

Apple Pencil

Beats

Beats Solo

Beats Studio

Powerbeats

Displays

Siri Remote

Smart Keyboard

Apple TV

Note that the Apple TV updates are organized by marketing version (the version displayed on the Apple TV), not the version of iOS it is based on.

Apple Watch

HomePod

iPad

iPad Air

iPad Pro

iPad mini

iPhone

iPod touch

Mac

External links

Software Update XMLs

References

See Also