Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Crescendo Xenomorph
Old
(Last edited by Crescendo Xenomorph; 23rd April 2012 at 06:46 AM.) Reason: Updated for ICS.
#1  
Crescendo Xenomorph's Avatar
Senior Member - OP
Thanks Meter 1094
Posts: 1,257
Join Date: Feb 2009
Location: ~☆~Garden of Time~☆~

 
DONATE TO ME
Default [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.

============================================
Attached Files
File Type: zip sirfgps.zip - [Click for QR Code] (877 Bytes, 1495 views)


Device: Samsung Galaxy S2 - Noozxoide EIZO-rewire™ PRO
ROM: I9100XWLSS
Kernel: Dorimanx
-----------------------------
Device: Samsung Galaxy Note 2 - Noozxoide EIZO-rewire™ PRO
ROM: N7100ZSDMB1
Kernel: Perseus





~☆~Nothing is true, everything is permitted.~☆~
The Following 21 Users Say Thank You to Crescendo Xenomorph For This Useful Post: [ Click to Expand ]
 
tookewl4skewl
Old
#2  
tookewl4skewl's Avatar
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 ]
 
lambstone
Old
#3  
lambstone's Avatar
Senior Member
Thanks Meter 138
Posts: 1,046
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
 
Crescendo Xenomorph
Old
#4  
Crescendo Xenomorph's Avatar
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
Attached Files
File Type: zip sirfgps.conf.zip - [Click for QR Code] (843 Bytes, 1376 views)


Device: Samsung Galaxy S2 - Noozxoide EIZO-rewire™ PRO
ROM: I9100XWLSS
Kernel: Dorimanx
-----------------------------
Device: Samsung Galaxy Note 2 - Noozxoide EIZO-rewire™ PRO
ROM: N7100ZSDMB1
Kernel: Perseus





~☆~Nothing is true, everything is permitted.~☆~
 
PFittech
Old
#5  
PFittech's Avatar
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 .)
 
paalkr
Old
#6  
Senior Member
Thanks Meter 42
Posts: 637
Join Date: Jul 2005
Location: Hønefoss
Quote:
Originally Posted by Crescendo Xenomorph View Post
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
 
boba23
Old
#7  
Senior Member
Thanks Meter 114
Posts: 1,559
Join Date: Jan 2008
Quote:
Originally Posted by Crescendo Xenomorph View Post
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
 
Crescendo Xenomorph
Old
#8  
Crescendo Xenomorph's Avatar
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.


Device: Samsung Galaxy S2 - Noozxoide EIZO-rewire™ PRO
ROM: I9100XWLSS
Kernel: Dorimanx
-----------------------------
Device: Samsung Galaxy Note 2 - Noozxoide EIZO-rewire™ PRO
ROM: N7100ZSDMB1
Kernel: Perseus





~☆~Nothing is true, everything is permitted.~☆~
 
Crescendo Xenomorph
Old
#9  
Crescendo Xenomorph's Avatar
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


Device: Samsung Galaxy S2 - Noozxoide EIZO-rewire™ PRO
ROM: I9100XWLSS
Kernel: Dorimanx
-----------------------------
Device: Samsung Galaxy Note 2 - Noozxoide EIZO-rewire™ PRO
ROM: N7100ZSDMB1
Kernel: Perseus





~☆~Nothing is true, everything is permitted.~☆~
 
zymmer
Old
#10  
Junior Member
Thanks Meter 1
Posts: 15
Join Date: Jun 2008
Default 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

 
Post Reply+
Tags
gps, i9100, mod, sgs2, sirf
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...