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

Extracting dyld_shared_cache from iPod 4 IPSW doesn't work #661

Open
2 tasks done
PoomSmart opened this issue Mar 10, 2025 · 4 comments
Open
2 tasks done

Extracting dyld_shared_cache from iPod 4 IPSW doesn't work #661

PoomSmart opened this issue Mar 10, 2025 · 4 comments
Assignees
Labels
bug Something isn't working triage

Comments

@PoomSmart
Copy link

PoomSmart commented Mar 10, 2025

What happened?

poomsmart@M1-MBP Downloads % ipsw extract -d iPod4,1_6.1.6_10B500_Restore.ipsw
   ⨯ failed to parse Img3 DeviceTree: encrypted device tree
   • Extracting dyld_shared_cache
   ⨯ failed to parse Img3 DeviceTree: encrypted device tree
      • Mounting DMG 058-2543-001.dmg
Enter password to access "058-2543-001.dmg":

   ⨯ failed to IPSW FS dmg: failed to mount 058-2543-001.dmg: exit status 1: hdiutil: attach failed - Authentication error

How can we reproduce this?

Download iPod 4 6.1.6 IPSW and try to use it with ipsw: https://secure-appldnld.apple.com/iOS6.1/031-3211.20140221.Placef/iPod4,1_6.1.6_10B500_Restore.ipsw

Enter the rootfs key when it asks for the password.

ipsw version

Version: 3.1.581, BuildCommit: a506461f28a7668194db9dd6a1071455e0844376

Search

  • I did search for other open and closed issues before opening this

Code of Conduct

  • I agree to follow this project's Code of Conduct

Additional context

No response

@PoomSmart PoomSmart added bug Something isn't working triage labels Mar 10, 2025
@blacktop
Copy link
Owner

I'll look into it, but in the meantime can you try ipsw mount fs iPod4,1_6.1.6_10B500_Restore.ipsw --lookup

@PoomSmart
Copy link
Author

Here's the output:

poomsmart@M1-MBP ios6.1.6 % ipsw mount fs iPod4,1_6.1.6_10B500_Restore.ipsw --lookup
   ⨯ failed to parse IPSW filename: iPod4,1_6.1.6_10B500_Restore.ipsw

@blacktop
Copy link
Owner

if you are able to build master; can you try that fix?

@PoomSmart
Copy link
Author

PoomSmart commented Mar 12, 2025

Yes, it works now. 👍🏻

poomsmart@M1-MBP ipsw % ./ipsw mount fs iPod4,1_6.1.6_10B500_Restore.ipsw --lookup
   • Downloading Keys...      
   ⨯ failed to parse Img3 DeviceTree: encrypted device tree
   • Mounted fs DMG 058-2543-001.dmg
      • Press Ctrl+C to unmount '/tmp/058-2543-001.dmg.mount' ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
None yet
Development

No branches or pull requests

2 participants