Closed Bug 986621 Opened 10 years ago Closed 6 years ago

GPS is no longer work after an update to FirefoxOS 1.2 on ZTE Open

Categories

(Firefox OS Graveyard :: Gaia, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: lordphoenix, Unassigned)

Details

Attachments

(4 files, 1 obsolete file)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:28.0) Gecko/20100101 Firefox/28.0 (Beta/Release)
Build ID: 20140317233339

Steps to reproduce:

I've updated my Zte Open with FirefoxOS 1.2 following instructions in this page https://developer.mozilla.org/en-US/Firefox_OS/Developer_phone_guide/ZTE_OPEN


Actual results:

Any application who need GPS can get my position. I've made test with applications : Geoloc, Here maps, Google maps and any of them get gps information.
Do you mean 'expected results' instead of 'actual'? I've just found that all GPS apps don't work any more after the upgrade. Some of the apps (i.e. GPS-Dashboard and Speed) shows that there is "no GPS signal".
Sorry it's because of my bad englih… I mean that all GPS apps I've tried don't work…
I've tested a number of GPS configuration files on my ZTE Open and finished with these ones: see the attachments above. Both gps.conf.mozilla (from the discussion of #955880) and gps.conf.google (for another ZTE phone, I guess) work for me.


You need to:

1. take one or an other gps.conf.* file and setup the NTP servers for your region and country -- in my case that are "europe" and "ru" (it might be that simple "pool.ntp.org" works too, I didn't test that case);

2. adb shell mount -o remount,rw /; adb shell mount -o remount,rw /system;

3. adb push gps.conf.<yourchoice> /etc/gps.conf;

4. adb push gps.conf.<yourchoice> /system/etc/gps.conf;

5. take your current user.js file -- adb pull /system/b2g/defaults/pref/user.js ./;

6. edit it -- setup the geo.gps.* settings as in the attachment;

7. push it back -- adb push user.js /system/b2g/defaults/pref/user.js;

8. adb push SuplRootCert /etc/SuplRootCert;

9. adb push SuplRootCert /system/etc/SuplRootCert.

10. adb shell reboot.


After that GPS works for me in Speed, GPS Dashboard and HERE Maps.
Thank you @paul  . That solution you posted above worked for me , I was able to extract a GPS track with the run recorder app.
Firefox OS is not being worked on
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: