Contribute
Register

[Guide] Sierra 12.6 on Thinkpad T430 Almost Perfect!

Status
Not open for further replies.
Seems unlikely that UEFI vs. legacy first will make any difference at all...
(because you're still booting UEFI after all).



Must attach new PR files after making any corrections previously suggested.

I still have patched applehda kext and applealc kext in /S/L/E in order to audio to work in mojave so don't mind them. Tried them in /L/E... didn't work.
 

Attachments

  • debug_20084.zip
    10.5 MB · Views: 149
I still have patched applehda kext and applealc kext in /S/L/E in order to audio to work in mojave so don't mind them. Tried them in /L/E... didn't work.

example:
Code:
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fb2dc53d410 [0x7fff93d378d0]> { URL = "AppleALC.kext/ -- file:///Library/Extensions/", ID = "as.vit9696.AppleALC" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fb2dc027960 [0x7fff93d378d0]> { URL = "AppleALC.kext/ -- file:///System/Library/Extensions/", ID = "as.vit9696.AppleALC" }

no need for kexts in both places, remove from /S/L/E
 
example:
Code:
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fb2dc53d410 [0x7fff93d378d0]> { URL = "AppleALC.kext/ -- file:///Library/Extensions/", ID = "as.vit9696.AppleALC" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fb2dc027960 [0x7fff93d378d0]> { URL = "AppleALC.kext/ -- file:///System/Library/Extensions/", ID = "as.vit9696.AppleALC" }

no need for kexts in both places, remove from /S/L/E

Removed it from /S/L/E.
 

Attachments

  • debug_24029.zip
    10.5 MB · Views: 149
Removed it from /S/L/E.

Still nonsense with the kexts you installed. You have two kexts for same Ethernet device:

Kext with invalid signatured (-67062) allowed: <OSKext 0x7f9f8a80c810 [0x7fff97ce68d0]> { URL = "AppleIntelE1000e.kext/ -- file:///Library/Extensions/", ID = "com.insanelymac.driver.AppleIntelE1000e" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7f9f89febdd0 [0x7fff97ce68d0]> { URL = "IntelMausiEthernet.kext/ -- file:///Library/Extensions/", ID = "com.insanelymac.IntelMausiEthernet" }

Those two kext are mutually exclusive. Pick only one (IntelMausiEthernet.kext) preferred.

Also, IO80211Family.kext should not be patched. Run the macOS installer to restore to vanilla.

Your USB configuration is wrong.
See USB guides linked from the FAQ.
 
Last edited:
Still nonsense with the kexts you installed. You have two kexts for same Ethernet device:

Kext with invalid signatured (-67062) allowed: <OSKext 0x7f9f8a80c810 [0x7fff97ce68d0]> { URL = "AppleIntelE1000e.kext/ -- file:///Library/Extensions/", ID = "com.insanelymac.driver.AppleIntelE1000e" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7f9f89febdd0 [0x7fff97ce68d0]> { URL = "IntelMausiEthernet.kext/ -- file:///Library/Extensions/", ID = "com.insanelymac.IntelMausiEthernet" }

Those two kext are mutually exclusive. Pick only one (IntelMausiEthernet.kext) preferred.

Also, IO80211Family.kext should not be patched. Run the macOS installer to restore to vanilla.

Your USB configuration is wrong.
See USB guides linked from the FAQ.
Removed Appleintele1000.kext
 

Attachments

  • debug_310.zip
    10.6 MB · Views: 166
Removed Appleintele1000.kext

You didn't read:
Also, IO80211Family.kext should not be patched. Run the macOS installer to restore to vanilla.

Your USB configuration is wrong.
See USB guides linked from the FAQ.
 
Hai Thiago..
I try to follow your tutorial to rebranding wifi card. My card time is AR5B95..yes its AR9825. I try to dumb using ubuntu.
After I download folder iwleeprom, and edit file ath9kio.c using text editor default program from ubuntu then I save it. But I Cannot compile the iwleeprom. when I use command 'make', there are noting happen.
Then I try to proceed to the next command i.e.: sudo ./iwleeprom -o ./AR9285-original.eeprom, and the result is iwleeprom command not found.
How to compile and how to use command 'make'
what program you use to edit file ath9kio.c?
thanks for sharing.
 
Thanks @ThiagoSchetini !!! Working 100%!!!
When you use a dock station, the laptop does the poweroff perfectly even with an usb plugged in
 
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

All is working fine but how could I change the clover theme? I'm trying everything and I don't found the solution.
 
Need Help.
I try to patch my own DSDT. and after it, my computer performance become better (comparing with Geekbench4). But I cant patch my battery status. when I try to patch using x220 battery then compile, there are always error i.e.: Object does not exist (SBBM), Object does not exist (SBFC), Object does not exist (SBDC), etc..with total 15 error.
How to fix it?
thanks for sharing..
 

Attachments

  • DSDT before.dsl
    511.5 KB · Views: 207
  • DSDT After.dsl
    510.3 KB · Views: 186
Status
Not open for further replies.
Back
Top