12-08-2020, 02:03 AM
(This post was last modified: 03-04-2022, 03:26 AM by dcinoz.
Edit Reason: Added command to find modem 'number' + -m any alternative, correct AT+CFUN
)
FYI 5 additional VoLTE profiles (in bold):
Edit: $mmcli --list-modems | grep -oP "(?<=Modem/)[0-9]+" to get correct modem 'number'
$mmcli -m 0 --command='AT+QMBNCFG="list"' (modem number may not be '0')
Edit: As per https://forum.pine64.org/showthread.php?...1#pid85971 from fdlamotte above command can be simplified using -m any instead of a number as there is only one modem in the Pinephone:
mmcli -m any --command=.....
Response:
+QMBNCFG: "List",0,0,0,"ROW_Generic_3GPP",0x05010820,201905141
+QMBNCFG: "List",1,0,0,"VoLTE-ATT",0x0501033C,202004261
+QMBNCFG: "List",2,0,0,"hVoLTE-Verizon",0x05010141,202004091
+QMBNCFG: "List",3,0,0,"Sprint-VoLTE",0x05010205,201908141
+QMBNCFG: "List",4,0,0,"Commercial-TMO_VoLTE",0x05010505,201811231
+QMBNCFG: "List",5,0,0,"Telus-Commercial_VoLTE",0x05800C43,201912031
+QMBNCFG: "List",6,0,0,"Commercial-SBM",0x05011C18,202004211
+QMBNCFG: "List",7,0,0,"Commercial-DT",0x05011F1C,201905311
+QMBNCFG: "List",8,0,0,"Reliance_OpnMkt",0x05011B38,202003251
+QMBNCFG: "List",9,0,0,"TF_Germany_VoLTE",0x05010C1B,202004151
+QMBNCFG: "List",10,0,0,"TF_Spain_VoLTE",0x05010CFA,201909261
+QMBNCFG: "List",11,0,0,"Volte_OpenMkt-Commercial-CMCC",0x05012071,202004161
+QMBNCFG: "List",12,0,0,"OpenMkt-Commercial-CT",0x05011322,202001171
+QMBNCFG: "List",13,0,0,"OpenMkt-Commercial-CU",0x05011505,202001171
+QMBNCFG: "List",14,1,1,"Telstra-Commercial_VoLTE",0x0580079E,202006101
+QMBNCFG: "List",15,0,0,"Commercial-KDDI",0x0501071D,202004041
+QMBNCFG: "List",16,0,0,"Commercial-DCM",0x05010D17,202006101
+QMBNCFG: "List",17,0,0,"Commercial-SKT_VoLTE",0x05012724,201907221
+QMBNCFG: "List",18,0,0,"Commercial-KT",0x05012C0D,202005071
Note 1,1 indicates Telstra for me (though not currently available to Telstra MVNOs so can't test).
The following AT commands could be of interest to you, not sure what defaults are.
# SelectVoLTE profile
AT+QMBNCFG="Select","Telstra-Commercial_VoLTE" (use relevant name for you)
# Deactivate active profile
AT+QMBNCFG="Deactivate"
# Configure MBN Automatic Selection Function
# Return current configuration
AT+QMBNCFG="AutoSel"
response: '+QMBNCFG: "Autosel",1' (enabled)
response: '+QMBNCFG: "Autosel",1' (disabled)
#Set to autosel
AT+QMBNCFG="AutoSel",<enable>
where <enable> 0 disable, 1 enable
# Enable calling over ip (VoLTE)
AT+QCFG="ims",1
# Check ims status
AT+QCFG="ims"
Response:
+QCFG: "ims",<value>,<volte_state>
<value> IMS function configuration parameter
0 The NV about IMS can be set by the configuration of the MBN file
1 Enable IMS function
2 Disable IMS function
<volte_state> VoLTE state
0 VoLTE is not ready
1 VoLTE is ready
Edit: Don't believe this is needed as it is Set Phone Functionality command (might be needed to enable settings changes)
# Reboot the modem to apply the settings # THIS IS WRONG
AT+CFUN=1,1 # THIS SETS FULL PHONE FUNCTIONALITY AND RESETS THE ME
AT+CFUN=1,0 # this sets full (default) functionality (1) and does not reset the ME (0)
# Set Phone Functionality
AT+CFUN=<fun>[,<rst>]
<fun> 0 Minimum functionality
1 Full functionality (Default)
4 Disable the ME from both transmitting and receiving RF signals
<rst> 0 Do not reset the ME before setting it to <fun> functionality level.
This is the default setting when <rst> is not given.
1 Reset the ME. The device is fully functional after the reset.
This value is available only for <fun>=1.
Response:
OK
If there is an error related to ME functionality, response:
+CME ERROR: <err>
# Check Phone Functionality
AT+CFUN?
Response:
+CFUN: <fun>
<fun> 0 Minimum functionality
1 Full functionality (Default)
4 Disable the ME from both transmitting and receiving RF signals
End edit.
Write down your actual configuration values / settings before changing anything and don't blame me - I don't believe you can break anything permanently but things could stop working until you revert back to your current configuration, you have been warned.
Google is your friend for Quectel PDFs though I couldn't find one for the EG25-G.
Be aware of the m modem number increasing as modem sleeps / wakes up.
Be aware that " is used in the commands.
AT commands can also be sent using minicom or screen for example using /dev/ttyUSB2 (Mobian, not sure on other OSes).
I've tried uploading and 'Adding' MBN files (new profiles) from a Xiaomi Android phone but it failed (Optus and Vodafone), presumably due to not being signed correctly. I wonder what will happen in terms of future support / updates from Quectel.
Edit: $mmcli --list-modems | grep -oP "(?<=Modem/)[0-9]+" to get correct modem 'number'
$mmcli -m 0 --command='AT+QMBNCFG="list"' (modem number may not be '0')
Edit: As per https://forum.pine64.org/showthread.php?...1#pid85971 from fdlamotte above command can be simplified using -m any instead of a number as there is only one modem in the Pinephone:
mmcli -m any --command=.....
Response:
+QMBNCFG: "List",0,0,0,"ROW_Generic_3GPP",0x05010820,201905141
+QMBNCFG: "List",1,0,0,"VoLTE-ATT",0x0501033C,202004261
+QMBNCFG: "List",2,0,0,"hVoLTE-Verizon",0x05010141,202004091
+QMBNCFG: "List",3,0,0,"Sprint-VoLTE",0x05010205,201908141
+QMBNCFG: "List",4,0,0,"Commercial-TMO_VoLTE",0x05010505,201811231
+QMBNCFG: "List",5,0,0,"Telus-Commercial_VoLTE",0x05800C43,201912031
+QMBNCFG: "List",6,0,0,"Commercial-SBM",0x05011C18,202004211
+QMBNCFG: "List",7,0,0,"Commercial-DT",0x05011F1C,201905311
+QMBNCFG: "List",8,0,0,"Reliance_OpnMkt",0x05011B38,202003251
+QMBNCFG: "List",9,0,0,"TF_Germany_VoLTE",0x05010C1B,202004151
+QMBNCFG: "List",10,0,0,"TF_Spain_VoLTE",0x05010CFA,201909261
+QMBNCFG: "List",11,0,0,"Volte_OpenMkt-Commercial-CMCC",0x05012071,202004161
+QMBNCFG: "List",12,0,0,"OpenMkt-Commercial-CT",0x05011322,202001171
+QMBNCFG: "List",13,0,0,"OpenMkt-Commercial-CU",0x05011505,202001171
+QMBNCFG: "List",14,1,1,"Telstra-Commercial_VoLTE",0x0580079E,202006101
+QMBNCFG: "List",15,0,0,"Commercial-KDDI",0x0501071D,202004041
+QMBNCFG: "List",16,0,0,"Commercial-DCM",0x05010D17,202006101
+QMBNCFG: "List",17,0,0,"Commercial-SKT_VoLTE",0x05012724,201907221
+QMBNCFG: "List",18,0,0,"Commercial-KT",0x05012C0D,202005071
Note 1,1 indicates Telstra for me (though not currently available to Telstra MVNOs so can't test).
The following AT commands could be of interest to you, not sure what defaults are.
# SelectVoLTE profile
AT+QMBNCFG="Select","Telstra-Commercial_VoLTE" (use relevant name for you)
# Deactivate active profile
AT+QMBNCFG="Deactivate"
# Configure MBN Automatic Selection Function
# Return current configuration
AT+QMBNCFG="AutoSel"
response: '+QMBNCFG: "Autosel",1' (enabled)
response: '+QMBNCFG: "Autosel",1' (disabled)
#Set to autosel
AT+QMBNCFG="AutoSel",<enable>
where <enable> 0 disable, 1 enable
# Enable calling over ip (VoLTE)
AT+QCFG="ims",1
# Check ims status
AT+QCFG="ims"
Response:
+QCFG: "ims",<value>,<volte_state>
<value> IMS function configuration parameter
0 The NV about IMS can be set by the configuration of the MBN file
1 Enable IMS function
2 Disable IMS function
<volte_state> VoLTE state
0 VoLTE is not ready
1 VoLTE is ready
Edit: Don't believe this is needed as it is Set Phone Functionality command (might be needed to enable settings changes)
# Reboot the modem to apply the settings # THIS IS WRONG
AT+CFUN=1,1 # THIS SETS FULL PHONE FUNCTIONALITY AND RESETS THE ME
AT+CFUN=1,0 # this sets full (default) functionality (1) and does not reset the ME (0)
# Set Phone Functionality
AT+CFUN=<fun>[,<rst>]
<fun> 0 Minimum functionality
1 Full functionality (Default)
4 Disable the ME from both transmitting and receiving RF signals
<rst> 0 Do not reset the ME before setting it to <fun> functionality level.
This is the default setting when <rst> is not given.
1 Reset the ME. The device is fully functional after the reset.
This value is available only for <fun>=1.
Response:
OK
If there is an error related to ME functionality, response:
+CME ERROR: <err>
# Check Phone Functionality
AT+CFUN?
Response:
+CFUN: <fun>
<fun> 0 Minimum functionality
1 Full functionality (Default)
4 Disable the ME from both transmitting and receiving RF signals
End edit.
Write down your actual configuration values / settings before changing anything and don't blame me - I don't believe you can break anything permanently but things could stop working until you revert back to your current configuration, you have been warned.
Google is your friend for Quectel PDFs though I couldn't find one for the EG25-G.
Be aware of the m modem number increasing as modem sleeps / wakes up.
Be aware that " is used in the commands.
AT commands can also be sent using minicom or screen for example using /dev/ttyUSB2 (Mobian, not sure on other OSes).
I've tried uploading and 'Adding' MBN files (new profiles) from a Xiaomi Android phone but it failed (Optus and Vodafone), presumably due to not being signed correctly. I wonder what will happen in terms of future support / updates from Quectel.
Pinephone v1.2 UBports CE. Adelaide, Australia using Amaysim SIM (Optus network, VoLTE enabled) with Mobian SD card. VoLTE working also with Felix / Vodafone AU and Aldimobile / Telstra AU.
Manjaro Plasma Mobile on EMMC.
Manjaro Plasma Mobile on EMMC.