Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[CM7.x][Patch] improve GPS and Sensors

OP lagloose

15th March 2012, 02:51 PM   |  #111  
kindroid's Avatar
Senior Member
Flag Indonesia
Thanks Meter: 31
 
140 posts
Join Date:Joined: Nov 2011
More
This is really working! 3 seconds lock

Sent from my GT-S5830 using XDA
25th March 2012, 12:20 AM   |  #112  
The Zel's Avatar
Senior Member
Flag GPS currently disabled.
Thanks Meter: 261
 
705 posts
Join Date:Joined: Dec 2010
Donate to Me
More
Could someone please uploud the fix on mediafire? I just can't download it from 4shared :'(
25th March 2012, 01:39 AM   |  #113  
Senior Member
Thanks Meter: 29
 
107 posts
Join Date:Joined: Jan 2012
More
Quote:
Originally Posted by The Zel

Could someone please uploud the fix on mediafire? I just can't download it from 4shared :'(

Not mediafire, but it should work just like it no wait times or anything, directly from bropbox.

http://db.tt/PaKw0LmD
The Following 2 Users Say Thank You to Kasnar For This Useful Post: [ View ]
25th March 2012, 01:51 AM   |  #114  
The Zel's Avatar
Senior Member
Flag GPS currently disabled.
Thanks Meter: 261
 
705 posts
Join Date:Joined: Dec 2010
Donate to Me
More
Thank you so much
1st April 2012, 04:33 PM   |  #115  
itasoulas's Avatar
Recognized Themer
Flag Athens
Thanks Meter: 4,488
 
2,103 posts
Join Date:Joined: Nov 2011
Donate to Me
More
@lagloose

Hey dude, may I ask from which stock did you get HW libraries or gps files? And once we've got two very good roms, one Asian DDKQ8 and a European XXKPT (BEST SO FAR - FASTER GB EVER!), should you consider update your patch with those sources if changed?
Last edited by itasoulas; 1st April 2012 at 04:39 PM.
1st April 2012, 06:48 PM   |  #116  
Junior Member
Flag Zagreb
Thanks Meter: 0
 
25 posts
Join Date:Joined: Feb 2012
More
this is awsome 10 sec locked thankyou
1st April 2012, 11:42 PM   |  #117  
itasoulas's Avatar
Recognized Themer
Flag Athens
Thanks Meter: 4,488
 
2,103 posts
Join Date:Joined: Nov 2011
Donate to Me
More
GPS & Sensors Patch Updated by itasoulas (April 2nd, 2012)

:: Updated system\bin\gpsd from XXKPT
:: Updated system\etc\gps.conf from XXKPT
:: Updated system\lib\hw from XXKPT
:: I think now with updated files locks faster


+ All credits go to lagloose, I just updated the files on his original zip with latest sources from XXKPT
+ If you have original patch, just boot in recovery, mount system and install this. It will overwrite old files and wipe your /data/gps directory to remove old xtra.bin files as original file. So if you start your GPS is like using it for the first time.
+ Please backup your current rom before flashing this. It is highly unlikely that this will do any harm to your phone but you never know, sometimes sh*t happens!

NOTE: The updated gps.conf file does not specify a pool server, e.g. Europe, Asia, etc.. in contrast with lagloose's file that has been edited to specify Europe server. That's good for European users cause even at first use they'll get a faster lock. But users in other continents won't! But after first use all users should lock fast (or faster) as with lagloose's patch. I could have done different versions for each pool server but just would be a pain in the a*s. The bottom line is that after first use you get fast lock as with stock

In order for you to get fastest gps lock ever, do this:
1. Go to my zip, system\etc and open the gps.conf with notepad or wordpad
2. Before the following
SUPL_HOST=supl.google.com
SUPL_PORT=7276

add
NTP_SERVER=YOURCOUNTRY.pool.ntp.org (if you don't know how exactly your country must be written visit this http://www.pool.ntp.org/zone/@)
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin

3. Save file
4. Now your gps is locked to your country.
5. Flash, reboot and enjoy!!! Updated sources from XXKPT with your configuration=SPEED!

Example
Attached Files
File Type: zip GPS & Sensors Patch Updated by itasoulas.zip - [Click for QR Code] (226.7 KB, 1749 views)
Last edited by itasoulas; 2nd April 2012 at 07:15 AM.
The Following 6 Users Say Thank You to itasoulas For This Useful Post: [ View ]
2nd April 2012, 02:47 PM   |  #118  
Senior Member
Flag Malaysia
Thanks Meter: 121
 
918 posts
Join Date:Joined: Oct 2011
More
How do i install this if I don't have the old patch? What files are changed besides gps.conf?


Quote:
Originally Posted by itasoulas

GPS & Sensors Patch Updated by itasoulas (April 2nd, 2012)

:: Updated system\bin\gpsd from XXKPT
:: Updated system\etc\gps.conf from XXKPT
:: Updated system\lib\hw from XXKPT
:: I think now with updated files locks faster


+ All credits go to lagloose, I just updated the files on his original zip with latest sources from XXKPT
+ If you have original patch, just boot in recovery, mount system and install this. It will overwrite old files and wipe your /data/gps directory to remove old xtra.bin files as original file. So if you start your GPS is like using it for the first time.
+ Please backup your current rom before flashing this. It is highly unlikely that this will do any harm to your phone but you never know, sometimes sh*t happens!

NOTE: The updated gps.conf file does not specify a pool server, e.g. Europe, Asia, etc.. in contrast with lagloose's file that has been edited to specify Europe server. That's good for European users cause even at first use they'll get a faster lock. But users in other continents won't! But after first use all users should lock fast (or faster) as with lagloose's patch. I could have done different versions for each pool server but just would be a pain in the a*s. The bottom line is that after first use you get fast lock as with stock

In order for you to get fastest gps lock ever, do this:
1. Go to my zip, system\etc and open the gps.conf with notepad or wordpad
2. Before the following
SUPL_HOST=supl.google.com
SUPL_PORT=7276

add
NTP_SERVER=YOURCOUNTRY.pool.ntp.org (if you don't know how exactly your country must be written visit this http://www.pool.ntp.org/zone/@)
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin

3. Save file
4. Now your gps is locked to your country.
5. Flash, reboot and enjoy!!! Updated sources from XXKPT with your configuration=SPEED!

Example



Sent from ace on the end 4.0
2nd April 2012, 02:50 PM   |  #119  
InverseSandwich's Avatar
Senior Member
Flag Hampshire
Thanks Meter: 153
 
580 posts
Join Date:Joined: Oct 2011
Donate to Me
More
Quote:
Originally Posted by spicediablo

How do i install this if I don't have the old patch? What files are changed besides gps.conf?






Sent from ace on the end 4.0

I'd like to know too

Sent from Samsung Galaxy Ace
2nd April 2012, 04:11 PM   |  #120  
iandol's Avatar
Senior Member
Flag London
Thanks Meter: 185
 
419 posts
Join Date:Joined: Jan 2012
More
Just flash the ZIP in CWM, you don't need the old patch. Exactly the same files as the original lagloose patch are changed.

I've tested this, works perfectly, edited gps.conf for the UK and got lock in about 10 seconds in Maps 6.5 and in central London, very good accuracy...

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes