Advertisement
Guest User

Untitled

a guest
Apr 21st, 2024
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.03 KB | None | 0 0
  1. ./futurerestore_linux --latest-sep --latest-baseband --use-pwndfu -t /PATH_TO_IPSWS_BLOBS/Blobs/<<ECID>>/<<ECID>>_iPhone8,1_n71map_15.0-19A346_0xc85b7cd96b9c71c3_OTA.shsh2 /PATH_TO_IPSWS_BLOBS/iPhone_4.7_15.0_19A346_Restore.ipsw
  2.  
  3. Version: v2.0.0(625e0ec61b962b6bea22625fd3315f4734604d45-320)
  4. img4tool version: 0.197-aca6cf005c94caf135023263cbb5c61a0081804f-RELEASE
  5. libipatcher version: 0.91-cb10d973d0af78cc55020d4cf1187c28fad0f2a0-RELEASE
  6. Odysseus for 32-bit support: yes
  7. Odysseus for 64-bit support: yes
  8. Checking for updates...
  9. Futurerestore is up to date!
  10. [INFO] 64-bit device detected
  11. futurerestore init done
  12. reading signing ticket /PATH_TO_IPSWS_BLOBS/Blobs/<<ECID>>/<<ECID>>_iPhone8,1_n71map_15.0-19A346_0xc85b7cd96b9c71c3_OTA.shsh2 is done
  13. User specified to use latest signed SEP
  14. Cached /tmp/futurerestore/sep.im4p not found, downloading a new one.
  15. Downloading SEP
  16. Checking if SEP is being signed...
  17. Sending TSS request attempt 1... response successfully received
  18. SEP is being signed!
  19. User specified to use latest signed baseband
  20. Downloading Baseband
  21. Checking if Baseband is being signed...
  22. Sending TSS request attempt 1... response successfully received
  23. Baseband is being signed!
  24. Downloading the latest firmware components...
  25. Finished downloading the latest firmware components!
  26. Found device in DFU mode
  27. requesting to get into pwnRecovery later
  28. Found device in DFU mode
  29. Identified device as n71map, iPhone8,1
  30. Extracting BuildManifest from iPSW
  31. Product version: 15.0
  32. Product build: 19A346 Major: 19
  33. Device supports Image4: true
  34. checking if the APTicket is valid for this restore...
  35. Verified ECID in APTicket matches the device's ECID
  36. checking if the APTicket is valid for this restore...
  37. Verified ECID in APTicket matches the device's ECID
  38. [IMG4TOOL] checking buildidentity 0:
  39. [IMG4TOOL] checking buildidentity matches board ... NO
  40. [IMG4TOOL] checking buildidentity 1:
  41. [IMG4TOOL] checking buildidentity matches board ... YES
  42. [IMG4TOOL] checking buildidentity has all required hashes:
  43. [IMG4TOOL] checking hash for "AOP" OK (untrusted)
  44. [IMG4TOOL] checking hash for "Ap,SystemVolumeCanonicalMetadata"OK (found "msys" with matching hash)
  45. [IMG4TOOL] checking hash for "AppleLogo" OK (found "logo" with matching hash)
  46. [IMG4TOOL] checking hash for "BasebandFirmware" IGN (no digest in BuildManifest)
  47. [IMG4TOOL] checking hash for "BatteryCharging0" OK (found "chg0" with matching hash)
  48. [IMG4TOOL] checking hash for "BatteryCharging1" OK (found "chg1" with matching hash)
  49. [IMG4TOOL] checking hash for "BatteryFull" OK (found "batF" with matching hash)
  50. [IMG4TOOL] checking hash for "BatteryLow0" OK (found "bat0" with matching hash)
  51. [IMG4TOOL] checking hash for "BatteryLow1" OK (found "bat1" with matching hash)
  52. [IMG4TOOL] checking hash for "BatteryPlugin" OK (found "glyP" with matching hash)
  53. [IMG4TOOL] checking hash for "DeviceTree" OK (found "dtre" with matching hash)
  54. [IMG4TOOL] checking hash for "KernelCache" OK (found "krnl" with matching hash)
  55. [IMG4TOOL] checking hash for "LLB" OK (found "illb" with matching hash)
  56. [IMG4TOOL] checking hash for "OS" OK (found "rosi" with matching hash)
  57. [IMG4TOOL] checking hash for "RecoveryMode" OK (found "recm" with matching hash)
  58. [IMG4TOOL] checking hash for "RestoreDeviceTree" OK (found "rdtr" with matching hash)
  59. [IMG4TOOL] checking hash for "RestoreKernelCache" OK (found "rkrn" with matching hash)
  60. [IMG4TOOL] checking hash for "RestoreLogo" OK (found "rlgo" with matching hash)
  61. [IMG4TOOL] checking hash for "RestoreRamDisk" BAD! (hash not found in im4m)
  62. [IMG4TOOL] checking hash for "RestoreSEP" OK (found "rsep" with matching hash)
  63. [IMG4TOOL] checking hash for "RestoreTrustCache" BAD! (hash not found in im4m)
  64. [IMG4TOOL] checking hash for "SEP" OK (found "sepi" with matching hash)
  65. [IMG4TOOL] checking hash for "StaticTrustCache" OK (found "trst" with matching hash)
  66. [IMG4TOOL] checking hash for "SystemVolume" OK (found "isys" with matching hash)
  67. [IMG4TOOL] checking hash for "ftap" IGN (no digest in BuildManifest)
  68. [IMG4TOOL] checking hash for "ftsp" IGN (no digest in BuildManifest)
  69. [IMG4TOOL] checking hash for "iBEC" OK (found "ibec" with matching hash)
  70. [IMG4TOOL] checking hash for "iBSS" OK (found "ibss" with matching hash)
  71. [IMG4TOOL] checking hash for "iBoot" OK (found "ibot" with matching hash)
  72. [IMG4TOOL] checking hash for "rfta" IGN (no digest in BuildManifest)
  73. [IMG4TOOL] checking hash for "rfts" IGN (no digest in BuildManifest)
  74.  
  75. failed verification with error:
  76. [exception]:
  77. what=verification failed!
  78. code=84279308
  79. line=1286
  80. file=img4tool.cpp
  81. commit count=197
  82. commit sha =aca6cf005c94caf135023263cbb5c61a0081804f
  83. [IMG4TOOL] checking buildidentity 2:
  84. [IMG4TOOL] checking buildidentity matches board ... NO
  85. [IMG4TOOL] checking buildidentity 3:
  86. [IMG4TOOL] checking buildidentity matches board ... YES
  87. [IMG4TOOL] checking buildidentity has all required hashes:
  88. [IMG4TOOL] checking hash for "AOP" OK (untrusted)
  89. [IMG4TOOL] checking hash for "Ap,SystemVolumeCanonicalMetadata"OK (found "msys" with matching hash)
  90. [IMG4TOOL] checking hash for "AppleLogo" OK (found "logo" with matching hash)
  91. [IMG4TOOL] checking hash for "BasebandFirmware" IGN (no digest in BuildManifest)
  92. [IMG4TOOL] checking hash for "BatteryCharging0" OK (found "chg0" with matching hash)
  93. [IMG4TOOL] checking hash for "BatteryCharging1" OK (found "chg1" with matching hash)
  94. [IMG4TOOL] checking hash for "BatteryFull" OK (found "batF" with matching hash)
  95. [IMG4TOOL] checking hash for "BatteryLow0" OK (found "bat0" with matching hash)
  96. [IMG4TOOL] checking hash for "BatteryLow1" OK (found "bat1" with matching hash)
  97. [IMG4TOOL] checking hash for "BatteryPlugin" OK (found "glyP" with matching hash)
  98. [IMG4TOOL] checking hash for "DeviceTree" OK (found "dtre" with matching hash)
  99. [IMG4TOOL] checking hash for "KernelCache" OK (found "krnl" with matching hash)
  100. [IMG4TOOL] checking hash for "LLB" OK (found "illb" with matching hash)
  101. [IMG4TOOL] checking hash for "OS" OK (found "rosi" with matching hash)
  102. [IMG4TOOL] checking hash for "RecoveryMode" OK (found "recm" with matching hash)
  103. [IMG4TOOL] checking hash for "RestoreDeviceTree" OK (found "rdtr" with matching hash)
  104. [IMG4TOOL] checking hash for "RestoreKernelCache" OK (found "rkrn" with matching hash)
  105. [IMG4TOOL] checking hash for "RestoreLogo" OK (found "rlgo" with matching hash)
  106. [IMG4TOOL] checking hash for "RestoreRamDisk" BAD! (hash not found in im4m)
  107. [IMG4TOOL] checking hash for "RestoreSEP" OK (found "rsep" with matching hash)
  108. [IMG4TOOL] checking hash for "RestoreTrustCache" BAD! (hash not found in im4m)
  109. [IMG4TOOL] checking hash for "SEP" OK (found "sepi" with matching hash)
  110. [IMG4TOOL] checking hash for "StaticTrustCache" OK (found "trst" with matching hash)
  111. [IMG4TOOL] checking hash for "SystemVolume" OK (found "isys" with matching hash)
  112. [IMG4TOOL] checking hash for "ftap" IGN (no digest in BuildManifest)
  113. [IMG4TOOL] checking hash for "ftsp" IGN (no digest in BuildManifest)
  114. [IMG4TOOL] checking hash for "iBEC" OK (found "ibec" with matching hash)
  115. [IMG4TOOL] checking hash for "iBSS" OK (found "ibss" with matching hash)
  116. [IMG4TOOL] checking hash for "iBoot" OK (found "ibot" with matching hash)
  117. [IMG4TOOL] checking hash for "rfta" IGN (no digest in BuildManifest)
  118. [IMG4TOOL] checking hash for "rfts" IGN (no digest in BuildManifest)
  119.  
  120. failed verification with error:
  121. [exception]:
  122. what=verification failed!
  123. code=84279308
  124. line=1286
  125. file=img4tool.cpp
  126. commit count=197
  127. commit sha =aca6cf005c94caf135023263cbb5c61a0081804f
  128. Failed to get exact match for build identity, using fallback to ignore certain values
  129. [IMG4TOOL] checking buildidentity 0:
  130. [IMG4TOOL] checking buildidentity matches board ... NO
  131. [IMG4TOOL] checking buildidentity 1:
  132. [IMG4TOOL] checking buildidentity matches board ... YES
  133. [IMG4TOOL] checking buildidentity has all required hashes:
  134. [IMG4TOOL] checking hash for "AOP" OK (untrusted)
  135. [IMG4TOOL] checking hash for "Ap,SystemVolumeCanonicalMetadata"OK (found "msys" with matching hash)
  136. [IMG4TOOL] checking hash for "AppleLogo" OK (found "logo" with matching hash)
  137. [IMG4TOOL] checking hash for "BasebandFirmware" IGN (no digest in BuildManifest)
  138. [IMG4TOOL] checking hash for "BatteryCharging0" OK (found "chg0" with matching hash)
  139. [IMG4TOOL] checking hash for "BatteryCharging1" OK (found "chg1" with matching hash)
  140. [IMG4TOOL] checking hash for "BatteryFull" OK (found "batF" with matching hash)
  141. [IMG4TOOL] checking hash for "BatteryLow0" OK (found "bat0" with matching hash)
  142. [IMG4TOOL] checking hash for "BatteryLow1" OK (found "bat1" with matching hash)
  143. [IMG4TOOL] checking hash for "BatteryPlugin" OK (found "glyP" with matching hash)
  144. [IMG4TOOL] checking hash for "DeviceTree" OK (found "dtre" with matching hash)
  145. [IMG4TOOL] checking hash for "KernelCache" OK (found "krnl" with matching hash)
  146. [IMG4TOOL] checking hash for "LLB" OK (found "illb" with matching hash)
  147. [IMG4TOOL] checking hash for "OS" OK (found "rosi" with matching hash)
  148. [IMG4TOOL] checking hash for "RecoveryMode" OK (found "recm" with matching hash)
  149. [IMG4TOOL] checking hash for "RestoreDeviceTree" OK (found "rdtr" with matching hash)
  150. [IMG4TOOL] checking hash for "RestoreKernelCache" OK (found "rkrn" with matching hash)
  151. [IMG4TOOL] checking hash for "RestoreLogo" OK (found "rlgo" with matching hash)
  152. [IMG4TOOL] checking hash for "RestoreRamDisk" BAD! (but ignoring due to whitelist)
  153. [IMG4TOOL] checking hash for "RestoreSEP" OK (found "rsep" with matching hash)
  154. [IMG4TOOL] checking hash for "RestoreTrustCache" BAD! (but ignoring due to whitelist)
  155. [IMG4TOOL] checking hash for "SEP" OK (found "sepi" with matching hash)
  156. [IMG4TOOL] checking hash for "StaticTrustCache" OK (found "trst" with matching hash)
  157. [IMG4TOOL] checking hash for "SystemVolume" OK (found "isys" with matching hash)
  158. [IMG4TOOL] checking hash for "ftap" IGN (no digest in BuildManifest)
  159. [IMG4TOOL] checking hash for "ftsp" IGN (no digest in BuildManifest)
  160. [IMG4TOOL] checking hash for "iBEC" OK (found "ibec" with matching hash)
  161. [IMG4TOOL] checking hash for "iBSS" OK (found "ibss" with matching hash)
  162. [IMG4TOOL] checking hash for "iBoot" OK (found "ibot" with matching hash)
  163. [IMG4TOOL] checking hash for "rfta" IGN (no digest in BuildManifest)
  164. [IMG4TOOL] checking hash for "rfts" IGN (no digest in BuildManifest)
  165. Verified APTicket to be valid for this restore
  166. Variant: Customer Erase Install (IPSW)
  167. This restore will erase all device data.
  168. Device found in DFU Mode.
  169. Getting firmware keys for: n71map
  170. Patching iBSS
  171. Extracting iBSS.n71m.RELEASE.im4p (Firmware/dfu/iBSS.n71m.RELEASE.im4p)...
  172. payload decrypted
  173. iBoot64Patch: Staring iBoot64Patch!
  174. iOS 15 iBoot detected!
  175. iBoot64Patch: Inited ibootpatchfinder64!
  176. iBoot64Patch: Added sigpatches!
  177. iBoot64Patch: Added unlock nvram patch!
  178. iBoot64Patch: Added freshnonce patch!
  179. iBoot64Patch: has_kernel_load is false!
  180. iBoot64Patch: Applying patch=0x18038dcbc : 000080d2
  181. iBoot64Patch: Applying patch=0x18038dc78 : 000080d2
  182. iBoot64Patch: Patches applied!
  183. Patching iBEC
  184. Extracting iBEC.n71m.RELEASE.im4p (Firmware/dfu/iBEC.n71m.RELEASE.im4p)...
  185. payload decrypted
  186. iBoot64Patch: Staring iBoot64Patch!
  187. iOS 15 iBoot detected!
  188. iBoot64Patch: Inited ibootpatchfinder64!
  189. iBoot64Patch: Added sigpatches!
  190. iBoot64Patch: Added unlock nvram patch!
  191. iBoot64Patch: Added freshnonce patch!
  192. iBoot64Patch: has_kernel_load is true!
  193. iBoot64Patch: Added debugenabled patch!
  194. iBoot64Patch: Added bootarg patch!
  195. iBoot64Patch: Applying patch=0x87000cac8 : 000080d2
  196. iBoot64Patch: Applying patch=0x87000ca84 : 000080d2
  197. iBoot64Patch: Applying patch=0x870001d64 : 000080d2c0035fd6
  198. iBoot64Patch: Applying patch=0x870001dbc : 000080d2c0035fd6
  199. iBoot64Patch: Applying patch=0x8700306c4 : 000080d2c0035fd6
  200. iBoot64Patch: Applying patch=0x870013678 : 1f2003d5
  201. iBoot64Patch: Applying patch=0x87000e670 : 200080d2
  202. iBoot64Patch: Applying patch=0x87000fcb0 : 9a702830
  203. iBoot64Patch: Applying patch=0x870060ac1 : 72643d6d6430206e616e642d656e61626c652d7265666f726d61743d307831202d76202d726573746f72652064656275673d30783230313465206b65657073796d733d30783120616d66693d3078666620616d66695f616c6c6f775f616e795f7369676e61747572653d30783120616d66695f6765745f6f75745f6f665f6d795f7761793d3078312063735f656e666f7263656d656e745f64697361626c653d30783100
  204. iBoot64Patch: Patches applied!
  205. Repacking patched iBSS as IMG4
  206. Repacking patched iBEC as IMG4
  207. Sending iBSS (260739 bytes)...
  208. [==================================================] 100.0%
  209. Booting iBSS, waiting for device to disconnect...
  210. Booting iBSS, waiting for device to reconnect...
  211. Sending iBEC (436243 bytes)...
  212. [==================================================] 100.0%
  213. Booting iBEC, waiting for device to disconnect...
  214. Booting iBEC, waiting for device to reconnect...
  215. INFO: device serial number is <<SN>>
  216. ApNonce pre-hax:
  217. Getting ApNonce in recovery mode... f9 50 a3 8c 18 a6 bd bf 9d 14 17 04 f1 75 60 60 38 eb e9 f2
  218. Sending iBEC (436243 bytes)...
  219. [==================================================] 100.0%
  220. Booting iBEC, waiting for device to disconnect...
  221. Booting iBEC, waiting for device to reconnect...
  222. APNonce from device already matches IM4M nonce, no need for extra hax...
  223. Successfully set nonce generator: 0xc85b7cd96b9c71c3
  224. Using cached filesystem from '/PATH_TO_IPSWS_BLOBS/iPhone_4.7_15.0_19A346_Restore/018-80120-001.dmg'
  225. Getting SepNonce in recovery mode... 49 9e ed 5c 2f d0 4a 3b 03 8d aa c8 ea 04 9a f7 84 aa 67 b3
  226. Getting ApNonce in recovery mode... f9 50 a3 8c 18 a6 bd bf 9d 14 17 04 f1 75 60 60 38 eb e9 f2
  227. [WARNING] Setting bgcolor to green! If you don't see a green screen, then your device didn't boot iBEC correctly
  228. Recovery Mode Environment:
  229. iBoot build-version=iBoot-7429.12.15
  230. iBoot build-style=RELEASE
  231. Sending RestoreLogo...
  232. Extracting applelogo@2x~iphone.im4p (Firmware/all_flash/applelogo@2x~iphone.im4p)...
  233. Personalizing IMG4 component RestoreLogo...
  234. Sending RestoreLogo (12666 bytes)...
  235. ramdisk-size=0x20000000
  236. Extracting 018-79907-001.dmg (018-79907-001.dmg)...
  237. Personalizing IMG4 component RestoreRamDisk...
  238. Sending RestoreRamDisk (111679511 bytes)...
  239. Extracting 018-79907-001.dmg.trustcache (Firmware/018-79907-001.dmg.trustcache)...
  240. Personalizing IMG4 component RestoreTrustCache...
  241. Sending RestoreTrustCache (11245 bytes)...
  242. Extracting DeviceTree.n71map.im4p (Firmware/all_flash/DeviceTree.n71map.im4p)...
  243. Personalizing IMG4 component RestoreDeviceTree...
  244. Sending RestoreDeviceTree (32088 bytes)...
  245. Extracting sep-firmware.n71m.RELEASE.im4p (Firmware/all_flash/sep-firmware.n71m.RELEASE.im4p)...
  246. Personalizing IMG4 component RestoreSEP...
  247. Sending RestoreSEP (3250425 bytes)...
  248. Extracting kernelcache.release.n71 (kernelcache.release.n71)...
  249. Personalizing IMG4 component RestoreKernelCache...
  250. Sending RestoreKernelCache (21434097 bytes)...
  251. getting SEP ticket
  252. Trying to fetch new SHSH blob
  253. Sending TSS request attempt 1... response successfully received
  254. Received SHSH blobs
  255. Cleaning up...
  256. [exception]:
  257. what=Unable to place device into restore mode
  258. code=94568502
  259. line=1443
  260. file=/tmp/Builder/repos/futurerestore/src/futurerestore.cpp
  261. commit count=320
  262. commit sha =625e0ec61b962b6bea22625fd3315f4734604d45
  263. Done: restoring failed!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement