- Sep 27, 2020
- Hd 4000
I hv formated my hp240g2 notebook intel i3 3110M hd graphics 4000 6times but unable to fix my graphics..... After every fresh reset frst i used to install clover configurator then i used to mount my efi where my macos mojave is installed (not the pendrive one) then i used to configure config.plist by injecting intel with igplatformid-0x1660003 with nothing in fake id intlgfx still i m unable to get my graphics plz help me fixibg this issue.[GUIDE] Booting the OS X installer on LAPTOPS with Clover UEFI
Using the OS X Installer
Now you have your USB installer, so now you need to use it on the target computer.
Note: It is possible to install when Windows is already installed (UEFI). But it can still be tricky due to the fact that OS X is not well behaved with disks partitioned by other than OS X Disk Utility. See this thread for more information if you plan that route: http://www.tonymacx86.com/multi-booting/133940-mavericks-windows-8-same-drive-without-erasing.html
When using Clover, the process of installing OS X is very similar to installing on an actual Mac. This part of the guide will cover the installation process itself.
1. Plug the flashdrive to one of the USB ports. Boot your computer to that USB device. The mechanism varies here, with most computers using one of the F1..F12 keys, Esc key, or (newer computers) have a dedicated power button for boot device selection, BIOS settings, etc. Refer to your user manual if necessary.
2. Clover bootloader screen shows up, select "install_osx". This is the partition on the USB you created earlier. Note: You can press spacebar at this point to change how Clover boots OS X (verbose, without caches, etc). Verbose is a good idea when you're not certain if it is going to work.
3. Press spacebar (or plug in a USB keyboard) if a nagging screen about Mouse/keyboard appears. Install screen will appear, use Disk Utility to partition your drive as GPT, create a Mac OS X Extended (Journaled) partition and install OS X to your formatted partition. If you used the "Unibeast method" or "BaseBinaries clone method", skip to step 7. If you used the 'createinstall media' method, please continue, the installer will extract necessary files to and verify them against the USB. This takes a lot of time at the end, though you only see "a minute remaining". This will end PHASE 1.
4. Restart and again boot to your USB as you did in step 1.
5. Clover bootloader screen shows up. For versions prior to 10.12, select "install_osx" as you did in step #2 (your OS X Installer partition, not your install target partition). Note that macOS Sierra is a bit different in that you will see an "Boot macOS Install from ..." entry in Clover on your target partition at this stage. For 10.12, boot that entry instead of install_osx on the USB.
Note: For High Sierra 10.13 (or later), you may wish to avoid conversion to APFS. Read here for details: https://www.tonymacx86.com/threads/...n-high-sierra-update-or-fresh-install.232855/
6. Install screen will appear and continue installation. This time, installer will install files to your target partition and create Recovery HD partition. This will end PHASE 2.
7. Restart and again boot to your USB as you did in step 1 and step 4.
8. Clover bootloader screen shows up, select "Boot OS X from YourPartition". "YourPartition" will be named depending on what you chose in Disk Utility in step 3.
9. If everything goes well, you will finish up the installation process and arrive at the OS X desktop.
A note regarding High Sierra and dual-GPU laptops (Nvidia Optimus)
Keep in mind that you will probably need to keep the Nvidia drivers from loading.
Read here for details:
10. At this point, you are ready for "Post Installation", you first step should be to install the Clover bootloader to your HDD. Installing Clover to your HDD is very similar to installing to the USB installer. See post #1 for details.
11. After installing the bootloader, you should take an inventory of things working and not working. Typically, at this point you will have:
- working bootloader via Clover (system should boot relatively quickly from the HDD)
- graphics QE/CI working via Clover's config.plist settings
- PS2 keyboard/trackpad (although perhaps not optimal if you don't have a Synaptics trackpad)
- audio not working
- ethernet not working
- WiFi not working
- brightness controls not working
- certain function keys may not work
- battery status not working
For each problem there may be a combination of DSDT/SSDT patches required or kexts you need to seek out and install. DPCIManager should be used to get an inventory of the various hardware devices you need drivers/fixes for. Google/search is useful for various issues as are the stickies at the top of this forum. Search within the forum for solutions that may be posted for different laptops but with the same hardware you have. You will be surprised how similar many laptops are.
And guides for specific laptops can offer clues about how to finalize the installation.
Note: The instructions here borrow a bit from nguyenmac's ProBook guide, which is also a useful source of information (but much of it ProBook specific, so filter accordingly): http://www.tonymacx86.com/hp-proboo...-install-yosemite-hp-laptops-clover-uefi.html
HD4200/HD4600/HD4400 mobile: By using the config.plist for HD4600, you'll have CI, but not QE. HD4400 has QE/CI but there will be other problems in the system (Preview/Safari/etc). You will need to install the two kexts (FakePCIID.kext, FakePCIID_HD4600_HD4400.kext) linked here:
The FAQ covers many typical issues/problems: http://www.tonymacx86.com/yosemite-...faq-read-first-laptop-frequent-questions.html
You should install all kexts you need (including FakeSMC, VoodooPS2Controller, etc) to /Library/Extensions (/L/E) or /System/Library/Extensions (/S/L/E) for 10.10.x and prior using a kext installer or Terminal. Think carefully about "kexts you need". For example, if you needed HPRAIDInjector.kext for a SATA chip locked in RAID mode, you'll need to install it in order to boot (without it, the system would be unable to mount root and would get stuck early in the boot process).
Of course, essential kexts should be installed to EFI/Clover/kexts/Other as they are needed to boot the installer (during updates) or the recovery partition.
It is a mistake to install everything to Clover/kexts. Contrary to popular hackintosh myth, it does not result in a cleaner install (the opposite is true). Many kexts will not work from Clover/kexts, so installing them to /S/L/E where they can be included in kernel cache is the best approach.
People often ask me why I install kexts to /S/L/E (or /L/E on 10.11).
I have many reasons:
- placing them in /S/L/E (or /L/E on 10.11+) and including in kernel cache, makes kextcache do a lot of error checking.
- if you develop kexts, error checking is very important!
- some kexts don't work from Clover/kexts (AppleHDA injector, CodecCommander, BrcmFirmware*)
- the idea behind Clover/kexts is to have a set of *stable* and *minimalistic* kexts that will allow booting of the installer/recovery, not full functionality
- so...the kexts there I tend to not update as often and the full set is not there (less unneeded kexts, less problems)
- placing kexts into kernel cache for day-to-day use is "more native" (as it would be on a real Mac) vs. injection (which is very non-Mac)
IMO, placing kexts in Clover/kexts for injection when not needed is like "flying blind." I don't know about you, but I would not board a plane with a blind pilot (no offense to the blind).
You might be wondering if this will result in duplicate kexts being loaded due to the kexts in EFI/Clover/kexts being injected when they are also installed to the system volume. The answer is no, not generally. With config.plist/SystemParameters/InjectKexts="Detect", kexts in EFI/Clover/kexts are not injected when FakeSMC.kext is in kernel cache. Because FakeSMC.kext is always a "kext you need", you will always install it to the system volume, which will put it in kernel cache. Kernel cache, of course, will not have FakeSMC.kext when booting the installer or recovery, so in these cases the kexts in EFI/Clover/kexts *will* be injected as you would expect.
Eventually, you'll want to make changes to the config.plist, kexts, or other Clover configuration items on the EFI partition. To access the EFI partition, you must mount it manually. Unlike other volumes, it is not mounted automatically.
I wrote a script that I use from Terminal called mount_efi.sh.
You can install/use it as follows...
Download and install mount_efi.sh:
# download it curl -L --output /tmp/mount_efi.sh https://github.com/RehabMan/hack-tools/raw/master/mount_efi.sh # copy to /usr/bin sudo cp /tmp/mount_efi.sh /usr/bin # allow execute permissions sudo chmod +x /usr/bin/mount_efi.sh
To use it in Terminal:
Note that in a single disk system with a typical EFI partition labeled 'EFI', you can mount/unmount EFI quite simply with 'diskutil' in Terminal.
To mount EFI:
sudo diskutil mount EFI
diskutil unmount EFI
Looking at your config.plist, you will notice an entry in KernelAndKextPatches/ForceKextsToLoad for IONetworkingFamily.kext. This is intended only for installation scenarios and should probably be removed for post-install.
Disabled patches in the config.plist files
There are a number of useful patches in the provided config.plist files. These patches are disabled as some of them are system specific, or specific to a particular version of OS X. You will probably find guides that will mention the same patches.
Instead of entering the patches manually, you can simply enable the patches already in the config.plist. Patches to kexts are based on patching a kext by name. I have modified the name so it does not match by prefixing the name with 'disabled:'. Simply remove the 'disabled:' to match against the real kext and enable the patch. For example, patches for the boot glitch fix against 'IOGraphicsFamily' are default disabled with 'disabled:IOGraphicsFamily'. Change 'disabled:IOGraphicsFamily' to 'IOGraphicsFamily' to enable the patch.
Note: The current plists do not use a modified name, but instead use a new feature in Clover where for each entry, Disabled=true will disable the patch. Change Disabled=false to enable the patch.
There are also some common patches, not specific to graphics architecture, in config_patches.plist. You can use copy/paste to copy these patches, if needed, into your own config.plist.
More information on KextsToPatch at the Clover wiki.
Please read the comment in each patch to know more about its purpose.
Always use a plist editor (such as Xcode or PlistEdit Pro) when making changes to config.plist.
Dual boot Windows UEFI
Dual booting Windows is easy with UEFI (no more boot records!), but there are some caveats.
To dual boot Windows in UEFI mode:
- leave "free space" or use an HFS+J "placeholder" partition on your HDD to install Windows
- DO NOT create any Windows partitions in Disk Utility (doing so will create an MBR/GPT hybrid, which Windows will see as MBR and Windows UEFI requires GPT)
- run the Windows installer in UEFI mode (make sure you boot with the UEFI entry corresponding to the Windows installer USB/DVD)
After installing Windows, you may lose Clover. This is because Windows has set itself as the active UEFI bootloader (a UEFI BIOS setting, often hidden).
To recover Clover, easy way:
- on the EFI partition: rename EFI/Microsoft/Boot/bootmgfw.efi to bootmgfw-orig.efi
After a Windows update, Windows may re-create bootmgfw.efi with updated code. To fix after a Windows update:
- on the EFI partition, remove EFI/Microsoft/Boot/bootmgfw-orig.efi
- rename EFI/Microsoft/Boot/bootmgfw.efi to bootmgfw-orig.efi
You can also use 'efibootmgr' in Linux to add a Clover entry and fix the boot order.
(Linux is free. Ubuntu can be run directly from a USB without installing)
Note: I used Ubuntu. Some have reported problems with efibootmgr in other Linux distros.
# add Clover entry sudo efibootmgr -c -L "Clover UEFI" -l "\EFI\CLOVER\CLOVERX64.EFI"
Most of the time, the new entry will be added to the BootOrder first. But if not, you can change it.
Change the argument to -o based on output from efibootmgr (assumes "Clover UEFI" entry was added as Boot0004):
# change order (if needed) sudo efibootmgr -o 4
The advantage of using 'efibootmgr' is that you won't need to rename bootmgfw.efi and Clover won't be lost as a result of Windows updates.
Some laptops have a way to set the UEFI boot entry (or entries) directly in BIOS. Keep in mind that UEFI uses backslash as directory separators, not forward slash.
Windows time vs. OS X time
Windows expects the real time clock to be set to local time. OS X expects UTC. You can change Windows to use UTC by editing RealTimeIsUniversal in the Windows registry.
Find My Mac/Locking
Find My Mac does not work properly. DO NOT lock your hack because it's difficult (or impossible) to unlock again.
If you ignore this advice and lock your hack anyway, this thread may help you: http://www.tonymacx86.com/hp-proboo...40s-asking-6-digit-system-pin.html#post940602