ipsw iphone XR 有完整iPhone XR软件恢复包的下载地址
选择下载了 http://updates-http.cdn-apple.com/2018FallFCS/fullrestores/041-19415/F69DC39C-DEBF-11E8-BA95-89533F25C8D2/iPhone11,8_12.1_16B94_Restore.ipsw
iOS 12.1版本
unzip iPhone11,8_12.1_16B94_Restore.ipsw dmg2img 048-32857-105.dmg system.img mount -t hfsplus system.img /mnt (mount -o loop -t hfsplus system.img /mnt)
如果没有dmg2img,需要先安装
apt install dmg2img
用 P7ZIP 也可提取
/System/Library/Caches/com.apple.dyld/dyld_shared_cache_arm64e
https://github.com/macmade/dyld_cache_extract
参考资料:
https://iphonedevwiki.net/index.php/Dyld_shared_cache
https://github.com/malus-security/iExtractor
https://github.com/malus-security/iExtractor/tree/master/tools/dyld
对于 iOS 10之后的img, 用的是APFS