`ipsw car` doesn't properly extract files from archive.
What happened?
Log file of errors: gba4ios car errors.log
Log file created with $ ipsw car Assets.car -o ipsw_car/ 2>>ipsw_car/log.log >> ipsw_car/log.log
I expected the files to be extracted.
How can we reproduce this?
Try to extract Assets.car from https://cdn.altstore.io/file/altstore/apps/gba4ios/3_0.ipa
ipsw version
Using config file: /home/whovian/.config/ipsw/config.yaml
Version: 3.1.623, BuildCommit: cdcc12733589188b37c12d238f802c03d8a07330
Search
- [x] I did search for other open and closed issues before opening this
Code of Conduct
- [x] I agree to follow this project's Code of Conduct
Additional context
Also wanting to call attention to this specific error as part of this, also from above log file:
⨯ BOM block KEYFORMATWORKAROUND parsing not implemented yet - please open an issue on github.com/blacktop/ipsw/issues
Config file contents without comments:
root:
color: true
config-quiet: true
download:
resume-all: true
ipsw:
output: /home/whovian/Downloads/Software/iOS/Firmware/Incoming
It appears that the KEYFORMATWORKAROUND issue is fixed, thank you! I'm still getting failed to decode image errors, which I've replicated below. Also as I was typing this, I realized I wasn't actually extracting like I thought that I was, oops.
New log file: ipsw_car.ansi2txt.log
New error list:
⨯ failed to decode image 'ZZZZPackedAsset-1.0.1-gamut0': error image content
⨯ failed to decode image 'ZZZZPackedAsset-1.0.1-gamut0': error image content
⨯ failed to decode image 'Controller_Triggers.png': error image content
⨯ failed to decode image 'ICON.pdf': error image content
⨯ failed to decode image 'icon.png': error image content
⨯ failed to decode image 'Controller_Buttons.png': error image content
⨯ failed to decode image 'ZZZZPackedAsset-1.0.1-gamut0': failed to create gzip reader: gzip: invalid header
⨯ failed to decode image 'Controller_Triggers.png': unexpected EOF
⨯ failed to decode image 'icon.png': unexpected EOF
⨯ failed to decode image 'Controller_Buttons.png': EOF
⨯ failed to decode image 'ZZZZPackedAsset-2.0.1-gamut0': error image content
⨯ failed to decode image '[email protected]': error image content
⨯ failed to decode image 'ICON.pdf': error image content
⨯ failed to decode image 'icon2x.png': error image content
⨯ failed to decode image '[email protected]': error image content
⨯ failed to decode image 'ICON.pdf': unknown encoding: Deepmap2
⨯ failed to decode image 'icon2x.png': unexpected EOF
⨯ failed to decode image '[email protected]': EOF
⨯ failed to decode image 'ZZZZPackedAsset-3.0.1-gamut0': error image content
⨯ failed to decode image '[email protected]': error image content
⨯ failed to decode image 'ICON.pdf': error image content
⨯ failed to decode image 'icon3x.png': error image content
⨯ failed to decode image '[email protected]': error image content
⨯ failed to decode image 'ICON.pdf': unknown encoding: Deepmap2
⨯ failed to decode image 'icon3x.png': unexpected EOF
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
Adding to this -- I tried ed7bb0e1afd318fd6963d06c4cfb4b48ebce2b95 on com.feralinteractive.laracroftguardianoflight_6502455111_1.2.4's /Payload/Lara Croft and the Guardian of Light.app/Assets.car
Using similar command to above (ipsw car Assets.car -o Output_Directory/ and sending the logs to a file), I got these errors:
failed to decode image 'feral_logo3x-2.png': unknown encoding: Deepmap2
failed to decode image 'feral_logo3x-1.png': EOF
failed to decode image 'feral_logo3x.png': unknown encoding: Deepmap2
Edit:
Here's the updated ipsw version info to be sure:
$ ipsw version
Using config file: /home/whovian/.config/ipsw/config.yaml
Version: unstable-2025-09-19, BuildCommit: ed7bb0e1afd318fd6963d06c4cfb4b48ebce2b95
thx, sorry this got shelved for a bit; there is a feat branch feat/car where I was trying work on this (might be better or worse than master I can't remember) I'll try to pick this back up soon.
No worries, I had the chance to try the feature again and noticed those issues. I'll see if I can do any testing on the changes from the branch!
rebased feat branch
Finally got around to testing that. Only got failed to continue deepmap2 payload: EOF as errors now.
$ ipsw version
Using config file: /home/whovian/.config/ipsw/config.yaml
Version: unstable-2025-09-22, BuildCommit: 81ddb29908ea97929ffd64fd845d049f7c4b6fe1
Output of $ ipsw car Assets.car -o Assets.car_out 2>>ipsw_car.log >> ipsw_car.log is available at: ipsw_car.log
Edit: A further very minor issue is that the output directory is not automatically created by ipsw, and has to be made manually by the user before extraction. It's not really within scope of this issue, but I felt it warrants a mention anyway.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
I guess this is also an informal request to disable the "Stale Bot", please.
If I remember correctly the triage flag prevents the stale-bot from kicking in ;)