gnodipac886 / MatebookXPro-hackintosh

Hackintosh Solution for the Huawei Matebook X Pro
https://www.tonymacx86.com/threads/guide-matebook-x-pro-2018-using-hotpatch-vituralsmc-10-14-x.278730/
257 stars 57 forks source link

Working Intel WiFi #107

Open mircoianese opened 4 years ago

mircoianese commented 4 years ago

Hello! I'm opening this issue because there is really great progress on Intel Wifi on MacOS and our laptop (at least the 2018 model) has an Intel AC8275 Wireless Card.

There are two projects currently open:

  1. this has a driver that makes scanning for network working, but yet it cannot connect (the developer is still working on the 802.11 stack).

  2. this works in my case, but the SSID and Password are hardcoded into the kext code for now (no scanning available). I've opened an issue here where you can find the latest firmware compiled (with ssid and passwords hardcoded). The card works fine in my case, with just slow upload speeds... but we are getting close!

Note: you need to remove SSDT-DRP11.aml from EFI/Clover/ACPI/patched because that is a patch to deactivate the internal WiFi card.

How to load the firmware:

  1. Download itlwm.kext and place wherever you want (DO NOT place it in EFI/CLOVER or S/L/E or /L/E)
  2. Run these commands to gain permissions:
    sudo chmod -R 744 itlwm.kext
    sudo chown -R root:wheel itlwm.kext
  3. Load the kext: sudo kextload itlwm.kext
  4. If no errors appear the driver will automatically connect to the hardcoded network and you will get internet access

These are the current results I get with my 30/20 network:

screen

Have a nice day!

mehmetyukcell commented 4 years ago

Hello! I'm opening this issue because there is really great progress on Intel Wifi on MacOS and our laptop (at least the 2018 model) has an Intel AC8275 Wireless Card.

There are two projects currently open:

  1. this has a driver that makes scanning for network working, but yet it cannot connect (the developer is still working on the 802.11 stack).

  2. this works in my case, but the SSID and Password are hardcoded into the kext code for now (no scanning available). I've opened an issue here where you can find the latest firmware compiled (with ssid and passwords hardcoded). The card works fine in my case, with just slow upload speeds... but we are getting close!

Note: you need to remove SSDT-DRP11.aml from EFI/Clover/ACPI/patched because that is a patch to deactivate the internal WiFi card.

How to load the firmware:

  1. Download itlwm.kext and place wherever you want (DO NOT place it in EFI/CLOVER or S/L/E or /L/E)

  2. Run these commands to gain permissions:


sudo chmod -R 744 itlwm.kext

sudo chown -R root:wheel itlwm.kext
  1. Load the kext:

sudo kextload itlwm.kext

  1. If no errors appear the driver will automatically connect to the hardcoded network and you will get internet access

These are the current results I get with my 30/20 network:

screen

Have a nice day!

How do you Hardcoded ssid and Password?

mircoianese commented 4 years ago

How do you Hardcoded ssid and Password?

If you want to change SSID and password you need to edit the code and recompile the kext from source. For testing until we wait an implementation that supports network search and connect, maybe you can maybe just create a guest network

AshleyMiller9696 commented 4 years ago

awesome - thanks for the info!

Roshaanv commented 4 years ago

On kextload it get the error itlwm.kext failed to load - (libkern/kext) not found; The file size also shown as 0 bytes. Any ideas how to fix it and could you provide me your itlwm.kext file?

Kokkolabs commented 4 years ago

This kext works good: https://m.youtube.com/watch?v=ICpgYtzbxP8

Picroc commented 4 years ago

This kext works good: https://m.youtube.com/watch?v=ICpgYtzbxP8

Reporting: that works flawlessly.

juicypop commented 4 years ago

This kext works good: https://m.youtube.com/watch?v=ICpgYtzbxP8

:+1:

Did you tried to put in kexts/Other? Would be nice to ommit loading it manually each reboot

Kokkolabs commented 4 years ago

This kext works good: https://m.youtube.com/watch?v=ICpgYtzbxP8

Did you tried to put in kexts/Other? Would be nice to ommit loading it manually each reboot

I make script and adding it to run automatic on boot, sorry my bad English.

juicypop commented 4 years ago

@Kokkolabs thanks, would you mind to share your script with us? 😄

Did you encountered any KP's/reboots yet? I just had a KP when my Matebook went into sleep

juicypop commented 4 years ago

Is it possible to kext unload either of the kexts? Either my system hangs completly or I get error saying it has dependencies and can't be unloaded. I thought I could unload it before going to sleep and reload it after wake.

mehmetyukcell commented 4 years ago

This kext works good:

https://m.youtube.com/watch?v=ICpgYtzbxP8

Did you tried to put in kexts/Other?

Would be nice to ommit loading it manually each reboot

I make script and adding it to run automatic on boot, sorry my bad English.

How do you make script?

AshleyMiller9696 commented 4 years ago

is there a way to change the kext (/ssid + password) on the fly or do i have to reboot everytime?

juicypop commented 4 years ago

I haven't found one yet, if I try to unload it, I can't because of dependencies and sometimes I even get a KP

Picroc commented 4 years ago

This kext works good: https://m.youtube.com/watch?v=ICpgYtzbxP8

Report some issues - in random time the connection may be lost. Wi-Fi networks list doesn't update, and DHCP doesn't work, so the network cannot acquire ip address. Since there is KP on unload, I was able to fix this by deleting and adding again the network in settings. I'm not sure what causes this behavior.

profzei commented 4 years ago

New support with complete automatic loader wrapper can be found in my repo, but I think that also gnodipac886 should update it very soon!