> For the complete documentation index, see [llms.txt](https://basic.heavietnam.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://basic.heavietnam.com/universal/fix-iservices.md).

# Fix iServices

> Mình sẽ chia phần này làm các phần nhỏ như là Fix ROM, thay SMBIOS, Fix en0.&#x20;

## **Thay SMBIOS**

{% hint style="info" %}
Dùng cho Clover và OpenCore
{% endhint %}

**B1**: Các bạn tải tool `Gen SMBIOS` về theo link sau [GenSMBIOS](https://github.com/corpnewt/GenSMBIOS).

**B2**: Mở phần mềm lên và nhấn phím `1`.

![](https://lh6.googleusercontent.com/MMEOpBo_14ZaT4gmCXghkly6gAGbia2sNF0vR2NQpDAKJwEhuqttkHcol-dblU-UJPxm7h3WcMx6QO0PSyZcP_Ib-lbUFjPq_rJ_mFtfM_izBrw9E1QFru8i9TuA0Lp6MuVhfD4l=s0)

**B3**: Nhấn phím  `2` và kéo file `config.plist` của bạn vào rồi ấn `enter`

<figure><img src="https://272971286-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FauskGAp5wYbI1xQWn4YZ%2Fuploads%2F5qK1XaQwGeSOWOjdQhkb%2Fimage.png?alt=media&amp;token=3102fc76-a3d8-47c3-a094-4108f61061d1" alt=""><figcaption></figcaption></figure>

<figure><img src="https://272971286-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FauskGAp5wYbI1xQWn4YZ%2Fuploads%2FlXrQr9ysURGu4nEElnhR%2Fimage.png?alt=media&amp;token=9c76efa6-0395-4d9f-a8bd-cfe1da721ca9" alt=""><figcaption></figcaption></figure>

**B4**: Nhấn phím `3` và gõ tên `SMBIOS` cần Gen để phần mềm Gen các SMBIOS ra.&#x20;

<figure><img src="https://lh3.googleusercontent.com/pxM6pg3_hGmBhBb7TLqQ7uFUTv9McupFgRsTMY2CcCeC11L_c9vI_a7fsWkmiKOC5Dp-MCBIoLyjpA5jsw3UaoBlWAwQGTKGr7TZH4KePti_CN7pd654Ub7S1AHEHH-o8zOl-ucl=s0" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh6.googleusercontent.com/BMnHbKRR7rAu6ijbXyDOFy7ImeQn1dOJZENenwC9BCbiraiA-bGBNBinULXpi9TIAeApF3IbAQEQLUkfkPXcwL14G7QSonSy1SeHutNgvHMarfUqI_HrIPJIIn9REtQyG6xf4w7w=s0" alt=""><figcaption></figcaption></figure>

**B4**: Các bạn vào trang [sau](https://checkcoverage.apple.com/) và dán số Serial vào và nhập mã xác thực vào là done khi check bạn sẽ nhận được ba kết quả

<table data-full-width="false"><thead><tr><th>We're sorry, we're unable to check coverage for this serial number.</th><th>Valid Purchase Date	</th><th>Purchase Date not Validated</th></tr></thead><tbody><tr><td><img src="https://272971286-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FauskGAp5wYbI1xQWn4YZ%2Fuploads%2F4oJN6mIRfuWqvey9FpRK%2Fimage.png?alt=media&amp;token=19ab41d3-809d-464f-9f88-27a3dc718a92" alt=""></td><td><img src="https://272971286-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FauskGAp5wYbI1xQWn4YZ%2Fuploads%2Fpg455WcXnsCdHNwHxorJ%2Fimage.png?alt=media&amp;token=bc53af48-98c1-4222-a9a5-e80bb0d21149" alt=""></td><td><img src="https://272971286-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FauskGAp5wYbI1xQWn4YZ%2Fuploads%2Fm8vSmcCOVRXpgOHWS6uV%2Fimage.png?alt=media&amp;token=84815912-cad4-4b54-89a4-5d28b9bd012e" alt=""></td></tr></tbody></table>

{% hint style="info" %}
Nếu sau khi check bạn nhận được `We’re sorry, but this serial number isn’t valid.` thì bạn có thể chuyển sang bước tiếp theo nếu khi check bạn được dòng `Valid Purchase date` thì hãy gen lại 1 số serial khác còn nếu khi check bạn nhận được kết quả là `Purchase Date not Validated` thì xin chúc mừng SMBIOS của bạn đã rất tốt rồi.&#x20;
{% endhint %}

<details>

<summary>Lưu ý</summary>

Khi thay SMBIOS mà các bạn bị như ảnh&#x20;

<img src="https://lh5.googleusercontent.com/xUCfpvh_EqAhVtrfEf7h3sps49QGxqITt9rOTTZMIOXw87hmUTUYQS31kEZpSOSETEHxjqzZqouwXDb-rPjoqGsy8EoE5TPq4_8j27S5jeXfS2pf_hqQuVdFdADRwDSrJ5Oc4JD2=s0" alt="" data-size="original">

Thì chỉnh config lại như sau:&#x20;

* `Kernel ⇒ Custom SMBIOS Guide: True`
* `Platform Info ⇒ Update SMBIOS Mode: Custom`
* `Platform Info ⇒ Spoof Vender: True`

&#x20;Khi chỉnh như vậy sẽ không thể dùng BootCamp.

</details>

## **Fix en0**

**B1**: Các bạn mở [Hackintool](https://github.com/benbaker76/Hackintool) vào tab `System -> Peripherals` xem đã có tick `en0` ngay phần Card `Ethernet/Wifi` chưa.&#x20;

**B2**: Nếu vẫn chưa tick thì các bạn chạy dòng code sau trong Terminal: &#x20;

```bash
sudo rm /Library/Preferences/SystemConfiguration/NetworkInterfaces.plist

sudo rm /Library/Preferences/SystemConfiguration/preferences.plist
```

**B3**: Tiếp các bạn vào tap `PCie`chọn ![](https://lh4.googleusercontent.com/2YxQuyuyzmvMfcfCFB9p8oWesnCvp3lUyn9uGPwnNB_jUXXkFmrU486siFkZqDwhFb_D8c2Mam97RCOdEcNHZHvSeUVjqWeGiJrO75Fv9FTvZ0gul7UpzkABSAWg3AEMm6X5VUnO=s0) và mở file.plist lên bằng ProperTree và tìm đến dòng `Ethernet Controler` và copy tên của phần chứa nó như của mình sẽ là `PciRoot(0x0)/Pci(0x1f,0x6)`.

> Các bạn có thể dùng plist edit pro hoặc xcode

![](https://lh6.googleusercontent.com/ZjieM0MgxX65MsZUg59PmNSDKm59iHacPjf9Lccr0Cy5ODUeDijNQ6-w_UiusX34wKDUJzP9pFkzetd_6FWw9weOMupCwz5PhftY_Y81cOxb7B0PQAoWaDWKmKLuiYqCSwSyilWO=s0)

**B4**: Create thêm 1 dòng ở mục `config.plist -> DeviceProperties` với tên là dòng bạn mới copy như của mình sẽ là `PciRoot(0x0)/Pci(0x1f,0x6)` với định dạng là `Dictionary`.&#x20;

**B5**: Add thêm 1 dòng vừa add có tên là

| Key        | Type   | Vaule  |
| ---------- | ------ | ------ |
| `built-in` | `data` | `data` |

**B6**: Save lại và Reboot thôi.&#x20;

> Nếu bạn đã làm tất cả mà en0 vẫn chưa được tick thì bạn hãy thêm SSDT và Kext sau  [NullEthernet.kext](https://bitbucket.org/RehabMan/os-x-null-ethernet/downloads/) , [ssdt-rmne.aml](https://github.com/RehabMan/OS-X-Null-Ethernet/blob/master/ssdt-rmne.aml) và Snapshot lại như thế là done.&#x20;

## F**ix** ROM

**B1**: Vào `System Preferences` tiếp vào mục `Network` chọn `Advance` Copy đĩa chỉ `MAC` của bạn.&#x20;

![](https://lh4.googleusercontent.com/VDCSpZNhJu7rsCVgAgHo216AQwco580jCYzzwADUn5kV38zjg1mc5zsrl-rqI0BdYOQw4SXkFsXwOxzQVMZA-NcPLWk7cTdD_Gc17Rmxr6xicjI7iz3NNN3xWyzG9OWR1i8YTs-M=s0)

**B2**: Các bạn vào config mục `PlatformInfo ⇒  GENERIC ⇒  ROM` paste mục `MAC Address` vào rồi xóa các dấu `:` đi như của mình sẽ là&#x20;

> Ở Clover các bạn chỉnh ROM ở mục RT Variables.

![](https://lh5.googleusercontent.com/faNLTOdVbOatEM2APvn1nB6KS0l_ZBXTRg1RbhzTXaQKevyP_-IqWUl1yHwKpOr2JeddUcXEoT2W4588P6I5Bmpd5KF85VjCnyLCOqR8HYlHUHlNVrG_x2Z1U4TKsDv_ZNnYoPMe=s0)

![](https://everythingforhackintosher.files.wordpress.com/2021/09/cleanshot-2021-09-11-at-13.37.44.png?w=1024)

**B3**: Save và Reboot

> Lưu ý: Nếu bạn đã làm tất cả nhưng iMessage vẫn không hoạt động thì hãy Call Apple nhờ giúp đỡ theo số 18001127 hoặc Chat với Apple theo links sau [Apple – Support – Solutions](https://getsupport.apple.com/)&#x20;
>
> > Bạn phải để vùng là `United States` thì mới xuất hiện ô Chat
> >
> > > Nhớ là phải nói là RealMac nhé không thì sẽ bị liệt vào blacklist đấy.

## **Tips hướng dẫn ẩn tất cả các file Hackintosh đi**

{% hint style="info" %}
Phần này dành cho những bạn muốn Call với Apple.&#x20;
{% endhint %}

B1: Nhấn tổ hợp phím `Shift + Command + .`

B2: Tạo 1 Folder để chứa tất cả các File Hackintosh.&#x20;

B3: Rename Folder với bất kỳ tên gì mà bạn muốn nhưng lưu ý là thêm 1 dấu `.` vào trước tên mà bạn muốn đổi như mình muốn đổi tên nó thành `hackintosh` thì mình sẽ Rename lại là `.hackintosh`.&#x20;

B4: Nhấn lại tổ hợp phím `Shift + Command + .`

> Source tham khảo[Fixing iMessage and other services with OpenCore | OpenCore Post-Install (dortania.github.io)](https://dortania.github.io/OpenCore-Post-Install/universal/iservices.html)
