PINE64
SMS after dead battery - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139)
+---- Thread: SMS after dead battery (/showthread.php?tid=9956)



SMS after dead battery - antiX-Dave - 05-26-2020

Have been playing with phosh on my phone for a bit now. 
I noticed that when the phone runs out of battery and I do not shut it down the modem appears to lock itself as far as sms.
After plugging in the charger and turning the phone back on I am unable to receive sms messages in chatty. They are queuing up on the modem. Rebooting the phone does not fix the issue. Accessing the modem, running the queue check (AT+CMGD=?) and exiting the modem, then rebooting also does not fix the issue. Waiting for a message or two to queue up, deleting them entirely or only one (EG: AT+CMGD=0) and rebooting allows chatty to receive the sms messages again. Obviously this is quite tedious to test with having to wait for the battery to drain fully.  Would anyone have a lead on how the modem might be locked if not properly shutdown and another way to try and reset it?


RE: SMS after dead battery - rico - 05-27-2020

Yes, i think it's a known issue.
Reboot is not ok in that case.
Shutdown and powerup is the answer if i remember well.
I'll try to find to good post about that.


RE: SMS after dead battery - antiX-Dave - 06-01-2020

Indeed performing a shutdown and the powering back up also fixes the situation
Still trying to figure out if there is a software reason for this that gets run on shutdown but not reboot or if it is simply due to fully powering off the modem. Either way it is much easier to shutdown and power back up.


RE: SMS after dead battery - a-wai - 06-05-2020

(06-01-2020, 08:40 PM)antiX-Dave Wrote: Still trying to figure out if there is a software reason for this that gets run on shutdown but not reboot or if it is simply due to fully powering off the modem.

This is probably due to fully powering off the modem yes, as there are no difference from the Linux side between shutdown and reboot (the same modem script is executed)


RE: SMS after dead battery - antiX-Dave - 06-05-2020

(06-05-2020, 05:14 PM)a-wai Wrote:
(06-01-2020, 08:40 PM)antiX-Dave Wrote: Still trying to figure out if there is a software reason for this that gets run on shutdown but not reboot or if it is simply due to fully powering off the modem.

This is probably due to fully powering off the modem yes, as there are no difference from the Linux side between shutdown and reboot (the same modem script is executed)

Thank you for verifying this.

It was suspect to me that this would be the case. On the flip side / looking at it from another angle I was thinking "why does deleting one message and rebooting also work if the modem is not being powered off? can it be done without a power cycle? "

Either way just voicing some thoughts, and poking around trying to learn the system a little.