MBIMCLI(1)

✨ MBIMCLI(1) β€” mbimcli from User Commands ✨

okay so bestie, this is the mbimcli manual, aka the group chat where your MBIM device finally spills everything. This is part 1, and it's giving full-control energy with zero skipped options. πŸ’…

πŸ’– NAME πŸ’–

mbimcli - Control MBIM devices

πŸ¦‹ DESCRIPTION πŸ¦‹

✨ Usage: ✨

mbimcli [OPTION…] - Control MBIM devices

πŸŽ€ Help Options πŸŽ€

  • -h, --help β€” shows the help options. iconic lil helper.
  • --help-all β€” shows all help options. the whole menu, no crumbs.
  • --help-basic-connect β€” shows the Basic Connect Service options.
  • --help-phonebook β€” shows the Phonebook Service options.
  • --help-dss β€” shows the Device Service Stream options.
  • --help-ms-firmware-id β€” shows the Microsoft Firmware ID Service options.
  • --help-ms-host-shutdown β€” shows the Microsoft Host Shutdown Service options.
  • --help-ms-sar β€” shows the Microsoft SAR Service options.
  • --help-atds β€” shows the AT&T Device Service options.
  • --help-intel-firmware-update β€” shows the Intel Firmware Update Service options.
  • --help-ms-basic-connect-extensions β€” shows the Microsoft Basic Connect Extensions Service options.
  • --help-quectel β€” shows the Quectel Service options.
  • --help-link-management β€” shows link management specific options.
  • --help-intel-thermal-rf β€” shows the Intel Thermal RF Service options.
  • --help-ms-voice-extensions β€” shows the Microsoft Voice Extensions Service options.
  • --help-ms-uicc-low-level-access β€” shows the Microsoft UICC Low Level Access Service options.
  • --help-intel-mutual-authentication β€” shows the Intel mutual authentication Service options.
  • --help-intel-tools β€” shows the Intel 5G tools options.
  • --help-google β€” shows the Google Service options.
  • --help-fibocom β€” shows the Fibocom Service options.
  • --help-sms β€” shows the SMS service options.
  • --help-compal β€” shows the Compal Service options.
  • --help-intel-at-tunnel β€” shows the Intel AT Tunnel Service options.

πŸ’… Basic Connect options πŸ’…

  • --query-device-caps β€” queries device capabilities.
  • --query-subscriber-ready-status β€” queries subscriber ready status.
  • --query-radio-state β€” queries radio state.
  • --set-radio-state=[(on|off)] β€” sets radio state to on or off.
  • --query-device-services β€” queries device services.
  • --query-pin-state β€” queries PIN state.
  • --enter-pin=[(PIN type),(current PIN)] β€” enters PIN. PIN type is optional and defaults to PIN1; allowed options are (pin1,network-pin,network-subset-pin,service-provider-pin,corporate-pin).
  • --change-pin=[(current PIN),(new PIN)] β€” changes PIN.
  • --enable-pin=[(current PIN)] β€” enables PIN.
  • --disable-pin=[(PIN type),(current PIN)] β€” disables PIN. PIN type is optional; see enter-pin for details.
  • --enter-puk=[(PUK type),(PUK),(new PIN)] β€” enters PUK. PUK type is optional and defaults to PUK1; allowed options are (puk1,network-puk,network-subset-puk,service-provider-puk,corporate-puk).
  • --query-pin-list β€” queries PIN list.
  • --query-home-provider β€” queries home provider.
  • --query-preferred-providers β€” queries preferred providers.
  • --query-visible-providers β€” queries visible providers.
  • --query-register-state β€” queries register state.
  • --set-register-state=["key=value,..."] β€” sets basic register settings. Allowed keys: action, provider-id, data-class.
  • --query-signal-state β€” queries signal state.
  • --query-packet-service-state β€” queries packet service state.
  • --attach-packet-service β€” attaches to the packet service.
  • --detach-packet-service β€” detaches from the packet service.
  • --query-connection-state=[SessionID] β€” queries connection state. SessionID is optional and defaults to 0.
  • --connect=["key=value,..."] β€” connects. Allowed keys: session-id, access-string, ip-type, auth, username, password, compression, context-type.
  • --query-ip-configuration=[SessionID] β€” queries IP configuration. SessionID is optional and defaults to 0.
  • --disconnect=[SessionID] β€” disconnects. SessionID is optional and defaults to 0.
  • --query-packet-statistics β€” queries packet statistics.
  • --query-ip-packet-filters=[SessionID] β€” queries IP packet filters. SessionID is optional and defaults to 0.
  • --set-ip-packet-filters=["key=value,..."] β€” sets IP packet filters. Allowed keys: session-id, packet-filter, packet-mask, filter-id.
  • --query-provisioned-contexts β€” queries provisioned contexts.
  • --set-provisioned-contexts=["key=value,..."] β€” sets provisioned contexts. Allowed keys: context-id, context-type, auth, compression, username, password, access-string, provider-id.
  • --set-signal-state=["key=value,..."] β€” sets signal state. Allowed keys: signal-strength-interval, rssi-threshold, error-rate-threshold.
  • --set-network-idle-hint=[(enabled|disabled)] β€” sets network idle hint to enabled or disabled.
  • --query-network-idle-hint β€” queries network idle hint.
  • --set-emergency-mode=[(on|off)] β€” sets emergency mode to on or off.
  • --query-emergency-mode β€” queries emergency mode.
  • --set-service-activation=[Data] β€” sets service activation with Data.

πŸ“ Phonebook options πŸ“

  • --phonebook-query-configuration β€” queries the phonebook configuration.
  • --phonebook-read=[(Phonebook index)] β€” reads the phonebook entry with the given index.
  • --phonebook-read-all β€” reads all phonebook entries.
  • --phonebook-write=[(Name),(Number)[,(Index)]] β€” adds a new phonebook entry or updates an existing one.
  • --phonebook-delete=[(Phonebook index)] β€” deletes the phonebook entry with the given index.
  • --phonebook-delete-all β€” deletes all phonebook entries.

πŸ¦‹ Device Service Stream options πŸ¦‹

  • --dss-connect=[(UUID),(Session ID)] β€” connects DSS session.
  • --dss-disconnect=[(UUID),(Session ID)] β€” disconnects DSS session.

⭐ Microsoft Firmware ID options ⭐

  • --ms-query-firmware-id β€” queries firmware ID.

🌸 Microsoft Host Shutdown options 🌸

  • --ms-notify-host-shutdown β€” notifies that host is shutting down.

πŸ”₯ Microsoft SAR options πŸ”₯

  • --ms-set-sar-config=[(device|os),(enabled|disabled)[,[{antenna_index,backoff_index}...]]] β€” sets SAR config; it takes device or os, then enabled or disabled, then optional {antenna_index,backoff_index} pairs.
  • --ms-query-sar-config β€” queries SAR config.
  • --ms-set-transmission-status=[(enabled|disabled),(timer)] β€” sets transmission status and hysteresis timer (in seconds).
  • --ms-query-transmission-status β€” queries transmission status.

πŸ’– AT&T Device Service options πŸ’–

  • --atds-query-signal β€” queries signal info.
  • --atds-query-location β€” queries cell location.
  • --atds-query-operators β€” queries operators.
  • --atds-query-rat β€” queries Radio Access Technology.

πŸ‘‘ Intel Firmware Update Service options πŸ‘‘

  • --intel-modem-reboot=[(Boot Mode),(Timeout)] β€” reboots modem. Boot mode and timeout arguments are only required if MBIMEx >= 2.0.

🧚 Microsoft Basic Connect Extensions options 🧚

  • --ms-query-pco=[SessionID] β€” queries PCO value. SessionID is optional and defaults to 0.
  • --ms-query-lte-attach-configuration β€” queries LTE attach configuration.
  • --ms-set-lte-attach-configuration=[(default|restore-factory)[,"key=value,..."[/"key=value,..."[/"key=value,..."]]]] β€” sets LTE attach configurations. Groups are separated by / if there is more than one, and allowed-keys are: ip-type, roaming-control, source, access-string, username, password, compression, auth.
  • --ms-query-lte-attach-info β€” queries LTE attach status information.
  • --ms-query-sys-caps β€” queries system capabilities.
  • --ms-query-device-caps β€” queries device capabilities.
  • --ms-query-slot-info-status=[SlotIndex] β€” queries slot information status.
  • --ms-set-device-slot-mappings=[(SlotIndex)[,(SlotIndex)[,...]]] β€” sets device slot mappings for each executor.
  • --ms-query-device-slot-mappings β€” queries device slot mappings.
  • --ms-query-location-info-status β€” queries location info status.
  • --ms-set-provisioned-contexts=["key=value,..."] β€” sets provisioned contexts. Allowed keys: operation, context-type, ip-type, state, roaming-control, media-type, source, auth, compression, username, password, access-string.
  • --ms-query-provisioned-contexts β€” queries provisioned contexts.
  • --ms-query-base-stations-info β€” queries base stations info.
  • --ms-device-reset β€” resets device.
  • --ms-query-version=[(MBIM version),(MBIM extended version)] β€” exchanges supported version information. Since MBIMEx v2.0.
  • --ms-query-registration-parameters β€” queries registration parameters. Since MBIMEx v3.0.
  • --ms-set-registration-parameters=["key=value,..."] β€” sets registration parameters. Required keys: mico-mode, drx-cycle, ladn-info, default-pdu-activation-hint, re-register-if-needed. Since MBIMEx v3.0.
  • --ms-query-modem-configuration β€” queries modem configuration. Since MBIMEx v3.0.
  • --ms-query-wake-reason β€” queries wake reason. Since MBIMEx v3.0.

🫢 Quectel options 🫢

  • --quectel-query-radio-state β€” queries radio state.
  • --quectel-set-radio-state=[(on)] β€” sets radio state to on.
  • --quectel-set-command=[(Command type),("Command")] β€” sends command to module. Command type is optional and defaults to AT; allowed options are (at, system).
  • --link-list=[IFACE] β€” lists links created from a given interface.
  • --link-add=[iface=IFACE,prefix=PREFIX[,session-id=N]] β€” creates a new network interface link.
  • --link-delete=IFACE β€” deletes a given network interface link.
  • --link-delete-all=[IFACE] β€” deletes all network interface links from the given interface.

πŸ’œ Intel Thermal RF Service options πŸ’œ

  • --intel-query-rfim β€” queries RFIM frequency information.
  • --intel-set-rfim=[(on|off)] β€” enables or disables RFIM (disabled by default).

πŸŽ€ Microsoft Voice Extensions Service options πŸŽ€

  • --ms-query-nitz β€” queries network identity and time zone.

πŸ’€ Microsoft UICC Low Level Access Service options πŸ’€

  • --ms-query-uicc-application-list β€” queries UICC application list.
  • --ms-query-uicc-file-status=["key=value,..."] β€” queries UICC file status. Allowed keys: application-id, file-path.
  • --ms-query-uicc-read-binary=["key=value,..."] β€” reads UICC binary file. Allowed keys: application-id, file-path, read-offset, read-size, local-pin and data.
  • --ms-query-uicc-read-record=["key=value,..."] β€” reads UICC record file. Allowed keys: application-id, file-path, record-number, local-pin and data.
  • --ms-set-uicc-open-channel=["key=value,..."] β€” sets UICC open channel. Allowed keys: application-id, selectp2arg, channel-group.
  • --ms-set-uicc-close-channel=["key=value,..."] β€” sets UICC close channel. Allowed keys: channel, channel-group.
  • --ms-query-uicc-atr β€” queries UICC atr.
  • --ms-set-uicc-apdu=["key=value,..."] β€” sets the UICC apdu, bestie. allowed keys are channel, secure-message, classbyte-type, command ✨
  • --ms-set-uicc-reset=[(Pass Through Action)] β€” sets the UICC reset, that's it that's the whole vibe πŸŽ€
  • --ms-query-uicc-reset β€” asks the modem what the UICC reset situation is rn πŸ‘€
  • --ms-set-uicc-terminal-capability=["key=value,..."] β€” sets the UICC terminal capability, and the only allowed key is terminal-capability, no cap πŸ’…
  • --ms-query-uicc-terminal-capability β€” queries the UICC terminal capability, slay πŸ”₯

Intel mutual authentication Service options πŸ”

  • --intel-query-fcc-lock β€” query the FCC lock information πŸ¦‹
  • --intel-set-fcc-lock=[(ResponsePresent),(Response)] β€” set the FCC lock information, with ResponsePresent and Response as the args 🌸

Intel 5G tools options πŸ“‘

  • --intel-set-trace-config=[(TraceCmd)|(TraceValue)] β€” set the trace configuration, giving either a TraceCmd or a TraceValue ✨
  • --intel-query-trace-config=[(TraceCmd)] β€” query the trace configuration using a TraceCmd πŸ‘‘

Google options πŸ’™

  • --google-set-carrier-lock=[(Data)] β€” set the Google Carrier Lock with Data, periodt πŸŽ€
  • --google-query-carrier-lock β€” query the Google Carrier Lock, iconic behavior πŸ’…

FIbocom options 🧚

  • --fibocom-set-at-command="<AT command>" β€” sends an AT command to the modem and receives the AT response back, fr fr πŸ’œ

Simple message service options πŸ’Œ

  • --sms-query-configuration β€” query the SMS configuration 🌸
  • --sms-query-message-store-status β€” query the SMS message store status πŸ‘€
  • --sms-delete=[(all|new|old|sent|draft|index=N)] β€” deletes all SMS matching a given filter; filters are all, new, old, sent, draft, or index=N πŸ—‘οΈ
  • --sms-read=[(all|new|old|sent|draft|index=N)] β€” reads all SMS matching a given filter; filters are all, new, old, sent, draft, or index=N πŸ“–

Compal options πŸ“

  • --compal-query-at-command="<AT command>" β€” sends an AT command to the modem and receives the AT response, same energy πŸ’–

Intel AT Tunnel options πŸš‡

  • --intel-at-tunnel-set-at-command="<AT command>" β€” sends an AT command to the modem and receives the AT response, we love a consistent icon 🌈

Application Options ✨

  • -d, --device=[PATH] β€” specify the device path, iykyk 🫢
  • -p, --device-open-proxy β€” request to use the mbim-proxy proxy πŸ‘‘
  • --device-open-ms-mbimex-v2 β€” request to enable Microsoft MBIMEx v2.0 support πŸ”₯
  • --device-open-ms-mbimex-v3 β€” request to enable Microsoft MBIMEx v3.0 support πŸ”₯πŸ”₯
  • --no-open=[Transaction ID] β€” do not explicitly open the MBIM device before running the command; you can hand it a Transaction ID πŸ’€
  • --no-close β€” do not close the MBIM device after running the command, leaving it wide open πŸ™ˆ
  • --noop β€” don't run any command at all. literally nothing. main character of doing nothing 😌
  • -v, --verbose β€” run the action with verbose logs, including the debug ones πŸ¦‹
  • --verbose-full β€” run the action with verbose logs, including the debug ones and personal info, so be careful what you paste in the group chat 😭
  • --silent β€” run the action with no logs; not even the error/warning ones. silence is golden πŸ’…
  • --printable=[(Data)] β€” get the printable info of the given hex encoded MBIM message ⭐
  • -V, --version β€” print version πŸŽ€

Copyright Β© 2013-2023 Aleksander Morgado License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html>

This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. (no cap, they really mean the no-warranty part πŸ™ˆ)

SEE ALSO πŸ‘€

The full documentation for mbimcli is maintained as a Texinfo manual. If the info and mbimcli programs are properly installed at your site, the command

info mbimcli

should give you access to the complete manual. go get that lore bestie πŸ’–


and that's the whole page, babes 🌈✨ this lil beauty is mbimcli 1.34.0, dated January 2026 β€” go forth and query responsibly πŸ’…πŸ«Ά

πŸ“¦ where this page comes from