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 3, 2023
1 parent 06ca89a commit 7926984
Show file tree
Hide file tree
Showing 14 changed files with 434 additions and 21 deletions.
40 changes: 40 additions & 0 deletions content/posts/hackintosh-project1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
title: "Hackintosh in 2023"
date: 2023-10-02T08:00:23+02:00
description: My personal experience with setting up a Hackintosh and using macOS for the first time.
draft: false
tags: [hackintosh, macos]
---

## Introduction
I always enjoy testing different tech-related things, such as different OSes. Having used Windows, Linux, iOS and Android, I thought it was about time I tried macOS for the first time. I prefer not to be trapped within Apple's walled garden, so instead of purchasing a Mac, I tried to give new life to old hardware I still had laying around. In the context of Hackintosh, it is important to know which hardware is supported for what. So first of all, here is an overview of the hardware I used:
* Intel i5 4400 (Haswell)
* MSI B85-G41
* Intel AX210 BT/Wi-Fi

As you can see, I have not listed a dGPU (dedicated GPU). The reason for this is that my old GTX 1060 is not supported for newer Hackintosh versions (High Sierra from 2017 was the last supported version for this GPU) and the iGPU of my i5 supports up to macOS Monterey (released in 2021). If you are new to the Hackintosh scene I think it is good that I provide a few important links:
* [Dortania](https://dortania.github.io/OpenCore-Install-Guide/) is best guide for anything Hackintosh related
* [Hackintosh Paradise Discord](https://discord.gg/8aKs69x) server mainly for Intel CPU users, [AMD Hackintosh Discord](https://discord.gg/EfCYAJW) server for AMD CPU users [if any links are dead, check /r/hackintosh sidebar]
* [USB Mapping Tool](https://github.com/USBToolBox/tool)
Any other information can be found from there. So let's start with my personal experience of setting everything up. My goal was to set up a Hackintosh that runs macOS Monterey because this is the last version that Haswell CPUs can run (unless you have a dGPU that can support a newer version like Sonoma). I will make a follow-up post to this one, where I use a RX 6650 XT in combination with my Haswell CPU to run macOS Sonoma.

## Setup
Everyone has different hardware (not really, but you know what I mean), so you will need to apply different patches and fixes to make your system work. Also you must do USB mapping because macOS seems to be strict about the number of ports being used and what they are used for. When you read the Dortania Guide, you will see that three things are required to make your hardware work:
* Kext (.kext)
* Firmware Drivers (.efi)
* SSDTs (.aml, can be found pre-built for different CPU generations)
After gathering all the required files (depending on which macOS version you target and which hardware you have), you need to make quite a few changes to the config.plist. This file basically describes how the PC should boot (you define custom flags) and how macOS will see your hardware (sometimes you must spoof the ID of some hardware to the ID of similar hardware that is by default supported in macOS). I think finding the correct values for the config.plist the hardest part of setting up a Hackintosh. With the Kext, Firmware Drivers and SSDTs it is pretty clear which versions you must choose in which situations. But with the config.plist there are a lot of things that are not clear when you are new or tradeoffs between compatibility and performance, so you must play around with it if your Hackintosh does not work as it should.

## Post-install - Using macOS for the first time
I have used Linux distros for many years, so I had a general idea of how to find my way around. But there were many small things that I liked and disliked, and I think it would be good to list them in random order:
* Creating a new text file: It was surprisingly difficult to do this. I was prepared because on Linux, if you don't have any templates, you will also only be able to create folders after right-clicking but not files like a simple text document. I usually "touch text.txt" into templates and then have a simple way to create new text files on Linux, but I was not able to find a templates folder on macOS. It surprised me that macOS was not user-friendly at all here, I doubt they want to have their users go to the terminal and use the touch command to create a text file. So the user-friendliest way to do this that I found was to open an application called "TextEdit" (not to be confused with the outdated Android Text User Input Widget, actually I think that was called EditText) and from there save an empty file. And since it does not allow you to choose the .txt extension, you must then manually edit it in the file explorer (but extensions might not even be shown to you, so you might have to enable that first), only to discover that TextEdit put some data in your file, and you manually delete it... So yes, at the end of the day I decided to put an empty text.txt file on my desktop, and whenever I need it, I Alt-Drag it somewhere (duplication) [actually, the key Alt is called Option in macOS].
* Save state on shutdown and restore it: I really love this macOS feature. When shutting down your system, it asks if you want everything restored to how it is right now when you boot again. It's surprising that Linux and Windows don't seem to offer it like macOS does. It's an amazing feature that most people will like.
* Paying for free things: It seems to me that macOS users are willing to pay for open-source software. If you visit, e.g., the Safari extensions store, you will see a popular extension called Dark Reader for more than $5. But this is an open-source extension that you can install for free when using Firefox or any other browser that is not Safari. Or another example: uBlock Origin is not available for Safari, but other ad blockers are allowed. So people seem to decide to pay for AdGuard Pro or Wipr (which seems to be the best uBlock Origin replacement for Safari) instead of just using a browser other than Safari and using uBlock Origin. I could list many more examples, but to keep it short, free things are sold on the App Store for money (and they are popular).
* Keyboard Compatibility: I was confused at first because shortcuts like Ctrl+C and Ctrl+V did not work. The fix seems to be to go to keyboard settings, click on Modifier Keys, and then switch the entries for "Control" and "Command" keys.
All in all, I think macOS looks beautiful and is a fun OS to use. It is more user-friendly than Linux and seems less bloated than Windows, and while it does have its unique quirks (e.g., the way you are supposed to drag and drop applications in the Applications folder to install them), I generally like using it.

## Why bother with macOS?
I am currently learning how to make Android apps using Jetpack Compose (Kotlin) and since everything likes declarative UI nowadays, SwiftUI (Swift) seems to be accessible if you know JC. Since the only way to do iOS development is to use Xcode with its built-in iPhone simulator, my main usage of the Hackintosh will be to learn SwiftUI.

## Conclusion
Do not underestimate the amount of preparation required to make your first Hackintosh. But overall, I think it is a fun project if you have compatible hardware (check the Dortania Guide I linked to see whether your hardware is compatible) and definitely worth the time. The Hackintosh community is huge and willing to help you. Join a Discord server and start talking to people (but please do some research first). Most of the work has already been done for you, so be grateful and patient.
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-project1/">Hackintosh in 2023</a></h1>
<time>Oct 2, 2023</time>
<br><div class="description">

My personal experience with setting up a Hackintosh and using macOS for the first time.

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

<section class="list-item">
<h1 class="title"><a href="/posts/aes-argon2-python/">Encrypt data using Argon2 and AES-GCM-256 in Python</a></h1>
<time>Aug 10, 2023</time>
Expand Down Expand Up @@ -129,17 +140,6 @@ <h1 class="title"><a href="/posts/how-to-calculate-any-weekday/">How to calculat
<a class="readmore" href="/posts/how-to-calculate-any-weekday/">Read more ⟶</a>
</section>

<section class="list-item">
<h1 class="title"><a href="/posts/mine-your-username/">Mine your username</a></h1>
<time>Jul 3, 2023</time>
<br><div class="description">

Multithreaded C&#43;&#43; username miner.

</div>
<a class="readmore" href="/posts/mine-your-username/">Read more ⟶</a>
</section>



<ul class="pagination">
Expand Down
11 changes: 10 additions & 1 deletion public/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,16 @@
<description>Recent content on Blog for Tech Enjoyers</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Thu, 10 Aug 2023 08:00:23 +0200</lastBuildDate><atom:link href="https://example.com/index.xml" rel="self" type="application/rss+xml" />
<lastBuildDate>Mon, 02 Oct 2023 08:00:23 +0200</lastBuildDate><atom:link href="https://example.com/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Hackintosh in 2023</title>
<link>https://example.com/posts/hackintosh-project1/</link>
<pubDate>Mon, 02 Oct 2023 08:00:23 +0200</pubDate>

<guid>https://example.com/posts/hackintosh-project1/</guid>
<description>Introduction I always enjoy testing different tech-related things, such as different OSes. Having used Windows, Linux, iOS and Android, I thought it was about time I tried macOS for the first time. I prefer not to be trapped within Apple&amp;rsquo;s walled garden, so instead of purchasing a Mac, I tried to give new life to old hardware I still had laying around. In the context of Hackintosh, it is important to know which hardware is supported for what.</description>
</item>

<item>
<title>Encrypt data using Argon2 and AES-GCM-256 in Python</title>
<link>https://example.com/posts/aes-argon2-python/</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/mine-your-username/">Mine your username</a></h1>
<time>Jul 3, 2023</time>
<br><div class="description">

Multithreaded C&#43;&#43; username miner.

</div>
<a class="readmore" href="/posts/mine-your-username/">Read more ⟶</a>
</section>

<section class="list-item">
<h1 class="title"><a href="/posts/how-to-write-a-tutorial/">How to write a tutorial</a></h1>
<time>Jul 2, 2023</time>
Expand Down
Loading

0 comments on commit 7926984

Please sign in to comment.