FORUMS
Remove All Ads from XDA

[MOD/SETTINGS TWEAK] SiRF GPS on SGS2

1,771 posts
Thanks Meter: 1,395
 
Post Reply Email Thread
This is the updated sirfgps.conf file ONLY for ICS and has been modded by myself. As the GPS serial port is changed in ICS ROM.

Quote:

#CSR SiRF plc
#PROJECT_NAME : white Space is not allowed
#UART_DRIVER : Uart Driver Path
#RESET_GPIO : Reset GPIO Driver Path
#ONOFF_GPIO : OnOff GPIO Driver Path
#EXTERNAL_LNA : 1 - use External LNA, 0 - use Internal LNA only
#REF_CLOCK_26MHZ: 1 - use 26MHz TCXO, 0 - use 16.369MHz TCXO
#UART_BAUD_RATE : 0 - 115200bps 1 - 230400, 2 - 460800, 3 - 57600
#FREQUENCY_AIDING : 0 - Disable, 1 - Enable
#SENSOR_AIDING : 0 - Disable, 1 - Enable
#SET_ID_IMSI : 1 - Use IMSI for SET ID, 0 - Use MSISDN for SET ID, especially for Japan Network Operators
#DEBUGGING_FILES : 0 - no log file, 1 - log files enabled
#SSL_ENABLED : 0 - SSL Disabled, 1 - SSL Enabled
#CERTI_VERSION : 0 - TLSv1 , 1 - SSLv3 , 2 - SSLv23
#CP_RESPONSETIME : 0 - no priority, 1 - resposne priority time, 2 - resposne priority position ,3 - resposne priority use entire response time
#REAIDING=20
#CONTROL_PLANE : 1 - CP Enabled, 0 - CP Disabled, for MP3 player or PND
#ATT_NETWORK_OPERATOR : 1 - for AT&T, 0 - for other network operator
#SGEE : 1 - SGEE ENABLE 0 - SGEE DISABLE
PROJECT=SAMSUNG_S5PC210
UART_DRIVER=/dev/ttySAC1
RESET_GPIO=/sys/devices/virtual/sec/gps/GPS_nRST/value
ONOFF_GPIO=/sys/devices/virtual/sec/gps/GPS_PWR_EN/value
REAIDING=20
EXTERNAL_LNA=1
REF_CLOCK_26MHZ=1
UART_BAUD_RATE=2
FREQUENCY_AIDING=1
SENSOR_AIDING=1
SET_ID_IMSI=1
DEBUGGING_FILES=0
SSL_ENABLED=1
CERTI_VERSION=1
CP_RESPONSETIME=3
CONTROL_PLANE=1
ATT_NETWORK_OPERATOR=0
ICS_NETWORK_OPERATOR=0
EMC_ENABLE=1
CIQ_ENABLE=1
SGEE=1
CGEE=1
LOG_PATH=/data

======================================

I meddled with the stock SGS KH3 firmware and found this file inside (/etc/sirfgps.conf).

It got so many settings for GPS chipset but is untouched by AngryGPS program or any system's GPS settings, it must be edited manually.

I noticed a big differences by turning on this sensor aiding, freq aid, and emc feature in this file.

I do notice that sensor aiding is toggleable in the system's setting but it only work in software level and this conf file is in hardware level.

If any of you want the edited file, let me know and I'll post it for you.

============================================
Attached Files
File Type: zip sirfgps.zip - [Click for QR Code] (877 Bytes, 2519 views)
The Following 21 Users Say Thank You to Crescendo Xenomorph For This Useful Post: [ View ] Gift Crescendo Xenomorph Ad-Free
 
 
28th October 2011, 05:50 AM |#2  
tookewl4skewl's Avatar
Senior Member
Flag Toronto
Thanks Meter: 12
 
More
Please share, I'm curious about your discovery

Sent from my htc.desireZED
The Following User Says Thank You to tookewl4skewl For This Useful Post: [ View ] Gift tookewl4skewl Ad-Free
28th October 2011, 06:02 AM |#3  
lambstone's Avatar
Senior Member
Thanks Meter: 242
 
Donate to Me
More
Yes. It would be nice if you posted the updated file.
29th October 2011, 05:17 AM |#4  
Crescendo Xenomorph's Avatar
OP Senior Member
Flag Garden of Time
Thanks Meter: 1,395
 
Donate to Me
More
This is the mentioned file found in my stock rooted /etc folder. Modified of course...

Permission is rw-r--r--
Group is root|root
Attached Files
File Type: zip sirfgps.conf.zip - [Click for QR Code] (843 Bytes, 1707 views)
29th October 2011, 07:12 AM |#5  
PFittech's Avatar
Senior Member
Flag Zilina
Thanks Meter: 1,038
 
Donate to Me
More
hm I m looking for difference and you switch AIDING to ON manuall but when I enable in setting>>location>>use sensors- It is the same I think .)
29th October 2011, 05:28 PM |#6  
Senior Member
Flag H√łnefoss
Thanks Meter: 51
 
More
Quote:
Originally Posted by Crescendo Xenomorph

This is the mentioned file found in my stock rooted /etc folder. Modified of course...

Permission is rw-r--r--
Group is root|root


This looks interesting, but unfortunately the zip file seems to be corrupt. Can you please re-upload the file?
29th October 2011, 06:25 PM |#7  
Senior Member
Thanks Meter: 201
 
More
Quote:
Originally Posted by Crescendo Xenomorph

I meddled with the stock SGS KH3 firmware and found this file inside (/etc/sirfgps.conf).

It got so many settings for GPS chipset but is untouched by AngryGPS program or any system's GPS settings, it must be edited manually.

I noticed a big differences by turning on this sensor aiding, freq aid, and emc feature in this file.

I do notice that sensor aiding is toggleable in the system's setting but it only work in software level and this conf file is in hardware level.

If any of you want the edited file, let me know and I'll post it for you.

Hey man,

I noticed that file before as well. What improvements did you see with your settings? Faster fix? Better accuracy? Compared to the default file I mean ....

boba
31st October 2011, 02:47 AM |#8  
Crescendo Xenomorph's Avatar
OP Senior Member
Flag Garden of Time
Thanks Meter: 1,395
 
Donate to Me
More
I just trying to open the file and it works OK.
Try to extract it using WinRAR. I compressed it via WinRAR.

Hmm, when I enable the sensor aiding in the location menu, the sensor aiding in that conf file is still 0. When I disable it, the file also says 0. The last modified time is months ago, which is before I activate this device.

I notice the faster fix (mainly when you try to get a cold fix inside a fast moving car) and slight improvement in accuracy.

The interesting settings are: frequency aiding and emc feature.
I dunno what it's for but it improve my lock time and accuracy.
2nd November 2011, 07:51 AM |#9  
Crescendo Xenomorph's Avatar
OP Senior Member
Flag Garden of Time
Thanks Meter: 1,395
 
Donate to Me
More
#CSR SiRF plc
#PROJECT_NAME : white Space is not allowed
#UART_DRIVER : Uart Driver Path
#RESET_GPIO : Reset GPIO Driver Path
#ONOFF_GPIO : OnOff GPIO Driver Path
#EXTERNAL_LNA : 1 - use External LNA, 0 - use Internal LNA only
#REF_CLOCK_26MHZ: 1 - use 26MHz TCXO, 0 - use 16.369MHz TCXO
#UART_BAUD_RATE : 0 - 115200bps 1 - 230400, 2 - 460800, 3 - 57600
#FREQUENCY_AIDING : 0 - Disable, 1 - Enable
#SENSOR_AIDING : 0 - Disable, 1 - Enable
#SET_ID_IMSI : 1 - Use IMSI for SET ID, 0 - Use MSISDN for SET ID, especially for Japan Network Operators
#DEBUGGING_FILES : 0 - no log file, 1 - log files enabled
#SSL_ENABLED : 0 - SSL Disabled, 1 - SSL Enabled
#CERTI_VERSION : 0 - TLSv1 , 1 - SSLv3 , 2 - SSLv23
#CP_RESPONSETIME : 0 - no priority, 1 - resposne priority time, 2 - resposne priority position ,3 - resposne priority use entire response time
#REAIDING=20
#CONTROL_PLANE : 1 - CP Enabled, 0 - CP Disabled, for MP3 player or PND
#ATT_NETWORK_OPERATOR : 1 - for AT&T, 0 - for other network operator
PROJECT=SAMSUNG_S5PC210
UART_DRIVER=/dev/s3c2410_serial1
RESET_GPIO=/sys/devices/virtual/sec/gps/GPS_nRST/value
ONOFF_GPIO=/sys/devices/virtual/sec/gps/GPS_PWR_EN/value
EXTERNAL_LNA=1
REF_CLOCK_26MHZ=1
UART_BAUD_RATE=2
FREQUENCY_AIDING=1
SENSOR_AIDING=1
SET_ID_IMSI=1
DEBUGGING_FILES=0
SSL_ENABLED=0
CERTI_VERSION=0
CP_RESPONSETIME=2
CONTROL_PLANE=1
ATT_NETWORK_OPERATOR=0
EMC_ENABLE=1
LOG_PATH=/sdcard/gps/csr
3rd November 2011, 12:20 PM |#10  
Junior Member
Thanks Meter: 1
 
More
Testing
Hi,
I have tried this trick, but i saw no difference ...Inside my car (i have those "heat-protected" windows) i still have problems, my accuracy is awful, usually between 15-20 m in an open road (with spots of 5-10 m), and 25-30 m inside the city (which makes it useless).

I have changed the UART_BAUD to 3 and i will test it later....the reason is that i realized that when i turn right/left with my car, or in the road when a curve is closed enough to generate "centrifugal force" the accuracy drops from 10 m to 25 m and then when i come back to a straight lane the precision goes down to "normal" values....so i reduced BAUD to minimum, it will be slower but i hope more stable....

I'll try and post my results tomorrow
4th November 2011, 08:01 AM |#11  
nutmegy's Avatar
Senior Member
Thanks Meter: 225
 
More
Quote:
Originally Posted by Crescendo Xenomorph

#CSR SiRF plc
#PROJECT_NAME : white Space is not allowed
#UART_DRIVER : Uart Driver Path
#RESET_GPIO : Reset GPIO Driver Path
#ONOFF_GPIO : OnOff GPIO Driver Path
#EXTERNAL_LNA : 1 - use External LNA, 0 - use Internal LNA only
#REF_CLOCK_26MHZ: 1 - use 26MHz TCXO, 0 - use 16.369MHz TCXO
#UART_BAUD_RATE : 0 - 115200bps 1 - 230400, 2 - 460800, 3 - 57600
#FREQUENCY_AIDING : 0 - Disable, 1 - Enable
#SENSOR_AIDING : 0 - Disable, 1 - Enable
#SET_ID_IMSI : 1 - Use IMSI for SET ID, 0 - Use MSISDN for SET ID, especially for Japan Network Operators
#DEBUGGING_FILES : 0 - no log file, 1 - log files enabled
#SSL_ENABLED : 0 - SSL Disabled, 1 - SSL Enabled
#CERTI_VERSION : 0 - TLSv1 , 1 - SSLv3 , 2 - SSLv23
#CP_RESPONSETIME : 0 - no priority, 1 - resposne priority time, 2 - resposne priority position ,3 - resposne priority use entire response time
#REAIDING=20
#CONTROL_PLANE : 1 - CP Enabled, 0 - CP Disabled, for MP3 player or PND
#ATT_NETWORK_OPERATOR : 1 - for AT&T, 0 - for other network operator
PROJECT=SAMSUNG_S5PC210
UART_DRIVER=/dev/s3c2410_serial1
RESET_GPIO=/sys/devices/virtual/sec/gps/GPS_nRST/value
ONOFF_GPIO=/sys/devices/virtual/sec/gps/GPS_PWR_EN/value
EXTERNAL_LNA=1
REF_CLOCK_26MHZ=1
UART_BAUD_RATE=2
FREQUENCY_AIDING=1
SENSOR_AIDING=1
SET_ID_IMSI=1
DEBUGGING_FILES=0
SSL_ENABLED=0
CERTI_VERSION=0
CP_RESPONSETIME=2
CONTROL_PLANE=1
ATT_NETWORK_OPERATOR=0
EMC_ENABLE=1
LOG_PATH=/sdcard/gps/csr



I dont think this will make much difference.. on my phone anyway if you look at the line

Quote:
Originally Posted by Crescendo Xenomorph

UART_DRIVER=/dev/s3c2410_serial1

looking in that file location there is no such driver present..
Post Reply Subscribe to Thread

Tags
gps, i9100, mod, sgs2, sirf

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes