PINE64
Flight mode turns off wifi but not the modem (cellular) - 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: Manjaro on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=130)
+---- Thread: Flight mode turns off wifi but not the modem (cellular) (/showthread.php?tid=17975)



Flight mode turns off wifi but not the modem (cellular) - jojuma - 02-27-2023

Hello,

finally I got aware of the modem firmware, that makes an exploit possible.
So I upgraded the firmware (which was 01.001.01.001) doing the following:

1. cloned giit repository https://github.com/Biktorgj/quectel_eg25_recovery
2. sent test sms -> modem in working state
3. run "./qfirehose -f ./" (-> new firmware version: 30.006.30.006)

After the upgrade the modem came up again working. Everything worked fine (Calls, SMS).
After a reboot, it still worked.

I put the phone into airplane mode overnight. Since then, the modem is in disabled state. It asks me for the SIM pin and unlocks the SIM card. But it does not show or connect to any network. It only tells me "modem in disabled state".

I switched the modem off by using the kill switch and restarted it with "systemctl restart eg25-manager".
I rebooted several times, tried airplane mode... but nothing helps.

Since it worked after the update for while, the firmware itself should be ok, shouldn't it?
I'm not sure if this is platfor specific, but I am running Manjaro with Plasma mobile (KDE Community Editiin).

So what am I supposed to do?


EDIT:
I found this, which could help me:

"To get adb access to the modem:
Get adb key via AT+QADBKEY?"

How is this done? How do I retrieve the adb key?


EDIT2: Got the key, but unfortunately, it doesn't work though


RE: Help with "modem in disabled state" - jojuma - 02-28-2023

After hours of trial and error, I flashed the custom firmware (v.0.7.3) onto the modem like described here: https://github.com/the-modem-distro/pinephone_modem_sdk
They also describe how to flash the stock firmware.

I got the modem finally running using "sudo mmcli -m any -e"


After this odyssey, I am happy, the modem works again. I almost ordered a new one since it seemed bricked.

BUT:
Activating flight mode doesn't affect the modem. It only turns of wifi. And also, I have to manually reactivate the modem after waking up the phone...
I will rename this topic accordingly.

I've tried a lot of things and maybe I broke something. Does somebody know, how to determine, what is affected by flight mode?
Now, that I know, how to flash the modem, I wonder whether it helps to re-flash the whole OS to solve this or is the modem in a state preventing flight mode from changing it? Then flashing the OS wouldn't help either. Any way to check this?


RE: Flight mode turns off wifi but not the modem (cellular) - calinb - 02-28-2023

(02-28-2023, 05:10 AM)jojuma Wrote: After hours of trial and error, I flashed the custom firmware (v.0.7.3) onto the modem like described here: https://github.com/the-modem-distro/pinephone_modem_sdk
They also describe how to flash the stock firmware.
<snip>


I'm experiencing problems much like what you had with your PP. I tried to flash v.0.7.3, including with sudo and sudo su, but only got this each time:


Code:
$ ./flashall
Sending AT+QFASTBOOT...
                                                  FAILED (remote: 'unknown command')
fastboot: error: Command failed
fastboot: error: cannot load 'appsboot.mbn': No such file or directory
./flashall: 8: exit: Illegal number: Failed to flash the bootloader

What am I missing? I did apt install fastboot adb

The only place I have an appsboot.mbn file is in my archives of the OEM modem firmware (and yes, I did sudo updatedb first):

Code:
$ locate appsboot.mbn
/home/mobian/quectel_eg25_recovery-EG25GGBR07A08M2G_01.003.01.003/update/appsboot.mbn
/home/mobian/quectel_eg25_recovery-EG25GGBR07A08M2G_30.006.30.006/update/appsboot.mbn

I'm running mobian. Thanks for any tips or guidance!


Update: I had the source files only (duh!).  It flashed but still no luck getting it to connect to my cell provider's network. Signal strength is normal. It finds the network with ModemManager GUI but will not activate. The SIM card works on my old Moto G4.