Jump to content
22 posts in this topic

Recommended Posts

Finally I patched my DSDT.aml file with the help of @Hervé and @Rocky12.

I've also succesfully patched the DSDT myself for fixing battery percentage (I mean I have no errors).

Now I put the DSDT.aml file in Clover/ACPI/patched but if I do so, hackintosh doesnt boot, there are some ACPI errors.

What am I missing? Should I put all the other SSDT extracted in that folder too? Please help me.

(Attached DSDT patched and other SSDT not patched)

 

my specs:

HP Pavilion 15 (motherboard HP 80A4)

Intel Core i5 6200U Skylake

Intel Graphics 520 (working) + Nvidia 940M

Archive.zip

17 minutes ago, mirio said:

Edit: I got past the first errors in boot by disabling some DSDT patches in Clover but now I'm stuck here:

use it

EFI.zip

reboot and extract one full dump

https://www.olarila.com/files/Utils/RunMe.app.zip
https://www.youtube.com/watch?v=k9wmIfGLe3A

  • Like 1

sendme.zip

44 minutes ago, MaLd0n said:

I always get IOreg dump fail, even if I follow the video. I attached in the zip file all the other stuff extracted by the tool.
 

EDIT: I attached the zip  (Macbook pro di Mariano..) file with the missing IOReg, saved myself manually. I think now you have all

 

MacBook Pro di Mariano.zip

sendme.zip

Edited by mirio
23 minutes ago, mirio said:

I always get IOreg dump fail, even if I follow the video. I attached in the zip file all the other stuff extracted by the tool

sendme.zip

put in clover/acpi/patched

DSDT.aml.zip

reboot and save one ioreg

https://olarila.com/files/Utils/IORegistryExplorer 3.app.zip

8 minutes ago, MaLd0n said:

looks good

test audio, brightness key, audio, etc, let me know

You are insane man!! I applied battery patch and everything it's working!!! Battery, brigthness controll and Audio too is finally strong.
One thing I noticed is that in sound options I dont have the ability to choose between Laptop internal audio and HDMI audio (Hdmi audio didnt work the same previously but I was cuorious if now it was working). I only see "Internal speakers" as an option. Should I apply a specific patch for HDMI audio?

Edited by mirio

@mirio

 IMESSAGE + ICLOUD + FACETIME

Message, iCloud and even FaceTime are definitely apps that can work on a hackintosh, however when there is something wrong such as an improper configuration with the EFI or the network setup that can lead to things like iMessage throwing an error that it can’t sign you in. However sometimes the problem can also be hardware related in the case of using a AMD/Ryzen system to which I haven’t nor anybody I know of has gotten these services to work, but if you have an Intel hackintosh here’s the usual suspects that can be preventing you from fully becoming 100%  hackintosh.

1. BSD Device Name

If the BSD Device Names of your Active Services such as Ethernet, Wi-Fi are set incorrectly this can prevent iMessage/iCloud/FaceTime from working.

Set correct BSD name:

  1. Open Terminal
  2. Paste sudo rm -rf /Library/Preferences/SystemConfiguration/NetworkInterfaces.plist into Terminal and enter password on prompt
  3. Paste sudo rm -rf /Library/Preferences/SystemConfiguration/preferences.plist into Terminal
  4. Reboot Hackintosh and check iMessage/iCloud/Facetime
    Reset Mac BSD values

2. Bad System Preferences

If you have had Mac OS running for awhile then it’s a possibility that from mix matching things trying to get these services to work that the configuration files that these services use have gotten messed up. So what we can do is clean up these configuration files, but before you can do this step you will need to make sure you are signed out of all iCloud related services and restart your machine that way they aren’t running when we remove the configuration files they rely on.

 

To delete/reset Preferences:

Make sure you are signed out of all services and restart before beginning these steps.

  1. Open Terminal
  2. Enter sudo rm into Terminal to trigger password prompt if necessary.
  3. Paste all at once into Terminal:
    sudo rm -rf ~/Library/Caches/com.apple.iCloudHelper* \
                ~/Library/Caches/com.apple.Messages* \
                ~/Library/Caches/com.apple.imfoundation.IMRemoteURLConnectionAgent* \
                ~/Library/Preferences/com.apple.iChat* \
                ~/Library/Preferences/com.apple.icloud* \
                ~/Library/Preferences/com.apple.imagent* \
                ~/Library/Preferences/com.apple.imessage* \
                ~/Library/Preferences/com.apple.imservice* \
                ~/Library/Preferences/com.apple.ids.service* \
                ~/Library/Preferences/com.apple.madrid.plist* \
                ~/Library/Preferences/com.apple.imessage.bag.plist* \
                ~/Library/Preferences/com.apple.identityserviced* \
                ~/Library/Preferences/com.apple.ids.service* \
                ~/Library/Preferences/com.apple.security* \
                ~/Library/Messages
  4. Reboot Hackintosh and check iMessage/iCloud/Facetime
    Reset Apple Services in Terminal

3. NVRAM for Activation

Depending on your hackintosh configuration you may need EmuVariableUefi-64.efi for activation. Unusually if its an NVRAM related problem you also shouldnt’ be able to log in to the App Store with your Apple ID in addition to iMessage/iCloud/FaceTime

To add EmuVariableUefi-64.efi:

  1. Open Clover Configurator
  2. Mount your EFI Partition
  3. Open config.plist using Clover Configurator
  4. Click Install Drivers on left column of Clover Configurator
  5. Click EmuVariableUefi in bottom left box.
  6. Verify EmuVariableUefi-64.efi exists in /Volumes/EFI/EFI/Clover/Drivers64UEFI/
 

4. Proper SMBIOS Settings for Working Hackintosh iMessage

If iMessage still isn’t working after resetting the network and deleting system preferences than it’s most likely issue with whatever values are set in the SMBIOS section of your config.plist. Problems with the way the SMBIOS is set is the #1 reason a lot of people aren’t able to get iMessage or iCloud working.

4.1 Generate an Invalid Serial Number

  1. Download Clover Configurator if you don’t already have it
  2. Mount EFI partition
  3. Navigate to /Volumes/EFI/EFI/Clover/
  4. Right-click config.plist and open with Clover Configurator
  5. Click SMBIOS on left side
  6. Copy the Serial Number
  7. Go to checkcoverage.apple.com
  8. Paste Serial Number  and click Continue
  9. If it comes back as valid you will need to generate a new serial number until you get a error or invalid serial number
  10. Go back to Clover Configurator SMBIOS section
  11. Repeat Generate New and paste to checkcoverage.apple.com until you get an Invalid Serial Number

4.2 Set Custom Board Serial Number

Now that you have your own invalid serial number you need to replace the Board Serial Number with one containing your Invalid Serial Number along with 5 random digits. Since they can be any digits I keep the last five digits of the Board Serial Number and replace the first 12 with the Serial Number

  1. Copy Serial Number
  2. Replace the first 12 digits of Board Serial Number with the copied Serial Number

4.3 Unique UUID

  1. Open Terminal
  2. Generate a unique string by entering uuidgen into Terminal
  3. Copy & Paste the generated UUID value from Terminal into SmUUID in Clover Configurator -> SMBIOS
  4. Save config.plist
  5. Restart Hackintosh

Note: If generating your own SMBIOS values doesn’t work out for you then you can try using a valid Serial Number and verifying with checkcoverage.apple.com to find out if iMessage/iCloud/FaceTime issue is related to the SMBIOS or not. If iMessage works with a valid Serial Number then you didn’t generate your own SMBIOS values correctly. When using a Valid Serial Number you leave SmUUID blank. If iMessage/iCloud/FaceTime still doesn’t work with a valid Serial Number at least you know the issue is related to something else other than the SMBIOS values. If you can get your own fake Serial Number to work it’s recommended you not use a valid Serial Number permanently as that of course belongs to someone else’s Mac.

 

Some examples down.

Getting Boot ROM Version:

1
2
Xeon:~ userone$ system_profiler | grep 'Boot ROM Version'
      Boot ROM Version: MB81.0164.B02

Getting SMC Version:

1
2
3
4
Xeon:~ userone$ system_profiler | grep 'SMC Version (system)'
      SMC Version (system): 2.25f85
Xeon:~ userone$ system_profiler | grep 'smc-version'
    | |   |   "smc-version" = "2.25f85"

Getting Serial Number (system):

1
2
3
4
Xeon:~ userone$ system_profiler | grep 'IOPlatformSerialNumber'
    |   "IOPlatformSerialNumber" = "C02PG1XDFWW3"
Xeon:~ userone$ system_profiler | grep 'Serial Number (system)'
      Serial Number (system): C02PG1XDFWW3

Getting Hardware-UUID:

1
2
3
4
5
Xeon:~ userone$ system_profiler | grep 'IOPlatformUUID'
    |   "IOPlatformUUID" = "9D3555DE-7964-5231-8251-8A7BB3313FE6"
      |   "IOPlatformUUID" = "9D3555DE-7964-5231-8251-8A7BB3313FE6"
Xeon:~ userone$ system_profiler | grep 'Hardware UUID'
      Hardware UUID: 9D3555DE-7964-5231-8251-8A7BB3313FE6

Others:

1
2
3
4
5
6
7
Xeon:~ userone$ system_profiler | grep 'IOMACAddress'
    | | | |       |   "IOMACAddress" = <a8667f006006>
    | | | |       | |   "IOMACAddress" = <a8667f006006>
    | | | |       |     "IOMACAddress" = <0a667f00600600000000>
    | | | |             "IOMACAddress" = <ba18b184b3dc00000000>
Xeon:~ userone$ system_profiler | grep 'IOMACAddress'
    | | | |       |   "IOMACAddress" = <a8667f006006>

Getting MLB and ROM:

mb8,1_mlb_rom

Getting the ROM:

1
2
Xeon:~ userone$ nvram 4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14:ROM
4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14:ROM    %0c%bc%9fNE%e2

NE = 0x4e, 0x45 in ASCII to hex C-like array. So ROM is %0c%bc%9f%4e%45%e2

Getting Main Logic Board Serial Number (MLB):

1
2
Xeon:~ userone$ nvram 4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14:MLB
4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14:MLB    C025092008VFV4113

Getting System-ID (System-UUID):

1
Xeon:~ userone$ ioreg -l -p IODeviceTree | grep \"system-id

Getting Board-ID:

1
Xeon:~ userone$ ioreg -l -p IODeviceTree | grep \"board-id
Edited by Rocky12
3 minutes ago, Rocky12 said:

can you check  the serial number is it  valid number or not

 

Of course, not valid in Apple site so it should work. I did everything in first post. On other guides I found something harder with NVRAM but I dont want to break my Hackintosh actually ahah

 

Mainly I'd like to fix HDMI Audio

Edited by mirio
7 minutes ago, Rocky12 said:

you must try different serial number until you get one which can bypass the apple verification process

the other way is to get from someone else

What about improving battery life instead? it looks like is going down very fast

9 hours ago, Rocky12 said:

Do you think I will have so conflicts if I use this kext? https://github.com/RehabMan/OS-X-ACPI-Battery-Driver

I mean actually my battery percentage works with patched dsdt, I dont know if this could corrupt it

 

Edited by mirio
×
×
  • Create New...