New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Mardon
Old
(Last edited by Mardon; 15th November 2012 at 07:25 AM.)
#1  
Mardon's Avatar
Recognized Contributor - OP
Thanks Meter 1308
Posts: 1,756
Join Date: Mar 2008
Location: Hamburg

 
DONATE TO ME
Default [CM9]-[CM10]-[Patch] GPS V3 & V4 and GPSfix app (Beta) updated 14.11.2012

New GPS-Fix V4 for MaclawStudios CM9 RC1 (and Roms based on this build)
Choose patch which is the nearest to your country to get a faster gps lock.
V4 patch should also work on CM10 (PLZ report here in thread if it works or not since im not using CM10 for now)
Changelog:
- Added SUPL_TLS_HOST support
- Added SUPL_TLS_CERTIFICATES
- Added INTERMEDIATE_POSITION support (lower accurate location at start for faster use but after few secs accuracy gets much better)
- Removed gps.cooper.so (not needed anymore in RC1)
- should work on CM10 now

Downloads:
V4 Patch for Asia (China preconfigured): Download - Uploaded.to-Mirror
V4 Patch for Europe (Germany preconfigured): Download - Uploaded.to-Mirror
V4 Patch for Oceania (Australia preconfigured): Download - Uploaded.to-Mirror
V4 Patch for North-America (US preconfigured): Download - Uploaded.to-Mirror
V4 Patch for South-America (Brazil preconfigured): Download - Uploaded.to-Mirror
V4 Patch for Africa (South-Africa preconfigured): Download - Uploaded.to-Mirror
Additional Patches for other Countries in 2nd Post

(AGPS not included in CWM Flashable Zip)
For AGPS you need to add two lines to /system/build.prop file after flashing the GPS-Patch
ro.ril.def.agps.mode=2
ro.ril.def.agps.feature=1




----------Old V3 Patch vor CM9-preRC1 builds----------

The V3 Patch for CM9 pre-RC1 builds to get a working GPS (AGPS with manual edit build.prop file accuracy ~6 meters) in MaclawStudios CM9 beta 9/10 and custom Roms based on this build.
Patches are sorted by Region (fastest fix is for preconfigured Country, but you can edit Country in gps.conf file later after flashing but it will work without changing the Country if you choose the right region, it only takes a few seconds more for GPS lock)

Downloads:
Patch for Asia (China preconfigured): Download - Uploaded.to-Mirror
Patch for Europe (Germany preconfigured): Download - Uploaded.to-Mirror
Patch for Oceania (Australia preconfigured): Download - Uploaded.to-Mirror
Patch for North-America (US preconfigured): Download - Uploaded.to-Mirror
Patch for South-America (Brazil preconfigured): Download - Uploaded.to-Mirror
Patch for Africa (South-Africa preconfigured): Download - Uploaded.to-Mirror
Additional Patches for other Countries in 2nd Post


(AGPS not included in CWM Flashable Zip)
For AGPS you need to add two lines to /system/build.prop file after flashing the GPS-Patch
ro.ril.def.agps.mode=2
ro.ril.def.agps.feature=1




SMillerNL's GPS-Fix APP for CM9 CM10
!!!Now compatible with v4 patch and optional intermediate position support!!!
Attached Download is old outdated app version!
Install from Market!

WARNINGS:
  1. This app will replace your entire gps.conf, so if you made manual changes back them up first.
  2. this is only confirmed working on maclaw's CM9/CM10 if you try this with anything else it probably won't go over well.
  3. this is only a beta, so in case your country doesn't seem to work, try another name. or look at http://pool.ntp.orgfor the names that I used
  4. Requires the install of V4 GPS Fix otherwise the SUPL_TLS_CERTIFICATES are missing.
App is available on the Play Store.

Download

Infos for ROM-makers
If u wanna include the App by SMillerNL into your ROM u need to ask him for permission first!!!
If u wanna include the patch into your ROM plz give credits and ask me for permission first!!

General Infos
Plz dont mirror the Patches!
Attached Files
File Type: apk GPSfixAPP_for_V4_GPSfix.apk - [Click for QR Code] (159.6 KB, 1962 views)
Phone: Galaxy Ace GT-S5830
Baseband: XWKS2
Rom: Unofficial CyanogenMod 10.1 - 'Nightly 20130615' [androidarmv6] modded by me (susu+fb variant)+ GPS_Fix_pre-V5 included now
Mods: OOM-Priority-Changer (undo)undo
Recovery : PX Recovery 0.4.0
Bootanimation:[CM9-3D] PM me for it

My Dropbox get your own Dropbox
VLC Android
My Files
The Following 31 Users Say Thank You to Mardon For This Useful Post: [ Click to Expand ]
 
Mardon
Old
(Last edited by Mardon; 28th August 2012 at 02:32 PM.) Reason: Added Costa Rica V4 patch
#2  
Mardon's Avatar
Recognized Contributor - OP
Thanks Meter 1308
Posts: 1,756
Join Date: Mar 2008
Location: Hamburg

 
DONATE TO ME
V4 Patch for additional Countrys

V4 Patch for Asia (India preconfigured): Download - Uploaded.to-Mirror
V4
Patch for Asia (Indonesia preconfigured): Download - Uploaded.to-Mirror
V4 Patch for Asia (Turkey preconfigured): Download - Uploaded.to-Mirror
V4 Patch for Asia (Vietnam preconfigured): Download - Uploaded.to-Mirror
V4
Patch for Europe (Belgium preconfigured): Download - Uploaded.to-Mirror
V4 Patch for Europe (Italy preconfigured): Download - Uploaded.to-Mirror
V4 Patch for Europe (Poland preconfigured): Download - Uploaded.to-Mirror
V4 Patch for South-America (Chile preconfigured): Download - Uploaded.to-Mirror
V4 Patch for North-America (Costa Rica preconfigured): Download - Uploaded.to-Mirror
V4 Patch for North-America (Panama preconfigured): Download - Uploaded.to-Mirror


V3 Patch for additional Countrys


Patch for Europe (Italy preconfigured): Download - Uploaded.to-Mirror (thx to ZenPluS)
Patch for Europe (Poland preconfigured): Download - Uploaded.to-Mirror
Patch for Europe (Belgium preconfigured): Download - Uploaded.to-Mirror (thx to Soetaertie)
Patch for South-America (Chile preconfigured): Download - Uploaded.to-Mirror (thx to maurioski)
Patch for Asia (Turkey preconfigured): Download - Uploaded.to-Mirror
Patch for North-America (Panama preconfigured): Download - Uploaded.to-Mirror
Phone: Galaxy Ace GT-S5830
Baseband: XWKS2
Rom: Unofficial CyanogenMod 10.1 - 'Nightly 20130615' [androidarmv6] modded by me (susu+fb variant)+ GPS_Fix_pre-V5 included now
Mods: OOM-Priority-Changer (undo)undo
Recovery : PX Recovery 0.4.0
Bootanimation:[CM9-3D] PM me for it

My Dropbox get your own Dropbox
VLC Android
My Files
The Following 10 Users Say Thank You to Mardon For This Useful Post: [ Click to Expand ]
 
SMillerNL
Old
#3  
SMillerNL's Avatar
Senior Member
Thanks Meter 639
Posts: 2,256
Join Date: Sep 2011
Location: Lisse

 
DONATE TO ME
Could you give some sort of changelog?

Sent from my GT-S5830 using xda premium

Good advice || More about me || I help here || currently porting this for Mako
"I actually don't want any Thanks. I don't need to be Thanked, because I just want to make XDA a better place...'
 
Mardon
Old
#4  
Mardon's Avatar
Recognized Contributor - OP
Thanks Meter 1308
Posts: 1,756
Join Date: Mar 2008
Location: Hamburg

 
DONATE TO ME
Quote:
Originally Posted by SMillerNL View Post
Could you give some sort of changelog?

Sent from my GT-S5830 using xda premium
Its still the V3 Patch but now for different Regions.
1st V3 patch was mainly for Europe (with Germany preconfigured)
Now its available for 5 Regions.
Phone: Galaxy Ace GT-S5830
Baseband: XWKS2
Rom: Unofficial CyanogenMod 10.1 - 'Nightly 20130615' [androidarmv6] modded by me (susu+fb variant)+ GPS_Fix_pre-V5 included now
Mods: OOM-Priority-Changer (undo)undo
Recovery : PX Recovery 0.4.0
Bootanimation:[CM9-3D] PM me for it

My Dropbox get your own Dropbox
VLC Android
My Files
The Following User Says Thank You to Mardon For This Useful Post: [ Click to Expand ]
 
Millenium3
Old
#5  
Millenium3's Avatar
Senior Member
Thanks Meter 211
Posts: 442
Join Date: May 2012
Location: Quito
took a while to locating myself although I flashed the one for my region.. but when it works, 4 meters of accuracy! REAL COOL
 
-Light-
Old
#6  
-Light-'s Avatar
Senior Member
Thanks Meter 37
Posts: 125
Join Date: Jun 2012
Location: Kathmandu
1. working with amarullz's script?? ( previous one had problem with it i guess! though hadnt tested myself) cant be testing and reflashing for few weeks because of exams!!
2. can you give details about how to configure for your country for better and fast fix!!????
!!Feel Free to Contact!!
!!Press THANKS if it helped!!

Currents:
Sony Xperia P
Lost:
Device- Galaxy Ace GT-S5830 - LOST
ROM- PAC [ Paranoid + Aokp+ Cm10 ] [Update 13-12-2012]
App2SD- Link2SD with 1 GB ext3 partition on 16GB card class 4
 
Millenium3
Old
(Last edited by Millenium3; 29th July 2012 at 07:52 AM.)
#7  
Millenium3's Avatar
Senior Member
Thanks Meter 211
Posts: 442
Join Date: May 2012
Location: Quito
Quote:
Originally Posted by -Light- View Post
1. working with amarullz's script?? ( previous one had problem with it i guess! though hadnt tested myself) cant be testing and reflashing for few weeks because of exams!!
2. can you give details about how to configure for your country for better and fast fix!!????
About point 2..:

(Visit http://www.pool.ntp.org/zone/@ there are the servers... if there's no your country i would recommend the server of nearest country or the server of the country that has the most active servers in same continent but i don't think it varies that much..)
In gps.conf

Quote:
Originally Posted by SMillerNL View Post
Just edit the location of the servers.

Code:
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=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
Those are the edits I'd suggest you to make in GPS.conf. The original values are

de = country
europe = region

Sent from my GT-S5830 using xda premium
Sent from my GT-S5830 I think...
Don't forget to press thanks button..!!


Samsung Galaxy S4 Giveaway..!

Device: SAMSUNG Galaxy S III GT-I9300 - International Version (Sapphire Black)
ROM: Official CyanogenMod 10.1 Nightly Build

Device: SAMSUNG Galaxy Ace S5830B - Brazilian variant
ROM: CyanogenMod 10.1 by Maclaw Studios
Scripts:

Thanks if I helped
The Following 2 Users Say Thank You to Millenium3 For This Useful Post: [ Click to Expand ]
 
SMillerNL
Old
#8  
SMillerNL's Avatar
Senior Member
Thanks Meter 639
Posts: 2,256
Join Date: Sep 2011
Location: Lisse

 
DONATE TO ME
Quote:
Originally Posted by -Light- View Post
1. working with amarullz's script?? ( previous one had problem with it i guess! though hadnt tested myself) cant be testing and reflashing for few weeks because of exams!!
2. can you give details about how to configure for your country for better and fast fix!!????
Its just multiple versions of version 3 so I guess you're unlucky about the ammarulz thing.

In the GPS.conf file the first 3-4 lines consist of lines which (in the European version) will look like this.

TOOLS NEEDED:
-root explorer or some similar tool.
-internet.
-a functioning brain.

Code:
NTP_SERVER=de.pool.ntp.org

NTP_SERVER=0.de.pool.ntp.org

NTP_SERVER=1.de.pool.ntp.org

NTP_SERVER=2.de.pool.ntp.org
Since you, like me for example, might not live in Germany. You want to change it.

1. You go to http://www.pool.ntp.org and there on the right hand side you're gonna choose your continent. This will take you to a list of countries with there server name next to it.

2.you look up the country you're in on the list and look at the server address. Do you see how amazingly similar they are to the values that are already there? So with that server address from, for example Holland, in mind you're gonna go to your GPS.conf

3. Then using root explorer we're going to edit those first few lines. So that its your countries server address that's behind the "=". So when you're from Holland like me, it should then look like this.

Code:
NTP_SERVER=nl.pool.ntp.org

NTP_SERVER=0.nl.pool.ntp.org

NTP_SERVER=1.nl.pool.ntp.org

NTP_SERVER=2.nl.pool.ntp.org
Sent from my GT-S5830 using xda premium

Good advice || More about me || I help here || currently porting this for Mako
"I actually don't want any Thanks. I don't need to be Thanked, because I just want to make XDA a better place...'
The Following User Says Thank You to SMillerNL For This Useful Post: [ Click to Expand ]
 
-Light-
Old
#9  
-Light-'s Avatar
Senior Member
Thanks Meter 37
Posts: 125
Join Date: Jun 2012
Location: Kathmandu
Quote:
Originally Posted by Millenium3 View Post
About point 2..:

(Visit http://www.pool.ntp.org/zone/@ there are the servers... if there's no your country i would recommend the server of nearest country or the server of the country that has the most active servers in same continent but i don't think it varies that much..)
In gps.conf



Sent from my GT-S5830 I think...
Don't forget to press thanks button..!!
Quote:
Originally Posted by SMillerNL View Post
Its just multiple versions of version 3 so I guess you're unlucky about the ammarulz thing.

In the GPS.conf file the first 3-4 lines consist of lines which (in the European version) will look like this.

TOOLS NEEDED:
-root explorer or some similar tool.
-internet.
-a functioning brain.

Code:
NTP_SERVER=de.pool.ntp.org

NTP_SERVER=0.de.pool.ntp.org

NTP_SERVER=1.de.pool.ntp.org

NTP_SERVER=2.de.pool.ntp.org
Since you, like me for example, might not live in Germany. You want to change it.

1. You go to http://www.pool.ntp.org and there on the right hand side you're gonna choose your continent. This will take you to a list of countries with there server name next to it.

2.you look up the country you're in on the list and look at the server address. Do you see how amazingly similar they are to the values that are already there? So with that server address from, for example Holland, in mind you're gonna go to your GPS.conf

3. Then using root explorer we're going to edit those first few lines. So that its your countries server address that's behind the "=". So when you're from Holland like me, it should then look like this.

Code:
NTP_SERVER=nl.pool.ntp.org

NTP_SERVER=0.nl.pool.ntp.org

NTP_SERVER=1.nl.pool.ntp.org

NTP_SERVER=2.nl.pool.ntp.org
Sent from my GT-S5830 using xda premium
thanx for info!!
still will wait for amarullz thing to be tested: )
!!Feel Free to Contact!!
!!Press THANKS if it helped!!

Currents:
Sony Xperia P
Lost:
Device- Galaxy Ace GT-S5830 - LOST
ROM- PAC [ Paranoid + Aokp+ Cm10 ] [Update 13-12-2012]
App2SD- Link2SD with 1 GB ext3 partition on 16GB card class 4
 
Mardon
Old
(Last edited by Mardon; 29th July 2012 at 03:20 PM.)
#10  
Mardon's Avatar
Recognized Contributor - OP
Thanks Meter 1308
Posts: 1,756
Join Date: Mar 2008
Location: Hamburg

 
DONATE TO ME
Quote:
Originally Posted by -Light- View Post
thanx for info!!
still will wait for amarullz thing to be tested: )
Some Amarullz and Adrenaline engine users reported bootloops in 1st v3 patch but Adrenaline engine is for android 2.3.x and cm7.x. Noone has send me a logcat and i surely wont install adrenaline engine since its not meant to be installed on android 4.x and cm9. So i cant reproduce it on my both ace devices. So im still waiting for logcats...

Gesendet von meinem GT-S5830 mit Tapatalk 2
Phone: Galaxy Ace GT-S5830
Baseband: XWKS2
Rom: Unofficial CyanogenMod 10.1 - 'Nightly 20130615' [androidarmv6] modded by me (susu+fb variant)+ GPS_Fix_pre-V5 included now
Mods: OOM-Priority-Changer (undo)undo
Recovery : PX Recovery 0.4.0
Bootanimation:[CM9-3D] PM me for it

My Dropbox get your own Dropbox
VLC Android
My Files

The Following User Says Thank You to Mardon For This Useful Post: [ Click to Expand ]
Tags
agps, cm9, gps, patch