Skip to content

momszx/Lenovo_T470_Opencore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Thinkpad T470 is a highly stable Hackintosh machine!

lenovo T470 github

OpenCore EFI for ThinkPad T470


Screenshot 2022-09-13 at 6 00 02 AM Screenshot 2022-09-13 at 5 55 21 AM Screenshot 2022-09-13 at 5 54 45 AM Screenshot 2022-09-13 at 5 54 37 AM

Disclaimer

  • Hackintoshing may be dangerous and can damage your device and I am not responsible for bricked devices, dead devices, thermonuclear war, or you getting fired because your system failed. Please do some research if you have any concerns about hackintoshing before you proceed. YOU are choosing to make these changes to your system, and if you point the finger at me for messing up your device, I will laugh at you.

MacOS versions

  • Mojave
  • Catalina
  • Bigsur
  • Monterey
  • Ventura

What's working?

  • CPU Undervolting
  • Dual Battery (X220 Battery patch)
  • All function keys working with yoga SMC
  • Graphics HD 620 with acceleration (Metal 3 Supported) - [VRAM = 4096MB]
  • Fan control (Fan stops at low temp below 60 and starts working above 55 automatically, not to worry)
  • Touchscreen (VoodooI2C) - disabled it because it works like a f**king gaint touchpad!
  • Power management (CPU friend data)
  • Wifi (BCM94360NG)
  • Bluetooth (BCM94360NG)
  • USB C (only HDMI but no data transfer / Charging only)
  • HDMI (No issues)
  • Apple HD Audio (ALC id=29 but not 47, because 47 gives unwanted buzzing noise when 3.5mm jack connected)
  • Sleep (works perfect!)
  • wake works (no issues with resuming services like BT and wifi etc)
  • SD Card slot
  • Handoff and Continuity all features work as BCM94360ng has native support for macOS

What's not working?

  • USB C data transfer
  • Fingerprint reader (Will not work)

Battery and power management performance and more perks!

  • Disable hibernation, since it doesn't work properly on hackintoshes
sudo pmset autopoweroff 0
sudo pmset powernap 0
sudo pmset standby 0
sudo pmset proximitywake 0
sudo pmset tcpkeepalive 0
  • Use itlwm/Airportitlwm for wifi and bluetooth firmware & injector kexts if you are on an intel wifi card, no kexts needed for bcm94360ng. //Note: for Monterey and above use bluetool fixup instead of bluetooth injector kext.//
  • Temperature management is decent and backup depends on how you use and on what task the system is running
  • Battery performance is same as windows
  • Sleep works fine with approx 8% for 6 Hrs loss (Which is neglegible)
  • Enable HiDpi by using this beautiful tool at "https://github.com/xzhih/one-key-hidpi", Set 2048x1152x32 [16:9] as best screen resolution using RDM(Retina Display Menu) from here -> "https://github.com/avibrazil/RDM".
  • If you are using FakeSMC fan rpm shows up natively, if you are using VirtualSMC then use YogaSMC.kext for fan rpm.
  • unifiedmem values for vram
00000040 = 1024MB
00000060 = 1536MB
00000080 = 2048MB
000000A0 = 2560MB
000000C0 = 3072MB
000000E0 = 3584MB
FFFFFFFF = 4096MB

Undervolting the hackintoshed T470:

Screenshot 2022-11-20 at 4 55 01 PM

  • T470 is powerful and efficent but very hungry machine and makes noise too.. so its important to calm down him so he can be cool enough.. which is where we need to undervolt the machine. Undervolting is safe than overclocking just that if you undervolt too much and your machine hangs up so know the limits and know where to hold him live!
  • Go to recovery and open terminal, now follow the below instructions..
  • type now :
sudo csrutil enable --without kext

Now, reboot to your desktop and download voltage shift from "https://github.com/sicreative/VoltageShift/blob/master/voltageshift_1.25.zip" and extract the contents to your Documents folder, also move the VoltageShift.kext to your EFI/OC/Kexts and update your info.plist and use proper tree to take a snapshot too.

  • Now open a terminal at this folder and run
sudo ./voltageshift info
  • This should look like this if your overclocking unlock was successful:
CPU voltage offset: 0mv
GPU voltage offset: 0mv
CPU Cache voltage offset: 0mv
OC mailbox cmd failed
System Agency offset: 0mv
Analogy I/O: 0mv
OC mailbox cmd failed
Digital I/O: 0mv
CPU BaseFreq: 1200, CPU MaxFreq(1/2/4): 3400/3400/3400 (mhz) 
CPU Freq: 1.4ghz, Voltage: 0.6499v, Power:pkg 2.29w /core 0.22w,Temp: 53 c
  • Now you can run (Values that match to your machine)
./voltageshift offset -60 -50 -60
  • -60 offsets cpu voltage by -60mv, then -50 the gpu voltage and -60 again offsets the cpu cache voltage
  • Test a range of values for all. For me, -155 -80 -155 caused a crash so I stayed at -130 -75 -130 which was stable.
  • Once you have found a stable set of values run the following which will save the changes and rerun then on reboots when they would otherwise be disabled:
sudo ./voltageshift buildlaunchd  -130 -75 -130 0 0 0 0 0 1 10 12 1 160
  • Here the values 10 and 12 are your PL1 and PL2s, since my CPU's TDP is 12w, I set the PL1 to 10W and PL2 to 12W. The 160 simply reruns the command every 160min since Hibernation resets your undervolts.
  • The remaining values do this:
sudo ./voltageshift buildlaunchd <CPU> <GPU> <CPUCache> <SA> <AI/O> <DI/O> <turbo> <pl1> <pl2> <remain> <UpdateMins (0 only apply at bootup)>
  • Now the T470 never heats up and the fan is on 0rpm most of the time even when 3-4 applications are running simultaneously and the temprature wouldnt exceed 46°C on normal browsing + Music + Mail + Messages tasks. The Fan would automatically start when the temperature rises above 55°C and drops down to normal again after closing the high CPU usage task which is completely normal

Donate


If you enjoyed this project — or just feeling generous, consider buying me a beer. Cheers! 🍻

My sincere thanks to**

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages