Skip to content

AppleWiki Endpoint Change Causes create.sh to Fail #1

@Sebastian7700

Description

@Sebastian7700

Environment:

  • OS: Ubuntu 22.04 LTS
  • Device: iPad Air 2 (iPad5,4 - j82ap)
  • iOS Version on Device: iPadOS 9.3.5
  • Command Run:
    sudo bash create.sh iPad5,4 12.0

Initial Error:

64-bit Ramdisk Creator v0.17.1 by meowcat454
------------------------------------------
Downloading firmware keys...
Keys for iOS 12.0 for device iPad5,4 not found!
To fix this error, go to https://theapplewiki.com/wiki/Firmware_Keys/12.x and choose the closest iOS version for your device that has a blue link.
You can also use decrypt.sh to decrypt the files in pwned DFU mode.

Investigation:

  • I found that line 127 of create.sh attempts to fetch firmware keys from a URL that results in a 404 error due to an endpoint update.
  • Old URL format:
    curl -s -o /tmp/firmwarekeys.txt "https://theapplewiki.com/$codename"_"$BuildID"_"($device)?action=raw"
  • New URL format (working):
    curl -s -o /tmp/firmwarekeys.txt "https://theapplewiki.com/wiki/Keys:$codename"_"$BuildID"_"($device)?action=raw"

Secondary Error (After Fixing URL):

After modifying the script to use the new URL format, the script proceeded further but encountered another issue:

64-bit Ramdisk Creator v0.17.1 by meowcat454
------------------------------------------
Downloading firmware keys...
Creating ramdisk for device iPad5,4 (A8) with base version 12.0
Downloading files...
ERROR: Cannot find filename for iBSS!

Possible Cause & Request for Script Update:

It seems that the script needs further updates due to changes in endpoint structure. It would be helpful if someone familiar with the script could review it and adjust all references to the firmware key retrieval and other potentially outdated URLs.

Thanks in advance for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions