Question regarding modem
#1
I have one question: 

The modem of my phone seems to do everything as it should except for one thing: It does not send text messages (SMS) apart from two cases (out of maybe 50-100 so far). By contrast, receiving messages is not a problem at all.

With the help of friendly people in this forum I found out that it is in all likelihood
-neither a software (Mobian, Ubuntu Touch, Manjaro Plasma)
-nor a firmware issue.

Is there anybody here who knows enough about modems to tell me whether this could be a hardware problem? Or is that simply impossible given that everything works except for sending text messages?
  Reply
#2
Do messages work via command line? ie:

Code:
mmcli -m 0 --messaging-create-sms="text='Hello World',number=+1xxxxxxxxxx,delivery-report-request=yes"
Successfully created new SMS: /org/freedesktop/ModemManager1/SMS/1
mmcli -s 1 --send
  Reply
#3
Perhaps using 'Modem Manager GUI' ?
Using that I just successfully sent a message from a bookworm OS phone.
      LINUX = CHOICES
         **BCnAZ**
               Idea
   Donate to $upport
your favorite OS Team
  Reply
#4
(09-30-2021, 02:42 AM)jabadahut91 Wrote: Do messages work via command line? ie:

Wow, that's cool, thanks!

However, it does not work either:

Code:
mobian@mobian:~$ mmcli -s 1 --send
error: couldn't send the SMS: 'Timeout was reached'

Nor did Modem Manager GUI do the trick, I'm afraid. (I think I have basically tried everything with that app without any success.)
  Reply
#5
(09-29-2021, 05:18 AM)AntonReiser Wrote: I have one question: 

The modem of my phone seems to do everything as it should except for one thing: It does not send text messages (SMS) apart from two cases (out of maybe 50-100 so far). By contrast, receiving messages is not a problem at all.

With the help of friendly people in this forum I found out that it is in all likelihood
-neither a software (Mobian, Ubuntu Touch, Manjaro Plasma)
-nor a firmware issue.

Is there anybody here who knows enough about modems to tell me whether this could be a hardware problem? Or is that simply impossible given that everything works except for sending text messages?
You might try turning off IMS as some people have reported it being on resulted in sending SMS issues:
https://gitlab.com/mobian1/issues/-/issues/254

Note that if you use a configuration in /etc/eg25-manager/ you need to check that it matches a potentially newer version (after updates) as otherwise it can break things with eg25-manager (/usr/share/eg25-manager/ is where defaults are located).

What carrier are you with? It could be carrier specific: https://wiki.pine64.org/wiki/PinePhone_Carrier_Support
I suppose you have already tried forcing 3G?

Frustrating how it seems to work for some people, not for others, so most likely a carrier issue.
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.
  Reply
#6
(09-30-2021, 10:56 AM)dcinoz Wrote:
(09-29-2021, 05:18 AM)AntonReiser Wrote: whether this could be a hardware problem? Or is that simply impossible given that everything works except for sending text messages?
You might try turning off IMS as some people have reported it being on resulted in sending SMS issues:
https://gitlab.com/mobian1/issues/-/issues/254

Note that if you use a configuration in /etc/eg25-manager/ you need to check that it matches a potentially newer version (after updates) as otherwise it can break things with eg25-manager (/usr/share/eg25-manager/ is where defaults are located).

What carrier are you with? It could be carrier specific: https://wiki.pine64.org/wiki/PinePhone_Carrier_Support
I suppose you have already tried forcing 3G?

Frustrating how it seems to work for some people, not for others, so most likely a carrier issue.

Thanks a lot!

Forcing 3G didn't help. My carrier is O2 Germany; according to the wiki and to my experience it works without problems on other pinephones.

I'm sorry, but I can't really follow the discussion at gitlab. It sounds as if it is worth a try, but what exactly do I have to do? And can I even do it after installing FOSS fimware? (That's something I am not able to revert, but that did not worry me much because it's not the cause anyway: The sending did not work with the preinstalled firmware, it did not work when i reflashed the modem and it does not work now with the FOSS firmware.)
  Reply
#7
(10-01-2021, 05:01 AM)AntonReiser Wrote:
(09-30-2021, 10:56 AM)dcinoz Wrote:
(09-29-2021, 05:18 AM)AntonReiser Wrote: whether this could be a hardware problem? Or is that simply impossible given that everything works except for sending text messages?
You might try turning off IMS as some people have reported it being on resulted in sending SMS issues:
https://gitlab.com/mobian1/issues/-/issues/254

Note that if you use a configuration in /etc/eg25-manager/ you need to check that it matches a potentially newer version (after updates) as otherwise it can break things with eg25-manager (/usr/share/eg25-manager/ is where defaults are located).

What carrier are you with? It could be carrier specific: https://wiki.pine64.org/wiki/PinePhone_Carrier_Support
I suppose you have already tried forcing 3G?

Frustrating how it seems to work for some people, not for others, so most likely a carrier issue.

Thanks a lot!

Forcing 3G didn't help. My carrier is O2 Germany; according to the wiki and to my experience it works without problems on other pinephones.

I'm sorry, but I can't really follow the discussion at gitlab. It sounds as if it is worth a try, but what exactly do I have to do? And can I even do it after installing FOSS fimware? (That's something I am not able to revert, but that did not worry me much because it's not the cause anyway: The sending did not work with the preinstalled firmware, it did not work when i reflashed the modem and it does not work now with the FOSS firmware.)
FOSS firmware should not change anything AFAIK in terms of AT commands and hopefully VoLTE / IMS profiles are available in the modem.

I don't know if O2 Germany has enabled VoLTE by default, if you want to investigate VoLTE on the pinephone you can start with:
https://forum.pine64.org/showthread.php?tid=12560
https://wiki.postmarketos.org/wiki/PINE6...one)#VoLTE

Using the latest Mobian and modem manager you can send AT commands to the modem. You can try the "ROW_Generic_3GPP" profile if there is none for O2, there might be more answers on this forum, I don't know. When you receive / make calls do you stay on 4G or do you drop down to 3G. If you stay on 4G then VoLTE works presumably assuming calls work. If you drop to 3G then VoLTE is not enabled / does not work. If your carrier supports it / it is enabled for you SIM / phone (some carriers have whitelists), look at the profile as above and give it a try.
Found this post on O2 Germany and working VoLTE https://forum.pine64.org/showthread.php?...1#pid91201

You can check the IMS/ VoLTE status in Mobian using:
mmcli -m any --command='AT+QCFG="ims"'

Otherwise disable IMS (see commands https://forum.pine64.org/showthread.php?...8#pid85368)
AT+QCFG="ims",2 (Edit: correction not 0 as this is defined by MBN file / profile, 2 is disable, 1 enable)
or via modem manager directly from command line:
mmcli -m any --command='AT+QCFG="ims",2' (Edit: corrected from 0 to 2 as above)
Response 1,0 means IMS enabled but VoLTE not ready
1,1 would indicate enabled in modem and VoLTE ready i.e. you can make 4G calls using VoLTE
2,0 would happen when you have disabled IMS support in the modem (see below) (Edit: corrected to 2,0 if issue above commands, you could possibly get 0,1 or 1,1 also)

Then try text / SMS (note MMS does not work yet as you probably know).

Note that enabling IMS does not mean IMS is working just that the modem will try to enable if if the network supports it and the IMS profile works.

eg25-manager info here:
https://gitlab.com/mobian1/devices/eg25-manager

It sets up the modem on boot based on configuration files in /usr/share/eg25-manager
See the relevant one for you Pinephone version.

This what you need to change to disable VoLTE support:
# Enable VoLTE support
#    { cmd = "QCFG", subcmd = "ims", expect = "1" },
    { cmd = "QCFG", subcmd = "ims", value = "2" },

(Edit: Corrected to 2 as per above to disable IMS function)

Updates can overwrite /usr/share/eg25-manager configuration files so to avoid a custom/modified file from being overwritten you can copy to an eg25-manager directory you create in /etc so that it is stored in /etc/eg25-manager/

Beware that updates in eg25-manager can change the configuration file and break functionality. So any updates to eg25-manager I recommend checking /usr/share/eg25-manager or copying the config file back to /etc/eg25-manager/ and modifying it if need be.

Note that AT+CFUN=1,1 according to Quectel EM12&EG12 and EC25&EC21manuals means full functionality,reset ME. I would understand this as reset to default settings so I would not issue that command at first, see what happens issuing status commands for IMS / testing calls. If that fails issue the command. AT+CFUN=1,0 means full functionality, do not reset the ME.
Test status using AT+CFUN? - default should answer 1 ie full functionality, so I don't know why you would reset? Aldimobile does not VoLTE enabled yet so I can't test it myself.

Write down default modem settings before you change anything so that you can go back.

Hope this helps. The Mobian bug report thread has one person saying disabling IMS support fixed the SMS issue so hopefully that works for you.
But IF VoLTe does indeed work for O2 Germany then hopefully enabling that also fixes the SMS issue!

Let us know.
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.
  Reply
#8
Oh wow, thank you!

I'll try to do it over the weekend and of course will let you know.

Thanks!
  Reply
#9
(09-29-2021, 05:18 AM)AntonReiser Wrote: I have one question: 

The modem of my phone seems to do everything as it should except for one thing: It does not send text messages (SMS) apart from two cases (out of maybe 50-100 so far). By contrast, receiving messages is not a problem at all.

With the help of friendly people in this forum I found out that it is in all likelihood
-neither a software (Mobian, Ubuntu Touch, Manjaro Plasma)
-nor a firmware issue.

Is there anybody here who knows enough about modems to tell me whether this could be a hardware problem? Or is that simply impossible given that everything works except for sending text messages?

Hello Anton,

I have the same Problem after "updating" the Modem Firmware on 25.08.2021.

Today I have just flashed https://images.mobian-project.org/pineph...004.img.gz
with https://www.balena.io/etcher/?ref=etcher_footer on my SD-Card.

Tested with 2 Mobile Phones:
1.)
PinePhone, OS: Mobian,
Provider: "Medion Aldi Talk" (Germany) <https://www.alditalk.de/produktinformationsblatt>
2.)
Sony Xperia 10 II, OS: SailfishOS from Jolla,
Provider: "Telekom.de" (Germany)

SMS-Tests on Pinephone with different "Network Modes" in "SETTINGS" => "MOBILE" => "NETWORK MODE": Default is "2G, 3G, 4G (Preferred)"

Phone Call in/out works. At least it's ringing ;-)
"SMS send"/"SMS received" (Example: "yes/no")


2G,3G,4G (Preferred)   : Send: NO/Received: YES
2G,3G,4G   : "...unsuported Combination... "blabla"...not allowed.."
3G,4G (Preferred)   : Send: NO/Received: YES
3G,4G   : "...unsuported Combination... "blabla"...not allowed.."
2G,3G (Preferred)   : Send: YES/Received: YES
2G,3G   : "...unsuported Combination... "blabla"...not allowed.."
4G   : Send: NO/Received: YES
3G (3G Icon missing)   : Send: NO/Received: 10 min later! (Modem Details: Network Typ unknown)
2G (2G Icon visible)   : Send: YES/Received: YES (Modem Details: Network Typ "gsm")

(Sorry, I don't get TAB-Spaces working here)

Yesterday I ordered a second Pinephone to exclude Modem Problems.
For Safety Reasons I dont want swapping my SIM-Cards ;-)

Lets see whats happening.


Ciao
Walter
  Reply
#10
(10-01-2021, 06:31 AM)dcinoz Wrote: Let us know.

Thanks again for this comprehensive guide, @dcinoz.

From what I believe to have understood I would want VoLTE to be enabled and IMS disabled.

VoLTE seems to be enabled since 4G connections remain active when making calls and since the IMS/VoLTE Status normally is 1,1 and becomes 0,1 after doing the QCFG="ims",0' command.

Unfortunately, in both cases the phone did not send text messages even though it could receive them.

What I have discovered though (without knowing if it is new or simply something I had not noticed before) is that the phone sometimes can send exactly one text message immediately after restart.

This seems to coincide with the fact that immediately after restart the IMS/VoLTE status is '+QCFG: "ims",1,0' and not 1,1 (which it is when I wait a little while before doing mmcli -m any --command='AT+QCFG="ims"').

Could that be a hint what the solution might be? And if it is: How can I set the value to 1,0 in order to find out if that does the trick?
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  quick question about mic Ferriah 3 277 03-23-2024, 02:11 PM
Last Post: Kevin Kofler
  Supported Carrier and Modem Bands NachoMomma 4 1,510 03-23-2024, 02:00 PM
Last Post: Kevin Kofler
  power circuit can't charge battery and can't supply enough power for modem or wifi vortex 2 489 02-17-2024, 04:15 PM
Last Post: vortex
  pinephone keyboard + dock question tuxcall 7 2,655 02-05-2024, 03:17 PM
Last Post: wigan
Bug PinePhone modem keeps "disappearing" Kevin Kofler 14 5,509 03-22-2023, 05:28 PM
Last Post: Kevin Kofler
  modem not working michelinux 0 908 02-16-2023, 04:56 AM
Last Post: michelinux
  modem not detected al_x 3 4,177 02-15-2023, 11:17 AM
Last Post: fxc
  firmware udate Quectel EG25-G modem alwi 7 5,307 07-06-2022, 01:43 PM
Last Post: user641
  Need command to tell what modem firmware I am on. purpletiger 4 2,784 07-06-2022, 12:35 PM
Last Post: Zebulon Walton
  The modem does not recognize Korean SIM cards (what?) bdicewk 9 4,044 06-13-2022, 04:12 AM
Last Post: zetabeta

Forum Jump:


Users browsing this thread: 1 Guest(s)