REPRODUCIBILITY: 100%
OS VERSION: 5.0.0.72 and older
HARDWARE: Jolla C2
UI LANGUAGE: English
REGRESSION:
DESCRIPTION:
Messages (SMS) that are sent to the device while it is turned off are not shown when turned on again. The Telco provider told me, that their logs indicate, that the messages are delivered.
Topic has been asked here already: Messages (SMS) sent when phone is off are not received when turned on
PRECONDITIONS:
Dunno. Never worked on the phone.
STEPS TO REPRODUCE:
Turn off phone.
Send SMS to the phone via any other phone
Turn the phone back on.
No new message is displayed in the “Messages” app.
EXPECTED RESULT:
I expect the new message to appear in the messages app
ACTUAL RESULT:
Message disappears somewhere. No error message, or indication that a message has been received. Telco provider tells me the messages are delivered, when the phone is turned on again.
What do the messages contain? Just plain text? or do they contain weird characters and other non-ASCII data? You say it is 100% reproducible and your provider said the messages get delivered, so you need to root around in your phone, they are stored somewhere. I remember one user had to do that to figure out why messages seemingly got lost.
I have had the same thing happen to me last summer (autumn?) on Orange ( www.orange.ro ), with messages sent by the operator itself in my case.
The phone was intermitently off (usually for a work week; 5 days) and I did not receive the SMSes when I turned on the phone.
The phone was an Xperia 10 V with the latest (at the time) OS version available for regular users.
Based on the logs we got (thanks @Lithilion) it seems that the message is received by ofono, but is lost somewhere higher up the stack.
The possible culprits there are telepathy-ring and mission-control-5, so we would need to get a bit more logs. To enable debug logging in those, the following changes are needed (in addition to the ofono debug logging from earlier):
Journal needs persistent storage, so the user session unit logs are accessible. As root do:
It looks like the problem is that ofono receives the message before the higher level services are running and ready to handle it. And the way ofono just forwards the incoming message in a dbus signal and does not store it, means that the message gets lost if there is nothing listening for the signal.
This may cause lost messages also in other situations where the higher level services might not be listening, for example if they have crashed for what ever reason.
As a workaround, enabling PIN code on the SIM delays the ofono network registration and SMS receiving to give time for the other services to start up.
Fixing it might be complicated as it probably requires fundamental changes to how the incoming messages are handled. So it’s a bit too early to say when we might get a fix for this.
Losing an SMS can be serious. To make it worse that loss is invisible. Many of us might encounter that without even knowing.
Some even turn off the phone during night, flight, meeting, … So there is a lot of “bug windows”.