daliansky / XiaoMi-Pro-Hackintosh

XiaoMi NoteBook Pro Hackintosh
BSD Zero Clause License
2.62k stars 473 forks source link

Internal Intel WiFi cannot connect to any network after upgrade to Sonoma #752

Closed eduard-sukharev closed 8 months ago

eduard-sukharev commented 11 months ago

Pre-requirement

State the model XiaoMi-Pro MX150 with 8th gen i7

State the version of the EFI

Describe the bug

Attach your entire EFI folder EFI.zip

Attach system.log

stevezhengshiqi commented 11 months ago

I received multiple reports on Sonoma Wi-Fi, and it seems related to the https://github.com/OpenIntelWireless/itlwm/commit/2637e9014b7af098974c8d6db69230f75fb20a90 in AirportItlwm kext.

A workaround for now is to use v1.8.0 EFI.

eduard-sukharev commented 11 months ago

A workaround for now is to use v1.8.0 EFI.

Should I attempt to just replace itlwm kexts with 2.2.0 stable ones or downgrading to 1.8.0 EFI is more preferable?

stevezhengshiqi commented 11 months ago

@eduard-sukharev AirportItlwm v2.2.0 does not support Sonoma. The most convenient way is to downgrading to v1.8.0 EFI, or replace /OC/EFI/Kext/AirportItlwm_Sonoma.kext with the older one in v1.8.0.

cook1e0 commented 11 months ago

For me, replacing it the latest AirportItlwm-Sonoma-v2.3.0-DEBUG-alpha-ff1138b.zip worked fine. They were also different file sizes compared to the kext provided with XiaoMi_Pro-KBL-OC-v1.8.1.zip.

stevezhengshiqi commented 11 months ago

@cook1e0 Thanks for reporting, then I might need to look into this to check. EFI provided in this repository trim out unnecessary firmwares in https://github.com/OpenIntelWireless/itlwm/tree/master/itlwm/firmware to significantly reduce the kext size. There might be error somewhere impact the kext functionality.

xjh169 commented 8 months ago

最新的 [AirportItlwm-Sonoma14.4-v2.3.0-DEBUG-alpha-ef2e076.zip]也没有办法连接到Wi-Fi。

我目前是使用这个 https://github.com/OpenIntelWireless/itlwm/issues/953#issuecomment-1920413379,、 可以正常运行了 [Uploading Sonoma_14.4Beta.zip…]()

xjh169 commented 8 months ago

Sonoma_14.4Beta.zip

stevezhengshiqi commented 8 months ago

@xjh169 AirportItlwm 问题请按照 https://openintelwireless.github.io/itlwm/Troubleshooting.html#manually-collecting-logs 生成日志并在 https://github.com/OpenIntelWireless/itlwm/issues 提交issue

xjh169 commented 8 months ago

https://github.com/OpenIntelWireless/itlwm/issues/965#issuecomment-1986836933

小米定制的kext日志如下 Log_2024-03-09_20-27-45.log WX20240309-202709

stevezhengshiqi commented 8 months ago

@xjh169 可以试一下这个包吗,是网卡作者帮忙编译的精简版。 Sonoma14.4.zip

xjh169 commented 8 months ago

@xjh169 可以试一下这个包吗,是网卡作者帮忙编译的精简版。 Sonoma14.4.zip

这个包Wi-Fi不能开启。 WX20240309-210526

stevezhengshiqi commented 8 months ago

@xjh169 可以生成一份日志吗,我发给作者

xjh169 commented 8 months ago

@xjh169 可以生成一份日志吗,我发给作者

Log_2024-03-09_21-25-17.log

zxystd commented 8 months ago

Sonoma14.4.zip

xjh169 commented 8 months ago

索诺玛14.4.zip

这个包Wi-Fi可以正常了 Log_2024-03-09_21-55-21.log

stevezhengshiqi commented 8 months ago

我不理解,不知道这边仓库问题出在哪

stevezhengshiqi commented 8 months ago

@xjh169 再确认一下,你使用 itlwm仓库里的 https://github.com/OpenIntelWireless/itlwm/releases/tag/v2.3.0-alpha 是有会出现问题?不是 issue 里面的包

xjh169 commented 8 months ago

@xjh169 再确认一下,你使用 itlwm仓库里的 https://github.com/OpenIntelWireless/itlwm/releases/tag/v2.3.0-alpha 是有会出现问题?不是 issue 里面的包

今天上班,改天有空再测吧

xjh169 commented 8 months ago

@xjh169 再确认一下,你使用 itlwm仓库里的 https://github.com/OpenIntelWireless/itlwm/releases/tag/v2.3.0-alpha 是有会出现问题?不是 issue 里面的包

今天翘班 突然有时间 ,刚我已经测试了 itlwm仓库的包没有问题。

stevezhengshiqi commented 8 months ago

@xjh169 十分感谢,我可能找出了原因。可以测试一下这个包吗https://github.com/daliansky/XiaoMi-Pro-Hackintosh/actions/runs/8221124383

xjh169 commented 8 months ago

@xjh169 十分感谢,我可能找出了原因。可以测试一下这个包吗https://github.com/daliansky/XiaoMi-Pro-Hackintosh/actions/runs/8221124383

测试了,AirportItlwm_Sonoma14.4.kext 无法连接到Wi-Fi😅

xjh169 commented 8 months ago

@xjh169 十分感谢,我可能找出了原因。可以测试一下这个包吗https://github.com/daliansky/XiaoMi-Pro-Hackintosh/actions/runs/8221124383

测试了,AirportItlwm_Sonoma14.4.kext 无法连接到Wi-Fi😅

Log_2024-03-10_18-34-26.log

stevezhengshiqi commented 8 months ago

@xjh169 不好意思,makefile漏掉了一个地方。试试这个呢?https://github.com/daliansky/XiaoMi-Pro-Hackintosh/actions/runs/8221928782

xjh169 commented 8 months ago

@xjh169 不好意思,makefile漏掉了一个地方。试试这个呢?https://github.com/daliansky/XiaoMi-Pro-Hackintosh/actions/runs/8221928782

可以了🎉 Wi-Fi完美运行😊

stevezhengshiqi commented 8 months ago

@xjh169 感谢确认,太谢谢了。网卡原仓库给的是Debug版本,这个仓库是Release版本。XCode编译Release版本的时候会自动优化,导致有错误。我已经跟作者反馈。

stevezhengshiqi commented 8 months ago

Fixed in https://github.com/daliansky/XiaoMi-Pro-Hackintosh/commit/198b9911ad5922152b0d6e1ac5d6ffa5c52cd0f3