qemu-ios
qemu-ios copied to clipboard
Extracting kernel
What tool was used to extract Snowbird3A101a.N45Bundle/System/Library/Caches/com.apple.kernelcaches/kernelcache.s5l8900xrb?
joker gives me:
mmapped: 0x125ade000
still HERE
Feeding me a compressed kernelcache, eh? That's fine, now. I can decompress!
Compressed Size: 3319004, Uncompressed: 5968960. Unknown (CRC?): 0x83fd538e, Unknown 1: 0x0
Can't find kernel here.. Sorry. LZSS this yourself
To be completely honest, I don't really remember :(. I think I tried several tools, some of which didn't even compile on modern systems.
It looks like the following works:
Decrypt it using the instructions for 1.1.x - 2.0b3 here: https://www.theiphonewiki.com/wiki/Decrypting_Firmwares
Decompress it using the following:
wget -q http://nah6.com/%7Eitsme/cvs-xdadevtools/iphone/tools/lzssdec.cpp
g++ -o lzssdec lzssdec.cpp
./lzssdec -o 384 < output >kernelcache.decrypted