Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
MaLd0n

Olarila HackBook Lenovo IdeaPad S145 / Mojave / Catalina / Full DSDT Patches / Clover and OpenCore

    Recommended Posts

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

    -Donations with Bitcoin
    33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

    -Donations with PicPay 
    @danielnmaldonado

    -Donation with Mercado Livre 
    https://tinyurl.com/y9evkj5u

     

    dqdMwSg.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 ;)

     

    --Clover Folder--

    Just paste EFI folder inside EFI partition

    -Clover

    https://tinyurl.com/rkqmpd9

    -OpenCore

     

    Bluetooth Broadcom

    Bluetooth Broadcom.zip

     

    CPUFriend for i5-8265U

    CPUFriend i5-8265U.zip

     

    --DSDT Patches--

    UXpCqRE.png

    -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
    -ACQUIRE MUT0 0XFFFF
    -OPERATION REGION GPIO
    -MUTEX MUT0 0x00
    -EXTERNAL REFERENCES
    -UNKNOWNOBJ
    -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--

     

    -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!

     

    Special thx to @onemanosx for I2C tricks

     

    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 1

    Share this post


    Link to post
    Share on other sites

    I was able to see and noticed that it was published today. Frankly I'm new to hackintoshing and not clear with the instructions I need to follow in order to make the installation. Any help here would be appreciated.

    Share this post


    Link to post
    Share on other sites

    I was able to see and noticed that it was published today. Frankly I'm new to hackintoshing and not clear with the instructions I need to follow in order to make the installation. Any help here would be appreciated.

     

    I think there are no special instructions to apply these changes.


    First you need to create an USB bootable key with two partitions, one for CLOVER and one with Catalina installer (there are a lot of guides around...). Once installed CLOVER on the first partition (I'm using 2.5 r5070), you can copy DSDT.aml and all the kexts from this post, to the correct location (eg. /EFI/CLOVER/kexts/Other and /EFI/CLOVER/ACPI/patched). Also, copy the config.plist file in CLOVER directory, otherwise you will not be able to go over the "still waiting for root device" and apple logo will stuck on screen. In config.plist you need to have "CPUpm" patch to be selected to avoid that.


    I've tested this on Catalina, on my new Lenovo IdeaPad S145. It's not true that everything is working: the integrated TouchPad is not working so far :wallbash . Also, I didn't test HDMI output yet.

    Share this post


    Link to post
    Share on other sites

    [ref]user748832[/ref], s145 line have many different models, u need check if have a little diff like a i2c device


    post one full dump with my efi from first post, dont need install clover, just paste full efi folder inside efi partition after install


    --Run_Me

    RunMe.app



    Added in 46 seconds:

    [ref]sushant77[/ref], use Olarila Image and replace full EFI folder inside EFI partition

    Share this post


    Link to post
    Share on other sites

    [ref]user748832[/ref], s145 line have many different models, u need check if have a little diff like a i2c device

    post one full dump with my efi from first post, dont need install clover, just paste full efi folder inside efi partition after install

     

    OK, my exact model is Lenovo IdeaPad S145 (81MV00DYIX), that is the one with Core i3-8145U @ 2.10GHz


    Following is not working for me:


    1) Touchpad

    2) Smartcard

    3) Bluetooth (not sure if I need to replace wifiCard for this?)


    (not tested HDMI output yet..)


    Attaching a full dump generated by RunMe.app

    Thanks!

    Send me MacBookldiMarco.station.zip

    Share this post


    Link to post
    Share on other sites

    [ref]user748832[/ref], ur trackpad is elan, ELAN0629


    try with VoodooI2C.kext + VoodooI2CHID.kext, remove VoodooI2CSynaptics.kext


    id don't work try with VoodooI2C.kext + VoodooI2CELAN.kext

    Share this post


    Link to post
    Share on other sites

    [ref]user748832[/ref], ur trackpad is elan, ELAN0629


    try with VoodooI2C.kext + VoodooI2CHID.kext, remove VoodooI2CSynaptics.kext


    id don't work try with VoodooI2C.kext + VoodooI2CELAN.kext

     

    Touchpad still not working using VoodooI2C.kext + VoodooI2CHID.kext (removed VoodooI2CSynaptics.kext)

    Touchpad still not working using VoodooI2C.kext + VoodooI2CELAN.kext


    I also removed following from S/L/E


    AppleIntelLpssI2C.kext

    AppleIntelLpssI2CController.kext

    AppleHPM.kext


    but no change. :(


    Is it possible to generate a custom DSDT.aml from my files I uploaded yesterday? (Smartcard is not working too, and Bluetooth same)

    Share this post


    Link to post
    Share on other sites

    [ref]user748832[/ref], s145 line have many different models, u need check if have a little diff like a i2c device


    post one full dump with my efi from first post, dont need install clover, just paste full efi folder inside efi partition after install


    --Run_Me

    RunMe.app



    Added in 46 seconds:

    [ref]sushant77[/ref], use Olarila Image and replace full EFI folder inside EFI partition

     

    Sorry, I didn't understand the process of installation.


    Is it like in the below video?


    Share this post


    Link to post
    Share on other sites

    [ref]viktorr[/ref], just use efi from first post in ur usb stick installation and post installation

    Share this post


    Link to post
    Share on other sites

    [ref]viktorr[/ref], just use efi from first post in ur usb stick installation and post installation

     

    Thank you MaLd0n.


    And about the DSDT files I should only use If the clover fails?

    Share this post


    Link to post
    Share on other sites

    [ref]viktorr[/ref], inside efi folder have a dsdt full patches, use only in s145 models, check first post

    Share this post


    Link to post
    Share on other sites

    [ref]user748832[/ref], forget card read and bluetooth, u need change it if need working on ur system


    about trackpad check here

    https://Olarila.com/forum/viewtopic.php?f=46&t=8087

     

    So, at least... I found that Smartcard is working fine, you just need to apply the USB Port Limit patches for 10.15.x in Clover/KextsToPatch screen. And I don't care about bluetooth, not a big problem...


    The main issue is the Touchpad. Without a working touchpad any Laptop is totally useless, unless you intend to use it as a desktop with an external mouse. I've studied all the thread above, I have implemented the full GPIO pinning guide, but my ELAN0629 device cannot be activated. I've tried all the possible combinations of kexts from official VoodooI2C repo, no way!


    Am I the only hackintosher with a Lenovo S145 based on ELAN0629 with a non-working Touchpad? :?

    Share this post


    Link to post
    Share on other sites

    [ref]user748832[/ref], use VoodooI2C.kext and VoodooI2CHID.kext and extract one send_me


    --Run_Me

    RunMe.app

    Share this post


    Link to post
    Share on other sites

    [ref]user748832[/ref], ur table have a sbfg and sbfb, try a returnt in crs to sbfg and sbfb

    Share this post


    Link to post
    Share on other sites

    [ref]user748832[/ref], ur table have a sbfg and sbfb, try a returnt in crs to sbfg and sbfb

     

    Assuming TPD0 is the device I have to look at, this is my initial _CRS method:

     

    Method (_CRS, 0, NotSerialized)  // _CRS: Current Resource Settings
               {
                   If ((OSYS < 0x07DC))
                   {
                       Return (SBFI) /* \_SB_.PCI0.I2C0.TPD0.SBFI */
                   }
    
                   Return (ConcatenateResTemplate (SBFB, SBFI))
               }

     

    The GPIO pinning guide is a bit unclear at final step 2e, where it states:


    ------------------

    Step 2e: Ensuring your DSDT notifies the system that your device is GPIO pinned


    Finally, make sure that there are no other Return statements in your _CRS method apart from the following at the end:

     

    Return (ConcatenateResTemplate (SBFB, SBFG))

    ------------------


    So, I did a couple of tests (both unsuccessfull):


    Test 1: just touch the final Return statement

     

    Method (_CRS, 0, NotSerialized)  // _CRS: Current Resource Settings
               {
                   If ((OSYS < 0x07DC))
                   {
                       Return (SBFI) /* \_SB_.PCI0.I2C0.TPD0.SBFI */
                   }
    
                   Return (ConcatenateResTemplate (SBFB, SBFG))
               }

     

    Test 2: also, remove the IF which contain another Return statement

     

    Method (_CRS, 0, NotSerialized)  // _CRS: Current Resource Settings
               {
                   Return (ConcatenateResTemplate (SBFB, SBFG))
               }

     

    Can I try something else?


    ref: https://voodooi2c.github.io/#GPIO%20Pinning/GPIO%20Pinning


    EDIT - As for the GPIO Pin, I first tried to leave this as is (assuming it is well-pinned)

     

    Name (SBFG, ResourceTemplate ()
               {
                   GpioInt (Level, ActiveLow, ExclusiveAndWake, PullDefault, 0x0000,
                       "\\_SB.PCI0.GPI0", 0x00, ResourceConsumer, ,
                       )
                       {   // Pin list
                           0x0000
                       }
               })

     

    Then, I replaced 0x0000 with 0x6e and 0x42, no luck. (calculated as per above guide)

    Share this post


    Link to post
    Share on other sites

    Then, I replaced 0x0000 with 0x6e and 0x42, no luck. (calculated as per above guide)

    You are to refer to CannonPointLP IRQ table


    In normal circumstance, a native GPI0pin requires no modification.


    Your Elan device most likely will work with a different satellite i.e VoodooI2CELAN

    Share this post


    Link to post
    Share on other sites

    VoodooI2CELAN

     

    Are you saying that the GPIO pinning guide is incorrect? I see that "hexadecimal APIC pin number" = 0x6e which is NOT less than 0x2F


    So I had to follow all the other steps before installing the I2C kext files in CLOVER/Kexts/Other


    And yes I used the CannonPointLP IRQ tables to calculate the new PIN (0x42, 0x6e)

    And yes I used the VoodooI2CELAN kext (after tried with VoodooI2CHID kext)


    My Touchpad is still not working :(

    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

    ×
    ×
    • Create New...