5,599,135 Members 34,441 Now Online
XDA Developers Android and Mobile Development Forum

[SOLUTION] [I927] GPS fix in Poland

Tip us?
 
kamykkamyk_pl
Old
(Last edited by kamykkamyk_pl; 2nd January 2014 at 08:10 AM.) Reason: Change Attach Files
#1  
Junior Member - OP
Thanks Meter 3
Posts: 16
Join Date: Nov 2013
Location: Żory
Lightbulb [SOLUTION] [I927] GPS fix in Poland

Hello,
i try many solutions to fix GPS in my I927 (orginal AT&T ICS rom): first GPS Doctor from Google Play store (no results ), then i root my phone i try change gps.conf in etc folder. I try many gps.conf configuration - still no effect (GPS fix 4-5 minutes). Finally i got idea... My Wife hat Samsung Galaxy S Advance from polish distribution with polish clear JB ROM (updated by Samsung kies). I try copy with my Wife's phone files AGPS_CA.pam, GPS.conf and SIRFGPS.conf to my phone....
and it worked Now i catch GPS fix in 7 sec.

SOLUTION STEP BY STEP:
1.You need rotted I927 phone (soluition in this thread)
2. copy from my PC files AGPS_CA.PAM, GPS.CONF and SIRFGPS.CONF (files below) via Bluetooth to my Phone
3. i copy with Root Browser from Google Play (may be any Root Explorer) files AGPS_CA.PAM, GPS.CONF and SIRFGPS.CONF system/etc folder (overwrite -> yes)
4. i turn on GPS Doctor (I bought this earlier) click "Manual Fix Option", then "advanced operation" and i cleaned all the items one by one (Clear Almanac Data, clear Ephemeris Data ....)
5. I turn off my phone (no reset - turn off) and go outside my house to place in which there is an unobstructed view of the sky
6. I turn on my phone and run GPS Checker from Google Play (i downloada this earlier) and wait for FIX (this take 149 sec.)
7. tur off and turn on GPS Checker and now i catch Fix in 7 sec. i turn on Google Navigation and i catch fix
also in a few seconds.


I think that SIRFGPS.CONF is very important for the proper functioning of the GPS.In my opinion GPS.CONF does not play a big role here (as You see in my files ntp server is still set to north america)

I hope you GPS work now properly.
greetings.

P.S. Sorry for my english
Attached Files
File Type: zip GPS_FIX_Poland.zip - [Click for QR Code] (5.7 KB, 15 views)
The Following User Says Thank You to kamykkamyk_pl For This Useful Post: [ Click to Expand ]
 
AndyYan
Old
#2  
AndyYan's Avatar
Senior Member
Thanks Meter 784
Posts: 1,846
Join Date: Jan 2012
Location: Beijing
Quote:
Originally Posted by kamykkamyk_pl View Post
1.You need rotted I927 phone
LOL
Anyway, good steps, I may have to look into SIRFGPS.conf as I'm also having problems with GPS.


Current devices:
Google Nexus 4 (CM11 Nightly)
Google Nexus 7 (2013, WiFi) (CM11 Nightly)
Motorola Droid RAZR M (CM11 Nightly)
Motorola Photon Q 4G LTE (CM11 Nightly)
HTC Incredible S (CM11 Unofficial)
 
croolyc
Old
#3  
Member
Thanks Meter 5
Posts: 33
Join Date: Jun 2012
Location: Szczecin
Ja uzywam fastergps i rowniez szybko sie laczy.

Sent from my SGH-I927 using xda app-developers app
 
kamykkamyk_pl
Old
#4  
Junior Member - OP
Thanks Meter 3
Posts: 16
Join Date: Nov 2013
Location: Żory
Thumbs up However, the correct settings NTP help ...

I decide to try my device in the field.
I turn on GPS .... and got FIX (in gps checker) after 106 seconds.
Also i change i GPS.CONF ntp server to polish and put GPS.CONF in to system/etc folder and repeat steps 4 -6

Quote:
4. i turn on GPS Doctor (I bought this earlier) click "Manual Fix Option", then "advanced operation" and i cleaned all the items one by one (Clear Almanac Data, clear Ephemeris Data ....)
5. I turn off my phone (no reset - turn off) and go outside my house to place in which there is an unobstructed view of the sky
6. I turn on my phone and run GPS Checker from Google Play ... and wait for FIX...
First FIX take 4-5 minutes, but now i catch GPS Fix in 15-30 sec. i try this in random places in my City (distant from each other by about 5 km).
Now i have visible 6 - 11 satelites and fix catch 4-7 satelites.

i think now its all good.

I changed the gps.conf file in the package for the Polish ntp settings. But anyone can edit in GPS.CONF the ntp for your country
LIst of NTP servers You can find in official NTP POLL PROJECT
 
winotu
Old
#5  
winotu's Avatar
Junior Member
Thanks Meter 2
Posts: 12
Join Date: Jun 2013
Location: Wroclaw
This solution works for ICS ? You wrote that you took sirfgps file from JB phone.

Your sirfgps:
Code:
PROJECT=SAMSUNG_STE
UART_DRIVER=/dev/ttyAMA1
RESET_GPIO=/sys/class/sec/gps/GPS_nRST/value
ONOFF_GPIO=/sys/class/sec/gps/GPS_ON_OFF/value
JB 4.2.2 sirfgps:
Code:
PROJECT=SAMSUNG_TEGRA
UART_DRIVER=/dev/ttyHS0
RESET_GPIO=/sys/devices/virtual/sec/gps/GPS_nRST/value
ONOFF_GPIO=/sys/devices/virtual/sec/gps/GPS_PWR_EN/value
 
kamykkamyk_pl
Old
(Last edited by kamykkamyk_pl; 2nd January 2014 at 08:39 AM.)
#6  
Junior Member - OP
Thanks Meter 3
Posts: 16
Join Date: Nov 2013
Location: Żory
Quote:
Originally Posted by winotu View Post
This solution works for ICS ? You wrote that you took sirfgps file from JB phone.

Your sirfgps:
Code:
PROJECT=SAMSUNG_STE
UART_DRIVER=/dev/ttyAMA1
RESET_GPIO=/sys/class/sec/gps/GPS_nRST/value
ONOFF_GPIO=/sys/class/sec/gps/GPS_ON_OFF/value
JB 4.2.2 sirfgps:
Code:
PROJECT=SAMSUNG_TEGRA
UART_DRIVER=/dev/ttyHS0
RESET_GPIO=/sys/devices/virtual/sec/gps/GPS_nRST/value
ONOFF_GPIO=/sys/devices/virtual/sec/gps/GPS_PWR_EN/value
Hi,
some time ago i turn on GPs in my I927, nad have no response. GSP not turn on.
I realized that it was caused paths to folders. My settings were wrong:

Quote:
UART_DRIVER=/dev/ttyAMA1[/B]
RESET_GPIO=/sys/class/sec/gps/GPS_nRST/value
ONOFF_GPIO=/sys/class/sec/gps/GPS_ON_OFF/value
I changed the settings in the original file sirfgps.conf from I927 to the same as in S Advance, but I left the original path:

Quote:
PROJECT=SAMSUNG_TEGRA_ATT
UART_DRIVER=/dev/ttyHS0
RESET_GPIO=/sys/devices/virtual/sec/gps/GPS_nRST/value
ONOFF_GPIO=/sys/devices/virtual/sec/gps/GPS_PWR_EN/value
Now GPS work fine, catch FIX ~15 sec. but always before i use GPs i restart first phone. I think that sometimeswhen i use Task Killer, some GPS process is off.. Anyway reset phone, start gps and this is OK.

I change file to download to new with rigth settings.

greetings
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes