Comments (11)
Can confirm kexts
command is working now!
$ ipsw kernel kexts 19A348/kernelcache.release.ipad6f
FOUND: 222
0xfffffff00535c000: com.apple.kpi.bsd (21.0.0)
0xfffffff00535c080: com.apple.kpi.libkern (21.0.0)
0xfffffff00535c100: com.apple.kpi.mach (21.0.0)
.........
from ipsw.
Ok got it. I was able to recreate the issue.
Very strange it works for iPhone12,1 but not the iPad6,11 ??
I usually test the iPhone and the iPod, but not the iPad. Thank you for letting me know about this!
Thanks for your great work!
from ipsw.
So that looks like you pulled the im4p file directly out of the ipsw. You could have extracted with:
$ ipsw extract -k IPSW.ipsw
However, what you could do with the file you have is:
$ ipsw img4 extract kernelcache.release.ipad6f
Which is extract and lzfse decompress the im4p payload aka the kernelcache
from ipsw.
ipsw img4 extract
Got the same error when using img4 extract
command
$ ipsw img4 extract kernelcache.release.ipad6f
• Parsing Im4p
Error: unabled to parse Im4p: failed to ASN.1 parse Im4p: asn1: structure error: length too large
from ipsw.
Just to confirm can you run:
$ file kernelcache.release.ipad6f
from ipsw.
Oh it seems that it has already been decompressed after using ipsw download kernel
.
$ file kernelcache.release.ipad6f
kernelcache.release.ipad6f: Mach-O 64-bit executable arm64
But when I try to run command like kexts
or sbopts
it shows
$ ipsw kernel sbopts kernelcache.release.ipad6f
Error: failed to read parseSymtab: invalid name in symbol table '2863311530' in record at byte 0x1038
from ipsw.
Can you please tell me what device that is for? I can't remember what ipad6f
is off the top of my head.
from ipsw.
It's iPad6,11. I also tried to parse kernelcache of others devices and the same error occurred. And it works well when parsing iOS 13 or 14 kernel.
$ ipsw download kernel --build 19A348
.........
• Writing 19A348/kernelcache.release.ipad6d
• Writing 19A348/kernelcache.release.ipad6d
• Writing 19A348/kernelcache.release.ipad6f
.........
from ipsw.
Ok got it. I was able to recreate the issue.
Very strange it works for iPhone12,1 but not the iPad6,11 ??
I usually test the iPhone and the iPod, but not the iPad. Thank you for letting me know about this!
from ipsw.
So I am releasing a fix now for the ipsw kernel kexts
cmd that I believe should cover the cases iPhone/iPod and iPad kernels.
For sbopts
it looks like for the phones that info is in the kernel's __DATA_CONST.__const
BUT in the iPad it's in the com.apple.security.sandbox
kext's __DATA_CONST.__const
?? I need to think a lil' harder on a way to detect which/where I should look and will let you know when I get it merged in.
from ipsw.
So I am releasing a fix now for the
ipsw kernel kexts
cmd that I believe should cover the cases iPhone/iPod and iPad kernels.For
sbopts
it looks like for the phones that info is in the kernel's__DATA_CONST.__const
BUT in the iPad it's in thecom.apple.security.sandbox
kext's__DATA_CONST.__const
?? I need to think a lil' harder on a way to detect which/where I should look and will let you know when I get it merged in.
I fixed this a while back I guess, because I just tested it and it works now 🤷♀️
from ipsw.
Related Issues (20)
- Trying to create a nix package. `no required module provides package github.com/blacktop/ipsw/pkg/sandbox/compile` HOT 5
- ⨯ failed to mount DMGs: failed to get SystemOS DMG: no SystemOS DMG found: cryptex not found HOT 2
- ipsw macho patch can only handle 1 build tool for LC_BUILD_VERSION HOT 2
- class-dump XCFramework only creates library for ios-arm64_x86_64-simulator HOT 26
- Remove AppBuildTime HOT 6
- `ipsw dsc slide --json` produces invalid JSON HOT 6
- class-dump: address not within any segment's address range HOT 7
- objc class-dump crash HOT 3
- ipsw dl dev - add more docs about error cases
- class dump objc categories class name missed for NSObject/UIView etc. HOT 14
- `ipsw class-dump` processForwardDeclarations protocol props/methods HOT 1
- `ipsw class-dump` pull structs out into Type.h file HOT 1
- `ipsw class-dump DSC Foundation --headers` not making a file for `_NSAttributedStringFromMarkdownCreator` protocol HOT 4
- why `ipsw` isn't able to locate the symbol for the NSObject class HOT 2
- ipsw can't parse symbol tables for macOS 14.4(.1) DSCs HOT 4
- ipsw swift-dump --arch option HOT 1
- Refresh `--help` output HOT 1
- error when class-dump
- ipsw dyld extract --all fails with optimization failure HOT 1
- SIGSEGV when scanning macOS 14.4.1 IPSW
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ipsw.