Skip to content

Commit

Permalink
new post added
Browse files Browse the repository at this point in the history
  • Loading branch information
downIoads committed Oct 25, 2023
1 parent 8abe7c2 commit 4144cfe
Show file tree
Hide file tree
Showing 14 changed files with 400 additions and 52 deletions.
86 changes: 86 additions & 0 deletions content/posts/hackintosh-xps9370.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
---
title: "Hackintosh #3: Running Sonoma on XPS 9370 (i7 8550u - 4k display)"
date: 2023-10-24T08:00:23+02:00
description: Quick rundown of my third Hackintosh setup, what works and what does not not.
draft: false
tags: [hackintosh, macos]
---

## Introduction
macOS Sonoma is the newest macOS version (which always is a challenge for Hackintosh) and installing it on an older laptop is an extra challenge. In this post I will talk about how I successfully hackintoshed the XPS 9370.

## Spoiler: What works?
Before you continue reading, you probably want to know whether the effort will be worth it. So here is what works and what does not.

### Working
* 4k resolution
* Trackpad (not as nice as an actual MacBook trackpad but good enough. Gestures work decently)
* Ethernet with USB-adapter (I tried two different ones and both worked)
* Bluetooth
* SD card reader
* Keyboard Backlight
* Battery Percentage
* Wi-Fi with TP-Link Archer 3U dongle and Chris1111 BigSur repo
* Fn Buttons (except shortcut for brightness)

### Not working
* Sound (neither speakers nor AUX). Bluetooth headphones work perfectly though.
* Thunderbolt ports rarely work, but they sometimes do

### Not tested
* Touchscreen (I never liked this, so I disabled it in the BIOS)
* Camera (I never use this, so I disabled it in the BIOS)
* Microphone (I never use this, so I disabled it in the BIOS)

All in all, I got everything except non-bluetooth sound working so far.
4k resolutions works out-of-the-box, but it is called (1920x1080 (default)). There also is 1920x1080 (low resolution) but this is actual 1080p and looks slightly blurry on this 4k display. The former is 4k with upscaling so that everything is nice, sharp and big.
The XPS has two Thunderbolt 3 ports on the left side and one "normal" USB-C port on the right side. The right side port works perfectly well with every device I have tested. The thunderbolt ports rarely recognize anything, but I did manage to have my Nintendo Switch Ethernet adapter working on these ports. I was able to plug it in while the OS was already running, and it worked after a few seconds. I have read from others that their Thunderbolt devices work if the USB device was already attached to them before booting, but for me this did not help with anything. So basically you are left with one reliable USB-C port on the right side and should use one of the left side Thunderbolt ports for your charger (this always works).
Keyboard backlight is working when using the same kexts as I do, not much to say about this.
Surprisingly, Bluetooth works out of the box with my kexts. So the built-in Killer Wi-Fi card (which sadly is soldered and thus can't be replaced) can be used for Bluetooth, but nothing Wi-Fi related will work with it. Bluetooth works perfectly with my Shure headset, even all buttons on it work!
In order to get Wi-Fi working, I recommend getting a TP-Link Archer 3U dongle (Chris uses that one too and who would know better than him) or the large antenna version of this dongle (also tested by Chris). Then just follow the steps described in [Chris repo](https://github.com/chris1111/Wireless-USB-Big-Sur-Adapter). Note that you can not re-enable csrutil or spctl master after the install as this will break your install, and you will have to re-install. So just follow his video tutorial, then Wi-Fi will work perfectly well as long as you attach the dongle to the right-side USB slot. In short: Go to recovery mode, "csrutil disable && spctl --master-disable", reboot, install the stuff and allow it, reboot.
Battery percentage works if you enable it in macOS.
Fn buttons work, but macOS does not by default allow you to use them as a shortcut for brightness adjustment. So the best workaround is to bind lower brightness to F2 and increase brightness to F3. This way, you use F2 for lower brightness and Fn+F2 for lower audio, F3 for higher brightness and Fn+F3 for higher audio.

## Overview of ACPI, Drivers and Kext
Of course, you first do a USB port mapping on Windows before you do anything. Then you follow the standard Dortania tutorial for Kaby Lake. The i7-8550u is a Kaby Lake R generation CPU (which is sometimes referred to as Kaby Lake in the tutorial). As SMBIOS you use MacBookPro14,2 (Ventura) or MacBookPro16,3 (Sonoma). Note that Sonoma requires 15,x +. After following the tutorial, there are two more things you must do to get it to install (possibly only required for 4k display versions of this laptop):
* In your config.plist change "DevirtualiseMmio" to True
* In your config.plist add the following boot-arg: -igfxmpc

Also note that when doing the recommend BIOS settings, Dell has some weird names for some things. So just google what the Dell equivalent for x is etc.
After trying lots of different things, the following setup ended up working best for me:
### ACPI
* SSDT-EC-USBX-LAPTOP
* SSDT-PLUG-DRTNIA
* SSDT-PNLF.aml

### Drivers
* HfsPlus.efi
* OpenRuntime.efi
* (ResetNvramEntry.efi) [I have this one but I don't think you need it]

### Kexts
* AirportItlwm.kext (v2.3.0-alpha or newer) [not sure if this does anything with my dongle setup]
* AppleALC.kext
* BlueToolFixup.kext
* BrightnessKeys.kext
* IntelBluetoothFirmware.kext
* IntelBTPatcher.kext
* Lilu.kext
* NVMeFix.kext (technically the Toshiba 512GB NVME is supported but it is recommended to use this kext anyways)
* Sinetek-rtsx.kext (fixes SD card reader but after ejecting you must reboot to recognize the same card again)
* SMCBatteryManager.kext
* SMCDellSensors.kext
* SMCProcessor.kext
* SMCSuperIO.kext
* USBToolBox.kext
* UTBMap.kext
* VirtualSMC.kext
* VoodooI2C.kext
* VoodooI2CHID.kext
* VoodooPS2Controller.kext
* WhateverGreen.kext

Generally, try to get the newest version unless there is a specific reason why you should not. I even used the debug versions of everything even though that is not needed.

## Conclusion
I got the newest macOS version running on a 5-year-old laptop and everything is smooth. The touchpad can be annoying because it is just not that great and the battery is not that amazing either. But the OS runs well and stable, 4k is working, and I can actually use it as a productive machine. Wi-Fi works with the dongle thanks to Chris amazing work, and I hope I can figure out how to make sound without Bluetooth work too - soon (alcid 21 or 22 alone does not help).
22 changes: 11 additions & 11 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,17 @@



<section class="list-item">
<h1 class="title"><a href="/posts/hackintosh-xps9370/">Hackintosh #3: Running Sonoma on XPS 9370 (i7 8550u - 4k display)</a></h1>
<time>Oct 24, 2023</time>
<br><div class="description">

Quick rundown of my third Hackintosh setup, what works and what does not not.

</div>
<a class="readmore" href="/posts/hackintosh-xps9370/">Read more ⟶</a>
</section>

<section class="list-item">
<h1 class="title"><a href="/posts/stable-diffusion-gopher/">Using Stable Diffusion as Discord Emote Generator</a></h1>
<time>Oct 20, 2023</time>
Expand Down Expand Up @@ -129,17 +140,6 @@ <h1 class="title"><a href="/posts/d2-runewords/">C&#43;&#43; runeword calculator
<a class="readmore" href="/posts/d2-runewords/">Read more ⟶</a>
</section>

<section class="list-item">
<h1 class="title"><a href="/posts/llama-python/">Python script for Llama 2 conversations</a></h1>
<time>Jul 26, 2023</time>
<br><div class="description">

Simple Python script that let&#39;s you talk to your local Llama2 LLM using Windows.

</div>
<a class="readmore" href="/posts/llama-python/">Read more ⟶</a>
</section>



<ul class="pagination">
Expand Down
13 changes: 12 additions & 1 deletion public/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,18 @@
<description>Recent content on Blog for Tech Enjoyers</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Fri, 20 Oct 2023 22:50:00 +0200</lastBuildDate><atom:link href="https://example.com/index.xml" rel="self" type="application/rss+xml" />
<lastBuildDate>Tue, 24 Oct 2023 08:00:23 +0200</lastBuildDate><atom:link href="https://example.com/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Hackintosh #3: Running Sonoma on XPS 9370 (i7 8550u - 4k display)</title>
<link>https://example.com/posts/hackintosh-xps9370/</link>
<pubDate>Tue, 24 Oct 2023 08:00:23 +0200</pubDate>

<guid>https://example.com/posts/hackintosh-xps9370/</guid>
<description>Introduction macOS Sonoma is the newest macOS version (which always is a challenge for Hackintosh) and installing it on an older laptop is an extra challenge. In this post I will talk about how I successfully hackintoshed the XPS 9370.
Spoiler: What works? Before you continue reading, you probably want to know whether the effort will be worth it. So here is what works and what does not.
Working 4k resolution Trackpad (not as nice as an actual MacBook trackpad but good enough.</description>
</item>

<item>
<title>Using Stable Diffusion as Discord Emote Generator</title>
<link>https://example.com/posts/stable-diffusion-gopher/</link>
Expand Down
11 changes: 11 additions & 0 deletions public/page/2/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,17 @@



<section class="list-item">
<h1 class="title"><a href="/posts/llama-python/">Python script for Llama 2 conversations</a></h1>
<time>Jul 26, 2023</time>
<br><div class="description">

Simple Python script that let&#39;s you talk to your local Llama2 LLM using Windows.

</div>
<a class="readmore" href="/posts/llama-python/">Read more ⟶</a>
</section>

<section class="list-item">
<h1 class="title"><a href="/posts/nfc-mifare-acr122u/">How to authenticate and write data to Mifare Classic 1k using ACS ACR122U</a></h1>
<time>Jul 23, 2023</time>
Expand Down
Loading

0 comments on commit 4144cfe

Please sign in to comment.