28th October 2011, 05:18 AM
(Last edited by Crescendo Xenomorph; 23rd April 2012 at 06:46 AM .)
Reason: Updated for ICS.
Senior Member -
OP
Thanks Meter
1094
Posts: 1,257
Join Date: Feb 2009
Location: ~☆~Garden of Time~☆~
DONATE TO ME
[MOD/SETTINGS TWEAK] SiRF GPS on SGS2
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.
============================================
~☆~Nothing is true, everything is permitted.~☆~
The Following 21 Users Say Thank You to Crescendo Xenomorph For This Useful Post: [ Click to Expand ]
Andersondj (28th April 2012),
bbqnelli (12th April 2012),
Diliban (10th July 2012),
duongla (20th May 2012),
duykhang524 (24th June 2012),
eugeniofc (23rd July 2012),
GalaxySII_newguy (6th January 2013),
halljo (12th April 2012),
htaule (12th April 2012),
hughfollett (2nd August 2012),
jerryhou85 (12th April 2012),
nobleskill (28th October 2011),
PoorCollegeGuy (11th April 2012),
reiji01 (30th April 2012),
seekerm2 (23rd July 2012),
superlik (18th May 2012),
T1beriu (12th April 2012),
takkaros (29th April 2012),
thehellraiser (30th July 2012),
ty080279 (13th April 2012)
28th October 2011, 05:50 AM
Senior Member
Thanks Meter
12
Posts: 115
Join Date: Feb 2010
Location: Toronto
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: [ Click to Expand ]
28th October 2011, 06:02 AM
Senior Member
Thanks Meter
137
Posts: 1,040
Join Date: Mar 2008
Yes. It would be nice if you posted the updated file.
Most people aren't idiots, but it only takes one to ruin it for the rest of us.
ლ(ಠ益ಠლ)
Y U NO BE SMARTER
--------------------------------------------------------------------------------------------
Phones: Xplore M68 > O2 Atom Life > HTC Touch HD > iPhone 3G > HTC Touch Dual > HTC Hero > Omnia 7 > Milestone 2 > Nexus S > SGS2 > SGS4
Tablets: Galaxy Tab > Galaxy Tab 7.7
29th October 2011, 05:17 AM
Senior Member -
OP
Thanks Meter
1094
Posts: 1,257
Join Date: Feb 2009
Location: ~☆~Garden of Time~☆~
DONATE TO ME
This is the mentioned file found in my stock rooted /etc folder. Modified of course...
Permission is rw-r--r--
Group is root|root
~☆~Nothing is true, everything is permitted.~☆~
29th October 2011, 07:12 AM
Senior Member
Thanks Meter
981
Posts: 300
Join Date: Jul 2011
Location: Zilina
DONATE TO ME
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
Senior Member
Thanks Meter
42
Posts: 637
Join Date: Jul 2005
Location: Hønefoss
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?
Regards,
PK
------------- Devices ---------------
HTC One
Sony Xperia Z Returned
Samsung Galaxy SII | Samsung Galaxy Tab 10.1 | HTC Desire HD | HTC Desire
HTC HD2 | HTC Diamond2 | HTC Diamond Pro | HTC P3300 | Qtek S100
29th October 2011, 06:25 PM
Senior Member
Thanks Meter
114
Posts: 1,559
Join Date: Jan 2008
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
Samsung Galaxy S3 - CM9 Nightly
31st October 2011, 02:47 AM
Senior Member -
OP
Thanks Meter
1094
Posts: 1,257
Join Date: Feb 2009
Location: ~☆~Garden of Time~☆~
DONATE TO ME
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.
~☆~Nothing is true, everything is permitted.~☆~
2nd November 2011, 07:51 AM
Senior Member -
OP
Thanks Meter
1094
Posts: 1,257
Join Date: Feb 2009
Location: ~☆~Garden of Time~☆~
DONATE TO ME
#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
~☆~Nothing is true, everything is permitted.~☆~
3rd November 2011, 12:20 PM
Junior Member
Thanks Meter
1
Posts: 15
Join Date: Jun 2008
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
Thread Tools
Search this Thread
Display Modes
Linear Mode
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Go to top of page...
Most Thanked In This Thread
2 XXLPW got the GPS bug
where the GPS … 2 Don't use the above file
if you use ICS … 1 Thanks! it might work in
fact. SGS2 and … 1 Please match with this
from my … 1 (quote)
you're
welcome... :D
If …