This is a Fibocom linux apps set project for wwan devices.
Flash service: firmware update, switch, recovery.
Ma service: fccunlock(It is not open source).
Config service: OEM configuration function.
Helper service: provider dbus API for Flash/Ma/Config service.
The fibo_flash fibo_config fibo_helper binaries are both GPLv2+.
- Service must be used with fw_package. Before installing service, ensure that fw_package has been installed. Obtain the fw package from the corresponding OEM .
- fw_switch using fastboot so you can install fastboot with command
sudo apt-get install fastboot - MA service default not enable if you want to used you should copy
/opt/fibocom/fibo_ma_service/fcc-unlock.dto/usr/lib/x86_64-linux-gnu/ModemManager/command :cp -raf /opt/fibocom/fibo_ma_service/fcc-unlock.d /usr/lib/x86_64-linux-gnu/ModemManager/rm -rf /opt/fibocom/fibo_ma_service/fcc-unlock.dchown -R root:root /usr/lib/x86_64-linux-gnu/ModemManager/fcc-unlock.dchmod 755 -R /usr/lib/x86_64-linux-gnu/ModemManager/fcc-unlock.d
- This application runs only on ubuntu22.04,other ubuntu versions and other OS have unverified.
- sudo apt install cmake
- sudo apt install build-essential
- sudo apt install -y pkg-config
- sudo apt install libglib2.0-dev
- sudo apt install libxml2-dev
- sudo apt install libudev-dev
- sudo apt install libmbim-glib-dev
- sudo apt install libdbus-1-dev
- sudo apt install libmm-glib-dev
- cmake -S . -B build
if you want to install custom path you can send cmd:
cmake -S . -B build --install-prefix <custm path> - cmake --build build
- sudo cmake --install build
if you install custom path in home path you can send cmd:
cmake --install
- load config file
sudo systemctl daemon-reload - enable service
sudo systemctl enable fibo_xxx.service
examples: sudo systemctl enable fibo_helper.service
sudo systemctl enable fibo_helper_mbim.service
sudo systemctl enable fibo_flash.service
sudo systemctl enable fibo_config.service
notices: this step must be done,then systemd can find and start the service - start service
sudo systemctl start fibo_xxx.service - Get status
sudo systemctl status fibo_xxx.service - Stop service
sudo systemctl stop fibo_xxx.service
-
version:1.0.0
first version, add flash firmware,recovery service. -
version:1.0.2
- modify project build script
- optimize helper and flash service source code
- modify project build script
-
version:1.0.3
modify project build script -
version:1.0.4
fw switch:- FWSwitch can not be triggered after hotplug switch verizon to CUCC sim card. (mccmnc 6 bit switch to 5 bit)
recovery:
- The oem is damaged. After the module is powered on, recovery is triggered to burn the oem.
- Stop the timer when the fastboot port appears.
Ma Service:
- If an exception is returned, modify the judgment string
- Add the SKU ID
helper:
- Support MBIM message indication and revert previous MM indication support.
- Re-add timeout recovery mechanism if helperm is no response.
- When the helper returns a command to the caller, the code logic is incorrect.
- FWSwitch can not be triggered after hotplug switch verizon to CUCC sim card. (mccmnc 6 bit switch to 5 bit)
-
version:1.0.5
config_service:- support sim card slot switch slot 1.
helper:
- The SIM card status and MCCMNC on the network side can be queried using mbim messages.
- recovery You can select the version number to flash.
fw switch:
- Support low-battery upgrade in AC mode.
- If the obtained SubSysid is empty, no upgrade is performed.
- support sim card slot switch slot 1.
-
version:1.0.6
Fix spelling errors in source codehelper:
- The optimization progress bar is displayed
- Optimize recovery download logic
- modify helperm abnormal stuck status
fw switch:
- Can't do FW switch after recovery when port state is abnormal on first boot.
- Support monitoring of new package installation.
- The optimization progress bar is displayed
-
version:1.0.7
- modify source code compiling warning
- modify all service log format
- modify source code compiling warning
-
version:1.0.8
- optimized config code
- modify log level
- flash service print log without fw_package
- optimized config code
-
version:1.0.11
- Modify FWFlashServie flash logic.
- Modify FWFlashServie flash logic.