Skip to content

lenovo/lenovo-wwan-unlock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lenovo-wwan-unlock

FCC and DPR unlock for Lenovo PCs

Instructions to perform FCC unlock and SAR config:


List of Supported WWAN Modules and Systems:

  1. WWAN module : Fibocom L860R+
    Supported systems:

    • ThinkPad X1 Yoga Gen 7
    • ThinkPad X1 Yoga Gen 8
    • ThinkPad X1 Carbon Gen 10
    • ThinkPad X1 Carbon Gen 11
    • ThinkPad T14 Gen 3
    • ThinkPad T14 Gen 4
    • ThinkPad T14s Gen 3
    • ThinkPad T14s Gen 4
    • ThinkPad T16 Gen 1
    • ThinkPad T16 Gen 2
    • ThinkPad L14 Gen 4
    • ThinkPad L15 Gen 4
    • ThinkPad P14s Gen 4
  2. WWAN module : Fibocom FM350 5G
    Supported systems:

    • ThinkPad X1 Yoga Gen 7
    • ThinkPad X1 Yoga Gen 8
    • ThinkPad X1 Carbon Gen 10
    • ThinkPad X1 Carbon Gen 11
  3. WWAN module : Quectel RM520N-GL (*Please refer below required Environment) Supported systems:

    • ThinkPad X1 Carbon Gen 12
    • ThinkPad X1 2-in-1 Gen 9
    • ThinkPad T14 Gen 5 (Intel/AMD)
    • ThinkPad T16 Gen 3
    • ThinkPad T14s Gen 5 (Intel)
    • ThinkPad T14s Gen 6 (AMD)

    Environment:(Enabled only for non-USA SIM)

    • Kernel version: 6.6 or later
    • ModemManager version: 1.22 or later
  4. WWAN module : Quectel EM160R-GL (*Please refer below required Environment) Supported systems:

    • ThinkPad X1 Carbon Gen 12
    • ThinkPad X1 2-in-1 Gen 9
    • ThinkPad L14 Gen 5
    • ThinkPad L16 Gen 1
    • ThinkPad X13 2-in-1 Gen 5
    • ThinkPad T14 Gen 5 (Intel/AMD)

    Environment:(Enabled only for non-USA SIM)

    • Kernel version: 6.5 or later
    • ModemManager version: 1.22 or later
  5. WWAN module : Quectel EM061K (*Please refer below required Environment) Supported systems:

    • ThinkPad L13 Gen 5
    • ThinkPad L13 2-in-1 Gen 5
    • ThinkPad L14 Gen 5
    • ThinkPad L16 Gen 1
    • ThinkPad X13 Gen 5
    • ThinkPad X13 2-in-1 Gen 5
    • ThinkPad T14 Gen 5 (Intel/AMD)
    • ThinkPad T16 Gen 3
    • ThinkPad T14s Gen 5 (Intel)

    Environment:(Enabled only for non-USA SIM)

    • Kernel version: 6.5 or later
    • ModemManager version: 1.22 or later
  6. WWAN module : Quectel EM05-CN (*Please refer below required Environment) Supported systems:

    • ThinkPad X1 Carbon Gen 12
    • ThinkPad X13 Gen 5
    • ThinkPad X13 2-in-1 Gen 5
    • ThinkPad T14 Gen 5 (Intel)

    Environment:

    • Kernel version: 6.6 or later
    • ModemManager version: 1.21.2 or later

Enablement is done on a Module + System basis. Systems not listed are currently not supported.


Tested Operating Systems:

  • Ubuntu 22.04 : OK
  • Fedora: OK

Please follow the procedure below step by step to enable WWAN

  1. Run the fcc_unlock_setup.sh script to install SAR config package and FCC unlock:
    chmod ugo+x fcc_unlock_setup.sh
    ./fcc_unlock_setup.sh
    
  2. Reboot machine (Only needed once)

Please follow the procedure for uninstalling this package

  1. Run the fcc_unlock_uninstall.sh script to uninstall SAR config package and FCC unlock:
    chmod ugo+x fcc_unlock_uninstall.sh
    ./fcc_unlock_uninstall.sh
    

Logs can be checked using one of the commands below:

  • For FCC Unlock: cat /var/log/syslog | grep -i DPR_Fcc_unlock_service

  • For SAR Config: cat /var/log/syslog | grep -i configservice_lenovo

  • journalctl

  • Please follow below steps to enable Verbose logging:

    1. For FCC Unlock: Add "-v" in FCC unlock scripts updated in "fcc-unlock.d.tar.gz", for example:

      FileName - fcc-unlock.d/8086:7560

      Modification- "./opt/fcc_lenovo/DPR_Fcc_unlock_service -v"

    2. For SAR Config: Add "-v" in systemd service file, for example:

      FileName - lenovo-cfgservice.service

    Modification- "ExecStart=/opt/fcc_lenovo/configservice_lenovo -v"


Additional Notes:

  • If the Modem disappears after the machine reboots, please restart it with the systemctl restart ModemManager command.

  • WWAN enablement is not done for USA SIM, used in below modules:

    • Fibocom FM350
    • Quectel RM520N-GL
    • Quectel EM160R-GL
    • Quectel EM061K
  • WWAN enablement is done for USA SIM except for Verizon SIM, used in below module:

    • Fibocom L860R+

    Reason: Carrier certification for USA operator is not completed and it will take few months to enable WWAN for USA SIM.