maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   [Tutorial] Faster A-GPS response on Nokia N9 (https://talk.maemo.org/showthread.php?t=80287)

elieserleao 2011-11-23 03:04

[Tutorial] Faster A-GPS response on Nokia N9
 
Hi guys!

Today I was trying to change my SUPL server on my Nokia N9, but surprisingly, I cannot do it by Settings. I tried to search on Google, but not found anything about it.
So I started to search where it is configured and change.
Here it is!!

Step 1: Enable developer mode and open Terminal
Step 2: On Terminal type
Code:

~ $ devel-su -
If you not changed your password yet, it will be "rootme"

Step 3: edit the file below by typing
Code:

~ # nano /etc/xdg/nokia/location-settings.conf
Inside that file, edit it to be like the one below (in bold the edited strings)

Code:

PrimarySuplServer=supl.google.com
PrimarySuplAllowHome=true
PrimarySuplAllowRoaming=true
PrimarySuplOnlyGprs=false
SecondarySuplServer=supl.nokia.com
SecondarySuplAllowHome=true
SecondarySuplAllowRoaming=true
SuplForced=true

Step 4: save the file using "CTRL X"
Step 5: reboot the phone

From now, your GPS will be 'locked' faster than before!!
In my tests the GPS locked in less than 10 seconds (after Nokia Maps fully loaded)!
Before, the lock was around 40 seconds to 1 minute.

It's known the SUPL Nokia server is slow, and in Brazil (where I live) it's outdated, so the solution is to use Google servers.

I hope it helps! =D

PS: If you not have 'nano' and receive 'not found', install it using command:
Code:

~ # apt-get install nano
PS2: I use "true" to "SuplForced", 'cause I always have internet connection, but if you don't have it, leave it "false". ;)

SamGan 2011-11-23 04:01

Re: [Tutorial] Faster A-GPS response on Nokia N9
 
Quote:

Originally Posted by elieserleao (Post 1127647)
PS2: I use "true" to "SuplForced", 'cause I always have internet connection, but if you don't have it, leave it "false". ;)

Thanks for this tip. If SuplForced is false, will this mod make the GPS lock faster?

elieserleao 2011-11-23 04:27

Re: [Tutorial] Faster A-GPS response on Nokia N9
 
Quote:

Originally Posted by SamGan (Post 1127659)
Thanks for this tip. If SuplForced is false, will this mod make the GPS lock faster?

Your GPS will lock faster if you use SUPL servers (A-GPS)!

A-GPS use cells informations to triangulate your position, and to get coordinates of the cells it will query SUPL servers... ;)

So the property will be "true" if you wanna ALWAYS use SUPL servers (A-GPS) instead of waiting regular-GPS satellites to respond.

Get it?! :)

cddiede 2011-11-23 05:46

Re: [Tutorial] Faster A-GPS response on Nokia N9
 
Not knowing how to change my SUPL server on the N9 was driving me Crazy!! Thanks so much!

jalyst 2011-11-24 06:54

Re: [Tutorial] Faster A-GPS response on Nokia N9
 
excellent finding, thanks for sharing!

randomdood 2011-11-24 07:08

Re: [Tutorial] Faster A-GPS response on Nokia N9
 
normally when i'm in the car i get a lock very quickly without having this modded... i shall mod and see if there is a noticeable difference

crisscross 2011-11-27 22:22

Re: [Tutorial] Faster A-GPS response on Nokia N9
 
Tried to ping supl.nokia.com:
18-20 ms
supl.google.com:
134-256 ms

This was from Sweden. I would say this mods effect will highly depend on your location.

jonnyl 2011-11-27 23:15

Re: [Tutorial] Faster A-GPS response on Nokia N9
 
Quote:

Originally Posted by crisscross (Post 1129762)
Tried to ping supl.nokia.com:
18-20 ms
supl.google.com:
134-256 ms

This was from Sweden. I would say this mods effect will highly depend on your location.

Aye, in the US I have the opposite effect.

elieserleao 2011-11-29 01:18

Re: [Tutorial] Faster A-GPS response on Nokia N9
 
Quote:

Originally Posted by crisscross (Post 1129762)
This was from Sweden. I would say this mods effect will highly depend on your location.

That's what I'm talking about. In Brasil the pings not differ so much, but the Google Database is more accurate and updated... ;)

Jmenka 2013-02-07 21:08

Re: [Tutorial] Faster A-GPS response on Nokia N9
 
Please, can anybody explain how to edit file with configurations in step 3. I just can't change the code :(


All times are GMT. The time now is 09:57.

vBulletin® Version 3.8.8