daliansky / XiaoMi-Pro-Hackintosh

XiaoMi NoteBook Pro Hackintosh
BSD Zero Clause License
2.61k stars 475 forks source link

Intel WiFi Driver working #330

Closed johnnynunez closed 4 years ago

johnnynunez commented 4 years ago

I share with you. Put on in your EFI @stevezhengshiqi @daliansky http://bbs.pcbeta.com/forum.php?mod=viewthread&tid=1838489&extra=page%3D1&page=1&mobile=yes

It’s amazing! Other projects: https://github.com/zxystd/AppleIntelWifiAdapter

https://github.com/Champ-Goblem/IntelWiFiDriver---Voodoo80211

simmy1232 commented 4 years ago

Anyone tried it with 7260? And for those who tried the kext in other intel wifi, is handoff and continuity working?

ghost commented 4 years ago

How do you unload this kext? Can't seem to unload it using sudo kext unload com. or AppleIntelWiFi.kext? It only says it not found. The kext was loaded using the method above

lersy commented 4 years ago

@gplast hey buddy. I managed to make my intel 8265 WiFi working with following your recommendations. but the problem is that my laptop reboots before 5 minutes. how did you make it working for a twenty minutes? :D

by the way, how can we remove this kext from our system as @LeryoCos asked? where to does "kextload" command install this kext? I tried it for many times but couldn't see kext in S/L/E nor L/E. so I just installed with Hackintool then to /L/E.

more or less , it is working for my 8265 at least and I hope folks can manage to work it properly very soon. Thanks to everyone

simmy1232 commented 4 years ago

Yep can't unload too! I used the method above to load while the kext is on the desktop. Didn't put it in /Library/Extensions/. It only says it can't be found or sometimes it says it is on use.

gplast commented 4 years ago

Hello @lersy , @LeryoCos ,

If you load the kext using the kextload command, then when the PC restarts the kext is unloaded. If you install it on /L/E then i suggest to remove it and run kextcache to completely remove it, since this kext is not stable and you might stuck in a reboot loop. (If you do so you have to enable single user mode from clover and then remove it from /L/E with commands).

Moreover, after replacing ucode(version 34) with ucode that i attached on my previous comment i was able to get more that 20 minutes. Please remember that you have to at your Wifi name and password on info.plist and after kextload make sure that the wifi was successfully connected. Don't try to scan for new networks or do anything on the wifi menu because this might cause restart.

Lets hope that with the next kext release we will be able to use it. For now i suggest to avoid using this kext because its not stable and in a way unusable.

lersy commented 4 years ago

@gplast for first time, I tried to install it via command kext load , when I saw the message "installed or already installed" it couldn't connect to wifi. in system preferences I could see wifi option each time even after rebooting but it was not responding.

then I disable gatekeeper, disable SIP, and give it a go with "Hackintool" kext install. after reboot it connected directly.

so if kextload method is not valid after a reboot, how can I see wifi option in system preferences? this made me think that I couldn't remove it.

iwm-8265-34 seems like a plain text document while others seem like unix executable. should we make it unix executable also? have you tried that? I will try it.

by the way while I was surfing on GitHub, playing music via Apple Music and writing to folks on discord channel there was no problem. I just decided to try a YouTube video because each time I try to watch a video on YouTube it immediately crashed. it crashed again. after crash it can take 3-4 reboot to login. but if I login and don't do heavy stuff, it does not crash for 15 minutes.

this is heavily experimental right now as @gplast said. you can be in real danger if you rely on your rig that much. be aware and make sure you can access to your EFI or macOS Data from windows or linux in case if anything goes completely wrong.

Goshin commented 4 years ago

@lersy Once you successfully loaded and enabled the wifi device, the wifi option and tray icon will be there no matter it is removed or unavailable. So it is expected behavior of macOS, don't worry about it.

The kext is still shaky and buggy, especially under heavy network traffic. Many reported reboots happened when people tried to download files or do a speed test. You are right. Don't install it in your system or Clover.

kostaskas commented 4 years ago

Anyone tried it with 7260? And for those who tried the kext in other intel wifi, is handoff and continuity working?

I use it with Intel 3265, it's working ok if you don't click on Network Settings, otherwise it gets a kernel panic. Speed is not always fast, but it's usable

ghost commented 4 years ago

Anyone here who has Intel AC 9560 working ? If yes please share a guide how to please, thanks ! <3

khanhbui96 commented 4 years ago

Intel 7260 don't work. Please help me!

simmy1232 commented 4 years ago

Is there any new updates/news about the kext??

karle228 commented 4 years ago

@kostaskas can you help me make ac3165 work??

kostaskas commented 4 years ago

@kostaskas can you help me make ac3165 work??

Just copy to S/L/E, clear cache and repair permissions. Then make the mod described above to insert your wifi ssid and pass and reboot

But is unstable

WraithWinterly commented 4 years ago

Don't put it in S/L/E, that'll permanently damage your system because the Kernel Extension is unstable Don't put it in L/E either

chillpilllike commented 4 years ago

@kostaskas can you help me make ac3165 work??

Just copy to S/L/E, clear cache and repair permissions. Then make the mod described above to insert your wifi ssid and pass and reboot

But is unstable

Thanks for sharing the info, working for my Intel 3165 Wifi Card on Catalina but sometimes hangs the PC and require restart.

kostaskas commented 4 years ago

Don't put it in S/L/E, that'll permanently damage your system because the Kernel Extension is unstable Don't put it in L/E either

I have installed it there but system didn't boot, only after removing. I'm on Catalina, I think that you install it using the IO80211family kext on L/E on Mojave, on Catalina you only need to install intel kext with stock IO80211family

chillpilllike commented 4 years ago

Hello again, So i've been following the forum for the past few days just to see whether there is something new. At the same time i tried everything in order to load the kext and avoid the restart. As i was reading the comments i notice someone saying that you need to specify inside the kext the Wifi name and password. After trying several attempts, indeed i was able to connect but after a few seconds the laptop restarts. Following that i saw a link posted by xinyang686: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/ . Inside this link there are several version of intel wifi ucodes. After trying again several of those i found a version(iwlwifi-8265-31.ucode) that it seems that is not causing restarts :) I've been using the wifi for 30 minutes now and i'm able to access the internet. It seems that is not 100% responsive, the internet is slow most of the times, but this is really promising!! Use the attached kext and follow the steps in order to test also on your system and let me know.

  • Download AppleIntelWiFi.kext.zip
  • Unzip it
  • Open AppleIntelWiFi.kext/Contents/Info.plist with your favorite editor
  • Find and Change the following lines based on your wifi (line 58, 60) BSSID NAMEOFWIFI PWD PASSWORD
  • sudo chown -R root:wheel AppleIntelWiFi.kext
  • sudo kextload -v AppleIntelWiFi.kext/
  • Check if the message is : AppleIntelWiFi.kext loaded successfully (or already loaded).
  • Enjoy your buggy internet :)

Please let me know if you are able to make it work like me. AppleIntelWiFi.kext.zip

I've followed your instruction but on the command kextload, it shows an error "Requesting load of AppleIntelWifi.kext failed to load - (libkern/kext) dependency load failed; check the system/kernel log for errors or try kextutil(8)." Do you know how to fix it ? Sorry for not capturing the screenshot, thanks.

the stock IO80211Family.kext is missing from your hackintosh install of catalina. try to use mine attached herewith Stock IO80211Family kexts Catalina 10.15.3.zip

chillpilllike commented 4 years ago

A speedtest on AC3165 is causing panic and sudden restart. using the last

Latest one as of the 7th. Thanks to @mn19941219 for the account. AppleIntelWiFi.kext catalina.zip Please don't download with the account unless there's an update, and if there is, repost here. The download amount is dwindling, there's only about 20 left from when I'm writing this.

A speedtest on AC3165 is causing panic and sudden restart. :( at least we could do browsing but when theres a background sync of files or something (on increse of data transfer) it creates panic.

jigar08it commented 4 years ago

I've Intel 7265ac. How to install this driver? Need help...

Phu1237 commented 4 years ago

I get this link from newest update (2020-02-23) https://github.com/a565109863/AppleIntelWiFi_Debug/releases

Cr0wTom commented 4 years ago

@Phu1237 did you try this kext? Any news?

karolekgaj commented 4 years ago

Hello guys, im new to the hackintosh, and i dont understand tutorial by gplast and something is wrong. In my case, system reboots instantly after booting. Can someone make step by step tutorial for dummies?

Menchen commented 4 years ago

@karolekgaj You shouldn’t use this Kext if your new, and you should know that this Kext is extremely unstable, even configured right there’s stills problem like extremely slow WiFi and randomly crashes.... I would wait until a more stable version if I were you...

kostaskas commented 4 years ago

I've Intel 7265ac. How to install this driver? Need help...

Take a little time to read the posts above...

gplast commented 4 years ago

Hello @karolekgaj ,

As soon as there is a stable version i promise that i will write a step by step tutorial to help you install it. For now is better to avoid that since its unusable.

soffyo commented 4 years ago

Works on 8265 (asus zenbook), panics when you open wifi menubar or settings, panics on restart. otherwise seems to not crash. I d like to try loading the kext from clover but just putting it in c/k/o didn't work.

simmy1232 commented 4 years ago

Any news/updates about this?? @gplast @johnnync13

wonhee0410 commented 4 years ago

Works on 8265 (asus zenbook), panics when you open wifi menubar or settings, panics on restart. otherwise seems to not crash. I d like to try loading the kext from clover but just putting it in c/k/o didn't work.

Oh really nice ! My Vivobook is also 8265. Could you instruct me how to install the kext, thanks very much.

Here is the new one (23/02/2020): https://github.com/a565109863/AppleIntelWiFi_Debug/releases

soffyo commented 4 years ago

Works on 8265 (asus zenbook), panics when you open wifi menubar or settings, panics on restart. otherwise seems to not crash. I d like to try loading the kext from clover but just putting it in c/k/o didn't work.

Oh really nice ! My Vivobook is also 8265. Could you instruct me how to install the kext, thanks very much.

Here is the new one (23/02/2020): https://github.com/a565109863/AppleIntelWiFi_Debug/releases

just follow the above instructions, replace the ucode, add your wifi name and pwd in info.plist, rebuild cache, root own the kext and load it with kextload.

stevezhengshiqi commented 4 years ago

@simmy1232 Don't expect too much, it's far from working properly.

MohammadtaghiFarkhondekar commented 4 years ago

https://github.com/a565109863/AppleIntelWiFi_Debug/releases i test it on 10.15.3 gl553vd intel ac7260 ! worked ! but when i try to connect wifi system rebooted !!!

frabev commented 4 years ago

Wireless 3160 working but sometimes auto restart :(

Please can you help with the installation of this kext on this model of wireless card i have the same wireless card, thanks

vladdenisov commented 4 years ago

So, there is another project dropped on GitHub https://github.com/zxystd/itlwm As I think, it's a source code of this kext (maybe I'm wrong)

AppleIntelWiFi.kext catalina.zip

I've managed to build it, but can't get it to work. Everything is in Chinese :/ @johnnync13 @gplast @stevezhengshiqi

stevezhengshiqi commented 4 years ago

@vladdenisov The kext in that link still doesn’t work for our 8265 chip. I participated in the testing stage of that kext. And also, that driver do not support password-protected wifi(WPA/WPA2) currently. Maybe we have to wait for longer time.

vladdenisov commented 4 years ago

Strange, but it says in project's readme, that 8265 should also work. Anyway, thanks for quick reply. Let's wait till some changes.

ghost commented 4 years ago

I have an Intel(R) Wireless-AC 9462 will it work on this card

stevezhengshiqi commented 4 years ago

Currently no, the author is working on it.

mn19941219 commented 4 years ago

a new update about Intel WiFi, He is another one who bulid intel bluetooth driver

https://github.com/zxystd/itlwm/blob/master/.github/README_en.md

MarshalX commented 4 years ago

a new update about Intel WiFi, He is another one who bulid intel bluetooth driver

https://github.com/zxystd/itlwm/blob/master/.github/README_en.md

Already reviewed and made several builds. If you do itlvm build, then there are no particular problems. But if you want to make with include of binary of frimwares (the code generator script is in the repository), then an error occurs during the assembly. This problem was solved by banal substitution of the necessary imports. But not without binary fw, and with it doesn’t work for me. Then I went to try to build OpenWifi which is in the same repository. There you can’t just build it. There is a mistake, but just as easily solved. In general, nothing worked for me, but I attach everything that I could build. Try you :)

itlwmFW.kext.zip itlwm.kext.zip

For itlwm u need to create open (without password) hotspot with SSID "Redmi"

OpenWifi.kext.zip

UPD. Not working with 8 series https://github.com/zxystd/itlwm/issues/5

stevezhengshiqi commented 4 years ago

8265 devices can try this. zxystd made great changes to let it work in 8 and maybe 9 series. It works for me. 截屏2020-03-1714 06 40 itlwm Mar 17.zip Full credit to the author zxystd. Really appreciate his help.

MarshalX commented 4 years ago

a new update about Intel WiFi, He is another one who bulid intel bluetooth driver https://github.com/zxystd/itlwm/blob/master/.github/README_en.md

Already reviewed and made several builds. If you do itlvm build, then there are no particular problems. But if you want to make with include of binary of frimwares (the code generator script is in the repository), then an error occurs during the assembly. This problem was solved by banal substitution of the necessary imports. But not without binary fw, and with it doesn’t work for me. Then I went to try to build OpenWifi which is in the same repository. There you can’t just build it. There is a mistake, but just as easily solved. In general, nothing worked for me, but I attach everything that I could build. Try you :)

itlwmFW.kext.zip itlwm.kext.zip

For itlwm u need to create open (without password) hotspot with SSID "Redmi"

OpenWifi.kext.zip

UPD. Not working with 8 series zxystd/itlwm#5

Intel(R) Dual Band Wireless AC 8265 - Successfully connected to the access point. Working internet. Unstable assembly, kernel panic sometimes (by watching youtube 1080p, for example). Branch feature-openbsd-newest

Builded kext: itlwm.kext.zip

Intel(R) Dual Band Wireless AC 8260 not working, but there is progress. Now defines a firmware

khanhbui96 commented 4 years ago

a new update about Intel WiFi, He is another one who bulid intel bluetooth driver https://github.com/zxystd/itlwm/blob/master/.github/README_en.md

Already reviewed and made several builds. If you do itlvm build, then there are no particular problems. But if you want to make with include of binary of frimwares (the code generator script is in the repository), then an error occurs during the assembly. This problem was solved by banal substitution of the necessary imports. But not without binary fw, and with it doesn’t work for me. Then I went to try to build OpenWifi which is in the same repository. There you can’t just build it. There is a mistake, but just as easily solved. In general, nothing worked for me, but I attach everything that I could build. Try you :) itlwmFW.kext.zip itlwm.kext.zip For itlwm u need to create open (without password) hotspot with SSID "Redmi" OpenWifi.kext.zip UPD. Not working with 8 series zxystd/itlwm#5

Intel(R) Dual Band Wireless AC 8265 - Successfully connected to the access point. Working internet. Unstable assembly, kernel panic sometimes (by watching youtube 1080p, for example). Branch feature-openbsd-newest

Builded kext: itlwm.kext.zip

Intel(R) Dual Band Wireless AC 8260 not working, but there is progress. Now defines a firmware

how to use kext in mojave?

MarshalX commented 4 years ago

a new update about Intel WiFi, He is another one who bulid intel bluetooth driver https://github.com/zxystd/itlwm/blob/master/.github/README_en.md

Already reviewed and made several builds. If you do itlvm build, then there are no particular problems. But if you want to make with include of binary of frimwares (the code generator script is in the repository), then an error occurs during the assembly. This problem was solved by banal substitution of the necessary imports. But not without binary fw, and with it doesn’t work for me. Then I went to try to build OpenWifi which is in the same repository. There you can’t just build it. There is a mistake, but just as easily solved. In general, nothing worked for me, but I attach everything that I could build. Try you :) itlwmFW.kext.zip itlwm.kext.zip For itlwm u need to create open (without password) hotspot with SSID "Redmi" OpenWifi.kext.zip UPD. Not working with 8 series zxystd/itlwm#5

Intel(R) Dual Band Wireless AC 8265 - Successfully connected to the access point. Working internet. Unstable assembly, kernel panic sometimes (by watching youtube 1080p, for example). Branch feature-openbsd-newest Builded kext: itlwm.kext.zip Intel(R) Dual Band Wireless AC 8260 not working, but there is progress. Now defines a firmware

how to use kext in mojave?

Kexts that I published for Catalina only, but I switch to 10.14 and build special for you. U can try to use this one. Maybe it doesn't work because I do nothing with dependencies for Mojave itlwmMojave.kext.zip

MarshalX commented 4 years ago

a new update about Intel WiFi, He is another one who bulid intel bluetooth driver https://github.com/zxystd/itlwm/blob/master/.github/README_en.md

Already reviewed and made several builds. If you do itlvm build, then there are no particular problems. But if you want to make with include of binary of frimwares (the code generator script is in the repository), then an error occurs during the assembly. This problem was solved by banal substitution of the necessary imports. But not without binary fw, and with it doesn’t work for me. Then I went to try to build OpenWifi which is in the same repository. There you can’t just build it. There is a mistake, but just as easily solved. In general, nothing worked for me, but I attach everything that I could build. Try you :) itlwmFW.kext.zip itlwm.kext.zip For itlwm u need to create open (without password) hotspot with SSID "Redmi" OpenWifi.kext.zip UPD. Not working with 8 series zxystd/itlwm#5

Intel(R) Dual Band Wireless AC 8265 - Successfully connected to the access point. Working internet. Unstable assembly, kernel panic sometimes (by watching youtube 1080p, for example). Branch feature-openbsd-newest

Builded kext: itlwm.kext.zip

Intel(R) Dual Band Wireless AC 8260 not working, but there is progress. Now defines a firmware

New version from feature-openbsd-newest branch. Can connect and use ethernet on Intel(R) Dual Band Wireless AC 8260

Kext builed for Catalina: itlwm.kext.zip

soffyo commented 4 years ago

a new update about Intel WiFi, He is another one who bulid intel bluetooth driver https://github.com/zxystd/itlwm/blob/master/.github/README_en.md

Already reviewed and made several builds. If you do itlvm build, then there are no particular problems. But if you want to make with include of binary of frimwares (the code generator script is in the repository), then an error occurs during the assembly. This problem was solved by banal substitution of the necessary imports. But not without binary fw, and with it doesn’t work for me. Then I went to try to build OpenWifi which is in the same repository. There you can’t just build it. There is a mistake, but just as easily solved. In general, nothing worked for me, but I attach everything that I could build. Try you :) itlwmFW.kext.zip itlwm.kext.zip For itlwm u need to create open (without password) hotspot with SSID "Redmi" OpenWifi.kext.zip UPD. Not working with 8 series zxystd/itlwm#5

Intel(R) Dual Band Wireless AC 8265 - Successfully connected to the access point. Working internet. Unstable assembly, kernel panic sometimes (by watching youtube 1080p, for example). Branch feature-openbsd-newest Builded kext: itlwm.kext.zip Intel(R) Dual Band Wireless AC 8260 not working, but there is progress. Now defines a firmware

New version from feature-openbsd-newest branch. Can connect and use ethernet on Intel(R) Dual Band Wireless AC 8260

Kext builed for Catalina: itlwm.kext.zip

connects and works to open Redmi hotspots but panics after short time. (on 8265 device)

MarshalX commented 4 years ago

a new update about Intel WiFi, He is another one who bulid intel bluetooth driver https://github.com/zxystd/itlwm/blob/master/.github/README_en.md

Already reviewed and made several builds. If you do itlvm build, then there are no particular problems. But if you want to make with include of binary of frimwares (the code generator script is in the repository), then an error occurs during the assembly. This problem was solved by banal substitution of the necessary imports. But not without binary fw, and with it doesn’t work for me. Then I went to try to build OpenWifi which is in the same repository. There you can’t just build it. There is a mistake, but just as easily solved. In general, nothing worked for me, but I attach everything that I could build. Try you :) itlwmFW.kext.zip itlwm.kext.zip For itlwm u need to create open (without password) hotspot with SSID "Redmi" OpenWifi.kext.zip UPD. Not working with 8 series zxystd/itlwm#5

Intel(R) Dual Band Wireless AC 8265 - Successfully connected to the access point. Working internet. Unstable assembly, kernel panic sometimes (by watching youtube 1080p, for example). Branch feature-openbsd-newest Builded kext: itlwm.kext.zip Intel(R) Dual Band Wireless AC 8260 not working, but there is progress. Now defines a firmware

New version from feature-openbsd-newest branch. Can connect and use ethernet on Intel(R) Dual Band Wireless AC 8260 Kext builed for Catalina: itlwm.kext.zip

connects and works to open Redmi hotspots but panics after short time. (on 8265 device)

Hmm, lets use prev version from my comment. @vladdenisov have long connection on 8265 as I know

khanhbui96 commented 4 years ago

a new update about Intel WiFi, He is another one who bulid intel bluetooth driver https://github.com/zxystd/itlwm/blob/master/.github/README_en.md

Already reviewed and made several builds. If you do itlvm build, then there are no particular problems. But if you want to make with include of binary of frimwares (the code generator script is in the repository), then an error occurs during the assembly. This problem was solved by banal substitution of the necessary imports. But not without binary fw, and with it doesn’t work for me. Then I went to try to build OpenWifi which is in the same repository. There you can’t just build it. There is a mistake, but just as easily solved. In general, nothing worked for me, but I attach everything that I could build. Try you :) itlwmFW.kext.zip itlwm.kext.zip For itlwm u need to create open (without password) hotspot with SSID "Redmi" OpenWifi.kext.zip UPD. Not working with 8 series zxystd/itlwm#5

Intel(R) Dual Band Wireless AC 8265 - Successfully connected to the access point. Working internet. Unstable assembly, kernel panic sometimes (by watching youtube 1080p, for example). Branch feature-openbsd-newest Builded kext: itlwm.kext.zip Intel(R) Dual Band Wireless AC 8260 not working, but there is progress. Now defines a firmware

how to use kext in mojave?

Kexts that I published for Catalina only, but I switch to 10.14 and build special for you. U can try to use this one. Maybe it doesn't work because I do nothing with dependencies for Mojave itlwmMojave.kext.zip Thanks. But it doesn't work in mojave

soffyo commented 4 years ago

a new update about Intel WiFi, He is another one who bulid intel bluetooth driver https://github.com/zxystd/itlwm/blob/master/.github/README_en.md

Already reviewed and made several builds. If you do itlvm build, then there are no particular problems. But if you want to make with include of binary of frimwares (the code generator script is in the repository), then an error occurs during the assembly. This problem was solved by banal substitution of the necessary imports. But not without binary fw, and with it doesn’t work for me. Then I went to try to build OpenWifi which is in the same repository. There you can’t just build it. There is a mistake, but just as easily solved. In general, nothing worked for me, but I attach everything that I could build. Try you :) itlwmFW.kext.zip itlwm.kext.zip For itlwm u need to create open (without password) hotspot with SSID "Redmi" OpenWifi.kext.zip UPD. Not working with 8 series zxystd/itlwm#5

Intel(R) Dual Band Wireless AC 8265 - Successfully connected to the access point. Working internet. Unstable assembly, kernel panic sometimes (by watching youtube 1080p, for example). Branch feature-openbsd-newest Builded kext: itlwm.kext.zip Intel(R) Dual Band Wireless AC 8260 not working, but there is progress. Now defines a firmware

New version from feature-openbsd-newest branch. Can connect and use ethernet on Intel(R) Dual Band Wireless AC 8260 Kext builed for Catalina: itlwm.kext.zip

connects and works to open Redmi hotspots but panics after short time. (on 8265 device)

Hmm, lets use prev version from my comment. @vladdenisov have long connection on 8265 as I know

I confirm I can have long connection with kext from previous comment and less crashes but slow internet. I think I'm going to provide logs.

HKMV commented 4 years ago

我的同样也是AC8265,使用上边大佬编译好的驱动文件,放到四叶草中启动系统,有时候开机后自动重启,有时候不会,重要的是 网络选项中都没出现 新的以太网 选项,不知道问题出在哪里。

stevezhengshiqi commented 4 years ago

@HKMV 暂不支持引导工具加载,必须 使用kextutil命令 或者 放入L/E(不推荐)。