Contribute
Register

[Guide] Sierra 12.6 on Thinkpad T430 Almost Perfect!

Status
Not open for further replies.
Joined
Jun 18, 2017
Messages
10
Motherboard
MSI h97 G43
CPU
Xeon 1270v3
Graphics
GTX 680 Phantom
Mobile Phone
  1. Android
Vanilla MacOSX on T430, almost perfectly with Sierra 12.6!

Credits to Rehabman

complete code and files on github:
https://github.com/ThiagoSchetini/macosx-thinkpad-t430

* New: how to rebrand a dual band Atheros Wireless card!
https://github.com/ThiagoSchetini/AR9285-rebranding

WORKING =)
Intel Hyperthread (8 Threads, I'm using i7 3632QM, but you can use i5, there is patch for posted here!)
Intel TurboBoost (up to 3.2 Ghz)
Intel SpeedStep
CPU HW Monitor (temps, clock and power)
RAM DDR3 at 1600mhz
Intel HD4000 1536MB
Brightness (FULL Range + Fn Brightness Keys)
Display Port Out FullHD + Audio
Battery Status
WiFi + Bluetooth (using a rebranded Atheros Dual Band AR5BHB92)
Ethernet
Sleep (with both working sleep leds on/off)
Display turns on automatically on wake/instant wake
USB 3.0 Full Speed
Audio ALC269 (Everything works, even after sleep)
Webcam + Mic
Keyboard+ TouchPad

NOT WORKING ...
On Shutdown, need to remove USB otherwise system will restart
SSD Trim (disabled. not recommended for OEM SSD’s on MacOSX)
VGA output (apple doesn’t have support)
SD Card Reader

CREATING INSTALLER
-> With Unibeast select Sierra UEFI only without ATI/nVidia (look at tools folder)
-> After creation of USB Installer go to EFI/CLOVER/drivers64UEFI/
- Remove everything and put the 4 files this repository​
-> Put all the kexts from 10.12 (or about the version you are trying to make) on other
-> Remove all the kexts folders except other

INSTALL MAC OSX
-> You need a mouse and external keyboard pluged (only for the install process)
-> If stucks on boot disable inject intel graphics

SHOW HIDDEN FILES PLEASE!
-> after first boot, on Terminal:
defaults write com.apple.finder AppleShowAllFiles YES
killAll Finder


INSTALL CLOVER (Your EFI Boot)
-> Install “clover.pkg” (look inside tools folder)
Check Install for UEFI Booting Only
Check Install Clover in the ESP
Check Drivers 64 UEFI (IMPORTANT! only OsxAptioFix2Drv-64)

-> Now you can remove your Installer Pen Drive (you have boot)


EFI/CLOVER
-> config.plist: use the one from this repository
take from low-resolution-config.plist folder for 1366x768 display
take from high-resolution-config.plist folder for 1600x900 or + display

-> /drivers64UEFI
use the folder from this repository (with 4 files only!)

-> /kexts
Remove everything except other (leave it empty)


-> /ACPI/patched:
(OPTION 1 Hard One - Recommended) Make your own SSDT and DSDT:
-> First you need the vanilla .aml generated by your UEFI (BIOS)
Enter in the clover boot menu and press F4 and FN+F4
That’s all. It’s gonna be on EFI/CLOVER/ACPI/origin

-> Them disassembly correctly only the DSDT.aml and DSDT’s.aml (0, 1, 2 etc…)
please, don’t open directly on MacIASL!
use iasl on terminal (look at tools folder/iasl howTo.txt)

-> patch your DSDT.dsl with all the code from file “…-dsdt-patch.txt” using MacIASL
it includes only the necessary code to Thinkpad T430
* choose low resolution for 1366 x 762
* choose high resolution for 1600 x 900 or +

-> manually last patch for screen turn on after wake (Warning! It’s a manual change)
on your .dsl find for “Return (WAKI)”
On the last two method calls there is:
\_SB.PCI0.LPC.EC.LED(Zero, 0x80)
\_SB.PCI0.LPC.EC.LED(0x07, 0x00)
change for (carefull with identation, must be perfect):
\_SI._SST (One)
\_GPE._L1D ()

-> Save from MacIASL as binary (.aml) and paste on ACPI/patched inside clover UEFI

-> Generate your own SSDT (Power Management for your processor)
https://www.tonymacx86.com/threads/quick-guide-to-generate-a-ssdt-for-cpu-power-management.177456/

-> Put the SSDT.aml on the same folder of DSDT: ACPI/patched inside clover UEFI

(OPTION 2 Easy One - Not recommended) take my patched files .aml:
->take ONLY the .aml files from “pached ACPI dsl’s” folder
* choose only one SSDT.aml: “i5 3230M” or “i7 3632QM”
* if you have another processor make your own SSDT or leave it empty

-> Put the .aml files on the folder: ACPI/patched inside clover UEFI


KEXTS
-> Make a beckup of AppleBacklight.kext (Brightness)
Why? for future updates you need to reinstall the original and then reinstall the pached

** Warning!, the backlight kext inside kexts folder is patched for T430 brightness full range control

-> Now, install all the kexts from the folder using “Kext Utility.app” (look inside tools folder)


VOODOO EXTRA FILES (for Keyboard)
-> enter inside voodoo's' folder with the terminal
sudo cp org.rehabman.voodoo.driver.Daemon.plist /Library/LaunchDaemons
sudo cp VoodooPS2Daemon /usr/bin


NOW, RESTART AND GET AUDIO WORKING
-> after restart you need to flush the kexts:
sudo touch /System/Library/Extensions && sudo kextcache -u /
-> restart again to see the audio working!


NO AUDIO YET?
-> sudo touch /System/Library/Extensions && sudo kextcache -u /
-> Restart Again!
* If you have problems, try to disable the option No Cache on config.plist and restart again.


HWMONITOR
-> Put the HWMONITOR from tools folder on applications and open it, you should read power, clock, and temps of your CPU


NO HIBERNATE AT ALL
-> Disable Hibernation and related options
sudo pmset -a hibernatemode 0
sudo rm /var/vm/sleepimage
sudo mkdir /var/vm/sleepimage
sudo pmset -a standby 0
sudo pmset -a autopoweroff 0


ABOUT THIS DSDT CODE
-> basically I modified some original patches from Rehabman:
[modified] Lenovo X220
-> added T430 sleep leds
-> cleaned extra code

[modified] Brightness fix (HD3000/HD4000)
-> included FN brightness keys (T430 only)

[usb] USB3_PRW 0x0D (instant wake)
-> to have sleep working (original Rehabman code)

[audio] Audio Layout 28
-> to work with the ALC269 kext (original Rehabman code)

[sys] IRQ Fix
-> to enable audio (original Rehabman code)

[igpu] Low Resolution (or High)
-> to enable HDMI display port audio out

[manual] Code change on .dsl to turn on screen automatically on wake


COMPLETE KEXT FLUSH (recomended after remove a kext)
-> repair permissions:
sudo /usr/libexec/repair_packages --repair --standard-pkgs --volume /

-> rebuild kext cache
sudo rm -r /System/Library/Caches/com.apple.kext.caches
sudo touch /System/Library/Extensions
sudo kextcache -update-volume /

-> rebuild cache short form
sudo touch /System/Library/Extensions && sudo kextcache -u /


GENERATE VANILLA CONFIG.PLIST (if you need)
on /usr/local/bin/clover-genconfig >config.plist
execute and take the xml


HOW TO FLASH T430 BIOS (if you want to install an 1300AC WiFi …)
https://github.com/bibanon/Coreboot-ThinkPads/wiki/xx30-BIOS-Whitelist-Removal
 
Last edited:
Hi,SSD Trim need add Trim patch to EFI/Clover/config.plist/KernelToPatch.
<dict>
<key>Comment</key>
<string>Enable TRIM for non-Apple SSDs</string>
<key>Disabled</key>
<false/>
<key>Find</key>
<data>
AEFQUExFIFNTRAA=
</data>
<key>Name</key>
<string>com.apple.iokit.IOAHCIBlockStorage</string>
<key>Replace</key>
<data>
AAAAAAAAAAAAAAA=
</data>
</dict>
 
I don't recommend to use TRIM, even on apple original hardware, but with OEM SSD.
The think can broke a page when sending a command to remove ... If it happens, good by to your data or even your system.

Doing it manually:
Use the original OEM software (example: samsung magician) to do a real clean as a TRIM would do, but you have to prepare a HD with windows only to do that and times to times plug your SSD on a windows and make a clean (TRIM)

On apple world use TRIM only on an original Apple with original Apple SSD!
 
Will it work on a T440?
 
Will it work on a T440?
I don't have an yes or no awswer. But, you can follow the guide and generate your dsdt and ssdt. Maybe you gonna need to change the patch for the battery.
 
Sorry, but can someone either post or link to the patch for the i5 cpu please?

What "patch for the i5 cpu" are you referring to?
 
No. I patched the entire EPROM of a Atheros Ar5b195
 
Absolutely wonderful!!! Really appreciate the effort and sharing the guide. I first tried with your DSDT and as expected not everything worked (battery, sound etc) so I patched my own DSDT/SSDT and voila everything is fine now (with the exception of wifi)!!

Touchpad was fine but trackpad was almost impossible to use (too fast), so I ended up changing the MouseMultiplierX & Y to "2" in the kext as suggested by Rehabman in other posts.

Looking forward to High Sierra now...:clap:
__________________________________
Lenovo T430 CPU: i5-3570K Graphics: HD4000
 
Status
Not open for further replies.
Back
Top