1 post in this topic
Recently Browsing 0 members
No registered users viewing this page.
Decompkernelcache 2.3 - kernel cache extraction tool (for MacOSX/iOS/WatchOS/AppleTVOS, Windows 32-bit, Windows 64-bit, Linux and Android)By Andy Vandijck
I updated the sources of the decompkernelcache tool.
Now it can do the following things with the prelinked kernel and its data:
- Uncompress prelinked kernel (package with drivers inside)
- Extract kernel (repackage possible with kextcache, kernel only)
- Extract kexts (including original folder source directory)
- List kexts
- Extract combined Info.plist resource
- Recompress uncompressed prelinked kernel to LZVN/LZSS
It can do this with prelinked kernel caches compressed with LZSS and LZVN.
It can also extract already decompressed prelinked kernel cache binaries.
It is also possible to specify an architecture to extract (in case of a multi architecture prelinked kernel cache).
It works with any version of the OS X kernel cache (It works for 32 and 64 bit, extracting all).
I tested it on a prelinked kernel of iOS also, it was able to do this to an iPhone 4S prelinked kernel too. (32-bit ARM)
It works on Mac OS X prelinked kernel data with any version or architecture (32/64-bit works, can extract Big Endian data so if you manage to have a PowerPC prelinked kernel it can handle them too).
It should be able to handle any architecture and any Darwin deployment target.
So if you have a decrypted prelinked kernel of iOS, Mac OS X, Apple TV (both Intel and ARM), Watch OS and any other like the HomePod OS you can use this tool on them too.
Added WIN32 and WIN64 version (compiled with MingW-w64 for i386 and x86_64).
I used Apple's WebKitSupport library (for the CoreFoundation library) and a win32 port of libdispatch.
The binaries for CoreFoundation support came from iTunes's Apple Application Support installer (both 32 bit and 64 bit).
They are included.
It's adapted to work with Visual Studio too but needs a VC project edit as I only have a MacBook Air (without Windows on it).
I tested it on someone's computer and it works fine.
Minor bug fixes.
Will do WIN32 and WIN64 version a bit later.
Update (V2.2 Windows):
Added WIN32 and WIN64 version.
Update (V2.2 Linux):
Added Linux version (post below, x86_64 and i386).
Other architectures are also supported and require libraries and bison below:
To build it you need a recent ICU4C (http://site.icu-project.org/download).
My own build of lib dispatch (https://github.com/vampirecat35/libdispatch).
My own corrected build of CoreFoundation lite for Linux (https://github.com/vampirecat35/CoreFoundation-Lite-Linux).
bison-2.4.1 which is specific because of IOCFUnserialize.yacc (https://ftp.gnu.org/gnu/bison/bison-2.4.1.tar.bz2).
Update (V2.2 iOS/WatchOS/AppleTVOS):
Added 32-bit and 64-bit versions for iOS, WatchOS and AppleTVOS (post below).
Update (V2.2 Android):
Added ARMV7 Android version (post below).
Added AARCH64 (ARM64) Android version (post below).
Added I686 Android version (post below).
Added X86_64 Android version (post below).
Update (V2.2 Visual Studio 2019):
Added X86 VS2019 Windows version (post below).
Added X64 VS2019 Windows version (post below).
I also optimised the code a little (No more warnings, not even for 32-bit builds).
Update (V2.3 OS X):
Added kernel cache recompression support from uncompressed prelinked kernel.
Added macOS 11 version (x86_64 and arm64).
Added Windows version (VS2019 X86_64 and I386, Mingw32, Mingw64).
Added iOS/AppleTVOS/WatchOS versions. *Requires MobileTerminal app*
Added Linux versions.
Added Android versions.
* NOTE: Copies are available also on GitHub...
Added GitHub repo on my secondary account:
Salve a tutti, un mio amico ha un iMac del 2006 core 2 duo (versione 5.1) questo iMac fino ad un pò di tempo fà montava ancora OS X Lion (10.7.5) purtroppo per colpa dell'EFI a 32 bit e delle caratteristiche l'iMac non ha più aggiornamenti e neanche i programi, per questa regione il mio amico ha fatto un tentativo ed attraverso una "patch" è riusvito ad installare maverick...però non funzionano alcune periferiche (tra cvui la scheda video che fà dei glitch.
Visto che non ci sono più supporti ne kext che possono fare funzionare le periferiche in maniera corretta abbiamo pensato di installarci ubuntu mate 20.04 con efi a 32 bit (esiste una versione che supporta il processore a 64 bit e l'efi a 32 bit) così da "rivitalizzarlo un pò" purtroppo non riusciamo in nessun modo a fargli vedere la chiavetta usb o i dvd da cui fare partire l'installazione.
Qualcuno ha qualche idea di come poter risolvere il problema e procedere con l'installazione "pulita" di linux?
Grazie mile di tutto
Simple steps to create macOS Installer for Vmware on Linux or Windows
This guide describes how you can create a Vmware image (vmdk) for installing macOS in Vmware. Most tutorials about this topic require an ISO installer file that was typically created in macOS or you have to download some preinstalled image file from unknown source. None of them are ideal. But if you follow the steps below, you will not need to access macOS and will use official and trusted sources.
First of all download gibMacOS from here and set up
Run the script to download the full macOS installer:
on Linux: gibMacOS.command on Windows: gibMacOS.bat
Install qemu-img converter
on Linux (Debian or Ubuntu):
install qemu-tools package
on Windows use this installer:
when you run the installer, it is enough to select the "tools" and "dll library".
Convert the downloaded BaseSystem.dmg to Vmware image
run the following commmand in that directory where BaseSystem.dmg was downloaded (somewhere here: gibMacOS-master/macOS Downloads/publicrelease/061-44387 - 10.15.3 macOS Catalina)
qemu-img convert -O vmdk -o compat6 BaseSystem.dmg recovery.vmdk on Windows:
c:\"Program Files"\qemu\qemu-img convert -O vmdk -o compat6 BaseSystem.dmg recovery.vmdk
Use the previously created image to install macOS in Vmware
I assume you have a patched and working Vmware already. If not, find another guide but in nutshell:
- confirm the VT-x is supported on your Intel machine (if you are on AMD you may not able to virtualize macOS or you need to do more work)
- install VMware Workstation or VMware Workstation Player (free for non-commercial use)
- use an unlocker to patch the Vmware to support macOS guest
currently this works well: https://github.com/BDisp/unlocker/
So when you are here you have a patched Vmware and a Vmware image (recovery.vmdk).
Run Vmware and create a new virtual machine by choosing macOS guest. But add another hard disk as well with selecting to use an existing virtual disk. Browse the recovery.vmdk. You will get a warning about the image is not in the latest format but choose to keep the existing format.
After you installed the macOS, install the vmware tools as well.
Tested on Windows 10 with macOS Catalina 10.15.3 in Vmware 15.5 Player
Comments are welcome.