Jump to content
tluck

[GUIDE] Lenovo T460 macOS with Clover

795 posts in this topic

Recommended Posts

Hi Blaggah, I have a question for you but first: hats off to you tluck, for setting all of this up and persisting to help all us mortals without even having the hardware available anymore!
 
So, the question, Blaggah: I also have a X1C4 and have everything working quite nicely but in terms of audio all I have is speakers and headphone working proper. Microphone does not work, neither internally nor externally. Can you please confirm that your statement 'audio is working' also covers the microphone? I have tried the EFI you posted and with that, on my machine, audio only works for output.
 
Apart from the audio, everything is very smooth. The X1 is a very nice machine; I triple boot it from the NVMe SSD (MacOS, Win10, Ubuntu). The looks on people's faces...

Yes I can confirm that my audio is fully working. Funny thing is, the mic didn’t work after I finished it. And it came to me as a surprise when I went to try and make FaceTime call. I really don’t remember what I did to make it work because the mic wasn’t doing anything. Oh I remember now, in order to make the mic work, you have to enable a Bluetooth device to it first, and then switch to the internal Mic and it should work. At least thats what worked for me. Try it and let me know. Good luck.


Sent from my iPhone using Tapatalk

Share this post


Link to post
Share on other sites
Advertisement

Thanks Blaggah, that does sound exactly like what I am experiencing. I don't think I have any BT microphone or headset in the house so I'll have to try and buy or borrow one some way. As I said, with the hack I pulled it is kind of working already but I'd prefer to use the mainstream AppleALC, of course.

Update: not all is well, with the hack I lose line in and out...

Edited by DrDude

Share this post


Link to post
Share on other sites
Thanks Blaggah, that does sound exactly like what I am experiencing. I don't think I have any BT microphone or headset in the house so I'll have to try and buy or borrow one some way. As I said, with the hack I pulled it is kind of working already but I'd prefer to use the mainstream AppleALC, of course.
Update: not all is well, with the hack I lose line in and out...

Did you use my dsdt as well? If you have the same same specs as mine, all should as mine does. Make sure to fix permissions and clear cache if you've made any experiments with some other kexts inside S/L/E.


Sent from my iPhone using Tapatalk
Thanks Blaggah, that does sound exactly like what I am experiencing. I don't think I have any BT microphone or headset in the house so I'll have to try and buy or borrow one some way. As I said, with the hack I pulled it is kind of working already but I'd prefer to use the mainstream AppleALC, of course.
Update: not all is well, with the hack I lose line in and out...

Did you use my dsdt as well? If you have the same same specs as mine, all should as mine does. Make sure to fix permissions and clear cache if you've made any experiments with some other kexts inside S/L/E.


Sent from my iPhone using Tapatalk

Share this post


Link to post
Share on other sites

Tried with my car kit, and yes, I can awaken the microphone by switching to a bluetooth mic and then switching back to the mike, but unfortunately that does not last through a reset cycle. The line in does not get activated that way. Anyway, the line in does not seem to autoswitch when I insert the plug anyway, while the headphones do, so perhaps it is supposed to be line in from a docking station or so.

 

The behaviour with the bluetooth suggests the microphone circuitry needs to be woken up in some way. I'll do some digging into this over the next period, learn a bit about codeccommander etc.

 

Blaggah: yes, I used your EFI including the DSDT (also, almost lost my working iMessage over that as I had just copied and was not attentive to replacing the SMBIOS). It works, but the audio is the same, and the trackpoint action becomes extremely jittery.

 

 

Share this post


Link to post
Share on other sites
Tried with my car kit, and yes, I can awaken the microphone by switching to a bluetooth mic and then switching back to the mike, but unfortunately that does not last through a reset cycle. The line in does not get activated that way. Anyway, the line in does not seem to autoswitch when I insert the plug anyway, while the headphones do, so perhaps it is supposed to be line in from a docking station or so.
 
The behaviour with the bluetooth suggests the microphone circuitry needs to be woken up in some way. I'll do some digging into this over the next period, learn a bit about codeccommander etc.
 
Blaggah: yes, I used your EFI including the DSDT (also, almost lost my working iMessage over that as I had just copied and was not attentive to replacing the SMBIOS). It works, but the audio is the same, and the trackpoint action becomes extremely jittery.
 
 

Ahhh I see. Well maybe mine could possibly be the same as I never did further testing passed to it working. I have multiple machines so I don’t use that x1 like that. I’ll do so testing later on today and see.


Sent from my iPhone using Tapatalk
Tried with my car kit, and yes, I can awaken the microphone by switching to a bluetooth mic and then switching back to the mike, but unfortunately that does not last through a reset cycle. The line in does not get activated that way. Anyway, the line in does not seem to autoswitch when I insert the plug anyway, while the headphones do, so perhaps it is supposed to be line in from a docking station or so.
 
The behaviour with the bluetooth suggests the microphone circuitry needs to be woken up in some way. I'll do some digging into this over the next period, learn a bit about codeccommander etc.
 
Blaggah: yes, I used your EFI including the DSDT (also, almost lost my working iMessage over that as I had just copied and was not attentive to replacing the SMBIOS). It works, but the audio is the same, and the trackpoint action becomes extremely jittery.
 
 

Ahhh I see. Well maybe mine could possibly be the same as I never did further testing passed to it working. I have multiple machines so I don’t use that x1 like that. I’ll do so testing later on today and see.


Sent from my iPhone using Tapatalk
Tried with my car kit, and yes, I can awaken the microphone by switching to a bluetooth mic and then switching back to the mike, but unfortunately that does not last through a reset cycle. The line in does not get activated that way. Anyway, the line in does not seem to autoswitch when I insert the plug anyway, while the headphones do, so perhaps it is supposed to be line in from a docking station or so.
 
The behaviour with the bluetooth suggests the microphone circuitry needs to be woken up in some way. I'll do some digging into this over the next period, learn a bit about codeccommander etc.
 
Blaggah: yes, I used your EFI including the DSDT (also, almost lost my working iMessage over that as I had just copied and was not attentive to replacing the SMBIOS). It works, but the audio is the same, and the trackpoint action becomes extremely jittery.
 
 

Ahhh I see. Well maybe mine could possibly be the same as I never did further testing passed to it working. I have multiple machines so I don’t use that x1 like that. I’ll do so testing later on today and see.


Sent from my iPhone using Tapatalk

Share this post


Link to post
Share on other sites

Updated my T460 (i5 6200U) with the latest release 2019.01.24. Everything is working well except for the battery percentage. It seems that the kext is not correctly loading.

CLOVER 2.zip

Share this post


Link to post
Share on other sites

Hi @tluck !! Thanks for your job!!

Im get install Mojave or High Sierra in my Lenovo Thinkpad E470. But the problem is keyboard, the types key ? and / not work ...

Are you could help me? My DSDT maybe is not correct (because im use many others files Fromm others forums) and im wish a great help to you!! 

If you could help me im. appreciate!!!

 

 

CLOVER.Max.1974-Lenovo.ThinkPad.E470.zip

Edited by max.1974

Share this post


Link to post
Share on other sites
9 hours ago, max.1974 said:

Hi @tluck !! Thanks for your job!!

Im get install Mojave or High Sierra in my Lenovo Thinkpad E470. But the problem is keyboard, the types key ? and / not work ...

Are you could help me? My DSDT maybe is not correct (because im use many others files Fromm others forums) and im wish a great help to you!! 

If you could help me im. appreciate!!!

 

 

CLOVER.Max.1974-Lenovo.ThinkPad.E470.zip

Have you tried to change the keyboard layout?

Share this post


Link to post
Share on other sites
7 minutes ago, carlinyos said:

Have you tried to change the keyboard layout?

 

Hi my friend!! Thanks for reply. Im try many layouts, but even on Windows, when reinstall it, need .bat files to get some keys working...im not know but its necessary put in DSDT, I guess.

Feel people have knowledge about it... any suggestion? Thanks !!!!

Share this post


Link to post
Share on other sites

Hello! I'm having some problems with keyboard configuration. Without your dsdt touchpad works perfect but buttons do not while trackpoint is not smooth at all. If I use your ssdt, trackpoint and buttons are ok but trackpad Is Jumpy at moderate Speed... While it is ok at slow speed . Is there any explanation on various settings I can use? Can I just copy default settings from trackpad and use them in your ssdt? Is possible to configure use of your conf without ssdt? Thanks !!!

Share this post


Link to post
Share on other sites

Hi @rochi im resolve parcial this issue, add a new layout keyboard English 105 keys (alt), so the keyboard recognize the key ? and /.

Just fine to me, but im need use my Brazilian keyboard first, so im use UK Keyboard only im need use this keys.

For install it, you need unzip files on Library/Keyboard Layouts and in System Preferences>Keyboard>Layout Keyboard> add + >other (last menu) and choice 105 (alt).

Im hope help you!!

:thumbsup_anim:   

LAYOUT TECLADO UK 105 MACOS.zip

Edited by max.1974

Share this post


Link to post
Share on other sites

I am using the v2019.1.24 release for my Lenovo T460 and everything is working. However, when I saw the kexts loaded, X86PlatformPlugin doesn't seem to be loaded but ACPI_SMC_PlatformPlugin. The laptop is otherwise running smooth. 

Is this the correct behavior or something is missing. I did generate and using my own DSDTs using the included DSDT.T460 package.

Share this post


Link to post
Share on other sites

Hi @tluck

 

Please see my above message. Yesterday the x86platformplugin was not loaded. However today when I checked, x86platformplugin is loaded.

 

Then when I checked the available SSDTs from MaciASL, I see that there were two entries for CpuSsdt. One is the OEM version and other one is from your DSDT.T460 package. See the screenshot below.

 

Could that be the reason for the random behavior for x86platformplugin. I see that DropOem=false in your config.plist. If this is the problem, how can I remove only this CpuSsdt? 

 

1543860505_ScreenShot2019-02-19at11_24_43PM.thumb.png.dd092c4a9b526220cd5ee761e6b0fc57.png

 

Nope. I'm confused. I see this in System Report which suggests that X86PlatformPlugin is not loaded. But then IORegistryViewer Shows X86PlatformPlugin properly attached to CPU0. What is correct?

 

1489053080_ScreenShot2019-02-19at11_37_46PM.thumb.png.d061476adaf2a29b3aaa44f358d1e604.png

Edited by nijhawank

Share this post


Link to post
Share on other sites

Reporting back on the CX20753 audio issues on X1 Carbon: I have speakers, headphones, and mic working now, using a patched AppleALC found in this post: link with layout id 22 (not present yet in the official release). Apparently the P40 Yoga has similar issues, so the fix for the P40 also fixes the X1C4. The one thing I could not test successfully is the line in mic. The patched AppleALC does remove the fixed 'line in' that I saw on other versions, and now it does auto switch from 'Internal Microphone' to 'Audio Line In' when I insert a headset, but upon that the headset's mic does not work.

 

Share this post


Link to post
Share on other sites
On 2/20/2019 at 9:51 AM, nijhawank said:

anybody ???

if you see plugin-type =1 and X86PlatformPlugin on CPU0 you should be ok

 

you should see something like this on the commandline

 

$ ioreg -l|grep plugin-type
    | | |   "plugin-type" = 1
    | | |   |   "IOParentMatch" = {"IOPropertyMatch"={"plugin-type"=1},"IOProviderClass"="IOACPIPlatformDevice"}

$ ioreg -l|grep CPUPSta
    | | |   |   "CPUPStates" = ({"Frequency"=3800,"PState"=0},{"Frequency"=3700,"PState"=1},{"Frequency"=3600,"PState"=2},{"Frequency"=3500,"PState"=3},{"Frequency"=3400,"PState"=4},{"Frequency"=3300,"PState"=5},{"Frequency"=3200,"PState"=6},{"Frequency"=3100,"PState"=7},{"Frequency"=3000,"PState"=8},{"Frequency"=2900,"PState"=9},{"Frequency"=2800,"PState"=10},{"Frequency"=2700,"PState"=11},{"Frequency"=2600,"PState"=12},{"Frequency"=2500,"PState"=13},{"Frequency"=2400,"PState"=14},{"Frequency"=2300,"PState"=15},{"Frequency"=2200,"PState"=16},{"Frequency"=2100,"PState"=17},{"Frequency"=2000,"PState"=18},{"Frequency"=1900,"PState"=19},{"Frequency"=1800,"PState"=20},{"Frequency"=1700,"PState"=21},{"Frequency"=1600,"PState"=22},{"Frequency"=1500,"PState"=23},{"Frequency"=1400,"PState"=24},{"Frequency"=1300,"PState"=25},{"Frequency"=1200,"PState"=26},{"Frequency"=1100,"PState"=27},{"Frequency"=1000,"PState"=28},{"Frequency"=900,"PState"=29},{"Frequency"=800,"PState"=30})

$ kextstat|grep -i x86
  110    1 0xffffff7f827d4000 0x17000    0x17000    com.apple.driver.X86PlatformPlugin (1.0.0) C8EB8538-6D03-3B0A-99E4-BEF44E1A97A7 <109 91 23 14 12 8 7 6 5 3 1>
  156    1 0xffffff7f827eb000 0x7000     0x7000     com.apple.driver.X86PlatformShim (1.0.0) B69E0EB3-0C17-3332-A4DB-B06FEAD4713E <110 109 14 8 5 3>

 

Share this post


Link to post
Share on other sites

dear @tluck,

 

Ive done a clean install from using the latest release, but several things aren't working (such as battery percentage). I've extracted my DSDT using clover (F4) and patched it with your tool.

CLOVER copy.zip

Edited by carlinyos
Message + attachment

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By ludufre
      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...
       

      Changelog:
       
      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
      - Add info about update 10.14.3. 
       
      01/22/2019 13:46h GMT-0
      - Add 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.
       
       
      Extras
       
      - 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.
       

      Todo
       
      - 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 and I have overheating issues)
      - Replace touchpad with T460 model (Ordered. It's on the way)
      - Sierra Gobi5000 4G LTE modem EM7355 (Ordered. It's on the way. I hope works. ) Done, but not work. Do not even recognize in LSPCI...
      - Upgrade to 16GB RAM Done
       
       
      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\ .app/Contents/Resources/createinstallmedia --volume /Volumes/Install --nointeraction This will take about 30 minutes.
       


      Install bootloader

      Download the RehabMan's CloverEFI fork (used 4701) 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 - AptioMemoryFix64


       
       
      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 5.3.2.0)
      - 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 FakeSMC.kext from here. I used the version 2018-0915.
      - 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.1.
      - Download the AppleALC.kext from here. I used the version 1.3.4.
      - Download the VoodooHDA from here. I used the version 2.9.1.
      - Download the WhateverGreen.kext from here. I used the version 1.2.6.
      - 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.
       
       
      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;
      8. Done.
       
      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).
       
       
      How install
       
      UEFI Setup Configuration and Installation

      UEFI configuration
       
      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 install

      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.
       

      Post installation

      Install bootloader
       
      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.
       
      Last step
       
      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.
       
       
      It's done!
       
       
      Updates
       
      System update 10.14.3
       
      - Updated with success;
      - Everything works perfectly after reboot;
       

       
       

       
      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.
       
       
       
       
       
       
      32MB_DRAM-prealloc_config.plist.zip
      128MB_DRAM-prealloc_config.plist.zip
      SSDT-L440.aml
      VoodooHDA.kext.zip
      AppleHDADisabler.kext.zip
    • By MaLd0n
      Now have a Olarila app, just download app and clover folder for your Chipset! https://olarila.com/forum/viewtopic.php?f=81&amp;t=6771   Install MacOS with Olarila Image, Step by Step, Install and Post Install
       
      https://olarila.com/forum/viewtopic.php?f=50&t=8685
          First... If you need DSDT edits for SkyLake, KabyLake or CoffeeLake... -Post your full Clover folder with original tables in Origin folder(Extract with F4 in Clover boot screen) -Post Ioreg, extract with Ioreg Explorer http://www.insanelymac.com/forum/index.php?app=core&module=attach&section=attach&attach_id=222606 -Run it, post files generated in your desktop http://www.insanelymac.com/forum/index.php?app=core&module=attach&section=attach&attach_id=222609  Installation   --Create a bootable copy of macOS Sierra Check out the link http://www.insanelymac.com/forum/files/file/559-flash-drive-maker/   --Create a bootable copy of macOS HighSierra Check out the link http://diskmakerx.com/   --Install Clover in USB stick https://sourceforge.net/projects/cloverefiboot/files/Installer/   --Replace with my Clover folder  CLOVER.zip   --Install Sierra/High Sierra and boot into system!   Post Installation   --Install Clover in HDD/SSD and replace with my folder CLOVER.zip   --Reboot and activate video!   -Nvidia WebDriver Sierra http://www.insanelymac.com/forum/topic/312525-nvidia-web-driver-updates-for-macos-sierra-update-07212017/ -Nvidia WebDriver High Sierra http://www.insanelymac.com/forum/topic/324195-nvidia-web-driver-updates-for-macos-high-sierra-update-10162017/ -Cuda http://www.insanelymac.com/forum/topic/302795-cuda-90214-is-out-update-10162017/   --DSDT My DSDT with Skylake patches DSDT.MaLd0n GA H110M-S2.zip Patches -FIX ERRORS AND WARNINGS -HPET -SATA -DMAC -SLPB -DARWIN -LPC -XHCI -PLUGIN TYPE -HDAS to HDEF -HDEF -RTC -IRQs -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -USBX -PMCR -EC -PNLF -HDMI --FakeSMC https://bitbucket.org/RehabMan/os-x-fakesmc-kozlek --Audio https://github.com/vit9696/AppleALC --USB https://bitbucket.org/RehabMan/os-x-usb-inject-all/downloads --LAN http://www.insanelymac.com/forum/topic/287161-new-driver-for-realtek-rtl8111/   -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!   Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Apple, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vit9696, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad and many, many, many others!   We're all here to have fun and learn from each other!   ENJOY!  
    • By MaLd0n
      Now have a Olarila app, just download app and clover folder for your Chipset! https://olarila.com/forum/viewtopic.php?f=81&amp;t=6771   Install MacOS with Olarila Image, Step by Step, Install and Post Install
       
      https://olarila.com/forum/viewtopic.php?f=50&t=8685
          --Create a bootable copy of macOS Sierra Check out the link http://www.insanelymac.com/forum/files/file/559-flash-drive-maker/   --Create a bootable copy of macOS HighSierra Check out the link http://diskmakerx.com/   --Install Clover in USB stick https://sourceforge.net/projects/cloverefiboot/files/Installer/   -Replace Folder CLOVER Install.zip   -Install Sierra/High Sierra and boot into system!   -Install Clover and replace with my folder  CLOVER Post Install.zip   -Reboot and activate video!   Bingo!   Now you need a fine tune! I prefer DSDT way, apply all patches in one file, many people prefer many SSDTs or Clover patches!   If you need DSDT edits for Skylake... -Post your full Clover folder with original tables in Origin folder(Extract with F4 in Clover boot screen) -Post Ioreg, extract with Ioreg Explorer IORegistryExplorer.app.zip -Run it, post files generate in your desktop RunMe.app.zip   -DSDT bios F21 My DSDT with patches for skylake DSDT.GA Z170M-D3H F21.zip   -Patches -FIX ERRORS AND WARNINGS -HPET -SATA -DMAC -SLPB -DARWIN -LPC -XHCI -PLUGIN TYPE -HDAS to HDEF -HDEF -RTC -IRQs -SBUS -MIKEY -BLC0 -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -USBX -PMCR -EC -PNLF -HDMI






       
      -FakeSMC http://www.hwsensors.com/releases -Audio https://github.com/vit9696/AppleALC -USB https://bitbucket.org/RehabMan/os-x-usb-inject-all/downloads -LAN https://github.com/Mieze/IntelMausiEthernet   Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!
    • By MaLd0n
      Now have a Olarila app, just download app and clover folder for your Chipset! https://olarila.com/forum/viewtopic.php?f=81&amp;t=6771   Install MacOS with Olarila Image, Step by Step, Install and Post Install
       
      https://olarila.com/forum/viewtopic.php?f=50&t=8685
        --Create a bootable copy of macOS Sierra Check out the link http://www.insanelymac.com/forum/files/file/559-flash-drive-maker/   --Create a bootable copy of macOS HighSierra Check out the link http://diskmakerx.com/   Installation   --Install Clover in USB stick https://sourceforge.net/projects/cloverefiboot/files/Installer/   --Replace with my Clover folder  CLOVER Install.zip   --Install Sierra/High Sierra and boot into system!   Post Installation   --Install Clover in HDD/SSD and replace with my folder CLOVER Post Install.zip   --Reboot   DSDT DSDT.MaLd0n.zip   Patches -FIX ERRORS AND WARNINGS -HPET -SATA -DMAC -SLPB -DARWIN -LPC -XHCI -PLUGIN TYPE -XXXX to HDEF -HDEF -RTC -IRQs -SBUS -BLC0 -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -USBX -PMCR -EC ----- -Disable GPU new patch and PNLF SSDT - Credits RehabMan


       
      SSDT    Generate your SSDT for PM, use ssdtPRGen by Piker-Alpha https://github.com/Piker-Alpha ssdtPRGen.command.zip   or just use "plugin-type"=0x01 in DSDT, SSDT or Clover config.plist   for check Power, Frequency, Temperature and Utilization, use it Install Intel Power Gadget.pkg.zip  
      -Audio
      https://github.com/vit9696/AppleALC
       
      -FakeSMC
      https://bitbucket.org/RehabMan/os-x-fakesmc-kozlek/downloads/   -Atheros Ethernet https://github.com/Mieze/AtherosE2200Ethernet   -IntelGraphicsFixup https://sourceforge.net/projects/intelgraphicsfixup/   -IntelGraphicsDVMTFixup https://github.com/BarbaraPalvin/IntelGraphicsDVMTFixup   -USBInjectAll https://bitbucket.org/RehabMan/os-x-usb-inject-all/downloads/   -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!   Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Apple, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vit9696, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad and many, many, many others!   Special Thanks to Pablo Galán   We're all here to have fun and learn from each other!   ENJOY!
    • By ludufre
      [GUIA] Correção de assinatura BIOS Insyde H2O
       
      Recentemente comprei um notebook Lenovo L440 pra instalar o macOS Mojave e fui substituir a placa wireless pela DW1560 porque a atual não é compatível. Descobri que existia uma whitelist de placas permitidas que as fabricantes estão adotando recentemente (no meu caso utiliza uma bios Phoenix Insyde BIOS H2O).
       
      Procurei em fórums de BIOS MODDING e encontrei pessoas que fizeram o patch pra mim. Só que após substituir a BIOS notei que o computador ficava apitando 5 vezes todas vez que ligava e fui me aprofundar no caso. E foi aí que descobri como resolver isso e por isso criei esse guia baseado nas informações que achei em alguns fóruns russos.
       
       
      Prefácio
       
      Quando a BIOS falha no teste te integridade, algumas funcionalidades Intel AMT param de funcionar e é emitido uma sequência de 5 apitos duas vezes no boot.
      Após modificar para remover whitelist (habilitar placas WI-FI não autorizadas), destravar MSR 0xe2 (hackintosh), habilitar menu avançado, etc. a BIOS não vai passar no teste de integridade causando esse problema.
      Essa verificação de integridade é feita através da assinatura RSA do bloco da BIOS chamado TCPABIOS (mais informações abaixo) com a chave pública no formato modulus 3 também armazenada na BIOS.
      Esse bloco TCPABIOS armazena os checksums de cada volume da BIOS.
       
      O que faremos é gerar novos checkums para esses volumes que foram modificados, gerar um para de chaves RSA (privada e pública), assinar esse bloco com a chave privada e substituir a chave pública.
       
       
      Ferramentas necessárias
       
      - EFITool NE alpha 54: https://github.com/LongSoft/UEFITool/releases
      - HxD 2.1.0: https://mh-nexus.de/en/hxd/
      - OpenSSL: http://gnuwin32.sourceforge.net/packages/openssl.htm (Download -> Binaries)
      - Microsoft File Checksum Integrity Verifier (FCIV.exe): https://www.microsoft.com/en-us/download/details.aspx?id=11533
       
      Passo a passo
       
      Vamos abrir a BIOS modificada, localizar o bloco TCPABIOS e entender sua anatomia.
       
      1. Abra a BIOS no HxD
       

      (Vamos utilizar nesse guia a BIOS modificada no fórum MyDigitalLife.com pelo usuário Serg008 para o notebook Lenovo B590)
       
      2. Busque a palavra TCPABIOS:
       


       
      3. O bloco começa com TCPABIOS e termina com antes de TCPACPUH
       

       
      4. Anatomia:
       
      54 43 50 41 42 49 4F 53 48 31 38 34 61 31 31 2F
      32 36 2F 31 33 49 42 4D 53 45 43 55 52 00 FD 27
      34 2A 35 AB 41 26 39 E3 32 E5 B6 8A D6 49 5B 0B
      77 F9 82 58 48 00 00 00 CE 18 1F 00 00 00 03 00
      00 00 00 00 00 00 27 00 00 00 00 00 00 00 00 00
      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      00 00 00 00 00 00 00 00 00 00 00 FF FF 83 04 D4
      52 52 95 C5 D7 21 55 78 0E 5C AD 47 EE C4 3D 1D
      C1 EC 69 03 2B 51 A5 42 61 96 22 F9 7B 88 57 B7
      A8 9D D0 20 DB 5B 11 10 55 07 84 6C 62 DF FA 2F
      6A A8 43 0C 8A 40 AF 79 0D 31 DB 5A 5D C8 2F EB
      F8 7C 87 B0 A6 3D 2A 88 AE 91 9D 88 E3 AA 85 E3
      5A B3 91 7F 28 68 1F BA 92 C4 7E 10 F5 1A 7E 75
      A9 6F CE C0 4F BA FA 79 A5 98 2B 50 60 BA 09 73
      7B 03 D1 0C 3E A2 9C 44 DF E9 F2 92 34 7B
       
      Cinza: Nome e informações do bloco
      Vermelho: Informações dos volumes (Checksum e Cabeçalho)
      Azul: Separação da lista de volumes para a assinatura do bloco
      Verde: Assinatura do bloco TCPABIOS são os últimos 128 bytes
       
      Lista de Volumes:
       
      Cada volume tem o formato: 00 FD 27 34 2A 35 AB 41 26 39 E3 32 E5 B6 8A D6 49 5B 0B 77 F9 82 58 48 00 00 00 CE 18 1F 00 00 00 03 00 00 00 00 00
                                                      (prefixo 3 bytes + checksum 20 bytes + offset 4 bytes + tamanho do volume 6 bytes + separador do fim 6 bytes)
       
      Os volumes são enumerados e utilizam o primeiro byte no prefixo para isso (00 FD 27), começando do 0.
      A BIOS utilizada nesse exemplo possui somente um volume, mas no caso de mais de um volume, seria: 00 FD 27 .., 01 FD 27 ..., 02 FD 27 ...
      - Checksum é o cálculo SHA1 do volume.
      - Offset é a posição do volume dentro da BIOS. Os bytes ficam invertidos, nesse caso seria 00 00 00 48 ou seja: 48h
      - Tamanho do volume também está com os bytes invertidos, então: 1F18CEh
       
      Então é isso. Precisamos corrigir essas informações (checksum, offset e tamanho)
       
      5. Para extrair os volumes abra a BIOS com o UEFITool e veja como identificar os volumes (nosso exemplo há somente um volume, se houvessem outros estariam também dentro de EfiFirmwareFileSystemGuid):
       

       
      Na BIOS original, circulado em vermelho podemos ver o nosso volume.
      Observe que em azul temos Offset e verde o tamanho. Exatamente como verificamos acima no HxD. Já na BIOS modificada vemos que está diferente o tamanho:
      Oridinal: 1F18CEh
      Modificada: 1F12D5h (vamos precisar disso mais tarde)
       
      6. Vamos extrair esse volume escolhendo a opção “Extract as is...”
       
       
       
      7. Utilize esse comando para obter o checkum desse volume: fciv.exe -sha1 File_Volume_image_FvMainCompact.ffs
       

       
      Agora temos o checksum que é 396e0dc987219b4369b1b9e010166302ce635202
       
      8. Substitua as informações no bloco TCPABIOS:
       

       
      Observe que o tamanho do volume precisa ter os bytes invertidos, então se o total são 6 bytes e é 1F12D5h, fica D5 12 1F 00 00 00 no lugar de CE 18 1F 00 00 00.
      Se o offset for diferente, também realizar o mesmo procedimento invertendo os bytes.
      Checksum alterar de 34 2A 35 AB 41 26 39 E3 32 E5 B6 8A D6 49 5B 0B 77 F9 82 58 para 39 6E 0D C9 87 21 9B 43 69 B1 B9 E0 10 16 63 02 CE 63 52 02
       
      Faça esse procedimento para cada volume na BIOS.
       
      9. Agora precisamos gerar o checksum de todo o bloco TCPABIOS mas sem considerar os últimos 131 bytes, ou seja desconsiderar de FF FF 83 + 80 bytes da assinatura anterior.
       
      Copie para um novo arquivo no HxD e salve como tcpabios
       

       
      Utilize o comando para gerar o checksum desse bloco: fciv.exe -sha1 tcpabios
       

       
      Checksum do bloco TCPABIOS: 0da6715509839a376b0a52e81fdf9683a8e70e52
       
      Crie um novo arquivo no HxD e adicione 108 bytes com 00 e cole o checksum no final e salve como tcpabios_sha, ficando assim:
       

       
      10. Agora vamos gerar a chave privada RSA com modulus 3: openssl genrsa -3 -out my_key.pem 1024
       

       
      Assinar o arquivo tcpabios_sha: openssl rsautl -inkey my_key.pem -sign -in tcpabios_hash -raw > tcpabios_sign
       

       
      Agora aproveite para gerar a chave publica: openssl rsa -in my_key.pem -outform der -pubout -out my_key_pub.der
       

       
      E gerar modulus 3 da chave pública: openssl rsa -pubin -inform der -in my_key_pub.der -text -noout
       

       
      Copie e cole a chave em um arquivo de texto para utilizar daqui a pouco. Remova todos os “:” e coloque tudo em uma única linha, ficando assim:
       

       
      11.   Abra o arquivo tcpabios_sign no HxD, copie o conteúdo e substitua a assinatura no final do bloco TCPABIOS:
       
       
       
      12. Agora vamos localizar na BIOS o local da chave pública e substituir. Essa chave começa com 12 04 e termina com 01 03 FF e fica após o bloco TCPABBLK.
       
      A chave fica assim: 12 04 + 81 bytes + 01 03 FF. Faça uma busca por 01 03 FF para localizar mais facilmente. Verifique se antes dos 81 bytes tem os bytes 12 04 para ter certeza que achou.
       

       

       
      Agora substitua pela chave pública que ficou anotado no arquivo de texto anteriormente, ficando assim:
       

       
       
      Salve e está pronto. Sua BIOS está assinada e pronta.
       
×