Skip to content

Commit

Permalink
Some assorted minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
kholia committed Jun 25, 2017
1 parent a12802c commit 2794e12
Show file tree
Hide file tree
Showing 8 changed files with 65 additions and 15 deletions.
10 changes: 10 additions & 0 deletions .github/issue_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#### Notes

- Please, DO NOT create a new issue if your issue is already known.
- Carefully read the documentation included in the repository.
- Look closely at the closed and open issues.

- Attach details about your host OS (distribution, kernel, QEMU version) and
host CPU (vendor and model number).

- Remove this template message after reading it ;)
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Known to work on:
Tested with QEMU 2.4.1, 2.5, 2.6.1, and 2.8.

AMD CPU(s) are known to be problematic. AMD FX-8350 works but Phenom II X3 720
does not.
does not. A CPU with SSE4.1 support is required for macOS Sierra.

Intel VT-x / AMD SVM is required.

Expand Down Expand Up @@ -187,6 +187,11 @@ for a more solid alternate to the following `virsh` method. Use either the

* If you are getting "Dont_Steal_MacOS" related errors, see `FakeSMC installation` section in [notes file](notes.md).

* If the boot process is getting stuck on the Apple logo, upgrade your host
kernel and QEMU. For example, Linux 3.16.x from Debian 8 is known to be
problematic, whereas Linux 4.9.x with QEMU 2.8.x works fine on the same
distribution.

### References

* https://github.com/Karlson2k/k2k-OSX-Tools
Expand Down
2 changes: 1 addition & 1 deletion boot-macOS.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ qemu-system-x86_64 -enable-kvm -m 3072 -cpu Penryn,kvm=off,vendor=GenuineIntel \
-smp 4,cores=2 \
-usb -device usb-kbd -device usb-mouse \
-device isa-applesmc,osk="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" \
-kernel ./enoch_rev2877_boot \
-kernel ./enoch_rev2883_boot \
-smbios type=2 \
-device ich9-intel-hda -device hda-duplex \
-device ide-drive,bus=ide.2,drive=MacHDD \
Expand Down
6 changes: 3 additions & 3 deletions create_install_iso.sh
Original file line number Diff line number Diff line change
Expand Up @@ -505,9 +505,9 @@ else
stage_end_ok "$OSX_inst_ver"
fi

if [[ "$OSX_inst_ver" =~ 10.12.[4-9] ]]; then
exit_with_error "This script might not generate bootable images for versions >= macOS Sierra 10.12.4. Edit this script manually to proceed at your own risk!"
fi
# if [[ "$OSX_inst_ver" =~ 10.12.[4-9] ]]; then
# exit_with_error "This script might not generate bootable images for versions >= macOS Sierra 10.12.4. Edit this script manually to proceed at your own risk!"
# fi

[[ "$OSX_inst_ver" == "10.11" ]] || [[ "$OSX_inst_ver" =~ 10.11.[1-6] ]] || \
echo_warning "Warning! This script is tested only with images of OS X versions 10.11 and 10.11.1-10.11.6. Use at your own risk!"
Expand Down
Binary file added enoch_rev2883_boot
Binary file not shown.
53 changes: 44 additions & 9 deletions kexts/FakeSMC.kext/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>16C67</string>
<string>16F73</string>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
Expand All @@ -17,29 +17,29 @@
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>6.24-316-g197d663.1737</string>
<string>6.25-333-g05e0f4be.1759</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>1737</string>
<string>1759</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>8C1002</string>
<string>8E3004b</string>
<key>DTPlatformVersion</key>
<string>GM</string>
<key>DTSDKBuild</key>
<string>12D75</string>
<key>DTSDKName</key>
<string>macosx10.8</string>
<key>DTXcode</key>
<string>0821</string>
<string>0833</string>
<key>DTXcodeBuild</key>
<string>8C1002</string>
<string>8E3004b</string>
<key>IOKitPersonalities</key>
<dict>
<key>FakeSMC</key>
Expand Down Expand Up @@ -116,6 +116,27 @@
hfwETdgSevQ=
</data>
</array>
<key>ALI0</key>
<array>
<string>{ali</string>
<data>
BwECAA==
</data>
</array>
<key>ALRV</key>
<array>
<string>ui16</string>
<data>
AAE=
</data>
</array>
<key>ALV0</key>
<array>
<string>{alv</string>
<data>
ARAGdQEgALYO4A==
</data>
</array>
<key>FNum</key>
<array>
<string>ui8</string>
Expand All @@ -137,6 +158,13 @@
AQQKAAY=
</data>
</array>
<key>MSLD</key>
<array>
<string>ui8 </string>
<data>
AA==
</data>
</array>
<key>MSSD</key>
<array>
<string>si8</string>
Expand Down Expand Up @@ -181,6 +209,13 @@
ATAPAAAD
</data>
</array>
<key>RMde</key>
<array>
<string>char</string>
<data>
QQ==
</data>
</array>
<key>RVBF</key>
<array>
<string>{rev</string>
Expand Down Expand Up @@ -239,7 +274,7 @@
<key>RM,Build</key>
<string>Release-rehabman</string>
<key>RM,Version</key>
<string>FakeSMC 1737</string>
<string>FakeSMC 1759</string>
</dict>
<key>FakeSMCKeyStore</key>
<dict>
Expand All @@ -258,9 +293,9 @@
</dict>
</dict>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2015 netkas. All rights reserved.</string>
<string>Copyright © 2017 netkas. All rights reserved.</string>
<key>OSBundleCompatibleVersion</key>
<string>1212</string>
<string>1429</string>
<key>OSBundleLibraries</key>
<dict>
<key>com.apple.iokit.IOACPIFamily</key>
Expand Down
Binary file modified kexts/FakeSMC.kext/Contents/MacOS/FakeSMC
Binary file not shown.
2 changes: 1 addition & 1 deletion kexts/versions.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
VoodooHDA.kext-289.zip

RehabMan-FakeSMC-2017-0117.zip
RehabMan-FakeSMC-2017-0607.zip

0 comments on commit 2794e12

Please sign in to comment.