Avoiding modem flash-memory corruption?
On the PinePhone Software Release page, it says:

Quote:There is a document about using the modem [...] disable the modem before power off is pretty essential to avoid corrupting your modem's flash memory.

I have a few questions:
  • Do I still need to disable the modem before powering off the phone when I have powered up the phone with the modem off (via the kill switch)?
  • If I've booted the phone with the modem off then subsequently turn off the modem via the kill switch, should I disable the modem before using the kill switch to turn off the modem?
  • If the modem's flash memory has been corrupted, how can it be restored/recovered/reset?
The first one may depend on which distro you're using.
For the second, I'd play safe and disable the modem before operating the kill switch.
For recovery, no idea. There may be a document covering it on Quectel's web site.
Any update on this situation? Do we need to follow the wiki advice https://megous.com/dl/tmp/modem.txt?
(06-08-2020, 08:25 AM)--- Wrote: Any update on this situation? Do we need to follow the wiki advice https://megous.com/dl/tmp/modem.txt?
+1 any updates is this still necessary?
Which part? And which OS?
Not on CE, because the hardware issue has been resolved, according to the Wiki:

Quote:Modem PWR_KEY signal resistor population

Resolved in v1.2 by separating the modem PWRKEY (PB3) and STATUS (PH9) signals.

On the dev phone (1.0) this signal was connected to PB3. This allows for turning on/off the modem via GPIO from a kernel driver. If proper power down is to be implemented in the kernel for the modem, to allow safe shutdown of the modem before turning off the 4g-pwr-bat, kernel has to be able to signal to the modem to shut down and wait 30s. This is not possible on braveheart. Without this signal, kernel can't do anything to shut down the modem, and would have to rely on userspace to properly manage the modem power up/down sequence. Relying on userspace risks users shutting down the modem without proper wait time of 30s, risking modem damage (flash data corruption).
Great - so just on the 'Scottish phone', thanks.

Possibly Related Threads…
Thread Author Replies Views Last Post
Bug PinePhone modem keeps "disappearing" Kevin Kofler 10 379 01-24-2023, 10:46 AM
Last Post: zetabeta
  RAM corruption, possible eMMC corruption alnyan 3 570 08-24-2022, 03:07 AM
Last Post: JeremyWadsworth
  firmware udate Quectel EG25-G modem alwi 7 2,299 07-06-2022, 01:43 PM
Last Post: user641
  Need command to tell what modem firmware I am on. purpletiger 4 1,171 07-06-2022, 12:35 PM
Last Post: Zebulon Walton
  The modem does not recognize Korean SIM cards (what?) bdicewk 9 1,634 06-13-2022, 04:12 AM
Last Post: zetabeta
  Modem Hardware bad? Not ready for 5g?? linux76 8 2,568 05-31-2022, 06:41 PM
Last Post: SwordfishII
  Modem in failed state, not sending/receiving SMS brb78 5 1,750 03-31-2022, 08:37 AM
Last Post: wibble
  Modem Dead? grimlok 5 1,845 03-12-2022, 04:38 PM
Last Post: bcnaz
  Question regarding modem AntonReiser 21 7,602 02-14-2022, 12:23 PM
Last Post: vap0rtranz
Question Powering the modem after turning off the smartphone Mikoduso 3 1,573 02-04-2022, 04:06 PM
Last Post: grwlf

Forum Jump:

Users browsing this thread: 1 Guest(s)