x1c6-hackintosh icon indicating copy to clipboard operation
x1c6-hackintosh copied to clipboard

[HELP] Possible WWAN Card Implementing Method

Open EigenTom opened this issue 3 years ago • 20 comments

I've been working on implementing WWAN Card on X1C 6th for a long time, and eventually found some resources which may be useful to eventually drive up specific WWAN Cards on this platform.

I've tested Sierra Wireless EM7430 / EM7455 on my machine. Now, both of them are able to be detected by the OS (Catalina 10.15.6), and I can try to connect to the network with SIM card inserted:

image image image

In short, you only needs to do 3 things to make it happen:

  1. Flash the modded BIOS to bypass the WWAN WhiteList, make sure USB mapping is implemented properly (You does not need to if the whitelist is not triggered by the card)
  2. Turn on your card's COM Port 6 and COM 8.
  3. apply the kext driver in this repo

Reboot, then you should see the desired result.

I could have been tested whether this implementation is capable of driving up the cards completely, but I have two problems to fix which I just have no time to fiddle with:

  1. I did not have any WWAN antenna which suits this machine currently, resulting in not being able to receive any LTE signals
  2. I'm not familiar with the APN settings in macOS: this is completely different than Android or Windows, and I have no idea how to configure them to suit the carriers in China Mainland.

Therefore, I'm asking for help to verify whether this approach is capable of making these specific cards work on macOS 10.15.x or higher versions.

EigenTom avatar Aug 20 '21 14:08 EigenTom

@KirisameMarisaa

This looks great!

I'll order a WWAN card soon and check things out. I'm busy with life, however, so I probably won't be able to get back to you for another 2-3 weeks.

Thank you for letting me know about this.

Note:

  • EM7455 is for Americas & EMEA
  • EM7430 is for APAC

tylernguyen avatar Aug 20 '21 14:08 tylernguyen

@KirisameMarisaa @tylernguyen 100D211140499652C4A9B05DC78F4797 截屏2021-08-23 下午2 23 29 E98B1308057FA0C5434E7D9A947069D7

I've used Dell DW5809e (EM7305, 4G, work) with modded BIOS (whitelist removed) and kext driver LegacySierraQMI.kext, it got work and speed was good. The signal bus is USB signal.

CXsoft avatar Aug 23 '21 06:08 CXsoft

@KirisameMarisaa @tylernguyen 100D211140499652C4A9B05DC78F4797 截屏2021-08-23 下午2 23 29 E98B1308057FA0C5434E7D9A947069D7

I've used Dell DW5809e (EM7305, 4G, work) with modded BIOS (whitelist removed) and kext driver LegacySierraQMI.kext, it got work and speed was good. The signal bus is USB signal.

  1. Do you need to open port COM 6 and COM 8 of your card to make this patch work?
  2. In my case, I implemented a modified version of LegacySierraQMI which injects the parameters of EM7430/EM7455 to make it recognised by the OS.
  3. Yes, it must be USB. Cards working on PCI-E bus like L850-GL will not be able to drive up in macOS.
  4. Seems like you are using CHN-UNICOM. I couldn't wait to try it with my SIM card inserted. How did you managed to figure out the APN settings?

EigenTom avatar Aug 27 '21 08:08 EigenTom

@KirisameMarisaa @tylernguyen 100D211140499652C4A9B05DC78F4797 截屏2021-08-23 下午2 23 29 E98B1308057FA0C5434E7D9A947069D7 I've used Dell DW5809e (EM7305, 4G, work) with modded BIOS (whitelist removed) and kext driver LegacySierraQMI.kext, it got work and speed was good. The signal bus is USB signal.

  1. Do you need to open port COM 6 and COM 8 of your card to make this patch work?
  2. In my case, I implemented a modified version of LegacySierraQMI which injects the parameters of EM7430/EM7455 to make it recognised by the OS.
  3. Yes, it must be USB. Cards working on PCI-E bus like L850-GL will not be able to drive up in macOS.
  4. Seems like you are using CHN-UNICOM. I couldn't wait to try it with my SIM card inserted. How did you managed to figure out the APN settings?

1.No, I keep COM setting default. 2.I bought 5809e card because it's cheap and it have been tested in this repohttps://github.com/msbence/hackintosh-DellLatitude5400 3.Yes, my 5809e is working on USB bus only, but some of the wwan module have the option to switch into usb mode such as L850-GL. 4.Yes, but it seems like have no relation to the option APN, it will still work when I keep it blank or input something at random such as 11111 Screen Shot 2021-08-27 at 4 44 02 PM

CXsoft avatar Aug 27 '21 08:08 CXsoft

@KirisameMarisaa @tylernguyen 100D211140499652C4A9B05DC78F4797 截屏2021-08-23 下午2 23 29 E98B1308057FA0C5434E7D9A947069D7 I've used Dell DW5809e (EM7305, 4G, work) with modded BIOS (whitelist removed) and kext driver LegacySierraQMI.kext, it got work and speed was good. The signal bus is USB signal.

  1. Do you need to open port COM 6 and COM 8 of your card to make this patch work?
  2. In my case, I implemented a modified version of LegacySierraQMI which injects the parameters of EM7430/EM7455 to make it recognised by the OS.
  3. Yes, it must be USB. Cards working on PCI-E bus like L850-GL will not be able to drive up in macOS.
  4. Seems like you are using CHN-UNICOM. I couldn't wait to try it with my SIM card inserted. How did you managed to figure out the APN settings?

1.No, I keep COM setting default. 2.I bought 5809e card because it's cheap and it have been tested in this repohttps://github.com/msbence/hackintosh-DellLatitude5400 3.Yes, my 5809e is working on USB bus only, but some of the wwan module have the option to switch into usb mode such as L850-GL. 4.Yes, but it seems like have no relation to the option APN, it will still work when I keep it blank or input something at random such as 11111 Screen Shot 2021-08-27 at 4 44 02 PM

Looks great. EM7305 is pretty damn cheap (CNY 45~55) especially on Taobao and Idlefish(XianYu). I'm planning to purchase one for testing too ;-)

By the way, is your WWAN antennas the genuine one comes with this machine, or they are random compatible ones installed by your self?

EigenTom avatar Aug 27 '21 09:08 EigenTom

Hi, buddy,

I have a dw5809e as well. But the signal always shows "NO SIM". would you share your LegacySierraQMI.kext.

vebodev avatar Sep 04 '21 09:09 vebodev

Hi, buddy,

I have a dw5809e as well. But the signal always shows "NO SIM". would you share your LegacySierraQMI.kext.

for DW5809e, you can find the corresponding kext in this repo:

https://github.com/msbence/hackintosh-DellLatitude5400

EigenTom avatar Sep 05 '21 05:09 EigenTom

Hi, buddy, I have a dw5809e as well. But the signal always shows "NO SIM". would you share your LegacySierraQMI.kext.

for DW5809e, you can find the corresponding kext in this repo:

https://github.com/msbence/hackintosh-DellLatitude5400

Great! I made DW5809e work finally.

However, it still has a problem, every time making a connection after a reboot, then WWAN successful connected, then it failed to connect after releasing the connection.

Any idea?

vebodev avatar Sep 05 '21 15:09 vebodev

Hi,

I've already modded bios to remove whitelist but after some shutdown , reboot, maybe cold reboot, my X1C6 report error 1802.

My bios is 1.55, already modded. WWAN card is Dell dw5809e as you advise

Can you help me to fix it?

Beside that, I've EM7455 card but it can not connect, it shows Error. I tried to open port 6 or 8, but the error was same.

thinkpader-hub avatar Feb 02 '22 04:02 thinkpader-hub

Hi,

I've already modded bios to remove whitelist but after some shutdown , reboot, maybe cold reboot, my X1C6 report error 1802.

My bios is 1.55, already modded. WWAN card is Dell dw5809e as you advise

Can you help me to fix it?

Beside that, I've EM7455 card but it can not connect, it shows Error. I tried to open port 6 or 8, but the error was same.

I confirm that EM7305 & EM7355 work fine in Monterey with kext LegacySierra

My steps to make X1C6 recognize them is swap in linux (sleep mode).

  1. Boot into Ubuntu
  2. Sleep
  3. Insert these card
  4. Using swi_usbcomp.pl to change to port 6
  5. Using AT command to bypass X1C6 whitelist (AT!Custom="FASTENUMEN",2)
  6. Exit "low power mode" by using command AT!pcoffen=2
  7. Reset : AT!reset
  8. Change ProID & VID in legacySierra kext to match with card's value
  9. Restart and enjoy

Note: card EM7455 doesn't work in MacOS, I tried all ways but it still shows Error.

https://www.thinkpenguin.com/gnu-linux/em7455-switching-modes-qmi-mbim

Some pics: Screen Shot 2022-02-21 at 08 24 55 <img width="570" alt="Screen Shot 2022-02-21 at 08 26 24" src="htt Screen Shot 2022-02-21 at 08 26 49 ps://user-images.githubusercontent.com/77007245/154874542-97031ea4-921b-470a-bbbd-48248d18a2c7.png">

thinkpader-hub avatar Feb 21 '22 01:02 thinkpader-hub

Hi, guys, I got L850-GL, so I wonder how to change this wwan card from pcie into usb mode?

Einstonoy avatar Jan 29 '23 09:01 Einstonoy

Hi, guys, I got L850-GL, so I wonder how to change this wwan card from pcie into usb mode?

Look this gist https://gist.github.com/HeySora/d720554aa5564a7800de8eca45403ef7

tourze avatar Jul 26 '23 05:07 tourze

Hey guys, I have mod my Thinkpad x1 yoga 2018 using V7.txt, The WWAN I used is Lenovo OEM em7430, but the 1802 unauthorized infos came out still. Wonder how you guys mod your X1C6, could you share the mod *.txt file. Thanks a lot!

Einstonoy avatar Aug 21 '23 12:08 Einstonoy

Hi, I've already modded bios to remove whitelist but after some shutdown , reboot, maybe cold reboot, my X1C6 report error 1802. My bios is 1.55, already modded. WWAN card is Dell dw5809e as you advise Can you help me to fix it? Beside that, I've EM7455 card but it can not connect, it shows Error. I tried to open port 6 or 8, but the error was same.

I confirm that EM7305 & EM7355 work fine in Monterey with kext LegacySierra

My steps to make X1C6 recognize them is swap in linux (sleep mode).

  1. Boot into Ubuntu
  2. Sleep
  3. Insert these card
  4. Using swi_usbcomp.pl to change to port 6
  5. Using AT command to bypass X1C6 whitelist (AT!Custom="FASTENUMEN",2)
  6. Exit "low power mode" by using command AT!pcoffen=2
  7. Reset : AT!reset
  8. Change ProID & VID in legacySierra kext to match with card's value
  9. Restart and enjoy

Note: card EM7455 doesn't work in MacOS, I tried all ways but it still shows Error.

https://www.thinkpenguin.com/gnu-linux/em7455-switching-modes-qmi-mbim

Some pics: Screen Shot 2022-02-21 at 08 24 55 <img width="570" alt="Screen Shot 2022-02-21 at 08 26 24" src="htt Screen Shot 2022-02-21 at 08 26 49 ps://user-images.githubusercontent.com/77007245/154874542-97031ea4-921b-470a-bbbd-48248d18a2c7.png">

hey man, I did all steps you posted on my Thinkpad x1 yoga 2018 and em7430, however the 1802 error remained, interestingly, after the sleep swap and AT commands, the bios boot twice and error came out at the second time, and '1802 error' remained same even I set AT!Custom="FASTENUMEN",0 which technically sure pass whitelist. I wonder it could due to version of bios. my version is 1.48 mod by V7.txt.

Einstonoy avatar Aug 23 '23 04:08 Einstonoy

All right, I tried bios 1.33, it turns out second boot 1802 again, it seems unpatch-able, now I have to give up using em7430 on my x1y3

Einstonoy avatar Aug 23 '23 16:08 Einstonoy

Or remove the whitelist of wwan by mod bios image, guys, do you know how to realize it?

Einstonoy avatar Aug 23 '23 16:08 Einstonoy

hello, is this catalina-only kext, i'm currently on ventura, my em7430 shows on wwan list but not on network nor no sim logo. i'm using ngff to usb adapter for my modem

BloodLancet avatar Aug 28 '23 11:08 BloodLancet

Thanks for your reply, I wonder weather there is a way for Lenovo OEM em7430 ellipse the wwan whitelist, I try all the steps post above, including modding the bios using XX80 V7.txt, or operating in Ubuntu. Anyway, the 1802 error remains.

Einstonoy avatar Aug 30 '23 03:08 Einstonoy

my laptop is Thinkpad x1 yoga gen3 2018, modded bios version is 1.48

Einstonoy avatar Aug 30 '23 03:08 Einstonoy

repo: MacOS12 cannot link, setup: em7340 and x1c6, windows and linux works perfectly

Einstonoy avatar Sep 15 '23 08:09 Einstonoy