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

Unable to extract OTA payload files: AppleTV 4K #318

Open
kasiimh1 opened this issue Sep 29, 2023 · 4 comments
Open

Unable to extract OTA payload files: AppleTV 4K #318

kasiimh1 opened this issue Sep 29, 2023 · 4 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@kasiimh1
Copy link

Hi Trying to extract the OTA bundle get this error:

• Processing OTA payload filename=AssetData/payloadv2/payload.018 size=81 MB
• Processing OTA payload filename=AssetData/payloadv2/payload.020 size=82 MB
• Processing OTA payload filename=AssetData/payloadv2/payload.016 size=74 MB
• Processing OTA payload filename=AssetData/payloadv2/payload.011 size=77 MB
• Processing OTA payload filename=AssetData/payloadv2/payload.010 size=64 MB
• Processing OTA payload filename=AssetData/payloadv2/payload.017 size=74 MB
• Processing OTA payload filename=AssetData/payloadv2/payload.021 size=69 MB
• Processing OTA payload filename=AssetData/payloadv2/payload.019 size=77 MB
• Processing OTA payload filename=AssetData/payloadv2/payload.004 size=29 MB
• Processing OTA payload filename=AssetData/payloadv2/payload.003 size=130 MB
⨯ xz: invalid header magic bytes
• Processing OTA payload filename=AssetData/payloadv2/payload.002 size=126 MB
⨯ xz: invalid header magic bytes
• Processing OTA payload filename=AssetData/payloadv2/payload.005 size=46 MB
• Processing OTA payload filename=AssetData/payloadv2/payload.023 size=16 MB
• Processing OTA payload filename=AssetData/payloadv2/payload.024 size=3.7 MB
• Processing OTA payload filename=AssetData/payloadv2/payload.012 size=79 MB
• Processing OTA payload filename=AssetData/payloadv2/payload.015 size=80 MB
• Processing OTA payload filename=AssetData/payloadv2/payload.014 size=81 MB
• Processing OTA payload filename=AssetData/payloadv2/payload.013 size=87 MB
• Processing OTA payload filename=AssetData/payloadv2/payload.022 size=58 MB
• Processing OTA payload filename=AssetData/payloadv2/payload.000 size=172 kB
• Processing OTA payload filename=AssetData/payloadv2/payload.007 size=78 MB
• Processing OTA payload filename=AssetData/payloadv2/payload.009 size=76 MB
• Processing OTA payload filename=AssetData/payloadv2/payload.008 size=79 MB
• Processing OTA payload filename=AssetData/payloadv2/payload.006 size=82 MB
• Processing OTA payload filename=AssetData/payloadv2/payload.001 size=253 MB

  From what i can tell some payload files do not have XZ data at the start like the rest, they have something before it (like another 
  file).
  
  In payload.002 It has two sets of XZ data with something else before hand.
  
  Also exists on many ATV OTA bundles just different payloads will error because of this.
  
  Example link to OTA: https://updates.cdn-apple.com/2020SummerSeed/patches/061-92077/73A5B815-38F1-4474-812D-F24E5A88575C/com_apple_MobileAsset_SoftwareUpdate/8988ef3518b1f20f95c66d03be3c15eb4e1be2a0.zip
@kasiimh1
Copy link
Author

So what we are trying to do is create an Apple TV 4K IPSW for restoring, which we have already done successfully allowing upgrade and downgrade, with the right hardware and tools.

This would allow us to release a method without shipping an IPSW

@kk5201314
Copy link

Hello, I just need this file because my appletv4k is broken and needs to be restored. Have you made this ipws file? Can you share it with me? Thank you.

@kasiimh1
Copy link
Author

Hello, I just need this file because my appletv4k is broken and needs to be restored. Have you made this ipws file? Can you share it with me? Thank you.

If you message me on Reddit I can help you out. /u/Spxrk

@blacktop
Copy link
Owner

hello! there is currently no way for ipsw to generate an IPSW from an OTA. That is an interesting problem, but I currently have no use for it myself and therefore cannot prioritize it, however, I'll leave the issue open as a feature request so that it might be placed on the RoadMap at some point

@blacktop blacktop added enhancement New feature or request help wanted Extra attention is needed labels Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants