Apple固件数据
更新
DeviceIdentifier API能够动态下载和解析Apple固件映像以进行分析。它不存储或存档任何Apple二进制文件。它支持iOS,iPadOS,HomePodOS,tvOS和WatchOS设备。
此功能不依赖于任何上游非Apple API或工具。因此,如果ipsw.me
或TSSstatus
API或tsschecker
工具发生中断或错误,此API将继续正常运行并接收更新。
API的固件数据可以通过多种方式使用,详情如下。
获取给定Apple设备的最新可用固件(及其签名状态)的数据。
使用任何内部名称查询自动返回给定设备的固件数据。嵌套固件数据采用以下格式:
"firmware": [ { "build": "11D257", "filesize": 165768907, "ota": true, "required_build": "11A465", "required_version": "7.0", "signed": true, "signing_started": "2018-11-01", "signing_stopped": null, "url": "http://appldnld.apple.com/iOS7.1/031-4897.20140627.JCWhk/d52a3e7a1a2c16c8c400c6829a6d6fe6d5e00760.zip", "version": "7.1.2" }, ... ]
获取特定固件版本的数据
可以使用以下URI格式请求有关给定固件版本的信息:
https://di-api.reincubate.com/v1/firmware/ios/12.4/
{ "version": "12.4", "release_notes": "iOS 12.4 introduces iPhone migration to directly transfer data from an old iPhone to a new iPhone, includes enhancements to Apple News+ and improves the security of your iPhone or iPad. This update:\n\niPhone migration\n\n* Introduces the ability to wirelessly transfer data and migrate directly from an old iPhone to a new iPhone during setup\n\nApple News\n\n* Makes downloaded issues accessible in the My Magazines section, both online and offline\n* Adds all publications in Apple News+, including newspapers, to the catalog at the top of the News+ feed\n* Adds the ability to clear downloaded magazine issues by selecting History > Clear > Clear All\n\nOther improvements and fixes\n\n* Includes a security fix for the Walkie-Talkie app on Apple Watch and re-enables Walkie-Talkie functionality\n\nThis release also includes support for HomePod in Japan and Taiwan.\n\nFor information on the security content of Apple software updates, please visit this website: https://support.apple.com/kb/HT201222", "releases": [ { "build": "16G77", "filesize": 0, "identifier": "iPad11,1", "internal_name": null, "ota": false, "required_build": null, "required_version": null, "sha": "5374906d06c4dcec8f310f97cb1c858f54953993", "signed": true, "signing_started": "2019-07-22", "signing_stopped": null, "url": "http://updates-http.cdn-apple.com/2019SummerFCS/fullrestores/041-86578/9E2214A0-A743-11E9-8F1A-C04349C1A2D4/iPad_Spring_2019_12.4_16G77_Restore.ipsw" }, ... ] }
获取完整的固件源
此存档旨在与tsschecker
一起使用, tsschecker
可以将其修补到tsschecker.c中 ,其中ipsw.me
API不可用。
它提供可用于所有设备的可用空中(OTA)或非OTA(完整)固件的JSON索引。
- 非OTA(完整)Feed: https : //di-api.reincubate.com/v1/firmware/full-feed/
- OTA Feed: https : //di-api.reincubate.com/v1/firmware/ota-feed/
#define FIRMWARE_JSON_URL "https://di-api.reincubate.com/v1/firmware/full-feed/" #define FIRMWARE_OTA_JSON_URL "https://di-api.reincubate.com/v1/firmware/ota-feed/"