Closed yllwfsh closed 4 years ago
The scripts on Xiaomi pro, I think that works on macOS
Just tested: Yes they do work, but only for 10 sec or so, then the CPU is back at 15W. The cooling can easily handle more though. It's hanging at 72 degrees C
There must be a BIOS value somewhere in there that we can tune ;)
Hey guys, how did you patch the bios? EFI shell cannot read/change the values. i flashed the bios version @johnnync13 put into 7.0.3. the scripts on windows broke my windows partition, and the ones on Mac dont change anything...
Hey guys, how did you patch the bios? EFI shell cannot read/change the values. i flashed the bios version @johnnync13 put into 7.0.3. the scripts on windows broke my windows partition, and the ones on Mac dont change anything...
I used the scripts from the daliansky repo: https://github.com/daliansky/XiaoMi-Pro-Hackintosh/tree/master/BIOS/DVMT_and_0xE2_fix
@johnnync13 Shall I include these scripts in your repo and write some README's?
You are free
Thx. I'll work on it for a while now
I'm going to upload new bluetooth firmware and voodooi2c
We should look to change all SSDTs, for better compatibility with OC, and to be able to start windows.
Method (_STA, 0, NotSerialized) // _STA: Status
{
If (_OSI ("Darwin"))
{
Return (0x0B)
}
Else
{
Return (Zero)
}
}
@johnnync13 Yes! Good idea. Would you like to do it or shall I look into it?
@yllwfsh I am researching. It turns out that SSDT-OSI is not compatible with OC, and it causes kernel panic at times, and disables boot with windows. This is fixed with the patch from before, but I don't know how to do it in several SSDTs because if you remove the trackpad it stops working because the SSDT-TPD0 is not well done, so I'm investigating. You have a good example, XiaoMi Pro repository
@johnnync13 Ok i'll research when I have some time. At the moment my trackpad is not working at all in macOS. Any tips? haha
Do you have connected battery? Battery shows? See if voodooinput is charged
Yes the battery shows up. Btw i'm still on 10.14. Maybe that's different?
I think it stopped working after i did the Security update 2020-2 this morning
@johnnync13 Do we need both VoodooI2C and VoodooInput?
Yes. I Compile***Voodooi2c and now is needed voodooinput
But which kext is actually doing the Trackpad? I think it's very confusing which depends on what now
We have: VoodooI2C (I2C bus?) VoodooI2CHID (For trackpad?) VoodooInput (For multitouch) VoodooPS2Controller (has trackpad kext inside)
no. Voodooi2c, I2C Voodooi2chid trackpad voodooinput mT2 APPLE voodoops2controller Keyboard.
Why not use the repository EFI?
I'm trying the latest release right now
But it doesn't work. No trackpad with OC and 10.14.6
Update to Catalina... why not?
Update to Catalina... why not?
Because Mojave is more stable i think and I don't need any of their new features. Besides, it should just be backwards compatible, right?
@yllwfsh No. Because voodoo input only works on 10.15
As of version 1.0.1 they added support for previous versions:
But i guess i can try on 10.15 as well, see if that fixes it. After that, I can work on the README's and the BIOS stuff tonight
Okey! you can test Intel Wifi in 10.15 too
@johnnync13 @spicytrance @terberes @lang-ji @0x47726567 @timmmmmmmmm
BIOS modding howto is now uploaded: https://github.com/johnnync13/Xiaomi-Mi-Air/tree/master/BIOS
I'll close this one finally :)
Regarding: https://github.com/johnnync13/Xiaomi-Mi-Air/commit/94455a1c88fc69f11362166995397c7d27c4d71b
I had no idea! That's very interesting. My laptop seems to boot fine with opencore without any mods though...
Can you teach us how to patch the BIOS and/or provide some scripts?
Thanks!