the-modem-distro / pinephone_modem_sdk

Pinephone Modem SDK: Tools to build your own bootloader, kernel and rootfs
GNU General Public License v3.0
593 stars 63 forks source link

Modem Not Working #216

Open Peter2469 opened 10 months ago

Peter2469 commented 10 months ago

It seems that for both phosh and plasma mobile, I cannot connect to the modem and use it. It is shown in lsusb and the general settings however that it does exist which means it must not be communicating fully.

I have provided logs and I would appreciate the help to getting my modem fully operational again

dmesg-modem.txt dmesg-pinephone.txt eg25-manager.log modemmanager.log networkmanager.log openqti.log

Biktorgj commented 10 months ago

It seems to be just looking for the network but not finding a valid network to connect to:

Sep 12 10:49:32 pinephone ModemManager[3597]: <info>  [modem1] 3GPP registration state changed (unknown -> unknown)
Sep 12 10:49:33 pinephone ModemManager[3597]: <info>  [modem1] state changed (enabling -> enabled)
Sep 12 10:50:36 pinephone ModemManager[3597]: <info>  [modem1] simple connect started...
Sep 12 10:50:36 pinephone ModemManager[3597]: <info>  [modem1] simple connect state (6/10): register
Sep 12 10:50:36 pinephone ModemManager[3597]: <info>  [modem1] 3GPP registration state changed (unknown -> searching)
Sep 12 10:50:36 pinephone ModemManager[3597]: <info>  [modem1] state changed (enabled -> searching)
Sep 12 10:51:37 pinephone ModemManager[3597]: <info>  [modem1] 3GPP registration state changed (searching -> idle)
Sep 12 10:51:37 pinephone ModemManager[3597]: <info>  [modem1] state changed (searching -> enabled)
Sep 12 10:52:17 pinephone ModemManager[3597]: <info>  [modem1] 3GPP registration state changed (idle -> searching)
Sep 12 10:52:17 pinephone ModemManager[3597]: <info>  [modem1] state changed (enabled -> searching)

Have you opened the phone recently (so maybe a wire may be disconnected on the main board?) If you put the SIM in another phone does it work?

Peter2469 commented 10 months ago

I have opened the phone recently but this issue has been happening even before I opened it up (There was no disconnected wires); I put the sim into the other phone and it works fine. Both sim cards don't get recognised properly in the PP but instantly detected fine on my Pixel

Peter2469 commented 10 months ago

Surprisingly on rare occasions, the modem does actually connect successfully and the modem settings is all correct however I was unable to send a text/call/use data which means that something is broken still. I restarted to Phosh to see if it was working there but it wasn't and ofc restarting back to plasma now means that the modem is still struggling to even connect.

LukeFilewalker78 commented 10 months ago

Hi, I had the same problem last week, I thought it was my Sim Card, it has like 8 years old, so I requested a new one, before that, I tried many times my old one with Mobian Bookworm 12, which it was the one I was using at that moment and Manjaro Phosh with no result, I tried other Sim that actually it worked so I decided to renew the Sim Card, but today it wouldn't work after activation, so I switch off the modem, and then I restarted eg25-manager via systemctl on the terminal, and then switched on the modem again and it's working again, it was pretty weird since I've been using the distro for a month with no problem and the community firmware 0.7.4 and band base 30.006.30.006, I already see a new band version, in the last release page, I hope it helps.

Peter2469 commented 10 months ago

Flashed 30.007.30.007 and "Warning: skip copying modem image avb footer (modem partition size: 0, modem image size: 41025536)." appears; I know this exists when I updated the firmware also but I don't think that is the main issue.

@LukeFilewalker78 I followed your process and the modem didn't start so I restarted the device and it unfortunately didn't work for me but thanks anyway

LukeFilewalker78 commented 10 months ago

Thanks for the warning, I will wait then to update it, I saw many reports in the last days about the modem disconnecting, so I feared it was something more complicated, in my case there wasn't a carrier or a network type, I'd tried changing the network mode to 2G,3G, flashed the firmware again and my next step it was going to be downgrading to stock version, but it did work to me this way, sorry not be of more help.

Peter2469 commented 10 months ago

Both Stock and This does not work for me; The worst case scenario is that my modem is broken but I cannot afford a $110 bill to get a new one :/

LukeFilewalker78 commented 10 months ago

In that case it will be better to wait a bit, maybe the issue would be addressed soon, to be honest the only distro that work really good in my experience is Mobian, I did open my phone as well and I didn't have any problem hopefully.

Peter2469 commented 10 months ago

After keeping my phone idle and charged these are the logs; The Modem still does not connect

dmesg-modem.txt dmesg-pinephone.txt eg25-manager.log modemmanager.log networkmanager.log openqti.log

Peter2469 commented 10 months ago

I installed Phosh to replace Plasma Mobile and here are the logs; I did reinstall the modem also just to make sure and so far the modem has not woken up so I may restart it.

dmesg-modem-20230919_145807.txt dmesg-pinephone-20230919_145807.txt eg25-manager-20230919_145807.log modemmanager-20230919_145807.log networkmanager-20230919_145807.log openqti-20230919_145807.log

Peter2469 commented 10 months ago

It does seem like it is stuck at searching and getting timed out however if I ask it select manually instead of automatically on very rare occasion O2 does show up which is correct for this instance but clicking on it does nothing and it timed out regardless.

Peter2469 commented 10 months ago

This was the response when I did flashall

flashall_response.txt