Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,805,022 Members 52,637 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
kindroid
Old
#111  
kindroid's Avatar
Senior Member
Thanks Meter 31
Posts: 140
Join Date: Nov 2011
Location: Indonesia
This is really working! 3 seconds lock

Sent from my GT-S5830 using XDA
 
The Zel
Old
#112  
The Zel's Avatar
Senior Member
Thanks Meter 244
Posts: 672
Join Date: Dec 2010
Location: GPS currently disabled.

 
DONATE TO ME
Could someone please uploud the fix on mediafire? I just can't download it from 4shared :'(
 
Kasnar
Old
#113  
Senior Member
Thanks Meter 29
Posts: 107
Join Date: Jan 2012
Quote:
Originally Posted by The Zel View Post
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: [ Click to Expand ]
 
The Zel
Old
#114  
The Zel's Avatar
Senior Member
Thanks Meter 244
Posts: 672
Join Date: Dec 2010
Location: GPS currently disabled.

 
DONATE TO ME
Thank you so much
 
itasoulas
Old
(Last edited by itasoulas; 1st April 2012 at 03:39 PM.)
#115  
itasoulas's Avatar
Recognized Themer
Thanks Meter 4,472
Posts: 2,096
Join Date: Nov 2011
Location: Athens

 
DONATE TO ME
@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?
Nexus 5 / Nexus 7 (2013) USER / Follow me on Google Plus
 
croatist
Old
#116  
Junior Member
Thanks Meter 0
Posts: 25
Join Date: Feb 2012
Location: Zagreb
this is awsome 10 sec locked thankyou
 
itasoulas
Old
(Last edited by itasoulas; 2nd April 2012 at 06:15 AM.)
#117  
itasoulas's Avatar
Recognized Themer
Thanks Meter 4,472
Posts: 2,096
Join Date: Nov 2011
Location: Athens

 
DONATE TO ME
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, 1746 views)
Nexus 5 / Nexus 7 (2013) USER / Follow me on Google Plus
The Following 6 Users Say Thank You to itasoulas For This Useful Post: [ Click to Expand ]
 
spicediablo
Old
#118  
Senior Member
Thanks Meter 107
Posts: 808
Join Date: Oct 2011
Location: Malaysia
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 View Post
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
 
InverseSandwich
Old
#119  
InverseSandwich's Avatar
Senior Member
Thanks Meter 153
Posts: 580
Join Date: Oct 2011
Location: Hampshire

 
DONATE TO ME
Quote:
Originally Posted by spicediablo View Post
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
Devices:
Google Nexus 4 16GB
Acer C720 Chromebook
Chromecast
2x Raspberry Pi Model B Revision 2

If I helped you, hit the thanks button!
 
iandol
Old
#120  
iandol's Avatar
Senior Member
Thanks Meter 185
Posts: 419
Join Date: Jan 2012
Location: London
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...

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes