Unsatisfactory GPS reception on PinePhone?
I just replaced my original -002 Pinephone touchscreen with a -001 revision that I recently received from the Pine Store. My original screen suffered from the ever worsening delamination defect (or whatever causes the highly visible and, under direct lighting conditions, annoying defect around the edges of the screen). It's a tedious job to replace it but an unanticipated reward was my GPS now works quickly and for more than a few intermittent minutes, best case, for the first time ever! Big Grin

After powering up my new screen and, motivated by my desire to record some signal strengths before attempting the aluminum foil hack (hoping for improvement), I ran the alastair proof of concept AGPS script and I was surprised to see record signal strength and a good GPS position almost immediately, instead of the usual zero to low signal and terrestrial-based position errors of several miles, minimum.

In the year I've owned my Pinphone, my GPS has never been able to obtain a fix in the canyon where I live, or nearly anyplace else for that matter, except for very brief periods in flat open country. Satellite signal strengths, as reported my mmcli, were always very low or zero.

I did not notice any problem with the antenna paint on my midframe or the contact fingers on my mainboard, but I suspect that seating the midframe against the contact fingers a few times while fussing with the two parts against each other in trying to mate them correctly, resulted in the metal pins scratching the paint a little bit, improving connectivity.

Either that or a recent Mobian Bookworm software update set it right, but the problem wasn't corrected by my modem firmware update of several months ago, which I'd hoped would solve it. The firmware update made no difference in my signal strength.
(07-05-2021, 03:20 PM)Benatti Wrote:
(06-09-2021, 10:21 AM)wibble Wrote: There's some movement on getting assistance data loading into distros.

OpenSuse have this:

Dylan Van Assche has been working on Mobian via egs5-manager as well as upstream ModemManager:
Good Morning
Thank you for your attention and I leave a photo that I hope to be able to add in the post with an addition of aluminum paper on the gps antenna, fixed with transparent adhesive tape to make the photo, which considerably increased the signal level, obtaining a good signal-to-noise ratio. best.
I suggest it be researched to confirm and implemented if possible in the next phones, so I hope I could have contributed to this project in some way.

Using your hardware-hack, yesterday I got my first GPS fix! Maybe now we need to iterate on the geometry.

Yesterday I had a wild combination of the agps script and mmcli commands, so I can't tell what really worked.

Today I placed the phone under a south-oriented roof-window with open sight to the sky, started the turned-off phone and just ran:

sudo mmcli -m any --location-enable-agps-msb
sudo mmcli -m any --location-enable-gps-unmanaged

After a few minutes I had a fix! I didn't use the script. Either the amanac was received from the satelites or ModemManager downloaded it. Somehow I got the feeling that the agps-script doesn't work in central Europe.

Right now, the gpsd stack only works if I activate unmanaged gps over ModemManager and I prefer to use gpsmon to see the progress of getting a fix. Is there an alternative using the NMEA output from dbus?

Another strange thing is that gpsmon shows the GPS sattelites and xgps and cgps only show GLONASS satelites. After deep investigation now I can read the NMEA output and could see that both kinds of satelites were used.

Still, the quality is not perfect. SNR is around 20 for any satelite.
gpsd only works with --location-enable-gps-unmanaged as in the other modes the port gets grabbed for geoclue.

You should be able to put the commands for startup and shutdown into /etc/gpsd/device-hook to automate startup when the first gpsd client requests a connection, and shutdown when the last client disconnects. It won't help you if something is already using it via geoclue though.

I never had any luck with msa or msb. Could be carrier dependent?


Possibly Related Threads…
Thread Author Replies Views Last Post
  PinePhone carrier support in Hungary notramo 4 154 11-21-2022, 07:40 AM
Last Post: notramo
  Pinephone Pro vs Volla 22 Uturn 7 1,002 08-31-2022, 02:58 AM
Last Post: linmob
  PinePhone Beta Edition will not boot from MicroSD card Timothy_Ecc 25 14,773 08-01-2022, 04:39 PM
Last Post: drlizau
  Severe screen flicker + occasional ghosting | Pinephone Beta edition legowave440 5 1,470 07-25-2022, 07:35 AM
Last Post: bedtime
  Pinephone could have better cooling (suggestion) computerc 3 907 07-22-2022, 11:39 AM
Last Post: computerc
Thumbs Up Pinephone USB-C Docking Bar (Amazing !!) Gary2003 21 15,647 06-11-2022, 08:05 AM
Last Post: Peter Gamma
Wink Pinephone IMEI changing info: do you think its OK for a Wiki? mikeb 28 13,541 05-28-2022, 10:49 AM
Last Post: fxc
  Pinephone won't boot from SD card arkadione 3 1,053 05-25-2022, 03:26 PM
Last Post: sfb
  Pinephone refusing to charge while suspended tiol 0 468 04-29-2022, 01:47 PM
Last Post: tiol
Question Upgrading a 2020 Community Edition Pinephone? danimations 5 1,717 03-10-2022, 08:18 AM
Last Post: danimations

Forum Jump:

Users browsing this thread: 2 Guest(s)