Recently Browsing 0 members
No registered users viewing this page.
Hi, I followed the rehabman guide (linked in the vanilla guide on the side of r/Hackintosh, not sure if I can link it) for laptops for my yoga 730ILW13 with an 8265u, Conexant 11870, 8gb of ram, 13.3" fhd and I found that upon booting the installer usb I get this weird issue where the screen displays what it should but the screen is incredibly dim (though it was off before using a flashlight on it) and it flashes every few seconds for a few milliseconds to the correct brightness, I used the plist for hd615-650 (including my 620), not quite sure what could be the culprit, first time hackintoshing a laptop so it might be a stupid brightness kext I forgot but didn't find any in that post or in this forum :c
Attached the clover zip so that anyone with more experience than me might give an idea in what could be a way to fix this.
Thank you in advance
So, this little tutorial is meant to help people fix a new issue with Mojave: opening jpg files (looks like it happens with larger files, not so much with smaller ones) using Quick Look (on spacebar key pressed) or Preview app, using the dedicated GPUs.
The issue is that, when trying to open jpg files (for some reason, it doesn't occur with pngs), the pop-up window would remain in an endless loop. And from that point forward, any other app trying to open the same file will either become unresponsive (in the case of the Preview app) or just stay in endless loop (in case of Quick Look)
As a workaround, in case the tutorial below doesn't work for you, you can use Grab (built-in app in MacOS) to open said files.
This issue DOES NOT occur using the iGPU. So...if you're comfortable using the iGPU, just switch to that and you should be good to go. You don't need this tutorial.
This tutorial is based on @Cyberdevs' research and testing on this topic (especially useful if you're using an RX series AMD video card), and my own very limited time testing this on my rig. I just thought it would be useful to create a new thread for it so that people can discuss this particular issue here.
With that being said, I'll just move on to the actual tutorial.
New (probably better) method.
Switch your SMBIOS in Clover config in regards to the dedicated GPU you're using, instead of the CPU. Take a look here and choose the corresponding SMBIOS closest to your hardware.
Yeah, that's it.
In case you lose CPU PM with this method, there are multiple ways to fix that, and they do not make the object of this thread. It worked perfectly fine for me though and I didn't need to change anything else.
Alternatively, you can also try one of the MacPro SMBIOSes, such as MacPro5,1 or MacPro6,1. It was tested multiple times and it showed good results.
Keep in mind that choosing these will most likely not show you an iGPU in System Report, since those machines generally (probably all of them) use Xeon CPUs with no iGPUs either.
A simple Lilu plugin
Thanks to vulgo for the plugin and @Matgen84 for sharing and testing it, we now have yet another possible solution to this issue. It's a Lilu plugin (which means that it requires Lilu.kext in order to work) it's called NoVPAJpeg, and it can be downloaded from here.
You use it as a regular kext, alongside Lilu. I prefer (and recommend) using it within the EFI folder, in Clover/kexts/Other. But if you want to use it in S/L/E, that should work just fine.
More info can be found in this post here.
In case you wanna try alternative medicine ...
The main thing we need to do is actually very simple: we need to enable the iGPU (integrated GPU) by default, in BIOS, while actually being connected to the dedicated GPU.
For ATI GPUs (curtesy of @Cyberdevs' post here).
The discreet GPU should be set as primary in BIOS and your displays should be connected to your discreet GPU
The iGD/iGPU/iGFX must be enabled in BIOS/UEFI as the secondary GPU.
I removed the DSDT Reconfigured the config.plist to and removed some flags which weren't needed because of the DSDT added the InjectATI + Ornioco Framebuffer (I removed the Orinoco framebuffer because of some weird glitches but it might be useful for other AMD GPUs if you inject the correct framebuffer according to your GPU. No need to inject anything for nVidia GPUs unless your GPU needs it) Added the InjectIntel + ig-platform-id for my intel HD530 (for intel HD 530 I use the 0x19120001 ig-platform-id)
Steps 5 to 7 might not be necessary I just did them anyway, if anyone succeeded to get quicklook working without those steps let me know so I can exclude those steps.
Also confirmed to work with AMD R9 270X on a SandyBridge rig (without an iGPU) using WhateverGreen + Lilu kexts, which also helped to solve the transparency issue along with the Quick Look problem, it also resolved the buggy Screen Capture (Command+Shift+5) issue as well.
nvram cleanup kextcache & prelinked kernel rebuild reboot More info on that here.
For NVIDIA GPUs
This is what I needed for my NVIDIA rig and the MSI motherboard in the signature. Your milage may vary, depending on your hardware. But, the idea should be the same regardless.
For MSi motherboads (check out my motherboard details in the signature)
Set your BIOS to use PEG (dedicated GPU) so you can boot.
Since you're reading this, chances are that you're already connected to the dedicated GPU and the BIOS is set to PEG. So just go into BIOS and see if you're using the iGPU or the dedicated (PEG) graphics device by default.
If you're already using this, skip to Step 3 (the part AFTER Reboot). Reboot (I think you don't necessarily need to boot into the OS...but you do need to reboot at least until Clover UI) Reboot back into BIOS and set it from PEG to IGD (integrated graphics) WITHOUT removing the cable. Save Reboot again.
The result should be that the OS is tricked into thinking you're booting with the IGPU when in fact you're using the dedicated GPU.
For Gigabyte motherboards
Peripherals -> Initial Display Output -> iGFX Chipset -> Internal Graphics -> Enabled
DVMT Pre-Allocation -> default 64M.
DVMT Total Gfx Mem -> default 256M Save Reboot
You should do this with the cable connected to the dedicated GPU.
You will also need to patch the iGPU from Clover config.
1. Graphics -> Inject Intel (UNCHECK Inject Nvidia or ATI if it's checked).
2. ig-platform-id (in my case for Intel HD 4600 Desktop) it was: 0x0d220003
And use IntelGraphicsFixup.kext (now included into WhateverGreen.kext) in Clover/kexts/Other. In my particular case, without the kext, I would get freezes in Safari.
Another way to activate the iGPU while having the dGPU set as primary is by going into BIOS/SAG/Graphics Configuration/iGPU and setting Multi-Monitor to [Enabled], all the rest remains on [Auto], and set Inject/Intel to [True] in Clover config.*.
Thanks to @gjw for the tip.
*Motherboard dependent. But the multi-monitor option might be the same regardless of manufacturer.
This might be a bug with Mojave and it could be fixed by Apple in the future. but in the meantime, feel free to use this if it helps you fix the issue.
For HP motherboards (including laptops), so far no solution, unless the BIOS somehow allows to switch from dGPU to iGPU and vice-versa.
Lenovo T460 macOS with Clover Guide
Latest Release on GitHub (April 2019) Updated to Clover r4918 Updated Lilu kexts - ALC, WEG Merged Verleihnix' config.plist - especially to NOT inject GFX Updated BacklightInjector as option to WEG.
Various Tweaks over Last months The zip file is a complete Clover ESP (/EFI) bundle and kext pack for the Lenovo T460. The current file bundle is tested on Sierra.
Note: I never got the GFX fully working on El Capitan.
Full Clover file set - config.plist etc. Includes all custom kexts Includes custom DSDT/SSDT scripts and patches Utility scripts The zip bundles are posted to GitHub: https://github.com/tluck/Lenovo-T460-Clover/releases
Caveat: The T460 systems used here was configured with: i5-6300U, Intel HD Graphics 520, 1920x1080 touch screen. If you have a different system model, then extract the ACPI files and use the included scripts to create a set of files consistent with your system type and BIOS version. See below for details.
Credits: RehabMan, Shmilee, vusun123, TimeWalker, Mieze from which, much of their work and help is/was was used to get the T460 to this point.
Devices and aspects working:
Ethernet - Intel I219LM is enabled via IntelMausiEthernext.kext WiFi/BT - substitute the Intel WiFi/BT with a compatible Broadcom or Atheros chip Audio - ALC293 codec implemented via AppleALC.kext (old AppleHDA_ALC293 and CodecCommander kexts are not needed) PS2 - ClickPad + TrackPoint + all 3 buttons - using a modified VoodooPS2Controller to support new layouts - and added some custom Fn key maps based on 440/450 dsdt USB - implemented via custom SSDT + USBInjectAll kext. All USB3/USB2 ports are intel-based and work - 3 external USB and internal Camera, BT, etc Sleep/Wake - the sleepwatcher package and custom sleep/wake scripts are used to help with sleep/wake for BT and PS2 devices. Note: have not tried to implement the SD card reader - no driver found.
New Installation - Steps and Details
Part 1 - OS Installation
Part 2- Post OS Installation and Setup
Notes on Custom Kexts
Installing macOS Mojave on Lenovo ThinkPad L440
There are two version of this laptop:
- 20AS = Chipset QM87, without Express Card (mine).
- 20AT = Chipset HM86, with Express Card.
I strong believe is the same thing...
03/28/2019 15:01h GMT-0
- Added info about update 10.14.4.
03/13/2019 13:15h GMT-0
- Updated info about touchpad replacement and CPU and 4G LTE modem.
02/05/2019 18:47h GMT-0
- Updated info about CPU replacement and 4G LTE modem.
02/04/2019 15:24h GMT-0
- Sometimes the VoodooHDA.kext doesn't work.
- Added AppleHDADisabler.kext to fix that (attached bellow).
01/24/2019 14:42h GMT-0
- Added more adjustments to use of VoodooHDA.
- Updated VoodooHDA links to 2.9.1 official (without installer).
- Changed PCM volume from 90 to 180 in Info.plist (attached modified VoodooHDA.kext bellow)
- Updated SSDT-L440.aml (Removed HDEF and HDAU, not needed).
- Updated config.plist (Changed to user Audio layout to 1).
01/22/2019 20:47h GMT-0
- I gave up on the AppleALC.
- Headset does not work.
- Now with VoodooHDA is perfect and the sound even louder.
01/22/2019 14:37h GMT-0
- Added info about update 10.14.3.
01/22/2019 13:46h GMT-0
- Added link to BIOS reassing guide.
01/20/2019 11:49h GMT-0
- First version.
What works and what does not
- Processor: Intel Core i5-4300M -> Work. All SpeedStep stages.
- Video Card: Intel HD4600 -> Work. QE/CI and Metal.
- Chipset: Intel QM87 -> Work.
- Mini DisplayPort -> Work. But no audio, yet.
- VGA -> Not work. Normal.
- Audio: ALC292 -> Work.
- WiFi/Bluetooth: Intel AC 7260 -> Not work. Replaced with DW1560 (need whitelist removal).
- Ethernet: Intel I217-LM -> Work.
- Card Reader: Realtek RTS5227 -> Not work.
- Keyboard and Touchpad -> Work.
- Webcam -> Work.
- Fingerprint Reader -> Not work. Normal.
- USB3.0 -> Work.
- Sleep -> Work.
- Airdrop, Handoff, Instant Hotspot and Continuity -> Work after replaced wireless.
- FullHD 1920x1080 display upgrade:
Replaced with AU Optronics B140HAN01.1 30pin eDP (B140HAN01.2 and B140HAN01.3 also compatible).
Apparently same screen as Dell Latitude E6440, E7440, Lenovo Ideapad U430 and E129.
- CPU upgrade:
Replaced the stock Intel Core i5 4300M 2.6Ghz (3.3Ghz turbo) 6M cache with Intel Core i7 4700MQ 2.4Ghz (3.4Ghz turbo) 6MB.
I initially had problems with overheating. The processor ran at full load above 90 degrees.
After using a quality thermal paste I can work between 70 and 80 degrees.
Acceptable taking into consideration that the new processor has 47TDP versus 37TDP which is recommended.
I also had no problem consuming the battery while charging. The original 65W source seems to have figured out.
- Touchpad upgrade:
Replaced the stock with T460 touchpad.
This is serious: you have to do it! It should be stock. Touchpad with precision and absurd quality!
Just do it!
- RAM upgrade:
No mistery here. Just upgade.
- Make DP audio work.
- Make Card Reader work.
- Upgrade CPU to i7-4712MQ (Ordered. It's on the way) Done, but received i7-4700MQ (47w TDP, with good paste I have no overheating)
- Replace touchpad with T460 model (Ordered. It's on the way) Done. Sensitivity and perception of quality much better. I recommend 100%!
- Sierra Gobi5000 4G LTE modem EM7355 (Ordered. It's on the way. I hope works. ) Done, but not work. Recognize but not connect. I already gave up...
- Upgrade to 16GB RAM Done
- Make touchpad appear in System Preferences
What you need to install
- Running install of macOS
- One USB flash drive of 8GB or bigger
- macOS Mojave install app
- Clover EFI
- Clover Configurator
- Some KEXTs and SSDT patches
How create create the install flash drive
Prepare install flash drive
Format the flash drive with GUID partition mapping and name it "Install".
- Open Disk Utility.
- Click in View, then "Show All Devices".
- Select the destination flash drive, then Erase.
- Name: Install, Format: Mac OS Extended (Journaled) and Scheme: GUID Partition Map
Create install flash drive
Open terminal and run this command:
sudo /Applications/Install\ macOS\ Mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/Install --nointeraction This will take about 30 minutes.
Download the RehabMan's CloverEFI fork (used 4910) and install with this options on "Install macOS Mojave":
- Install for UEFI booting only
- Install Clover in the ESP
- UEFI Drivers - ApfsDriverLoader-64
- UEFI Drivers - AptioMemoryFix-64
Make things works
Will be created a partition named EFI and mounted in Desktop.
- Replace the /Volumes/EFI/CLOVER/config.plist with mine attached below
If you have modded BIOS with Advanced Menu and enabled 128MB DRAM-prealloc use 128MB_DRAM-prealloc_config.plist.zip
If no, then use 32MB_DRAM-prealloc_config.plist.zip
- Put SSDT-L440.aml attached below in /Volumes/EFI/CLOVER/ACPI/patched/
Generate your Serial, MLB and SmUUID
- Open the replaced config.plist with Clover Configurator (used 22.214.171.124)
- Go to SMBIOS, click few times in "Generate New" in Serial Number and SmUUID.
Download those Kexts and put in /EFI/CLOVER/kexts/Other/
- Download the VirtualSMC.kext from here. I used version 1.0.2.
- Download the VoodooPS2Controller.kext from here. I used version 2018-1008.
- Download the IntelMausiEthernet.kext from here. I used the version 2018-1031.
- Download the Lilu.kext from here. I used the version 1.3.5.
- Download the VoodooHDA from here. I used the version 2.9.1 and patched the sound volume (attached below).
- Download the WhateverGreen.kext from here. I used the version 1.2.7.
- Download the AppleBacklightFixup.kext from here. I used the version 2018-1013.
- Download the USBInjectAll.kext from here. I used the version 2018-1108.
- Download the ACPIBatteryManager.kext from here. I used the version 2018-1005.
- Download the FakeSMC.kext from here. I used the version 2018-0915. Replaced with VirtualSMC.kext due 10.14.4 issues on update.
- Download the AppleALC.kext from here. I used the version 1.3.4. Replaced with VoodooHDA.kext due mic not working.
Wifi and Bluetooth (DW1560 / BCM94352Z)
Unfortunately, some notebook manufacturers are currently blocking the replacement of wireless cards. They want you to only use the models sold by them. And of course, none of them from Lenovo for this notebook model is compatible with MacOS.
If you try to start with an unauthorized wifi card for them, you will receive a screen error:
1802: Unauthorized network card is plugged in - Power off and remove the network card. Since this check is done directly in the BIOS, the only solution is to modify it.
But since nothing is easy in this life, there is one small big problem:
- The BIOS update procedure does not allow you to use modded files as it used to be.
- You will need to physically reach your BIOS on the motherboard and make use of a USB BIOS reader/writer.
So what you need to do:
1. Disassembly your laptop;
2. Dump your BIOS with an USB BIOS reader with SOIC8 clip (to not desolder from the motherboard);
3. Patch it (In addition to removing the whitelist, add the advanced menu);
4. Fix RSA signature;
5. Reflash BIOS;
6. Replace wireless card;
7. Remount your laptop;
Soon, I'll provide step by step in this process. Probably until end of this week.
In the meantime, if you need to, send me your dump that I do steps 3 and 4 for you.
I also add the Advanced Menu so you can increase to 128MB the DRAM-prealloc.
To fix a Modded BIOS to remove the 5 beeps on boot, you need this guide: https://www.insanelymac.com/forum/topic/337333-guide-fix-insyde-h2o-bios-signature-5-beeps-on-lenovo (traduzido: pt-BR)
After replaced the wireless card. Download those Kexts and put in /EFI/CLOVER/kexts/Other/
- Download the AirportBrcmFixup.kext from here. I used the version 1.1.9.
- Download the BrcmFirmwareRepo.kext and BrcmPatchRAM2.kext from here. I used the version 2018-0505.
- Download the BT4LEContinuityFixup.kext from here. I used the version 1.1.2.
Now you can start the instalation without problem (I guess).
UEFI Setup Configuration and Installation
My BIOS is the latest: 1.93 (J4ET93WW)
- Shutdown and insert the flash drive.
- Power on with F1 pressed to enter BIOS setup.
- Change value: Config - Intel(R) AMT - Intel(R) AMT Control to DISABLED
- Change value: Security - Security Chip to DISABLED
- Change value: Security - Anti-Theft - Intel(R) AT Module Activation to DISABLED
- Change value: Security - Anti-Theft - Computrace to DISABLED
- Change value: Security - Secure Boot to DISABLED
- Change value: Startup - UEFI/Legacy Boot to BOTH, Legacy First and CSM Support = Yes
- Save & Exit Setup (F10)
- Now, hold the F12
- In the list, select your flash drive.
The installer will start.
Format destination disk
Format the disk with GUID partition mapping and name it "Macintosh".
- Select Disk Utility in the list, then press Continue.
- Click in View, then "Show All Devices".
- Select the destination Disk, then Erase.
- Name: HD, Format: APFS and Scheme: GUID Partition Map
Close Disk Utility.
Select "Install macOS", then Continue.
Follow instructions in screen.
After first part install the system will reboot. Maybe you have to press F12 again and select the flash drive.
The second part of the installation will begin. This will take 16 minutes.
When the second part of install finish, the system will reboot again.
After performing the user initial setup and go to the desktop, you need to install Clover on internal disk.
Open the Clover installer inside flash drive that you copied before.
Use same options above but choose the system partition this time.
Now you need to replace the config.plist inside your destination disk EFI parittion with config.plist inside flash card EFI partition.
The flash drive EFI partition is unmounted. Mount with terminal "sudo diskutil mount /dev/rdiskXs1". To know what X is, use "diskutil list", most likely is 1.
Copy all Kexts from flash drive to /Library/Extensions, with those commands in Terminal:
sudo cp -R /Volumes/EFI/EFI/CLOVER/kexts/Other/* /Library/Extensions/ sudo chmod -R 755 /Library/Extensions sudo chown -R root:wheel /Library/Extensions sudo kextcache -i / Restart the system.
System update 10.14.3
- Updated with success;
- Everything works perfectly after reboot;
System update 10.14.4
- Updated Clover to 4910.
- Updated Lilu.kext to 1.3.5 and WhateverGreen to 1.2.7.
- After first reboot the update progress stoped with:
GTrace synchronization point 4 Unsupported CPU Unsupported PCH hmm.. mismatch sizes: 3100 vs 20 It was still possible to start the previous installation, selecting "Macintosh" as opposed to "macOS Install" in Clover.
So I created a flash drive with Clover 4910 and put only my config.xml, SSDT-L440.aml, the updated Lilu.kext and WhateverGreen.kext. And I decided to test VirtualSMC instead of FakeSMC.kext.
With this I was able to install update 10.14.4. After installation I can boot normally, even with FakeSMC.kext that already in /Library/Extensions.
I do not know what exactly happened, but now works everything like was previously.
And last but not least
I would like to thank the following community members, by making these dream possible:
@crushers, @snatch, @apianti, @blackosx, @blusseau, @dmazar, @slice2009, @autumnrain, @phpdev32, @EMlyDinEsH, @RehabMan, @Scellow, @mitch_de, @Shailua, @Andy Vandijck, @maxfierke, @ArturXXX, @LexHimself, @brumas, @Shiki and all others members involved directly or indirectly.
Hi guys, I recently installed OS X 10.10 Yosemite on my PC, everything was fine in the installation, video card already configured and working perfectly, the sound also had no problems, but I just can not connect to the internet, no connection with ethernet etc ... I tested some kex but it did not work.
Core 2 Duo E8400 3.0 GHz
ATi HD 5450
Realtek ALC883 HD Audio
Atheros L2 Fast Ethernet
Network Screen Prints: