Jump to content

lukakeiton

Members
  • Posts

    94
  • Joined

  • Last visited

Posts posted by lukakeiton

  1. Hi again!

    I have made some changes to this project and finally it is fully working.

    Changes:

    • Update OC to 0.7.5
    • Switch to FakeSMC
    • No battery SSDT needed
    • Dual boot with MacOS High Sierra and Windows 10

    Creating EFI folder

    Step 1: Kexts and Drivers folders

    Download OpenCorePkg last release. Also download these kexts:

    1. Lilu
    2. FakeSMC (and FakeSMC plugins)
    3. AppleALC
    4. WhatEverGreen
    5. VoodooPS2Controller
    6. AtherosL1cEthernet
    7. BrcmPatchRAM (BrcmFirmwareData and BrcmPatchRAM2)
    8. AirportBrcmFixup
    9. mXHCD
    10. ACPIBatteryManager
    11. BrightnessKeys
    12. ECEnabler
    13. USBMapLegacy

    Copy all of them to Kexts folder. Also download AptioInputFix.efi file and copy it to Drivers folder.

    Note: HfsPlus.efi not used, HfsPlusLegacy.efi instead.

    Step 2: ACPI folder

    • SSDT-EC.aml (Create an EC device, preserves EC0 device)
    • SSDT-FNKeys.aml (_Q11 and _Q12 methods for brightness keys map) https://www.olarila.com/applications/core/interface/file/attachment.php?id=32541
    • SSDT-HPET.aml (Corrected IRQ flags) (You will create later)
    • SSDT-IMEI-S.aml (Fake IMEI device) (You will create later)
    • SSDT-PM.aml (TurboBoost CPU) (You will create later)
    • SSDT-PNLF.aml (For brightness) (You will create later)
    • SSDT-SBUS-MCHC.aml (Fake SBUS device)
    • SSDT-XOSI.aml

    Step 3: Preparing config.plist

    Follow Dortania's OpenCore Install Guide for Sandy Bridge Laptop.

    https://dortania.github.io/OpenCore-Install-Guide/

    Renames needed:

    • HPET _CRS to XCRS Rename
    • RTC IRQ 8 Patch
    • TIMR IRQ 0 Patch
    • EHC1 to EH01
    • EHC2 to EH02
    • _Q11 to XQ11 (FNKeys)
    • _Q12 to XQ12 (FNKeys)

    To activate sound, inject 12 layout through DeviceProperties.

    Add Windows 10 entry to OC

    Press space on picker screen in OC and select OpenShell.efi

    Take a screenshoot of your screen (you should see multiple FSX, where X is a number) Type "FSX:" (where X is the number of Microsoft EFI partition). A fast discover is typing "cd EFI/Microsoft", if it exists you have the correct number.

    Once you have the correct number, go to MacOS, go to Misc->Entries in config.plist and set your correct path. Save and reboot.

    Note: Remember to set your serial and the rest in PlatformInfo->Generic

    DOWNLOAD EFI

  2. On 6/15/2021 at 10:10 AM, tuananh19.01 said:

    thank you. I also searched and read that article. But my problem is I can't install bigsur. I also tried using the EFI folder in that article instead of the EFI of the installation USB, but that didn't work either.

    Try this one! EFI OC 070 Haswell

    Remember to fill your serial number and rest options with yours!

    Also need to add igpu to device properties.

  3. I am back again with a new computer!

    Specs:

    • CPU: intel i9 9900K
    • RAM: 32 GB DDR4 2400MHz
    • iGPU: UHD 630
    • dGPU: Nvidia GTX 1650 4GB DDR5 (planning to move to RX 5700 XT Shappire Nitro+)
    • SSD: 480 GB
    • Wifi/Bluetooth: BCM94352HMB

    Everything is working as expected.

    Notes:

    • No motherboard sound. Only HDMI sound. If you want it, inject alcid=1.
    • Disabled dGPU through SSDT for Mac.

    Link to original PC: https://www.amazon.es/gp/product/B082J85B6V/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1

    Link to EFI

    HxHQJfe.png

     

  4. Why switchable graphics DO NOT work?

    All MacBookAir and MacBookPro with switchable graphics have a mux chip, changing iGPU to dGPU (or viceversa). Both GC are connected to LVDS directly. However, this laptop has no mux chip, so we CAN'T emulate the behaviour of this chip. If we fake it, it simply does not work. In addition, dGPU of this laptop is connected to iGPU (instead of LVDS connector), that's why we can activate LVDS for dGPU WITHOUT disabling iGPU.

    The original ACPI code for this chip under _SB.PCI0.LPCB path is:

    Device (GMUX)
                    {
                        Name (_HID, EisaId ("APP000B"))
                        Name (_CID, "gmux")
                        Name (_STA, 0x0B)
                        Name (_CRS, ResourceTemplate ()
                        {
                            IO (Decode16,
                                0x0700,             // Range Minimum
                                0x07FF,             // Range Maximum
                                0x01,               // Alignment
                                0xFF,               // Length
                                )
                        })
                        Name (_PRW, Package (0x02)
                        {
                            0x15, 
                            0x03
                        })
                        Scope (\_GPE)
                        {
                            Method (_L35, 0, NotSerialized)
                            {
                                Notify (\_SB.PCI0.LPCB.GMUX, 0x80)
                            }
                        }
    
                        Method (_PSW, 1, NotSerialized)
                        {
                            If (Arg0)
                            {
                                And (\GP22, 0xFB, \GP22)
                            }
                            Else
                            {
                                Or (\GP22, 0x04, \GP22)
                            }
                        }
    
                        Name (GMGP, 0x35)
                        Method (GMLV, 0, NotSerialized)
                        {
                            Return (GP22)
                        }
                    }

    In case you have "Name (_HID, EisaId ("APP000B"))" reference on your DSDT, switchable graphics MAY work.

    Dual Boot: MacOS and Windows

    ACPI BIOS Error is most probable error you are going to find. This error is due to renames on DSDT, i.e. battery patch. I am preparing a full DSDT solution for dual boot, based on OSYS variable.

    The main problem I am facing is defining OperationRegions in BAT0 device depending of OSYS value. When the work is finished, I will publish it.

    PS: Other solution is pressing F12 when power up and select windows partition, not using OpenCore to boot windows.

     

  5. Hi everyone! If you have red my Catalina post, you realised it is not a good enough project, so I decided to install High Sierra (10.13.6).

    Laptop: Acer Aspire 7750g

    Specs:

    • CPU: Intel Core i7 2670-QM
    • RAM: 8GB DDR3 1333MHz
    • iGPU: Intel HD 3000
    • dGPU: AMD Radeon HD 6650M 2GB
    • LCD: 17,3"
    • SMBIOS: MacBookPro 8,3
    • WIFI/BT: Broadcom BCM94352HMB
    • SSD1: 512 GB
    • SSD2: 480GB
    • DVD-RAM/±R/±RW
    • Atheros Gigabit Ethernet

    Notes:

    1. PowerButton must be pressed for 3 seconds, then the menu shows up.
    2. Microphone and speakers are working
    3. SD Card Reader works
    4. All Fn+Key combinations work
    5. Battery percentage showed correctly
    6. HandOff, Continuity and the rest of features work
    7. Sleep works

    Creating EFI folder

    Step 1: Kexts and Drivers folders

    Download OpenCorePkg last release (I use OC 0.6.7 in this guide). Also download these kexts:

    1. Lilu
    2. VirtualSMC (and SMCProcessor and SMCBatteryManager)
    3. AppleALC
    4. WhatEverGreen
    5. VoodooPS2Controller
    6. AtherosL1cEthernet
    7. BrcmPatchRAM (BrcmFirmwareData and BrcmPatchRAM2)
    8. AirportBrcmFixup
    9. mXHCD

    Copy all of them to Kexts folder. Also download AptioInputFix.efi file and copy it to Drivers folder.

    Note: HfsPlusLegacy.efi not used, OpenHfsPlus.efi instead.

    Step 2: ACPI folder

    Step 3: Preparing config.plist

    Follow Dortania's OpenCore Install Guide for Sandy Bridge Laptop.

    https://dortania.github.io/OpenCore-Install-Guide/

    Renames needed:

    • _Q11 to XQ11 (FNKeys)
    • _Q12 to XQ12 (FNKeys)
    • Rename _BIF to XBIF (BAT0)
    • Rename _BST to XBST BAT0
    • Rename FANG to XANG (BAT0)
    • Rename FANW to XANW (BAT0)

    To activate sound, inject 27 layout through DeviceProperties

    AMD Radeon HD 6650M 2GB

    Once you arrive at this point, you should have a proper working machine with fully working Intel HD 3000. However, what happens with AMD GPU? HDMI and VGA DO NOT WORK.

    Windows tasks:

    Follow installation part from Catalina's guide for installing modded BIOS: 

     

    EXTRACT VBIOS.ROM

    Thanks to MrTrucker:

    https://www.insanelymac.com/forum/topic/277042-amd-radeon-hd-6650m-graphics-enabler-dsdt-hdmi-audio-acer-aspire-7750g-2674g50mnkk-gradients-fixed/?do=findComment&comment=1845018

    Once you have VBIOS.rom file, download rom_dsdt_converter.zip and extract it. Then, open cmd, drop rom_dsdt_converter.exe to cmd, type a space and drop VBIOS.rom to cmd. Press Enter and a txt file is created. Open it and delete all "0x" using find and replace. Place txt file to a FAT32 USB and reboot on macOS.

    macOS tasks:

    Open IORegistryExplorer and look for "display0" inside "IGPU" device (if you don't use whatevergreen kext, device name is GFX0). Click on child AppleBackLightDisplay, look for IODisplayEDID Value content. We need this.

    Open you config.plist with a plist editor. Add a new child on DeviceProperties->Add. Select Dictionary class and set key as "PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)".

    Add following children: (Key | Class | Value)

    • @0,compatible | String | ATY,Ipomoea
    • @0,device_type | String | display
    • @0,display-dual-link | Data | 01000000
    • @0,display-type | String | LCD
    • @0,name | String | ATY,Ipomoea
    • @1,compatible | String | ATY,Ipomoea
    • @1,connector-type | Data | 00080000
    • @1,device_type | String | display
    • @1,display-type | String | None
    • @1,name | String | ATY,Ipomoea
    • @2,compatible | String | ATY,Ipomoea
    • @2,connector-type | Data | 10000000
    • @2,device_type | String | display
    • @2,display-type | String | None
    • @2,name | String | ATY,Ipomoea
    • AAPL,slot-name | String | Slot-1
    • AAPL00,DualLink | Data | 01000000
    • AAPL00,override-no-connect | Data | "Paste your IODisplayEDID Value from IORegistryExplorer here without quotes"
    • ATY,bin_image | Data | "Paste your txt content here without quotes"
    • VRAM,totalsize | Data | 00000080
    • device-id | Data | 41670000
    • device_type | String | ATY,IpomoeaParent
    • hda-gfx | String | onboard-1
    • model | String | AMD Radeon HD 6650M 2GB
    • name | String | ATY,IpomoeaParent

    Go to Kernel->Patch->Add and add three new children as Dictionary.

    First child:

    • Arch | String | x86_64
    • Comment | String | AMD Connector Screen
    • Count | Number | 0
    • Enabled | Boolean | YES
    • Find | Data | 00040000 04030000 00010000 00000000 12040105 00000000
    • Identifier | String | com.apple.kext.AMD6000Controller
    • Limit | Number | 0
    • Mask | Data |
    • MaxKernerl | String |
    • MinKernel | String | 16.0.0
    • Replace | Data | 02000000 40000000 00010000 00000000 10010003 00000000
    • ReplaceMask | Data |
    • Skip | Data |

    Second child:

    • Arch | String | x86_64
    • Comment | String | AMD Connector HDMI
    • Count | Number | 0
    • Enabled | Boolean | YES
    • Find | Data | 00080000 04020000 00010000 00000000 11020403 00000000
    • Identifier | String | com.apple.kext.AMD6000Controller
    • Limit | Number | 0
    • Mask | Data |
    • MaxKernerl | String |
    • MinKernel | String | 16.0.0
    • Replace | Data | 00080000 00020000 00010000 00000000 11020101 00000000
    • ReplaceMask | Data |
    • Skip | Data |

    Last child:

    • Arch | String | x86_64
    • Comment | String | AMD Connector VGA
    • Count | Number | 0
    • Enabled | Boolean | YES
    • Find | Data | 10000000 10000000 00010000 00000000 00000002 00000000
    • Identifier | String | com.apple.kext.AMD6000Controller
    • Limit | Number | 0
    • Mask | Data |
    • MaxKernerl | String |
    • MinKernel | String | 16.0.0
    • Replace | Data | 10000000 10000000 00010000 00000000 00000205 00000000
    • ReplaceMask | Data |
    • Skip | Data |

    Reboot the computer. Now, if you go to Screen Preferences you can select the screen with specific GPU.

    Manual switch of graphic cards video

    SSDT-PowerButton.aml

    • Like 1
  6. I am glad to help you!

    With respect to your problem, have you tried USBInjectAll.kext? Other way to this is creating your own USB kext. No, I didn't face it.

    I am happy you realized what I want to say. With those mobos, installation is not so easy as it seems. Restore mode is the only way I have found to make BS works on this old hardware.

    • Thanks 1
  7. The main aim of creating a patched DSDT is make the more similar as posible as real Mac (I choose iMacPro1,1). For example, you use PX40 (real name on our DSDT), I renamed to LPCB. Same with USB devices.

    You can use this method:

    Did I face with 12 minutes error? Yes. What I did? I installed BS on separately SDD in other PC (I have 3) and when finished, I changed EFI to GB-EFI. That works for me. It takes a while to boot, at least 1 minute and a half.

    • Like 1
  8. 1 hour ago, iceage2609 said:

    I have a similar build but till now I didn't manage to make it works any help would be appreciated .I am on Ga-EX58-UD3R (differences on our mob I think is only the audio alc888 vs alc889) with an i7-920 LGA1366 and a Nvidia GeForce GT 710 .

    I am using opencore 0.6.4 ,the usb stick boots just finely am getting in the installer, format the new disk as APFS but 12 minutes before finishing every time, I am getting unable to get fs for /Volumes/MyVolume/Macos install data and then after a few lines in the installer log the system hangs and reboot.

    So I thought ok, in Catalina as well with clover I was getting 2-3 restarts before the end of the installation and after choosing the new partition the installation kept going.

    In this case after the restart , I boot from the usb again and i chose the apfs HDD with the name now bigsur installer. Choosing this gives me a kernel panic after a few commands and the system restarts. Photo

    Here is  MYEFI 

    We have very similar builds so maybe it's possible to install BigSur in this old guard.I don't thing it's an EFI issue or opencore config error because the system boots till the installer fine, no error.The installation begins and 12 minutes before the end (at that point boot loader doesn't have a lot to do with the whole procedure ) it fails.

    I don't want to hijack your thread, shall I open another one ?

    Hi, all gb ex58 (rev 1.0) have same DSDT. So, we have the same.

    The 12 minutes problem happened to me too. I used restore install method (I have installed BS on other PC, then change the SSD to this PC).

    As you mention, reboot function works for you, unlucky me. I am going to analyse if there is any difference.

    You KP is related with IOGraphicsFamily.kext, try to remove whatevergreen.kext. Remember Nvidia GT 710 is a Kepler graphic card, so it is natively supported.

    Install with USB was imposible for me, I used restore /install method to get it work. Then, use your EFI. I think it is correct.

    Don't worry about writing here, I am here to help.

     

    • Like 1
  9. On 1/5/2021 at 6:50 PM, vova3d said:

     I almost downloaded the installation USB with the operating system Mac OS X Big Sur. But on the first or main screen of my laptop, there is such a distorted picture. And on the second external monitor, I see the graphics mode and cursor. Tell me or who knows what the problem might be

    Anyone have any ideas and ways to solve this problem?
    [2:31]
    on an external monitor, I do not see the main system installation menu, so I don’t know how to make everything work on the laptop screen. The cursor moves across the external screen

     

     

    IMG20210106020542.7z 476.41 kB · 0 downloads IMG20210106020555.7z 1.74 MB · 0 downloads

    If you have an amd cpu in your laptop, you can't use macOS.

    Update to 11.2 with same EFI (yep, still on oc 0.6.2)

    TFbXHbT.png

  10. 9 hours ago, crisorlandobrsp said:

    Hi

    Clover still stucks in the ++++++ signs and Opencore was having ACPI states hanging in the installer (acpi sleep states s3 s4 s5)
    I used nullpowermanagement kext inside opencore kext folder and now it booted to the installer and when it was 13 min to finish it had a kernel panic regarding iographics 

    Gonna try not using my ACPI settings and if still fails gonna install Catalina only to be able do dump and reassemble ACPI tables 

    Tks

    Remove this kext. Use Kernel->Emulate->DummyPowerManagement.

    Use agdpmod=pikera boot-flag for your graphics. NVRAM -> 7C436110-AB2A-4BBB-A880-FE41995C9F82 ->boot-args

    • Like 1
  11. Hi, I have decided to upload the hole project. It was very instructive to me.

    This EFI is made with SSDTs based on a patched DSDT.

    Download EFI

    All patches except Intel HD 3000, no way to introduce correctly AAPL00,DualLink = 01000000 via SSDT, nor DeviceProperties, in Catalina. If I switch to High Sierra, it simply works. Anyway, there is also a configAMD.plist for High Sierra where AMD graphics is fully recognised recognised. I have extracted the VBIOS.rom and converted to OC patch, with patched frambuffer (LVDS, HDMI and VGA) using lotus FB (also tried Ipoemea) but switchable graphics simply don't work.

    I also tried a third way. I have created a semi-patched DSDT, that means that I have introduced some patches using If/Else loop taking account OSYS variable, where OS is converted to an hex number. However, I have faced too many problems using this method.

    So, at the end, I have switched back to full patched DSDT and use f12 to boot macOS.

    CLOSED PROJECT

×
×
  • Create New...