Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HELP] Possible WWAN Card Implementing Method #146

Open
EigenTom opened this issue Aug 20, 2021 · 20 comments
Open

[HELP] Possible WWAN Card Implementing Method #146

EigenTom opened this issue Aug 20, 2021 · 20 comments
Labels
enhancement New feature or request network wifi/bluetooth related issues

Comments

@EigenTom
Copy link

EigenTom commented Aug 20, 2021

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.

@tylernguyen tylernguyen added enhancement New feature or request network wifi/bluetooth related issues labels Aug 20, 2021
@tylernguyen
Copy link
Owner

tylernguyen commented Aug 20, 2021

@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

@CXsoft
Copy link

CXsoft commented Aug 23, 2021

@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.

@EigenTom
Copy link
Author

@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?

@CXsoft
Copy link

CXsoft commented Aug 27, 2021

@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

@EigenTom
Copy link
Author

@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?

@vebodev
Copy link

vebodev commented Sep 4, 2021

Hi, buddy,

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

@EigenTom
Copy link
Author

EigenTom commented Sep 5, 2021

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

@vebodev
Copy link

vebodev commented Sep 5, 2021

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?

@thinkpader-hub
Copy link

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
Copy link

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">

@Einstonoy
Copy link

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

@tourze
Copy link

tourze commented Jul 26, 2023

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

@Einstonoy
Copy link

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
Copy link

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
Copy link

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
Copy link

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

@BloodLancet
Copy link

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

@Einstonoy
Copy link

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
Copy link

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

@Einstonoy
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request network wifi/bluetooth related issues
Projects
None yet
Development

No branches or pull requests

8 participants