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
  Supported Carrier and Modem Bands NachoMomma 4 1,531 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 509 02-17-2024, 04:15 PM
Last Post: vortex
  [Megapixels] Flash strobe, pictures viewer and MPCamera error 22 freelectro 3 1,859 03-27-2023, 03:27 AM
Last Post: freelectro
Bug PinePhone modem keeps "disappearing" Kevin Kofler 14 5,526 03-22-2023, 05:28 PM
Last Post: Kevin Kofler
  modem not working michelinux 0 912 02-16-2023, 04:56 AM
Last Post: michelinux
  modem not detected al_x 3 4,195 02-15-2023, 11:17 AM
Last Post: fxc
  RAM corruption, possible eMMC corruption alnyan 3 1,728 08-24-2022, 03:07 AM
Last Post: JeremyWadsworth
  firmware udate Quectel EG25-G modem alwi 7 5,339 07-06-2022, 01:43 PM
Last Post: user641
  Need command to tell what modem firmware I am on. purpletiger 4 2,823 07-06-2022, 12:35 PM
Last Post: Zebulon Walton
  The modem does not recognize Korean SIM cards (what?) bdicewk 9 4,081 06-13-2022, 04:12 AM
Last Post: zetabeta

Forum Jump:

Users browsing this thread: 1 Guest(s)