yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S9  Questions & Answers] buckyswider@comcast.net:
I just got done the setup. So I'm trying to formulate a test/comparison plan. Maybe use GPS test to make coordinates of a fixed location (like a brick placed in a field) with both the S7 and S9, then going back to those exact coordinates a few different times? Going to try to install GPSLogger now....
[Samsung Galaxy S9  Questions & Answers] cr2:
The most simple things. Does Galileo work for you ? What kind of data is written by gnsslogger ?
[Samsung Galaxy S9  Questions & Answers] buckyswider@comcast.net:
No Galileo, as per the gnslogger plot data. Just GPS and GLONASS. I just uploaded a log file and installed the GNSSAnalysis desktop app. Let's see what that can tell us. I see an 'accuracy' field in the raw logger data. The values are in the 5-10 range. I'm assuming that is meters?
[Samsung Galaxy S9  Questions & Answers] Cholek3:
View attachment 4447405
[Samsung Galaxy S9  Questions & Answers] baiazid:
Seems Galileo is working on Exynos.
[Samsung Galaxy S9  Questions & Answers] HKG123:
Any signs of L5 signal?
[Samsung Galaxy S9  Questions & Answers] prodev6791:
I also have Exynos Galaxy S9+ and can confirm Galileo is working. Accuracy is 3 to 4 meters
[Samsung Galaxy S9  Questions & Answers] buckyswider@comcast.net:
Doesn't look like my log files have any distinction between L1 and L5 (at least not using those two as search terms :) ).

Also, I just found an interesting article. I wonder if this chip cannot be fully exploited in Android until Android O?

http://gpsworld.com/google-updates-progress-on-android-gnss-measurements/
[Samsung Galaxy S9  Questions & Answers] white7561:
Lol S9 shipped with Oreo
[Samsung Galaxy S9  Questions & Answers] buckyswider@comcast.net:
:o:o:o:o:o:o:o

DOH! I didn't make the connection between "O" referenced in the article and "Oreo". Think I need more mountain dew!!!!
[Samsung Galaxy S9  Questions & Answers] white7561:
What time is it there?[emoji23]
[Samsung Galaxy S9  Questions & Answers] HKG123:
I did a quick test with S9 (Snapdragon 845 variant) in Hong Kong with tall buildings surrounding, sadly, no signs of L5 signal at all.

Screenshots:

i63.tinypic.com/2a4tmci.jpg

i66.tinypic.com/2eukih2.jpg

PS: Same case with Sony XZ2
[Samsung Galaxy S9  Questions & Answers] cr2:
Which log files are you talking about, the gnsslogger logs ?

Android has nothing to do with the GPS operation, it is just a fancy API shell on top of 'gpsd'. And gpsd is controlled through /vendor/etc/gps.xml
[Samsung Galaxy S9  Questions & Answers] cr2:
It does not use the external Broadcom GPS chipset, there is a reason we are talking only about the Exynos variant.
[Samsung Galaxy S9  Questions & Answers] cr2:
It can not happen before somebody edits the /vendor/etc/gps.xml file

(or finds a possible workaround with GNSS API, but i do not have much hope here)
[Samsung Galaxy S9  Questions & Answers] buckyswider@comcast.net:
Yep, the gnslogger logs. Snippet:

So android apps that need the location call the GPS interfacte (gpsd, I reckon) directly instead of the android API? Seems like the android api would make ones code more portable...

---------- Post added at 08:12 PM ---------- Previous post was at 08:10 PM ----------

it was about 10:30AM....usually on my 5th or 6th [diet] dew of the day by then, but I was slacking this morning... :cowboy:
[Samsung Galaxy S9  Questions & Answers] buckyswider@comcast.net:
OK, I just did some quick internet education on gpsd. Again you would've thought that a single letter (this time the 'd' suffix) would've tipped me off that this is a daemon accessible to applications. But NOOOOOO! I guess I'm having one of those days!!! So you call gpsd to (for instance) query current coordinates, at it tell the app where you are. And I guess the nitty-gritty calculations are in the gpsd code? I guess this is all academic though. Just gotta figure out how to edit the xml config file!!

and speaking of 'academic': cr2, what do you mean when you say the snapdragon 'doesn't use the external broadcom chipset'?? I am indeed a snapdragon owner...
[Samsung Galaxy S9  Questions & Answers] baiazid:
I found this on apk mirror:

Version: 1.0.00.16 (100000016)

Package: com.samsung.android.samsungpositioning

Target: Android 8.0 (Oreo, API 26)

Anyone knows what this could be? I did not find it in my system apps.
[Samsung Galaxy S9  Questions & Answers] buckyswider@comcast.net:
hmmmm....
[Samsung Galaxy S9  Questions & Answers] buckyswider@comcast.net:
Well, just because I can say I asked, I opened a ticket with Samsung to see if they had any expectation to enabling L5 on the S9/+. And I got the most unsurprising answer ever.
[Samsung Galaxy S9  Questions & Answers] cr2:
Googel found a link to another device (a smartwatch!)

using dual-frequency Broadcom BCM47758 chip:

http://www.mems.me/mems/device_analysis_201712/5727.html

That means we have confirmed BCM47752 and BCM47758 devices.

It is also produced by Samsung (Gear Sport) and has an own

forum here at xda-dev.

I have downloaded the linked ROM, and here is the /etc/gps-manager/brcm/gpsd.xml

Looks familiar ?

<?xml version="1.0" encoding="utf-8"?>
<glgps xmlns="http://www.glpals.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.glpals.com/ glconfig.xsd" >
<!--HAL Confguration -->
<hal
PortName="/dev/ttyS3"
BaudRate="921600"
GpioDelayMs="250"
NvStorageDir="/opt/gnss/"
NmeaOutName="/dev/gpspipe"
LogEnabled="false"
Log="JAVA"
LogDirectory="/opt/usr/media/GL"
GpioNStdbyPath="lhd"
LogLineThreshold="500000"
LogDirectoryMaxSizeMb="900"

SuplSslMethod="SSLv23"
ReAidingIntervalSec="1200"
SuplUT1Seconds="20"
SuplUT2Seconds="20"
SuplUT3Seconds="20"
SuplTlsCertPath="/etc/gps-manager/cert/supl_spirent_root.cer"
SuplTlsEnable="true"
SuplUseApnNI="false"
SuplGuardTimeSeconds="2"
SuplLppCapable="false"
TcpConnectionTimeout="20"
CpGuardTimeSec="1"
LbsSyncLto="false"
HttpSyncLto="true"
LtoDir="/opt/gnss/data/"
LtoFileName="lto2.dat"
LbsSyncLtoThresholdDays="1"
LbsEnable="true"
LbsServer="BCMLS2.glpals.com"
LbsCellEnable="false"

GldumpLoggingEnable="true"
GldumpLogDirectory="/opt/usr/data/GL"
GldumpLogLineThreshold="50000"
GldumpLogDirectoryMaxSizeMb="15"
/>
<gll
LogPriMask="LOG_INFO"
LogFacMask="LOG_GLLIO | LOG_GLLAPI | LOG_NMEA "
OnChipLogPriMask="LOG_INFO"
OnChipLogFacMask="LOG_GLLIO | LOG_GLLAPI | LOG_NMEA | LOG_INTEGR"
EnableOnChipStopNotification="true"
FrqPlan="FRQ_PLAN_26MHZ_2PPM"
RfType="GL_RF_4755_BRCM_EXT_LNA"
MultiCarrLnaMask ="L1_EXT_ON"
MultiCarrRFMode ="GL_MULTI_CARR_RF_MODE_L1"
WarmStandbyTimeout1Seconds="19"
WarmStandbyTimeout2Seconds="21"
/>
<gll_features
EnableLowPowerEls="false"
EnableLowPowerPmm="true"
EnableGalileo="false"
EnableBeidou="true"
/>
</glgps>
[Samsung Galaxy S9  Questions & Answers] white7561:
Woah the Galileo is turned off. Why lol
[Samsung Galaxy S9  Questions & Answers] Curious1Person:
"The BCM47755 chip supports two frequencies (L1+L5), and as a result,

achieves lane-level accuracy outdoors and much higher resistance to

multipath and reflected signals in urban scenarios, as well as higher

immunity to interference and jamming."

"The BCM47758 chip is tailored for wearable devices, computes position,

velocity, and time (PVT) on-chip. It simultaneously supports GPS and

GLONASS in the L1 frequency band or GPS and Galileo in both the L1/E1

and L5/E5a frequency bands."

But the L5 signal still haven't been confirmed in BCM47752 ... :confused:
[Samsung Galaxy S9  Questions & Answers] buckyswider@comcast.net:
I think from the product marketing material that you're quoting it's pretty easy to infer that all four models of the chip support L1/L5, even though they don't come right out and say it. But yes, it would be nice to have confirmation from someone. I've sent a support request to Broadcom- hopefully if they reply we'll get a better answer than the one from Sammy :)
[Samsung Galaxy S9  Questions & Answers] sjbarbeau:
Hi all,

I'm the developer of GPSTest, and I recently added support for showing carrier frequency (CF) in the latest beta (v3.0.x).

Links:

* Google Play - http://play.google.com/store/apps/details?id=com.android.gpstest

* Open-source on GitHub - http://github.com/barbeau/gpstest

To see the "CF" column in the version downloaded from Google Play you'll need to opt into the beta:

http://play.google.com/apps/testing/com.android.gpstest

Here's the API I'm using to pull the CF data from Android:

http://developer.android.com/reference/android/location/GnssStatus.html#getCarrierFrequencyHz(int)

This API is available on Android 8.0 Oreo and higher devices. If the API doesn't provide carrier frequency on a particular device the CF column will be empty.

I'm very interested in seeing what the app shows on the S9 Exynos model. Feel free to post screenshots here or in the app Google Group at:

http://groups.google.com/forum/#!forum/gpstest_android

I'm assuming that CF will only show up in GPSTest if gpsd and everything else in the pipeline is configured correctly.

Thanks,

Sean
[Samsung Galaxy S9  Questions & Answers] SydneyBlue120d:
Hi, I'm the one who has sent you the thread by e-mail :)

Here is a screenshot with beta enabled:

https://imgur.com/a/xVaz0

https://imgur.com/a/1te7n
[Samsung Galaxy S9  Questions & Answers] sjbarbeau:
Cool! :) But that looks like the "GPS Test" app, not "GPSTest" (yes, it's confusing). My app has the app ID "com.android.gpstest":

play.google.com/store/apps/details?id=com.android.gpstest
[Samsung Galaxy S9  Questions & Answers] SydneyBlue120d:
Ok, here we go:

https://imgur.com/a/gIcNo
[Samsung Galaxy S9  Questions & Answers] sjbarbeau:
Yes, that's it :good:. So, no carrier frequency data coming out of the Android GNSS APIs...
[Samsung Galaxy S9  Questions & Answers] buckyswider@comcast.net:
I get the same thing on my Snapdragon S9+- CF column is empty. Guess we gotta figure out how to update the gps.xml....
[Samsung Galaxy S9  Questions & Answers] SydneyBlue120d:
The Snapdragon 845 is not supposed to support L5 :D
[Samsung Galaxy S9  Questions & Answers] buckyswider@comcast.net:
It doesn't seem that either currently supports it as per the gps.xml file. It appears as if they both have the same BCM47752 chip though. Where is someone saying that the snapdragon won't support L5?
[Samsung Galaxy S9  Questions & Answers] SydneyBlue120d:
Isn't the Snapdragon a full in house design?

I think Qualcomm would have greatly advertised it if it supported it :)
[Samsung Galaxy S9  Questions & Answers] buckyswider@comcast.net:
Well this would suck (for me!). I think I may have conflated the two teardowns out there in the wild. The one that confirms the broadcom chip is the Exynos; that one that is Snapdragon does not :(. Wonder how I could find my gps.xml and take a look...

Anybody wanna buy a Snapdragon S9+ purple? :(
[Samsung Galaxy S9  Questions & Answers] cr2:
The Galileo satellites are used in the navigation solution, but do you get the Galileo navigation messages in the log ?
[Samsung Galaxy S9  Questions & Answers] sjbarbeau:
Using GPSTest, if the device supports navigation messages via the GNSS APIs you can view them using Android Studio.

First, in the app go to "Settings" and under "Android Monitor Output" check "Navigation Messages".

Then, use Android Monitor in Android Studio to filter for this output from your device using the filter text "GpsOutputNav" - detailed instructions at:

https://github.com/barbeau/gpstest/blob/master/LOGGING.md#accessing-the-system-log

You can also view NMEA messages and raw pseudorange measurements using the same process.
[Samsung Galaxy S9  Questions & Answers] Curious1Person:
I found a source that said the BCM47752 doesn't support two frequencies (L1+L5)

"GNSS

We found a Broadcom BCM47752 GNSS receiver with integrated sensor hub.

A side note: we had been hoping to find Broadcom’s BCM47755 - which supports two frequencies (L1+L5), compared to the legacy chip’s L1 – but the Samsung Galaxy S9+ does not include this part. We will continue our hunting. According to Broadcom, the BCM47755 can achieve lane-level accuracy outdoors and much higher resistance to multipath and reflected signals in urban scenarios, as well as higher immunity to interference and jamming."

Source: techinsights.com/about-techinsights/overview/blog/samsung-galaxy-s9-teardown/

:confused::confused::confused::confused::confused::confused:
[Samsung Galaxy S9  Questions & Answers] PMPaul:
It doesn't say that BC47752 does NOT support L5 band - they said that BC47755 DOES support L5.

I've just check Broadcom site and found official pdf for BCM4775X family (broadcom.com/products/wireless/gnss-gps-socs/bcm47755) - it's one document for all BCM4775X chips (BCM47752, BCM47754, BCM47755 and BCM47758).

And according to document - ALL this chips supports L5 band. Honestly didn't understand difference between them...
[Samsung Galaxy S9  Questions & Answers] SydneyBlue120d:
[MENTION=9029253]sjbarbeau[/MENTION]

Using the beta version of GPSTest app, it seems the phone is using Galileo, using the official version it seems it doesn't use Galileo, so what is the true? Is the phone using Galileo or not?

Thanks :)
[Samsung Galaxy S9  Questions & Answers] white7561:
Let me clear the confusion. The chip should use Galileo just fine. It's been like for ages lol. I mean. Even s8 has it. The thing we're not getting is the confirmation of L5 signal being used. Which I already saw coming since the GPS.conf didn't enable it . So we need rooted S9 user to test the new GPS.conf that we will try edit. And see if it's possible to enable it and get that awesome CM accuracy with root. The problem being . I don't have a S9. So I can't test anything.
[Samsung Galaxy S9  Questions & Answers] SydneyBlue120d:
With the regular GPSTest app I can't never ever see Galileo satellite, while with the beta version they seems to be visible, that's why I was asking, I agree we're going off topic however :)
[Samsung Galaxy S9  Questions & Answers] white7561:
Ah its fine. Prob a bug in the app
[Samsung Galaxy S9  Questions & Answers] sjbarbeau:
Make sure the "Use GNSS APIs" setting is enabled (it's enabled by default). If you disable this in either the v2.2.0 (current production) or v3.0.x (beta) the app will revert to using the legacy GPSStatus.Listener, which doesn't show Galileo on most devices I've seen.
[Samsung Galaxy S9  Questions & Answers] SydneyBlue120d:
On the v2.2.0 I don't see that setting at all :confused:

However we can conclude, based on 3.0.x beta that the device is using Galileo, right?
[Samsung Galaxy S9  Questions & Answers] sjbarbeau:
Yes - as long as the satellite is shown in the list and has a "U" under the "Flags" column, it means it was used in calculating the last fix.

RE: settings - I'd suggest we continue that discussion on the GPSTest Google Group (https://groups.google.com/forum/#!forum/gpstest_android) to avoid going further off topic here.
[Samsung Galaxy S9  Questions & Answers] Signum73:
My S9 G960U is not showing any Glonass/Beidou sats and I compare that with a Exynos S8+ screenshot near my location in Northern California.

https://xdaforums.com/showpost.php?p=72807524&postcount=6

So whether my S9 is not that sensitive or it's just awaiting a patch to turn on that capability, I hope to find out.

Gene
[Samsung Galaxy S9  Questions & Answers] algaida2:
Hello everybody,

any update about this? I am looking for a mobile phone with the new dual-frequency L1/L5 BCM4775x.

Best Regards,

Jose
[Samsung Galaxy S9  Questions & Answers] qazursu:
notebookcheck.net/Samsung-Galaxy-S9-Plus-Smartphone-Review.293288.0.html
[Samsung Galaxy S9  Questions & Answers] PMPaul:
No news for a long time - still nobody made root on Galaxy S9 ?

BTW - is there any rumors about any other smartphones with BCM4775X ?

maybe Pixel 3 ?
[Samsung Galaxy S9  Questions & Answers] SydneyBlue120d:
Pixel usually use the Snapdragon...
[Samsung Galaxy S9  Questions & Answers] sjbarbeau:
I've written up a short Medium article "Dual-frequency GNSS on Android devices" to capture what I currently know:

https://medium.com/@sjbarbeau/dual-frequency-gnss-on-android-devices-152b8826e1c

I'd welcome feedback and corrections - I'd like to continue to update the article as we learn more. I'm especially interested to know if anyone can provide precise directions on editing the GPS config file to enable dual frequency support on the S9. Feel free to comment directly on the Medium article.
[Samsung Galaxy S9  Questions & Answers] cr2:
You should edit the <gll> section attributes in /vendor/etc/gps.xml and replace the MultiCarrLnaMask and MultiCarrRFMode values by:

MultiCarrLnaMask ="L1_EXT_ON | L5_EXT_ON"
MultiCarrRFMode ="GL_MULTI_CARR_RF_MODE_L1_L5"
[Samsung Galaxy S9  Questions & Answers] mkstowegnv:
Thank you so much. I have been anxious for someone to finally write just this article. I want to submit it to Hacker News as soon as possible. But I would wait until you include cr2's code suggestions in the previous post. And I would humbly suggest that you make two additional points.

1) The average reader may not care about cm accuracy (even though you and I can think of lots of exciting applications). Feel free to use or not this text: "for the first time in phones accurate elevation measurement and submeter location accuracy (and more to the point for the average user, usable accuracy and faster fixes in urban canyons, thick forests and other environments and times where GNSS is currently useless). "

2) the Exynos version of the S9 is our best hope because (feel free to use or not): "The problem is that Qualcomm SOCs are unlikely to incorporate their archrival Broadcom's products, and all the leaks and previews of all but two of the flagship phones for the next year point to Qualcomm Snapdragon SOCs. To the best of my knowledge, of the major companies, only Samsung and Huawei currently use non-Qualcomm SOC's. Huawei's just released p20 uses a Broadcom chip for its GNSS but it is the previous generation, L1-only BCM4774. The only BCM4775x phone that anyone has seen and maybe the only one for the forseeable near future is the Exynos version of the S9+ "

I am a bit worried that all these phone companies will stay focused solely on cameras and fashion and we may never get multifrequency in phones (a lot of the Anandtech etc reviews suggest that they are cutting corners like mad and real life performance in many areas on the latest phones is actually regressing). But if someone can get much higher GNSS accuracy to work in the Exynos S9+s we might start to generate some excitement and someone who has some decision-making influence might miraculously notice.
[Samsung Galaxy S9  Questions & Answers] sjbarbeau:
Thanks [MENTION=234719]cr2[/MENTION] and [MENTION=8578246]mkstowegnv[/MENTION] for the feedback! I've updated the article with the instructions for editing gps.xml, and tried to succinctly cover some of the other points mentioned. Feel free to share away!
[Samsung Galaxy S9  Questions & Answers] mkstowegnv:
I suggest changing

The Samsung Galaxy S9 and S9+ released on March 11, 2018 are prime candidates for dual frequency support. However, the official Samsung Galaxy S9 spec only says:

to

Currently, the only phones that show promise of *possible* dual frequency support are the Samsung Galaxy S9 and S9+. But Samsung has left those of us who care to our own devices. The official Samsung Galaxy S9 spec only says:

And I would change

So what’s the difference between the 47752 and 47755? If you find out, let me know :). I haven’t been able to track down a 47752 spec sheet yet.

to

The 47752 is part of the BCM4775x family described at https://docs.broadcom.com/docs/12379501?eula=true , but while that document points out that the 47755 and the 47758 are both dual frequency, it doesn't confirm that the remaining member of the family, the 47752, has L1 L5 capabilities.

Thanks again and when I hear that you have considered those changes and settled on an interim final version, I will submit to Hacker News probably very early Wed morning. It is a crapshoot of course, but there are more GNSS specific news sites that might be worth your submitting to as well. My HN karma is 104. Anyone with much higher karma should feel free to submit instead or in addition to me.
[Samsung Galaxy S9  Questions & Answers] mkstowegnv:
change that second suggestion to:

The 47752 is part of the BCM4775x family described at https://docs.broadcom.com/docs/12379501?eula=true , but while that document states that the 47755 and the 47758 are both dual frequency, it doesn't confirm that the remaining members of the family, the 47754 and the 47752, also have L1 L5 capabilities.
[Samsung Galaxy S9  Questions & Answers] sjbarbeau:
Thanks for the link! I added the reference to the

BCM4775x family docs with an explanation, along with some other edits for clarity.
[Samsung Galaxy S9  Questions & Answers] mkstowegnv:
Sorry to be a pain, but

1) my firefox browser has these lines wrapping pathologically:

see https://drive.google.com/open?id=0B5eQ1ipl4xCDSDhmQ21kZnBOSHc

Also the Broadcom doc *does* list 47752 but just doesn't say anything about it.

2) the ideas flow well up until

Does your device support L1 + L5?

First, let’s start with the easiest way to tell if your Android device supports both L1 and L5 signals.

After a lot of text, the reader (who hopefully isn't actually trying to test their device as they are reading) finds that there are none that do.

I suggest changing the text above to

Are there any devices that support L1 + L5?

First, let’s start with the easiest way to tell if an Android device supports both L1 and L5 signals.

Up to you but you might mention that GPStest is not GPS test. Thanks and I promise that in the unlikely event of further suggestions, I will PM you a link to a Google Doc.
[Samsung Galaxy S9  Questions & Answers] sjbarbeau:
Thanks! I fixed the weird line break (apparently an artifact of editing on mobile), and revised the 47752X family spec description. I'm going to leave the testing L1/L5 text as-is, as I'd prefer not to bias the reader against testing their own device - at some point there will be other devices that do support dual-frequency. And yes, please leave any further editorial comments on the Medium article itself so this thread can focus on it's main topic.
[Samsung Galaxy S9  Questions & Answers] kriss3:
That's how I rooted exynos galaxy s9.

Application for $ 4 root explorer.

I have edited the gps.xml file

He was in ventor / etc / gnss / gps.xml.

I turned on l5 l1. He saved the settings. Then reset.

Unfortunately, neither satellite has appeared.

Totally no l1 or l5 satellites, nothing.

As if the gps were speechless.

So I returned to previous settings.

Well, gps worked on l1.

It looks like it probably drivers.

You may need to modify drivers or. something. another.

Later, make available the gps.xml file screeen

gpstest after switching on l5.
[Samsung Galaxy S9  Questions & Answers] mkstowegnv:
thank you kriss3 for the first of hopefully many experiments! Soon I hope to combine and summarize this new information along with some new details I have found around the web. I also plan to invite some new possible participants to join this discussion. And so I am holding off on submitting the article to Hacker News.
[Samsung Galaxy S9  Questions & Answers] kriss3:
I can test new configuration settings so that this l5 works.

So, please tell me what else to do?

Especially that I have root exynos galaxy s9.

And I can edit files.

What new details did you find on the internet?
[Samsung Galaxy S9  Questions & Answers] HKG123:
How did you root the phone? Any tutorials? Thanks.
[Samsung Galaxy S9  Questions & Answers] kriss3:
The best proven way

is described here:

highonandroid.com/android-sm...xynos-supersu

For this paid application about 4 dollars

for editing files.

Root Explorer

play.google.com/store/apps/d...e.rootexplorer

---------- Post added at 12:51 PM ---------- Previous post was at 12:49 PM ----------

If someone wants full links to root

please write a private message to me.
[Samsung Galaxy S9  Questions & Answers] sjbarbeau:
[MENTION=225581]Kriss[/MENTION] Thanks for testing! Could you please post screenshots of GPSTest Status screen before and after editing the file?