Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot restore (Failed with error code=-2) #137

Open
eliekh05 opened this issue Jan 27, 2024 · 0 comments
Open

cannot restore (Failed with error code=-2) #137

eliekh05 opened this issue Jan 27, 2024 · 0 comments

Comments

@eliekh05
Copy link

/Users/eliekhalil/FutureRestoreGUI/extracted/futurerestore" --apticket "/Users/eliekhalil/Downloads/8479614137165862_iPad5,3_j81ap_14.8-18H17_3a88b7c3802f2f0510abc432104a15ebd8bd7154.shsh2" --debug --custom-latest-buildid "18H17" --no-baseband "/Users/eliekhalil/Downloads/iPad_64bit_TouchID_14.8_18H17_Restore.ipsw"
Version: v2.0.0("36879969be71d56af062aa99be5f28ee482a12bc-309")
img4tool version: 0.197-aca6cf005c94caf135023263cbb5c61a0081804f-RELEASE
libipatcher version: 0.91-cb10d973d0af78cc55020d4cf1187c28fad0f2a0-RELEASE
Odysseus for 32-bit support: yes
Odysseus for 64-bit support: yes
Checking for updates...

  • Trying 45.32.185.199:443...
  • Connected to nightly.link (45.32.185.199) port 443
  • ALPN: curl offers h2,http/1.1
  • SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
  • ALPN: server accepted http/1.1
  • Server certificate:
  • subject: CN=nightly.link
  • start date: Dec 31 22:53:17 2023 GMT
  • expire date: Mar 30 22:53:16 2024 GMT
  • subjectAltName: host "nightly.link" matched cert's "nightly.link"
  • issuer: C=US; O=Let's Encrypt; CN=R3
  • SSL certificate verify ok.
  • using HTTP/1.1

GET /futurerestore/futurerestore/workflows/ci/main/Versioning.zip HTTP/1.1
Host: nightly.link
User-Agent: InetURL/1.0
Accept: /

< HTTP/1.1 302 Found
< Server: nginx/1.22.1
< Date: Sat, 27 Jan 2024 07:19:04 GMT
< Content-Type: text/html
< Content-Length: 0
< Connection: keep-alive
< Location: https://pipelinesghubeus24.actions.githubusercontent.com/cRORemcJlbbNOKbf5GvgDpugSe3VuxmGL2smrU2nlCQUYclJtG/_apis/pipelines/1/runs/605/signedartifactscontent?artifactName=Versioning&urlExpires=2024-01-27T07%3A20%3A04.8810905Z&urlSigningMethod=HMACV2&urlSignature=pcaxPLvHNqb4Ug%2F02NAAyb14nQM91JfiuH6w5cMr6B4%3D
<

GET /cRORemcJlbbNOKbf5GvgDpugSe3VuxmGL2smrU2nlCQUYclJtG/_apis/pipelines/1/runs/605/signedartifactscontent?artifactName=Versioning&urlExpires=2024-01-27T07%3A20%3A04.8810905Z&urlSigningMethod=HMACV2&urlSignature=pcaxPLvHNqb4Ug%2F02NAAyb14nQM91JfiuH6w5cMr6B4%3D HTTP/1.1
Host: pipelinesghubeus24.actions.githubusercontent.com
User-Agent: InetURL/1.0
Accept: /

< HTTP/1.1 200 OK
< Content-Type: application/zip
< Date: Sat, 27 Jan 2024 07:19:06 GMT
< Server: Kestrel
< Cache-Control: no-store,no-cache
< Pragma: no-cache
< Transfer-Encoding: chunked
< Strict-Transport-Security: max-age=2592000
< X-TFS-ProcessId: 998e9c00-d192-4c97-8a5c-24f754840636
< ActivityId: d4880d06-75e8-4621-bbc9-55f33abb1d4d
< X-TFS-Session: d4880d06-75e8-4621-bbc9-55f33abb1d4d
< X-VSS-E2EID: d4880d06-75e8-4621-bbc9-55f33abb1d4d
< X-VSS-SenderDeploymentId: 2c974d96-2c30-cef5-eff2-3e0511a903a5
< Content-Disposition: attachment; filename=Versioning.zip; filename*=UTF-8''Versioning.zip
<

  • Connection Dev #1 to host pipelinesghubeus24.actions.githubusercontent.com left intact
    Futurerestore is up to date!
    [INFO] 64-bit device detected
    daemonManager: suspending invasive macOS daemons...
    daemonManager: findProc: found MobileDeviceUpdater!
    daemonManager: killing MobileDeviceUpdater.
    daemonManager: findProc: found AMPDevicesAgent!
    daemonManager: killing AMPDevicesAgent.
    daemonManager: findProc: found AMPDeviceDiscoveryAgent!
    daemonManager: killing AMPDeviceDiscoveryAgent.
    daemonManager: done!
    futurerestore init done
    reading signing ticket /Users/eliekhalil/Downloads/8479614137165862_iPad5,3_j81ap_14.8-18H17_3a88b7c3802f2f0510abc432104a15ebd8bd7154.shsh2 is done
    [Error] missing argument
    Usage: futurerestore [OPTIONS] iPSW
    Allows restoring to non-matching firmware with custom SEP+baseband

General options:
-h, --help Shows this usage message
-t, --apticket PATH Signing tickets used for restoring
-u, --update Update instead of erase install (requires appropriate APTicket)
DO NOT use this parameter, if you update from jailbroken firmware!
-w, --wait Keep rebooting until ApNonce matches APTicket (ApNonce collision, unreliable)
-d, --debug Show all code, use to save a log for debug testing
-e, --exit-recovery Exit recovery mode and quit
-z, --no-restore Do not restore and end right before NOR data is sent
-c, --custom-latest VERSION Specify custom latest version to use for SEP, Baseband and other FirmwareUpdater components
-g, --custom-latest-buildid BUILDID Specify custom latest buildid to use for SEP, Baseband and other FirmwareUpdater components
-i, --custom-latest-beta Get custom url from list of beta firmwares
-k, --custom-latest-ota Get custom url from list of ota firmwares
Options for downgrading with Odysseus:
-3, --use-pwndfu Restoring devices with Odysseus method. Device needs to be in pwned DFU mode already
-4, --no-ibss Restoring devices with Odysseus method. For checkm8/iPwnder32 specifically, bootrom needs to be patched already with unless iPwnder.
-5, --rdsk PATH Set custom restore ramdisk for entering restoremode(requires use-pwndfu)
-6, --rkrn PATH Set custom restore kernelcache for entering restoremode(requires use-pwndfu)
-7, --set-nonce Set custom nonce from your blob then exit recovery(requires use-pwndfu)
-7, --set-nonce=0xNONCE Set custom nonce then exit recovery(requires use-pwndfu)
-8, --serial Enable serial during boot(requires serial cable and use-pwndfu)
-9, --boot-args Set custom restore boot-args(PROCEED WITH CAUTION)(requires use-pwndfu)
-a, --no-cache Disable cached patched iBSS/iBEC(requires use-pwndfu)
-f, --skip-blob Skip SHSH blob validation(PROCEED WITH CAUTION)(requires use-pwndfu)

Options for SEP:
-0, --latest-sep Use latest signed SEP instead of manually specifying one
-j, --no-rsep Choose not to send Restore Mode SEP firmware command

Options for baseband:
-1, --latest-baseband Use latest signed baseband instead of manually specifying one
-2, --no-baseband Skip checks and don't flash baseband
Only use this for device without a baseband (eg. iPod touch or some Wi-Fi only iPads)

Failed with error code=-2

Operating system Using: macOS 14.3 physical
Device trying to restore: A1566 in dfu mode (black screen)
Jailbroken: Not yet

Did: "36879969be71d56af062aa99be5f28ee482a12bc-309" instead of: "36879969be71d56af062aa99be5f28ee482a12bc-309" (without quotes) because it will refer to pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant