Jump to content

HackBook Lenovo IdeaPad S145 8th Gen CoofeeLake / Mojave / Catalina / Big Sur Full DSDT Patches


MaLd0n
 Share

42 posts in this topic

Recommended Posts

-Donations with PayPal
https://tinyurl.com/r2bvzm7

 

 

--Original Topic--

https://www.olarila.com/topic/6874-olarila-hackbook-lenovo-ideapad-s145-mojave-catalina-full-dsdt-patches/

 

Qxp8Pqu.jpg

 

-Perfect HackBook, HDMI Audio/Video, Bluetooth, AirPlay, Sleep, Lid Sleep, Auto Sleep, Audio, etc! :crazy:

-Wifi card has been replaced with Dell DW1560!

-I'm using a S145-15IWL Model with Intel Core i5 8265u / Intel UHD Graphics 620

-Update bios/uefi to last version ;)

 

--Installation--

https://www.olarila.com/topic/5794-guide-install-macos-with-olarila-image-step-by-step-install-and-post-install-windows-or-mac/

 

--Clover Folder--

https://tinyurl.com/rkqmpd9

 

--OpenCore Folder--

https://tinyurl.com/y75hqg7z

 

Bluetooth Broadcom

Bluetooth Broadcom.zip

 

CPUFriend for i5-8265U

CPUFriend i5-8265U.zip

 

--Full DSDT Patches--

-My DSDT

DSDT Lenovo IdeaPad S145.zip

 

This DSDT work on S145-14IWL, S145-15IWL, V14-IWL, V15-IWL models

-Patches

-FIX ERRORS AND WARNINGS
-REMOVE UNUSED SCOPES / DEVICES
-HIGH PRECISION EVENT TIMER
-SATA SERIE 11 ID
-DMAC
-REMOVE LINES, PROBLEMATIC and UNUSED
-SLPB
-DARWIN / WINDOWS 2015
-XHCI
-PLUGIN TYPE
-HDAS to HDEF
-HDEF
-REAL TIME CLOCK
-ARTC
-IRQs
-SBUS
-BUS1
-MCHC
-ALS0
-SHUTDOWN
-FWHD
-USBX
-PMCR
-PPMC
-XSPI
-GMM
-IMEI
-EC
-PRWs
-_DSMs
-PNLF
-BRIGHTNESS KEYS
-I2C
-NATIVE USB
-ARPT
-GFX0
-DTGP
-kUSBCompanionIndex
-io-device-location
-FULL RENAMED DEVICES
 

--IGPU Patch--

Video solution with HDMI Audio and Video

<key>PciRoot(0x0)/Pci(0x2,0x0)</key>
			<dict>
				<key>AAPL,GfxYTile</key>
				<data>
				AQAAAA==
				</data>
				<key>AAPL,ig-platform-id</key>
				<data>
				CQClPg==
				</data>
				<key>device-id</key>
				<data>
				pT4AAA==
				</data>
				<key>enable-hdmi20</key>
				<data>
				AQAAAA==
				</data>
				<key>framebuffer-con0-alldata</key>
				<data>
				AAAIAAIAAACYAAAA
				</data>
				<key>framebuffer-con0-enable</key>
				<integer>1</integer>
				<key>framebuffer-con1-alldata</key>
				<data>
				AQEJAAAIAADHAQAA
				</data>
				<key>framebuffer-con1-enable</key>
				<integer>1</integer>
				<key>framebuffer-con2-alldata</key>
				<data>
				AgYKAAAEAADHAQAA
				</data>
				<key>framebuffer-con2-enable</key>
				<integer>1</integer>
				<key>framebuffer-fbmem</key>
				<data>
				AACQAA==
				</data>
				<key>framebuffer-patch-enable</key>
				<data>
				AQAAAA==
				</data>
				<key>framebuffer-stolenmem</key>
				<data>
				AAAwAQ==
				</data>
				<key>framebuffer-unifiedmem</key>
				<data>
				AAAAgA==
				</data>
				<key>hda-gfx</key>
				<string>onboard-1</string>
				<key>model</key>
				<string>Intel Corporation, Iris Plus Graphics 655</string>
			</dict>
 

--Native USB Fix for Notebooks - No Injector/Kext Required--

https://www.olarila.com/topic/6878-guide-native-usb-fix-for-notebooks-no-injectorkext-required/

https://www.olarila.com/topic/6181-guide-native-usb-fix-for-desktops-no-injectorkext-required-skylake/

 

 

-ScreenShots

duQHYHP.png

0PsFcrE.png

st5hGiV.png

NKLBBPi.png

BVnTMiB.png

E6QsPxr.png

Y3UZ9yp.png

Q5A1R1D.png

MOkiJys.png

VXdTojR.png

QCuJghQ.png

xu8m87u.png

SilmKW4.png

sf1geLh.png

idvSFVY.png

Y23VTDv.png

sLTqJ3L.png

y1GQUIw.png

WvxCBRz.png

5WDOjgQ.png

O96FQKO.png

pDRHS7r.png

4698HlV.png

KDeUJJk.png

wOi4nAm.png

hVps3M3.png

HvMyeZV.png

BOSsDoE.png

WrRm7YI.png

LJjwLBo.png

8zUODC0.png

CACo8my.png

cWqLq6F.png

-Links

 

 

Clover https://github.com/CloverHackyColor/CloverBootloader

AirportBrcmFixup.kext https://github.com/acidanthera/AirportBrcmFixup

AppleALC.kext https://github.com/acidanthera/AppleALC

Brcm Bluetooth https://github.com/acidanthera/BrcmPatchRAM

Lilu.kext https://github.com/acidanthera/Lilu

SystemProfilerMemoryFixup.kext https://github.com/Goldfish64/SystemProfilerMemoryFixup

VirtualSMC.kext https://github.com/acidanthera/VirtualSMC

VoodooI2C.kext https://github.com/alexandred/VoodooI2C

VoodooPS2Controller.kext https://github.com/acidanthera/VoodooPS2

WhateverGreen.kext https://github.com/acidanthera/WhateverGreen

MaciASL - https://github.com/acidanthera/MaciASL

acpica - https://github.com/acpica/acpica

AptioMemoryFix.efi https://github.com/acidanthera/AptioFixPkg

ApfsDriverLoader.efi https://github.com/acidanthera/AppleSupportPkg

HFSPlus.efi https://github.com/JrCs/CloverGrowerPro/blob/master/Files/HFSPlus/X64/HFSPlus.efi?raw=true

Hackintool https://github.com/headkaze/Hackintool

 

-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, Sampath007, onemanosx, erroruser, Jenny David, Olarila Facebook Community, Hackintosh Facebook Community and many others!

 

We're all here to have fun and learn from each other!

  • Like 3
  • Thanks 2
Link to comment
Share on other sites

  • 1 month later...
  • 4 weeks later...

Hello @MaLd0n thanks for posting your Hack, please have there been any new changes with 10.15.4? Or a new BIOS?

I am looking around to get one but in QWERTY that is hard here, so wanted to make sure that the Hack is still good to go!

A lot of people complained that it's slow (on eBay or Amazon, not sure) so not sure if they refer to Ryzen or Core i3 version...

 

(I guess I will see you over at olarila.com when time comes and I get it, as attachment files belong there)

Edited by MacKonsti
Link to comment
Share on other sites

Hi @MaLd0n unfortunately I missed the chance to buy the model you posted here, the only model I can find with Core i5-8265U is the Lenovo S145-15IWL

The only difference I can spot is the 15-inch screen that supports 1920x1080 compared to the 14-inch screen, if I am not mistaken.

So the video will still work as expected yes? (via WhateverGreen of course) as it the same has Intel UHD 620 graphics inside...

Does it make sense to get the i7-8565U variant you think? In CPU benchmarks, performance is approx 10-12% more, I am surprised...

 

P.S. Some images in your original post cannot be displayed anymore... Thanks

P.S. I see that the IdeaPad S145 got upgraded to i5-1035G4 so is it safe to assume that due to next CPU generation, your patches will not work? The model is S145-15IIL

Edited by MacKonsti
Link to comment
Share on other sites

Hi @MaLd0n I finally managed to order the Ideapad S145-14IWL but with wrong keyboard locale, unfortunately I had no choice...

Do you know perhaps a good article/method/video to swap keyboard keys and make AZERTY to QWERTY?

More importantly can you provide more info on the Dell DW1560 you purchased? What chipset is inside, manufacturer ID etc.? (dare I ask for shop like eBay or Ali?)

Is it easy to install at the bottom of laptop, I assume? Please PM me if you prefer. Obrigada

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...
6 hours ago, Slad Wild said:

Tudo saiu perfeito, menos o HDMI não dá sinal de vida! Pode ajudar?

use whatevergreen versão 1.3.7, vou atualizar o patch amanhã pra pode usar a 1.3.9+

  • Thanks 1
Link to comment
Share on other sites

@MaLd0n sry for asking noob questions, but I want to be sure before I buy this laptop. Can you please confirm if this model is compatible with your folder and DSDT? Thanks a lot in advance. If it is, I will buy right away.

 

https://www.amazon.in/Lenovo-IdeaPad-15-6-inch-Textured-81MV0166IN/dp/B07X91TR63/ref=sr_1_4?dchild=1&keywords=s145+dos&qid=1589786458&sr=8-4

 

 

EDIT: Also, if possible, can you tell me how is battery life on macOS? I will use for travelling, so need decent battery. Thanks again, and sry for disturbing with noob questions.

Edited by ErrorNoUser
Link to comment
Share on other sites

Hi @MaLd0n I received just before the weekend the S145-14iWL model and I must admin I am not happy, because each time I go into the BIOS to change so I can boot from USB stick (with your EFI package, thanks!) the computer just restarts after few seconds. I can assume this is a bug in the BIOS as I have ASCN33WW and not sure if you ever had this problem... the moment I enter BIOS even doing nothing, it restarts. But during the (default) Windows use (on SSD) it's normal and stable.

 

According to https://support.lenovo.com/fr/en/downloads/ds506465 the BIOS today is ASCN44WW. I will try updating this tonight before returning the laptop...

 

Please, two questions a) your EFI and OC packages, are they based on the latest DSDT extracted from latest BIOS?

b) What are the absolutely necessary BIOS settings to disable except "Secure Boot"?

 

Thank you, obrigado

Link to comment
Share on other sites

16 hours ago, ErrorNoUser said:

@MaLd0n sry for asking noob questions, but I want to be sure before I buy this laptop. Can you please confirm if this model is compatible with your folder and DSDT? Thanks a lot in advance. If it is, I will buy right away.

Yes

 

14 hours ago, MacKonsti said:

Hi @MaLd0n 

update bios/uefi to last version, change only secure boot to disable, use clover folder, i'll update folders tomorrow, new hdmi patch, etc

  • Like 2
Link to comment
Share on other sites

9 hours ago, shivaay1234 said:

@MaLd0n I found a 15-IWL model but it has a 1080p display instead of your 768p. Can all these fixes still work on that model? Thanks in advance.

yes ;) 

Link to comment
Share on other sites

Hi @MaLd0n I hope you are well and safe, thanks for the update of the original URL in the first post, I will try downloading it and test it.

I eventually got the S145-14iWL but when I had tried your (previous) Clover folder, it kept crashing for some reason and I could never make it work. I updated to latest BIOS ASCN44WW.

 

As a first step, I managed to boot the Catalina installer with some Clover-config tweaks and started the normal Catalina boot after some more tweaks and main DSDT edits, i.e. EC0->EC, SBUS+BLC0, AWAK fixes for now.

 

I am waiting for the BCM94350ZAE WLAN card and I must remove the Intel P660 NVMe that came installed (with Windows) as it is reported to not work with macOS in a stable way... Now I boot from external SSD in USB 3.0 box (works just fine for getting the system stable!)

 

But I have an issue with trackpad, I cannot make get it work. I used the kexts you have in your Clover.zip folder, I think it's ELAN and not Synaptics. Can you please help? Do you want me to send you the original DSDT extracted in Clover (F4 button) ? What would possibly help you? Do we need DSDT fixes for trackpad?

 

Many thanks, obrigado!!!

Link to comment
Share on other sites

Hi @MaLd0n thank you for posting the Clover folder, I managed to boot eventually, as the boot process was freezing all the time... I tried many options in Clover screen, and it seems that on my Lenovo S145-14iWL with firmware 44WW there is a need to activate the DellSMBIOSPatch for a reason I cannot understand. Also, HaltEnabler is not needed it seems, as well as KernelLAPIC option not needed (I managed to boot without them and a couple more).

 

My worry is that this need for whatever DellSMBIOSPatch does is not available in OpenCore... I will need to test maybe but it's more difficult as OpenCore doesn't have live-options-to-choose in boot like Clover (for now).


A question please: All the kexts you have in the Clover kext folder in your latest ZIP, are they all available for later updates from Git (acidanthera, VoodooI2C, NoTouchID etc.) or are you building them via Xcode for specific use for Lenovo here? Maybe with code changes? (whatever Hackintool reports)

 

Thanks!

 

P.S. I see now that the Display allows for brightness control (great) with the PNLF device but there's a tick under it for Ambient Light Sensor... as the S145-14iWL doesn't have such a light sensor that I know of, is it not a risk (for crashes etc.) to have this declared in your patched DSDT you think?

Edited by MacKonsti
Link to comment
Share on other sites

6 hours ago, MacKonsti said:

Hi @MaLd0n thank you for posting the Clover folder, I managed to boot eventually, as the boot process was freezing all the time... I tried many options in Clover screen, and it seems that on my Lenovo S145-14iWL with firmware 44WW there is a need to activate the DellSMBIOSPatch for a reason I cannot understand. Also, HaltEnabler is not needed it seems, as well as KernelLAPIC option not needed (I managed to boot without them and a couple more).

 

My worry is that this need for whatever DellSMBIOSPatch does is not available in OpenCore... I will need to test maybe but it's more difficult as OpenCore doesn't have live-options-to-choose in boot like Clover (for now).


A question please: All the kexts you have in the Clover kext folder in your latest ZIP, are they all available for later updates from Git (acidanthera, VoodooI2C, NoTouchID etc.) or are you building them via Xcode for specific use for Lenovo here? Maybe with code changes? (whatever Hackintool reports)

 

Thanks!

 

P.S. I see now that the Display allows for brightness control (great) with the PNLF device but there's a tick under it for Ambient Light Sensor... as the S145-14iWL doesn't have such a light sensor that I know of, is it not a risk (for crashes etc.) to have this declared in your patched DSDT you think?

hey

strange about dellsmbiospatch, but if need just use, i'll update folder and add it for this case

compiled from github with no changes

haltenabler, etc, no difference, u can use without any problem ;) 

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

Good evening @MaLd0n I hope you are well and safe.

While waiting for decent NVMe offer from shops, and for the Broadcom WLAN/BTLE card (in the post, still) I have been booting from USB3 external SSD and checking all features (10.15.5) and I would like to ask you a few things for my S145-14iWL, I hope you will have time to reply!

  • The Brightness Up/Down keys on your laptop use F13/F14 as you have the 15" large keyboard, but on the 14" we have F11/F12 and the DSDT injection in _Q11 and _Q12 of EC0 device, the Notify (PS2K, 0x0406) and Notify (PS2K, 0x0405) values but they don't work :(  Any idea what we need to use for F11/F12 for us 14" users?
  • The 14" laptop I have, came with 1xSODIMM of 8GB and no soldered on-board memory. However, despite declaring it as MacBookPro15,2 in System Profiler I can see no memory at all displayed, no modules or RAM etc. at all. Do you get the memory on your S145 shown OK? Did you inject something special in the SMBIOS section of Clover?
  • Please note that the Clover config keys InjectHDMI and InjectLAN are apparently an error of CloverConfigurator and they are officially LANInjection and HDMIInjection.... just FYI... I read it on the Clover Wiki as I got puzzled by the settings :D
  • Since the laptop (well at least, mine) doesn't have any Light Sensor, do we need to include in DSDT the Device (ALS0) really? I see the check-mark under the screen's display brightness in System Preferences, but not sure if it's good to have as there's no hardware (for mine, at least).
  • I have been studying the different DSDT patches for Device (PNLF) and saw that despite others having _UID as 0x10 or even Zero, you include 0x13 instead. But most of the modern SSDT hacks (including OpenCore) tell that this value is found to be 0x14 for IvyBridge and then higher values for macOS above (see inside WhateverGreen.kext ZIP the file SSDT-PNLF.dsl for example). Are you basing this value on something specific from WhateverGreen? There's nothing in its Info.plist to be honest :(
  • Does your trackpad work without hiccups? Sometimes I feel mine is a little jumpy... I read over in Olarila.com the discussion about the polling (and the code needed) but don't know your experience with trackpad? Mine has _HID as "ELAN0629"
  • Finally, would it make sense to provide some feedback to VoodooPS2Controller by acidanthera and provide Lenovo values for the Info.plist of the plugin VoodooPS2Keyboard.kext maybe? They have Dell, HP and Intel codes... I have no way of contacting acidanthera...

Thank you very much again for your time! Obrigado

Link to comment
Share on other sites

1 hour ago, MacKonsti said:

Good evening @MaLd0n I hope you are well and safe.

While waiting for decent NVMe offer from shops, and for the Broadcom WLAN/BTLE card (in the post, still) I have been booting from USB3 external SSD and checking all features (10.15.5) and I would like to ask you a few things for my S145-14iWL, I hope you will have time to reply!

  • The Brightness Up/Down keys on your laptop use F13/F14 as you have the 15" large keyboard, but on the 14" we have F11/F12 and the DSDT injection in _Q11 and _Q12 of EC0 device, the Notify (PS2K, 0x0406) and Notify (PS2K, 0x0405) values but they don't work :(  Any idea what we need to use for F11/F12 for us 14" users?
  • The 14" laptop I have, came with 1xSODIMM of 8GB and no soldered on-board memory. However, despite declaring it as MacBookPro15,2 in System Profiler I can see no memory at all displayed, no modules or RAM etc. at all. Do you get the memory on your S145 shown OK? Did you inject something special in the SMBIOS section of Clover?
  • Please note that the Clover config keys InjectHDMI and InjectLAN are apparently an error of CloverConfigurator and they are officially LANInjection and HDMIInjection.... just FYI... I read it on the Clover Wiki as I got puzzled by the settings :D
  • Since the laptop (well at least, mine) doesn't have any Light Sensor, do we need to include in DSDT the Device (ALS0) really? I see the check-mark under the screen's display brightness in System Preferences, but not sure if it's good to have as there's no hardware (for mine, at least).
  • I have been studying the different DSDT patches for Device (PNLF) and saw that despite others having _UID as 0x10 or even Zero, you include 0x13 instead. But most of the modern SSDT hacks (including OpenCore) tell that this value is found to be 0x14 for IvyBridge and then higher values for macOS above (see inside WhateverGreen.kext ZIP the file SSDT-PNLF.dsl for example). Are you basing this value on something specific from WhateverGreen? There's nothing in its Info.plist to be honest :(
  • Does your trackpad work without hiccups? Sometimes I feel mine is a little jumpy... I read over in Olarila.com the discussion about the polling (and the code needed) but don't know your experience with trackpad? Mine has _HID as "ELAN0629"
  • Finally, would it make sense to provide some feedback to VoodooPS2Controller by acidanthera and provide Lenovo values for the Info.plist of the plugin VoodooPS2Keyboard.kext maybe? They have Dell, HP and Intel codes... I have no way of contacting acidanthera...

Thank you very much again for your time! Obrigado

post ur untouched dsdt here

Link to comment
Share on other sites

 Share

×
×
  • Create New...