yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace S5830 Android Development] DaBigFreak:
For me it seems that the sensors are not working as they should. You can see that in maps 5.8 when pushing the right top button, orientation is jumping around like a little monkey.

Moreover, I use AlarmDroid, where you can snooze by flipping the phone, stop alarm with shaking.

To control the level of shaking, you have sliders to set the acceleration of the sensors. Whatever is choosen here, it has no impact to what is sensored! Just setting up "0" disables the sonsors, but at "1" no difference to "50".

So maybe its the sensors making the trouble in maps 6.x and the therefor GPS positioning.

Hopefully we will get soon CM official support. Please go to CM Forum and make statements :)
[Galaxy Ace S5830 Android Development] Marjinal:
I'm running on Jusada's ICS Final and I finally got my Ace's gps working decently. Thank you very much.
[Galaxy Ace S5830 Android Development] Jalfrezi:
update for me rapid 1st day

back to normal the day after, 1st day bright sunshine no clouds last 2 days grey clouds filled with snow = slow GPS

im hoping for better results when the bad weather goes - should this be the case ??
[Galaxy Ace S5830 Android Development] koko008:
Does this work on GT-I5800 (Galaxy 3)? I'd like to try but better to ask first... :)
[Galaxy Ace S5830 Android Development] aliendna51:
Yeah, is it compatible? I tried flashing it on CM7 port for G3 and got an error...
[Galaxy Ace S5830 Android Development] lagloose:
Nope, it won't work.

This is why the package even can't be flashed. It checks for the correct device before flashing...
[Galaxy Ace S5830 Android Development] Weeeman:
does this work on stock rom (sgs2 rom)
[Galaxy Ace S5830 Android Development] Pablo87:
OMG !!! Just read the title !!! It's only for CM 7.x based roms and it's only for SGA5830 !!!
[Galaxy Ace S5830 Android Development] Weeeman:
Dude chill. I am on galaxy ace but am using spacecakers sgs2 STYLE Rom. It is stock. Do a bit of reading before you flip.

And i was asking coz i noticed another stock based Rom came with this installed so wanted to see if i could do the same.

You may want to say sorry :-)
[Galaxy Ace S5830 Android Development] willianssrj:
Thanks I will test the device of my wife
[Galaxy Ace S5830 Android Development] ssDen_lol:
Not working!!!!
[Galaxy Ace S5830 Android Development] iandol:
Working brilliantly here. I flashed your FAT CM and never got a GPS fix, then reverted to The End (vo1+this fix) and got GPS fix instantly. Many thanks lagloose!!!
[Galaxy Ace S5830 Android Development] Kasnar:
It does seem to have some issues getting a fix on FAT rom, this used to work marbles on vo-1's rom, Google maps struggles to get a lock in a minute or so, though it is rather quick on waze, usually less than 10 seconds, still slower than it used to be on vo-1's rom but bearable, only real problem I have faced with FAT rom, but I never even tried without this mod, I flashed right after I flashed FAT CM7.2, I guess I could try to revert it.

A shame.

UPDATE: I wiped everything and installed FAT rom from scratch, I will test before and after this mod and report results, in case anyone cares :)

UPDATE 2: on vanilla FAT rom, this mod doesn't seem to be effective, without this mod, Maps 5.12 gave me a fix in ~30sec and subsequent fix was almost immediate, exactly the same results I got before wiping, I can live with that.

UPDATE 3: I just couldn't let it go, I reinstalled vanilla FAT, no scripts whatsoever, 30sec to 1 min to get a fix, flashed lagloose script, fix in 10sec or less. It is working for me now, this script is the best.
[Galaxy Ace S5830 Android Development] kindroid:
its just perfect! working nicely on my SGA with Ice Cream Sunday! just took 10sec to recognice my current place! super!
[Galaxy Ace S5830 Android Development] DaBigFreak:
Hey, scince this one I can use GPS with CM7.2 yeaha, but it took some seconds too.

So I added my own little tweaked gps.conf, bäm, outside got a fix in no sec!

How about you guys using this additional gps.conf? Same ultra fast fix for you guys?
[Galaxy Ace S5830 Android Development] PafcioPjay:
Mate, can you just describe, step by step how to improve the CM 7.2 from FAT-Kang?
[Galaxy Ace S5830 Android Development] DaBigFreak:
OK, honestly I first had CM7.2 vo1, flashed this GPS fix, than just flashed over fat-kang, now added my gps.conf

Thats it. Maybe with fat-kang first flash this GPS fix again, than this gps.conf
[Galaxy Ace S5830 Android Development] DaBigFreak:
Update: After just one reboot, my GPS is totaly broken! Getting only two satelites, no one marked as fixed, getting no fix at all.

Guess there is one line braking it all, so we have to change line by line to see where the big bang is hidden :(
[Galaxy Ace S5830 Android Development] lagloose:
I don't recommend (and don't think it is a good idea) to add all this parameters to gps.conf because the internal functions of the libraries do all this stuff already in an optimized way. We already have now a GPS fix in less than a minute. I don't think that there is more you can do by trying to tweak.

More than that, by using this tweaks you'll probably open up tolerance for the GPS system so that it thinks to have a reliable fix although it doesn't really have one. -> wrong identification of position...

But at least it's of course your descision...
[Galaxy Ace S5830 Android Development] DaBigFreak:
Well, when using geotagging, getting a fix in about a minute is heavy. The other option would be to let the phone for some hours in active state, no way with this battery life^^

Its kind of sad we dont have that GPSSetup apk to change all these settings, cause it depends if your using UMTS, GPRS or no Internet at all. Different settings will provide different speed ups.

In the end I get a fix with just this patch in about 20-30 seconds, pretty good compared to CM7.2 stock^^
[Galaxy Ace S5830 Android Development] kindroid:
your link seems broken :|
[Galaxy Ace S5830 Android Development] pitbull111:
Is this patch working with cm fat kang ??
[Galaxy Ace S5830 Android Development] DaBigFreak:
Scince fat-kang is CM7.2 it is working, why not? :)

Its a charm with this patch :)
[Galaxy Ace S5830 Android Development] artifex21:
Installing update...

assert failed getprop("ro.product.device") == "cooper" | | getprop("ro.build.product") == "cooper" | |

getprop("ro.product.board") == "cooper" | |

getprop("ro.product.device") == "cooper"

== "GT-S5830" getprop("ro.product.board") == "GT-S5830"

E:Error in /sdcard/cm7.x_gpspatch.zip (Status 7)

Installation aborted

Can't install the zip :)

I have samsung galaxy 3 with CM 7.2

CWM is 5.0.2.7
[Galaxy Ace S5830 Android Development] DaBigFreak:
So there is the answer, you have a different phone!
[Galaxy Ace S5830 Android Development] calav3ra_de:
LOL this guy didnt recognize he is in the

ACE

forums

PS: Speed is great. Thanks, works good as far as i could test. Let you know if anything goes wrong.

Tested on [ROM][Gingerbread] 2.3.7 | Clean Android | AOSP|Beta1
[Galaxy Ace S5830 Android Development] tonyboy3:
Thanks.. works fine on LeWa_ROM_Cooper_12.03.09 ;)
[Galaxy Ace S5830 Android Development] lameazz:
Works fine on RadonMod too.. thanks! :thumbup: :)
[Galaxy Ace S5830 Android Development] Jalfrezi:
since i installed this tweak ive just had major success the phone is the best it can be at last

i use gps status still to test it out and my best so far is 2's secure lock on endomondo every time

keep it up great effort who needs a pricey phone when these work awesome
[Galaxy Ace S5830 Android Development] phanvinh1987:
good job! thanks :)
[Galaxy Ace S5830 Android Development] itasoulas:
can I ask something, maybe a bit stupid? Which HW libraries are replaced? Only those dealing with phone sensors or other like camera and video libraries?
[Galaxy Ace S5830 Android Development] lagloose:
Some people posted that compass is not working correct. could you please all check it out and post here, if it works for you or not...
[Galaxy Ace S5830 Android Development] Teflon_:
Yes It is.

When i used CM7 roms the compass doesn't work, Also after flash your patch.
[Galaxy Ace S5830 Android Development] kindroid:
This is really working! 3 seconds lock
[Galaxy Ace S5830 Android Development] The Zel:
Could someone please uploud the fix on mediafire? I just can't download it from 4shared :'(
[Galaxy Ace S5830 Android Development] Kasnar:
Not mediafire, but it should work just like it no wait times or anything, directly from bropbox.

http://db.tt/PaKw0LmD
[Galaxy Ace S5830 Android Development] The Zel:
Thank you so much :D
[Galaxy Ace S5830 Android Development] itasoulas:
@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?
[Galaxy Ace S5830 Android Development] croatist:
this is awsome 10 sec locked thankyou
[Galaxy Ace S5830 Android Development] 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
[Galaxy Ace S5830 Android Development] 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
[Galaxy Ace S5830 Android Development] InverseSandwich:
I'd like to know too

Sent from Samsung Galaxy Ace
[Galaxy Ace S5830 Android Development] iandol:
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...
[Galaxy Ace S5830 Android Development] itasoulas:
I can be really nice and really mean, what do you prefer? Instructions are in my post, changes also there, tutorial for personalisation also there. I really can't help anymore. Peace!

---------- Post added at 06:05 PM ---------- Previous post was at 06:00 PM ----------

nice to hear it works. I tried that myself today in my car with a navigator, works sweet.

A bit off-topic: Best accuracy I get is 4meters. I am just curious if anyone ever got a better accuracy than this like 2meters or 0 with his phone. But I guess it's just impossible since there is always a loss when receiving signal from satellites. I guess that happens even if you buy the best navigator in market.
[Galaxy Ace S5830 Android Development] iandol:
4-6 meters I think is most accurate I've seen too ;)
[Galaxy Ace S5830 Android Development] spicediablo:
Haha. I prefer u to be nice man.Anyway, I'm currently on happily1986 gps fix which involves editing the gps.conf and adding a secgps.conf to the /data/gps.Will try this patch soon and post feedback. Thanks!!

Initial impressions seems good. Getting first lock in under 100 sec. Previously took about 200 sec. Subsequent locks were under 10 sec.:)
[Galaxy Ace S5830 Android Development] arys64:
Doubt

Now, if my country is not listed, can i use something like: north-america.pool.ntp.org in the line to edit? (based on the link you provided for the country list)

[EDIT] Since my country is not listed, I changed the address to the part of the world I live in (north-america.pool.ntp.org) and now I get a lock in less than 30 sec and accuraqte to 4m. :D Perfect!!!
[Galaxy Ace S5830 Android Development] itasoulas:
of course you can, absolutely no problem! :)
[Galaxy Ace S5830 Android Development] nihilista:
Great work, original by lagloose works very good, but yours is once more bit faster, thx.
[Galaxy Ace S5830 Android Development] Weeeman:
How would i get back to the stock gps system after flashing this. I don't think my gps works. I returned to stock. Any help
[Galaxy Ace S5830 Android Development] nihilista:
What ROM? Cyanogen? That works 100% with this gps module...

Otherwise you should have an nandroid backup before patching anything, if not, reinstall you ROM or try to extract original files from zip and put it in iandols zip.

If you are not familiar with this procedure, you have a problem ;)

But i think putting old files in this update-zip should be very easy....but as i said: better to have nandroid backup (learned it myself hard way ;-)...
[Galaxy Ace S5830 Android Development] Weeeman:
Im on stock based Rom sgs final by spacecaker.

I've installed the Rom again with no luck.

If i do not have a nandroid backup what should i do. I think i do, should be on my computer. Still what happens if I've lost it.
[Galaxy Ace S5830 Android Development] nihilista:
As i said, take the files from your original ROM, maybe download it if dont have, take files from original, replace those in zip and flash, maybe this works....

If not you have to flash original ROM like you did it before...dont know if with odin or recovery. If via recovery it should not destroy your settings and apps, if you dont do factory reset (no need if same ROM).
[Galaxy Ace S5830 Android Development] Weeeman:
Wait. So i can't find my backup. Therefore i flash .gs Rom or original orange UK Rom
[Galaxy Ace S5830 Android Development] nihilista:
If your phone runs with "stock based by spacecaker" (Doesnt find it here, but you will know where it comes from), easiest is to take those ROM and flash it and dont loose your apps and settings. Flashing original ROM with odin will reset all.

Edit: Is it this ROM? So download it, extract changed files, put them in gpsfix zip and install...should work....
[Galaxy Ace S5830 Android Development] system.img:
Hey lagloose. Heard your patch worked on CyanogenMod 9 by Maclaw. Can you work a bit more on it as the GPS doesn't seem to lock for many users?

Thanks in Advance.
[Galaxy Ace S5830 Android Development] Weeeman:
Yes this the right Rom.

How do i extract the files to gprs fix. Like what files do i take.
[Galaxy Ace S5830 Android Development] nihilista:
Look in gps-fix zipfile, which files are in and what folder, look in ROM zipfile as these files are in (need files from /system and subfolders that are in gpsfix), extract exactly these files and put it in gps-fix zipfile, overwriting originals. Then flash this zip, if you are sure you replaced all files in. And before: Make nandroid backup, if somethings going wrong ;-)

But if its easier for you, flash the ROM, dont do factory reset and it should work anyway....
[Galaxy Ace S5830 Android Development] lagloose:
cm9 patch on Monday...
[Galaxy Ace S5830 Android Development] lagloose:
cm9 patch here: http://xdaforums.com/showpost.php?p=24914304&postcount=3329

Greetz, lagloose
[Galaxy Ace S5830 Android Development] Darvadouille:
Great work, thank you lagloose!
[Galaxy Ace S5830 Android Development] Mardon:
Tested but nothing changed!

Gps worked before patching.

Patch didnt fix agps so its not needed for cm9. If u make a patch which will fix agps i would be happy ;)
[Galaxy Ace S5830 Android Development] lagloose:
You know how to work with adb ?

I've attached a 'xtra.bin.patch' (for Europe) file to this post. Rename to 'xtra.bin'. Copy this to /data/gps, set permission for this file to 644, reboot and try agps/gps again. Tell me if it helped...
[Galaxy Ace S5830 Android Development] Mardon:
Didnt work. I think it has nothing to do with xtra.bin file because i already had such a file before and in gps.conf file already r xtra server entrys.
[Galaxy Ace S5830 Android Development] villemann:
I flashed this patch and gps locks now in just a few seconds. And for the first time ever I can put my phone in my pocket, and it doesn't unlock, so finally I can check what the Endomondo fuss is all about.

Lagloose, thank you very much, you're my hero! :)
[Galaxy Ace S5830 Android Development] Weeeman:
Is there a patch like this for stock rom
[Galaxy Ace S5830 Android Development] itasoulas:
@ lagloose

Hey man, can you take a lool at this? An alternative gps.conf Do you thing it will work on ACE?

NTP_SERVER=COUNTRY.pool.ntp.org
NTP_SERVER=0.COUNTRY.pool.ntp.org
NTP_SERVER=1.COUNTRY.pool.ntp.org
NTP_SERVER=2.COUNTRY.pool.ntp.org
NTP_SERVER=3.COUNTRY.pool.ntp.org
NTP_SERVER=0.REGION.pool.ntp.org
NTP_SERVER=1.REGION.pool.ntp.org
NTP_SERVER=2.REGION.pool.ntp.org
NTP_SERVER=3.REGION.pool.ntp.org

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

# DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
# 4 - Debug, 5 - Verbose
DEBUG_LEVEL =0

# Intermediate position report, 1=enable, 0=disable
INTERMEDIATE_POS=0

# Accuracy threshold for intermediate positions
# less accurate positions are ignored, 0 for passing all positions
ACCURACY_THRES=0

# Report supl ref location as position, 1=enable, 0=disable
REPORT_POSITION_USE_SUPL_REFLOC=1

# Wiper (wifi positioning), 1=enable, 0=disable
ENABLE_WIPER=1

################################
##### AGPS server settings #####
################################

# FOR SUPL SUPPORT, set the following
SUPL_HOST=supl.google.com
SUPL_PORT=7276
SUPL_NO_SECURE_PORT=3425
SUPL_SECURE_PORT=7275
SUPL_TLS_HOST=FQDN
SUPL_TLS_CERT=/etc/SuplRootCert

# FOR C2K PDE SUPPORT, set the following
C2K_HOST=c2k.pde.com
C2K_PORT=1234

CURRENT_CARRIER=common
DEFAULT_AGPS_ENABLE=TRUE
DEFAULT_SSL_ENABLE=FALSE

# TRUE for "User Plane", FALSE for "Control Plane"
DEFAULT_USER_PLANE=TRUE
[Galaxy Ace S5830 Android Development] Jar3112:
I'm using this patch, and it always worked fine! But now i traveled from Italy (my country) to Belgium, and GPS won't lock. It's not immediately necessary to me, but is there something i can do?

Sent from my Galaxy Ace on Cm 7.2
[Galaxy Ace S5830 Android Development] martin_s5670:
I'm using the supl_host from nokia, then with port 7275, works well in europe (imo better than google,this is esp. for asia, usa, ...)

Change:

SUPL_HOST=supl.nokia.com

SUPL_PORT=7275

See my post in

http://xdaforums.com/showpost.php?p=24856330&postcount=6
[Galaxy Ace S5830 Android Development] spicediablo:
I have noticed a quicker lock if I turn on wifi and enable wifi position from settings. Average first lock for me is under 100s :)

Sent from The End 4 on adrenaline engine
[Galaxy Ace S5830 Android Development] Wam7:
I'm in the UK on T-Mobile and this work perfectly on CM 7.2. Before using it the GPS wasn't working well at all. Many thanks for this.
[Galaxy Ace S5830 Android Development] musf:
i've tried many gps solution till now, such as pfgps, happily1986's, itasoulas', lewa's, and in the and i always go back to this one..

although this patch's gps.conf is so simple, but still it's the best gps fix on earth imo..

simple is beautiful i guess.. :D
[Galaxy Ace S5830 Android Development] mcnn:
thanks man. it works perfectly with apocalypse rom on Ace
[Galaxy Ace S5830 Android Development] erghetto:
yeah!! it's perfect!! thank you very much :D
[Galaxy Ace S5830 Android Development] SiccaGm:
Is there a similar working patch for CM9 ?
[Galaxy Ace S5830 Android Development] ajeetone:
Lagloose actually give us two important step in achieve a great Tom the GPS and the camera......thanks man
[Galaxy Ace S5830 Android Development] ijustzeke:
tried this on my phone which is running on Apocalypse!

3 secs GPS lock! EPIC!
[Galaxy Ace S5830 Android Development] Yamizzolo:
On apocalypse, 9 seconds Lock indoor! incredible :)
[Galaxy Ace S5830 Android Development] sergini:
File not valid on 4shared, can someone provide a mirror?
[Galaxy Ace S5830 Android Development] Cool_On3:
You need to login first, and than download the file.
[Galaxy Ace S5830 Android Development] sergini:
I know, it doesnt let me download.

Worked!
[Galaxy Ace S5830 Android Development] pandu15:
thanks dude it works great on apocalypse :cool:

hm.. it's valid, I just download it a few moment ago :)
[Galaxy Ace S5830 Android Development] mall456kimo:
Would you please make one for Gio?

I'd like to use the real GPS with my GIO
[Galaxy Ace S5830 Android Development] jumbobombo:
Removed
[Galaxy Ace S5830 Android Development] Janocha:
Hi,

I have the same problem as user GerasVille (at 3rd site this thread).

Installing update...
assert failed getprop("ro.product.device") == "cooper" | | getprop("ro.build.product") == "cooper" | |
getprop("ro.product.board") == "cooper" | |
getprop("ro.product.device") == "cooper"
== "GT-S5830" getprop("ro.product.board") == "GT-S5830"
E:Error in /sdcard/cm7.x_gpspatch.zip (Status 7)
Installation aborted

But I'm using CWM-5.2.0.8 on Galaxy Mini device. Ofkoz I'm using CM 7.2.

Can anyone help me ?

Regards.

Edit:

omg.. sorry this fix is for galaxy ace not galaxy mini :(. I can't del this post.
[Galaxy Ace S5830 Android Development] Mardon:
Yes i made a GPS Patch for CM9

CM9 GPS Thread
[Galaxy Ace S5830 Android Development] nhervitz21:
Let me try this and flash it in the latest stable version of Lewa. Hope it works fine here in the Philippines.
[Galaxy Ace S5830 Android Development] musf:
lagloose.. would u please make this kind of patch for cm10..? i mean something like err.. replacing hw gps lib with stock lib or something else.. it's because my cm10 gps take very long time to lock, i've check it by using gps status toolbox, i can get 10-11 satellite, but still not locking..
[Galaxy Ace S5830 Android Development] Mardon:
We have no stock cm10 so its impossible to use stock libs.

Gesendet von meinem PASCAL2 mit Tapatalk 2
[Galaxy Ace S5830 Android Development] musf:
i mean stock jb lib from other device or may be using stock gb lib, is it not possible..?

right now i'm using your mod, yes i can get my position on map, but it's so loooong compared to when i use lewa with this patch..
[Galaxy Ace S5830 Android Development] Mardon:
No, libs are device specific so it wont work.

Gesendet von meinem PASCAL2 mit Tapatalk 2
[Galaxy Ace S5830 Android Development] benna:
not working on democracy NT CM7.2. GPS not working at all now
[Galaxy Ace S5830 Android Development] clspart193:
any1 knows if this works with CM7.2 Ultimatum ROM? I tried these patches but its not working for me.
[Galaxy Ace S5830 Android Development] Fingon1:
Ultimatum Rom

Does it work with Ultimatum Rom? http://xdaforums.com/showthread.php?t=2234221
[Galaxy Ace S5830 Android Development] sharingan:
rom

will it work on stock android 2.3.6
[Galaxy Ace S5830 Android Development] mickael.webmaster:
For CM7.2 cooper the path flash is wrong, extract and put manualy :

bin → system / vendor / bin

etc → system / etc

lib → system / lib

And crazy work.. :good:

Thx..