[MOD]OpenVPN Free Access V1.00 - 18thJan2011 - JPX/JPY/JS3 - Galaxy S I9000 Android Development

AndbVPN Freedom is a free OpenVPN access to all SGS users and I would like to get feedback from all users of Kernels and Roms released in XDA. The kernels and roms will be tested against the installations, settings and connections guide and stability to run an openvpn connection.
This will be the easiest 3 minutes of installing, settings and connecting to openvpn servers for all.
For beta testing, server location will be in the USA. More servers across the globe will be available in the future.
During the initial development, tests of the installation, settings and connections were made against the following:
Kernels:
1. hardcore's Speedmod version K13 series and above
2. trasig's Advanced Voodoo version 69 series
3. laststufo's Super Optimized v 4.6 series and above
ROMs:
1. Doc's 6.2 full version and above
2. Nitr8's Insanity 0.40 and above
3. Jim Panse's Hamster V6 and above
4. Ultimate Webstar1 all version
5. Darky V8
6. DXJPE SEARCHII
This services is useful for users of SGS who wants to have privacy when they are connected to public wifi or bypassing certain firewall rulings in their corp wifi or even their countries ISPs restrictions.
Other usage of openvpn services will be listed in the release notes.
Special thanks to hardcore for giving a short but precise input to make this installation as easy as 1-2-3.
Thanks to all the rom developers for making such a wonderful roms for all SGS users to enjoy and not regret buying SGS.
To users, don't just use and enjoy the kernels and roms, DONATEto them, you know they deserved it.
To google and samsung, provide lots of beers to the talented pools of engineers, designers, creative and innovative people in XDA.
HAPPY NEW YEAR and Welcome 2011.
1/1/11 AndbVPN Freedom is now officially born in XDA and it will start to develop from infant to adult in the next few days.

A copy of the both setup and client files were given to Nitr8 to slipstream into his next release and while waiting for that, here is the standalone release that can be used with the roms listed in post #1.
Release Note for XDA SGS Community.
If you on rooted HTC or other Android devices, then you can probably install the same files to your devices. As long you know how to update the zip file either by ADB or CWM compatible.
WARNING
You maybe using tons of bandwidth if you are streaming with 3G. So be warned that you may exceed your subscribed bandwidth.
WARNING
Introduction
This is an OpenVPN Virtual Private Networking (VPN) installation and information notes to the users of Samsung Galaxy S International only. If you are using a different version of Galaxy S, you may install at your own risks and with knowledge on how to root your devices. Do a search in this forum for instructions of rooting your phone.
Pre-requisites before installation.
1. You must have a tun enable kernel such as those from hardcore's Speedmod K12, trasig's Advanced Voodoo V69 and the likes. Please make sure that you are using a tun supported kernel.
2. You must have CWM v2 enable kernel and support for unsupported kernels, stock Froyo and Eclair installation is coming soon.
3. Download the following files to your internal sdcard. Both of the files are CWM installable files. Download link at the bottom of this post.
a) For new and 1st time user - AndBVPN Installation File - Needed for Part 1 installation guide
b) For new, 1st time and existing user - AndBVPN Client Free Access AndXDA.zip - Needed for Part 2 installation guide
Installation Guide
SKIP Part 1 if you're an existing AndBVPN subscribers
Part 1 - Installing and Setting up OpenVPN in your device, only for New Subscriber.
1. Please make sure that kernel in your ROM supports tun devices. List of supported roms in post #1
2. Reboot to Recovery Mode and select install zip from sdcard and select the AndBVPN.zip to install it.
3. Select AndXDA.zip from the location that you downloaded in step (3a)
4. Once completed, you should get back to the main CWM menu. DO NOT REBOOT, continue to Part 2
This completed the installation of the required files to properly enable openvpn in your device. The above process will take about 2 minutes or less to do. The above steps is to install a working OPENVPN binary that will work with your device.
DO NOT DOWNLOAD OR INSTALL Openvpn Installer from the market - there is a bug that will render OPENVPN in-operational in your device
Next -->
Part 2 - Installing Openvpn Client Configuration files
1. From the CMW Recovery menu, select Install from sdcard
2. Select AndXDA.zip from the location that you downloaded in step (3b) and install it
3. Now reboot the device
4. Go to Market and download and install Openvpn Setting from friedrich.schaeuffelhut
5. Configuring openvpn settings
a. Click the menu button and select Advanced
b. Due to differences from various kernels which required manual as well as built-in enabling of tun drivers, I've decided to
provide the following guides irrespective of whether your kernel has enabled tun driver by default or not.
Options:
Load tun kernel module - Tick this
TUN module settings - Click this
---> Load module using - Select insmod
----> Click back button
----> Path to tun module
-----> Enter /lib/modules/tun.ko
----> Click OK
------> Click back Button
-----> Path to configurations (if you see the value stated below already displayed, then skip this)
-----> Enter /sdcard/openvpn
----> Click OK
-----> Path to openvpn binary (if you see the value stated below already displayed, then skip this)
-----> Enter /system/bin/openvpn
----> Click OK
Leave the rest as it is.
Press the back button to exit the Advanced Menu
This completes the setup of the AndBVPN client configuration settings. You are now ready to connect.
PART 3 - Connecting and configuring Openvpn Setting
1. Long click on the andbfreeTCP and select Preferences
----> Custom Names - Enter Whatever Names you want if you want to replace AndbFree with your own names
----> Use VPN DNS Server - tick this
----> VPN DNS Server - Click this
----> Enter 8.8.8.8 as your the IP address of the DNS server.
----> Click OK
----> Press back button
1a. Repeat for the andbfreeUDP
2. Tick OpenVPN Turn On OpenVPN
3. Tick the servers you wish to use
4. Once connected, you will be presented with the OpenVPN Private IP address
5. Visit http://www.whatismyip.com and you will see that you are now having a US public IP address
6. Whichever or wherever sites you are browsing will be using this IP address and your traffic between your device and the VPN servers are now hidden from any intrusion system.
PART 4 - Disconnecting.
1. Simply UNTick the server name to disconnect.
2. Again UNTick Turn Off OpenVPN to disable OpenVPN (doing this will also disconnect all active connections)
Essentials software for streaming or downloading
Most of the software listed here are available from the Market and they are freely available. However some software enforces countries specific service providers before you can download them. This is not the same as countries specific IP.
1. Market Enabler - to access market from country specific providers and to purchase paid software.
2. Rock Player - to play all kinds of videos - Free
3. Pandora - must have Market Enabler fake a US providers - Free
4. tv.com - must have Market Enabler fake a US providers - Free
TROUBLESHOOTING:
Reserved
DOWNLOAD

Reserved for Guides and Patches

I'm now finalizing the package for production release over the next few days. The installation now supports all JPX-based roms and kernels.
We are in the midst of getting and setting up the vpn server. Server will be based in the United States. We will release the installation guide and configuration files once the server is ready.
This version of openvpn installation will allow vpn connections via WiFi, 3G, HSDPA, HSUPA and EDGE.

:bravo bolehland!i was waiting for bolehvpn but this will be better i guess....keep up the good work....

Is cisco-like vpn supported ?

Thanks for sharing your work. Very appreciated.

waiting for it, bring it on
Thanks.

cant wait

Tusnal said:
cant wait
Click to expand...
Click to collapse
DXJPE?
Sent from my GT-I9000 using XDA App

very good news
Sent from my GT-I9000 using XDA App

Very good news indeed! Will try it out once released...

g00ndu said:
DXJPE?
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
Tested working as of now. AS long as the kernel supports tun devices. Yours was tested with Speedmod.

just waiting
and great jop

Preview Release will be available within the next 24 hours and it will part of Insanity ROM next update.
Insanity was chosen because of its superslim rom and if it works with Insanity, then it will work with the rest of roms which are full of bells and whistles.
Insanity users will have the 1st preview before it is release to the general xda SGS community and feedback from Insanity users will be used as final tuning before the major release.
Package in Insanity will include the configuration files and application such as Pandora audio streaming for demonstration purposes. However Nitr8 will decide whether he wants to include the app or not, since it is available from the market. However to use Pandora, you must have a pandora account. Visit pandora and register for your free account.
As for video streaming, you can use this connection to view videos from CBS and other USA networks by using your normal browser.
However for Hulu, it does not support Android currently though announcement has been made recently that hulu will provide SGS access to their contents.
See you guys in 24 hours.

wcg707 said:
Preview Release will be available within the next 24 hours and it will part of Insanity ROM next update.
Insanity was chosen because of its superslim rom and if it works with Insanity, then it will work with the rest of roms which are full of bells and whistles.
Insanity users will have the 1st preview before it is release to the general xda SGS community and feedback from Insanity users will be used as final tuning before the major release.
Package in Insanity will include the configuration files and application such as Pandora audio streaming for demonstration purposes. However Nitr8 will decide whether he wants to include the app or not, since it is available from the market. However to use Pandora, you must have a pandora account. Visit pandora and register for your free account.
As for video streaming, you can use this connection to view videos from CBS and other USA networks by using your normal browser.
However for Hulu, it does not support Android currently though announcement has been made recently that hulu will provide SGS access to their contents.
See you guys in 24 hours.
Click to expand...
Click to collapse
hello i´m wondering how do whe get openvpn pass and id to test whit?

The ID as well configuration download url will be provided once it is release in the next 24 hours.
Server is now ready and configured, user ids has been generated and packed into proper format. Nitr8 will receive the file later tonite to slip stream to his ROM.
Installation and configuration notes will be uploaded as well.

what tipe of ip ar whe going to get? and is eney port blockt whit wall?

You will be given US IP Address during this free period. As for the ports, we will publish allowable open ports once it is released but be wary that not all ports will be opened.

dynamic or statik ip?

Related

{10/8/2011} 2.3.4 {GSM SGT7}[ROM] BOCA √100% TW free!

MAGRATHEA​Click the word to enter
quick message from ME!​I have NEVER, sold this rom. The issue was kernel sourcecode, and a in public dissatisfaction, or argument, if you will.
Again, never have sold ANYTHING! But according to the GPL, I can.
According to xda, having a contributor release, is acceptable, but nor preferred by xda.
Therefore: contributors program will remain.
Kernel source added: got to my website, and hit the information tab.
NO part of BOCA may be relinked, nor uploaded anywhere. Period. Nor distributed in whole or part. With out my permission, and possibly the other developers whose work is in BOCA.
BOCA 2.3.7 Contributor test/stable version uploaded
BOCA Heretic 2.3.4 now available for P1000 & P1000l/n users. Choose from ablocked or not ad blocked
BOCA Secret Agent 2.3.4 (with fixed mount points) available for P1000 & P1000l/n users
BOCA High Voltage 2.3.4 (with fixed mount points) available for P1000 & P1000l/n users
BOCA Secret Agent 2.3.4 V2 patch uploaded
BOCA PR 2.3.4 (private reserve) patch uploaded
My web now has a forum, chat and much more!
Feel free to post on XDA, but I will not be here. Come to my website!
CHANGELOG/UPDATES​
10/15/2011
came out of my dark dank cave, momentarily, to bring my contributors a gift.
UPDATE/CHANGELOG
(I will write out a complete changelog soon, guys, I just had to gather all the info from scratch again) toolchain I use to build BOCA is:2009/linux-x86/arm-eabi-4.4.3/arm-eabi-gcc
some changes, in this BOCA 2.3.7 Contributor test #3 include:
3 new governors (smartassV2, smoothass and lagfree) thanks ronis and humbros! BOCA has 9 to choose from
new recovery with both internal & external support,
can now browse in incognito mode (leave no cookies, history or cache behind!)
Secret Agent theme by default,
cyanobread and androidian theme chooser themes added,
Gtalk with video over 3g or wifi,
Giff animations work in browser,
you can now use your wireless keyboard properly,
10 point touch, 1.2, 1.4 ghz
VTL Launcher, blinker tab, es task manager, new superuser, car home, touchscreen booster - included,
FUGU tweaks,
System blur removed,
New status bar hide animation,
fully working market,
blue black gmail,
Auto download email attachments: false,
stepping kernel - thanks kodaxi
large market downloads should be fixed, thanks tek
default screen timeout is now 10 minutes,
tablet tweak icons rearranged to mirror our tabs soft buttons,
PSP and wiimotes should work - need someone to confirm
Wifi on by default
screenshot added to power menu,
power menu rewrite to reflect its a tablet,not a phone,
home added to power menu,
Default ua browser is: ghasp ipad! RIP Steve Jobs,
Facebook zynga games work from Facebook.com now in browser now, try Linux UA,
HD world boot animation,
tweaKr removed juwe ram script removed, heretic mode removed, for now! Writing v2 ,
Screenshot orientation fixed,
Status bar widened, to 35, up from 25
Statusbar icons enlarged to 35, up from 25
Tablet tweak icons moved off of the edge of the screen-it bugged me,
Fullscreen disabled(means you always have a status bar, hide it with arrow, bring it back with volume down)
Wifi scan set to 150,
Dalvic vM set to: dalvik.vm.heapstartsize=5m, dalvik.vm.heapgrowthlimit=64m, dalvik.vm.heapsize=128m,
maxevents per second:85
LCD density at 190- I like 180 better,
Dock settings should appear when you dock,
dock sounds activated,
bluetooth everything should be fixed,
there is still a bug were the hotspot wont password secure, stays open,
video playback fixed,
Games play nicely,
you tube HDplayback fixed
tons of system sounds to choose from
61 languages supported natively
much faster browser scroll, zoom and performance
way better battery
New default load 360 drag lockscreen (ring)
3rd party app install warning removed
Tons of frameworks and system ui xml work!
10/8/11
UPDATE:
As most of you know, my computer is, to be kind, having some issues.
Please begin on page 32, post #319, if you want to catch up on the issue. also see UPDATE #1 10/3/2011.
The support and concern, is heart warming.
Thank you!
I have added my kernel source, HERE
Hopefully, it is everything you need to build the newest BOCA 2.6.35 kernel for my 2.3.7 release.
Here is my ram disk recovery cpio HERE
update #3
the revolution has begun (well a couple days ago)
http://theandroiddoor.weebly.com/
update #2
Contributor 2.3.7 nightly stable test release uploaded
If you are a contributor, and do not have the password, please pm me
How to become a BOCA contributor:
(In no particular order)
Paypal
Device donate/loan/ or help/support of BOCA port to said device
Promote BOCA honestly on alternative websites
Help users anyway you can
Help me anyway u can
Bug fixes
Giving detailed reviews with honest opinion, of course
Be active in the production of BOCA
BTW: I need someone who knows XML well, and wants to try something new
Etc.......
As usual, after a few, when contributors report no bugs, it get released to everyone else.
UPDATE #1
10/3/2011
Well, XDA, bad news
My computer is down, out for the count. I believe it is the motherboard, but it needs further investigation. A nice BOCA users has offered his old motherboard, and I will contact this user, and see.
But, if it is not doable, I am afraid, I must stop making roms, and developing in general, as I cannot afford a new computer.
Sometime tonight, I will release 2.3.7 nightly test port, for contributors.
The UI is not finished, but it is very stable, daily driver status, I believe.
I ask them to not re-release, link, mirror nor distribute.
Why release to them now, and not everyone?
They actually offered help, helped, or donated in some way. They did not demand a thing, without giving something in return. The total hours I have spent these last months developing a rom, is uncountable. Something like 1 cent and hour. Most likely less than that.
There are many reasons I release my work, and yes, one of the perks, other than seeing others happy with and using my hard work, is paypal donations, and I thank every contributor- no matter how they contributed- as a new friend. thank you.
9/30/2011
http://forum.xda-developers.com/showpost.php?p=18003232&postcount=266
9/20/11
http://magrathearoms.weebly.com/patches.html
added a new patch.
its a look into BOCA´s future
9/11/2011
Secret Agent added
read the instructions carefully for BOCA Heretic SA
http://magrathearoms.weebly.com/
(Don't forget to vote!)
9/6/2011
new votes!! Vote now!! ( http://magrathearoms.weebly.com/whats-comming--votes.html )
website redesigned
more goodies!
09/04/2011
http://forum.xda-developers.com/showpost.php?p=17269385&postcount=137
Google is still down, also
Also:
trouble coming from overcome?
I suggest that people coming from overcomes latest reference this.
http://forum.xda-developers.com/showpost.php?p=17066166&postcount=47
(At the bottom)
And make sure you have the right BOCA. IE, p1000 or P1000L/N
9/2/2011
Uploaded more flashable fonts zips.
uploaded HTC g2 BOCA kernel
More web design
9/1/2011
UPDATE 2
Google android source codes have been removed.
Google attacked by hackers, and for security reasons, they pulled their public repositories.
I have no idea when they will open again.
https://twitter.com/#!/warty9
This basically means every android device development (source roms and custom kernels) is in limbo, for now
Until then BOCA developement is on hold, mostly.
No new kernel.
(New kernel hopes were to have recovery that reads internal sdcard, bfg scheduler and voodoo also)
But can't compile without the source code.
HTC G2 kernel will be uploaded later today.
Ill look into a terminal copy paste that mounts your internal sdcard in recovery,
Until then.
-diz
UPDATE 1
website redesigned.
flashable font zips added.
I am looking for a new forum client, so thats coming soon too.​
THANKS SECTION
pssst its a link​
special thanks section, with dev links​
Gojimi - for permission to use your launcher.
WEBPAGE
Dblfstr - for creating and also allowing BOCA to have your modded Netflix app.
and so many colors available!
xda thread
waaydownsouth - for your awesome tweaKr app
Humbertos, and ronis two awesome p1000l/n devs
thepitbull - for always being there so I can talk his ear off
more to come......
Install Instructions
For Coming From Any Rom That isn't BOCA, MIUI or unofficial port based off of CM7 (Teks)
(see below for those instructions)​
As you all know, when switching from rom to rom, something called a safe stock re-partitioned is very much preferred, almost required. Even more so, when jumping from roms with different os bases, example is going from a 2.3 based rom to a 2.3.4 (or reverse).
You need to do this process to kinda bleach out anything that remains of the old rom, as many times these arent properly cleared through a recovery erase, and can leave behind bits and pieces that can, and frequently do, disrupt the next rom you try to run. This is never a good thing, as it can cause anything from a bootloop to mysterious ghost like behaviors. Not to mention many things many not work correctly in your new rom.
Team Overcome has created, or basically repacked a way to do this. Many thanks!!!!
TeamOvercome website HERE
1) Go to Overcomes website, and download a zip called: ROM | 001001-GB-Stock-Safe-v5
(this is the base, non branded 'official' release of Gingerbread from Samsung. Overcome has made a few modifications to this file, and added Odin, modems and Samsung SGT driver installer to the zip)
2) While at the Overcome site, also download a zip called: KERNEL | 002001-Overcome Kernel V3.3.1 (TAR)
(this is a kernel made by AB, with some nice work done to it. But what we need it for is to convert our system to ext4. It will not run BOCA)
3) Unzip the GB-Stock zip, and open it up.
4) Open SAMSUNG_USB_Driver_for_Mobile_Phones_x86, and run it. This will reinstall, and clean up any old drivers for your tab.
5) plug in your tab when done, and let you computer fully install you SGT's drivers. Once its finished, unplug your tab.
6) Unplug any USB devices from your computer, & Open Odin3_v1.7, once it opens, plug your tab back in to your computer, in download mode.
Under ID:COM, a yellow window should now state your tabs is connected.
7) Place gt-p1000_mr.pit inside the PIT slot, PDA slot, place: GB_Stock_Safe_v5.tar
8) Make sure Re-partition, Auto Reboot and F. Reset Time are checked, press start.
9) Once finished, and your tab has rebooted, press reset in Odin. On your tab, skip through all the setup options, and reboot into download mode.
10) Plug your tab back into your computer, and place: 002001-Overcome_Kernel_v3.3.1.tar into the PDA slot, and press start.
11) Let your tabs sexy robot voice convert your system, once done, boot into recovery, clear everything, go to zip installer, and choose BOCA from your external SD card. Let install, and then reboot.
12) As with ANY rom, please do a full battery calibration with the included apk, ASAP.
13) Enjoy BOCA!!
INSTALL INSTRUCTIONS
(For when coming from BOCA, MIUI or unofficial port based off of CM7​1) Boot into your current recovery and clear dalvic cache
2) Go to zip installer and choose BOCA from your external SD card
3) Boot into BOCA, and reboot again.
4) As with ANY rom, please do a full battery calibration with the included apk, ASAP.
Sorry maybe I need new glasses but I can't find the link to download the rom from your website.
nunyabiziz said:
Sorry maybe I need new glasses but I can't find the link to download the rom from your website.
Click to expand...
Click to collapse
Every tab also has drop down section.
There are forums there where i respond faster.
Am I only 1 that confuse why you do like this?
Create new topic, change date from 28/8 to 26/8 .
Still no download link.
Still wait to use V2 through.
zoftdev said:
Am I only 1 that confuse why you do like this?
Create new topic, change date from 28/8 to 26/8 .
Still no download link.
Still wait to use V2 through.
Click to expand...
Click to collapse
Well since today is the 26th, and I released today. That would make alot of sense.
All u have to do is follow the link in the very first and third posts.
It will take you to my website.
On my website, there are atleast 6 different Boca versions, each on their own pulldown.
this post is the v2 announcement thread.
Other was v1 announcement thread.
Just click on the word MAGRATHEA
dizgustipated said:
Well since today is the 26th, and I released today. That would make alot of sense.
All u have to do is follow the link in the very first and third posts.
It will take you to my website.
On my website, there are atleast 6 different Boca versions, each on their own pulldown.
this post is the v2 announcement thread.
Other was v1 announcement thread.
Just click on the word MAGRATHEA
Click to expand...
Click to collapse
roger that!
So this is the end of long waiting !
for me it won´t work. doesnt boot? do you have any instalationguide for me?
ironcross said:
for me it won´t work. doesnt boot? do you have any instalationguide for me?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=15716926&postcount=5
won't boot
- stock rom+dip7 kernel
- update zip by CWM
Edit. Latest Dip7 kernel may not compatible.
Flash gb safe v5 and overcome latest kernel then boca is ok.
Awesome! Feels faster!
Smooth transition from Secret Agent, restored all apps and system data using TB, just had to wipe Gmail.
Go @diz!
- XDA Premium App - SGT-P1000N BOCA HERETIC
zoftdev said:
won't boot
- stock rom+dip7 kernel
- update zip by CWM
Click to expand...
Click to collapse
you should be asking these q's on my website sites forum, as im not here anymore after this.
i am there
you'll get much faster answers.
and I've been up two days straight.
I need sleep, bad
But like I said, feel free to post here, as users like to see both the good and the bad before they decide.
try a reboot into BOCA ll Recovery, and do the cache whipes again.
If that don't work try a fix permissions.
No?
If that doest work, I need to check dip7 new kernel.
Its a new release that came after BOCA. Maybe its not compatable anymore.
If everything fails, u need to restock and try from a different kernel.
i have done like the guide will not boot. 1.5 works great for me. will v2 work with my euro tab?
ironcross said:
i have done like the guide will not boot. 1.5 works great for me. will v2 work with my euro tab?
Click to expand...
Click to collapse
If you can get 1.5 to boot up,
just flash heretic right over it.
And yes. Euro tab is p1000.
Boca has versions for p1000 and p1000L/N also
ok, i see only p1000L/N version to download is that my failure or is that the same file`?
thanks for your quick answer. i like your rom
ironcross said:
ok, i see only p1000L/N version to download is that my failure or is that the same file`?
thanks for your quick answer. i like your rom
Click to expand...
Click to collapse
That's your problem, you are not supposed to use the P1000L/N version. Click on top of the menu, not down in the P1000L Version.
- XDA Premium App - SGT-P1000N BOCA HERETIC
thx i have found in last minutes
ironcross said:
ok, i see only p1000L/N version to download is that my failure or is that the same file`?
thanks for your quick answer. i like your rom
Click to expand...
Click to collapse
Check the forums on my site.
You'll find your answer very quickly

[PATCH] AGPS Patch 3.1 & 2.2 | GET BACK TO RAPID GPS LOCK, CAN LOCK ONTO MORE SAT

AGPS PATCH
REVIEW THE WHOLE THREAD BEFORE POSTING QUESTIONS.
List of officially supported devices is at the bottom of this post.
Use this if you're having GPS issues (unreliability, no functionality, etc.)
This patch provides a worldwide solution to GPS issue for multiple devices. Using a general ROM without this has resulted in 10+ minutes of GPS delay. Also, GPS lock kept being lost. By using this patch, most people experience a GPS lock within 10 seconds (2 - 20 seconds range can be expected). Typically, a device using this patch will lock onto 7 - 9 satellites. Users have reported up to 11 satellites being locked at once. Without this patch, the average satellite count is 4.
HOWTO INSTALL: (Remember to make a backup. See Notes section for what this patch does.)
Method 1:
1. Download the "ADB Push Installer". This contains all versions for the latest build and old v1.3 versions.
2. Extract the files into a specific folder.
3. Plug your device into the computer and get it ready for adb pushing. Nothing out of the ordinary required.
4. Open the batch file called "ADB Installation Script - RUN THIS" if you use Windows. Otherwise, run the Linux SH script if you use Linux.
5. Select the version you want from the list.
6. Follow the prompts to reboot. You're done.
4. Review the NOTES section.
Method 2:
1. Download the patch
2. Copy all file(s)* into /etc/ of the system (not sd-card) using ES File Explorer, Root Explorer, or some other form. You must have SYSTEM set to Mounted and Root enabled. Check your explorer app's SETTINGS to do this.
**Files will be: gps.conf & SUPLROOTCERT -OR- only gps.conf for NO-SSL builds.**
3. Reboot the device
4. Review the NOTES section.
*Files are located in the /system/ folder of the ZIP. Do not copy the other directories or folders.
Method 3 (easiest if you use a compatible version of CWR or CWM)*:
1. Download the patch
2. Boot into CWR (Clockwork Recovery)
3. Mount /system/ partition (on the main menu, select the "Mounts and storage" option, then "mount /system")
4. Flash the patch (on the main menu, select "Install zip from sdcard," then "choose zip from sdcard," and find the zip and select it)
If you receive "(Status 0) Installation aborted" this Method will not work for you. Use one of the other methods.
5. Reboot the device
6. Review the NOTES section.
*This was built for and works on Inspire 4G and DesireHD versions of Clockwork Recovery. The Google CWM Flashable Build has binaries known to work with CWM on the X8. It may work on other devices. Please message me your success if you try and flash with recovery version and phone model as part of the message.
Downloads:
SEE THE NOTES SECTION (PARTICULARLY NOTES 1,2, & 3) FOR ALL SORTS OF INFORMATION AND FACTS ABOUT THIS PATCH, WHAT EACH BUILD IS FOR, VERSION DIFFERENCES, AND KNOWN ISSUES WITH SOLUTIONS.
Recommended Builds (pick either):
Download the Google Specific No-SSL v3.1 build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific v3.1 build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Confused with all the options below? As the Notes section dictates: I recommend the GOOGLE BUILD of all devices. Other builds have changes in their SUPL server information and/or other variables pertinent to that manufacturer. These builds do not appear to operate as fast as Google build's but are available for your enjoyment.
3.x trunk Alternative Options (currently v3.1)
Download the ADB Push Installer here. (contains all current builds and v1.3 builds) (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific NO-SSL build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific Alternate* build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific CWM Flashable build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the AT&T Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the T-Mobile Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the LG Phone Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the LG Phone Specific Alternate* build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Sony Ericsson Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the GPS.CONF only build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the GPS.CONF only Alternate* build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
*The alternate patch removes a variable that some GPS hardware on older models cannot handle. Try this if you have problems with the standard patch.
2.x trunk Alternative Options (currently v2.2)
Download the ADB Push Installer here. (contains all current builds and v1.3 builds) (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific NO-SSL build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific Alternate* build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific CWM Flashable build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the AT&T Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the T-Mobile Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the LG Phone Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the LG Phone Specific Alternate* build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Sony Ericsson Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the GPS.CONF only build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the GPS.CONF only Alternate* build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
*The alternate patch removes a variable that some GPS hardware on older models cannot handle. Try this if you have problems with the standard patch.
Changelog: (I'll try to keep this correct and current)
Code:
v3.1 update - New Version
introduced the NO SSL version for Google build. Shows faster performance times.
v3.1(HELP WITH THE MAINTANENCE COSTS - DONATE A FEW BUCKS)
introduced my own NTP pools
repaired the LG Alternate build (was same as standard build, compilation error)
v3.0 (HELP WITH THE MAINTANENCE COSTS - DONATE A FEW BUCKS)
based on v2.2 configuration
has my own XTRA/AGPS server instead of Qualcomm
re-added two AGPS variables from v1.3 (two beta-testers saw instant results with these re-added)
re-added on USE SUPL variable from v1.3 (two beta-testers saw instant results with these re-added)
variables are now divided into sections and sections have descriptions
Code:
v2.2 update - New Version
introduced the NO SSL version for Google build. Shows faster performance times.
v2.2 (additional builds added)
added a new SUPL version using data from Sony Ericsson
added an alternate release using LG SUPL servers
added an alternate release using Google SUPL servers
updated the ADB PUSH to include new versions
fixed broken download links for the patch
v2.2
removed local AGPS variable
removed local XTRA_SERVER variable
created LG Build with LG SUPL servers (some LG ROMs fail to work with non-LG SUPL servers)
reduced redundancy in NTP and XTRA (unnecessary entries)
added newly located SUPL server to T-Mobile build
v2.1 (encompassing changes between 1.3 to 2.1)
removed two NTP server pools
removed xtra1 server
removed multiple SUPL_HOST entries
aligned SUPL_HOST with SUPLROOTCERT in each package
increased QOS timeout from 89 to 100
removed QOS standalone timeout variable
removed extra AGPS variables
Old Versions:
3.x Trunk:
v3.0 ADB Push Installer
v3.0 Google Build
v3.0 Google Alternate Build
v3.0 Google CWM Build
v3.0 AT&T Build
v3.0 T-Mobile Build
v3.0 LG Build
v3.0 LG Alternate Build
v3.0 Sony Ericsson Build
v3.0 GPS Only Build
v3.0 GPS Only Alternate Build
2.x Trunk:
v2.1 Google Generic Build
v2.1 AT&T Specific Build
v2.1 T-Mobile Specific Build
v2.1 GPS.Conf Only Build
v2.1 GPS.Conf Only Build (alternate)
v2.0 Google Generic Build
v2.0 AT&T Specific Build
v2.0 T-Mobile Specific Build
v2.0 GPS.Conf Only Build
v2.0 GPS.Conf Only Build (alternate)
1.x Trunk:
Worldwide 1.3
Worldwide 1.3n (alternate)
North America 1.2
Worldwide 1.2
Worldwide 1.2n (alternate)
North America 1.1
Worldwide 1.1
Worldwide 1.0 (not recommended)
North America 1.0 (not recommended)
Rules For Posting Questions:
Read the Notes Section first. I will refuse to answer questions that can be answered by some reading. If it is based upon something in the Notes Section, REFER TO THE NOTE when asking.
Answer the following questions: What ROM you are using?, What kernel are you using?, What GPS apps you have installed?, Where is your general location?, Are you using a case?, Has your GPS worked fine before?, Does it work fine with some apps and not others?, What else happened around the time your GPS stopped working? -AND- Have you reviewed the Notes Section?
DO NOT criticize the user of custom third-party NTP pools and xtra.bin data as dangerous. You obviously HAVE NOT read the Notes section OR reviewed the concurrent branch 2.x to discover it offers the standard NTP pool and Qualcomm-based xtra.bin server.
Don't indulge yourself in ignornat posts. Provide information that may be relevant to helping. Simply stating "this stopped working" or "I can't get it to work" helps nothing and only annoys other readers AND those who may be willing to help you just will not do it.
NOTES Section:
This patch will work with virtually all Qualcomm, Android phones and has been reported to work with other chipsets as well. That means hundreds of devices could see a benefit to GPS performance from this patch.
This patch has various objectives to ensure stability and efficacy with GPS. Locally, the patch will replace your /system/etc/gps.conf and your /system/etc/suplrootcert if you have this file. You can compare the difference in what you have to this one to get an idea of all the changes. V3.1, onward, contains section descriptions for variables in use. Most notably, starting with v3.1 the aGPS Patch uses my own central NTP DNS pool and my own central xtra.bin server by default. The xtra.bin does have fallback servers should mine fail. But, that is very, VERY much an unlikely scenario. These two imperatives allow for better stability and speed by providing top-rated NTP servers and prime-routed network access to transmit the xtra.bin to your phone.
I recommend the GOOGLE BUILD of all trunks. However, you can use any build with any phone. You may have good luck with specific builds that do not fit your phone or carrier criteria. If you're curious, test it and see.
This works with ANY ROM unless the ROM has aGPS and/or GPS disabled in the code. This happens with CMx nightlies and some betas! I cannot fix this, neither can you.
Remember, this has to be reflashed when you update or change ROMs.
Short patch history: The 1.x trunk only flashed a modified gps.conf file which relied solely on Qualcomm and NTP.ORG. Starting with 2.x, a gps.conf and a matching SUPLROOTCERT file for SUPL server authentication is included. The 3.x trunk offers the same as v2.x but adds better sourcing for NTP data and for the xtra.bin file; it utilizes my own server to do so.
Why toss out SSL?Whether or not you have a current SUPL certificate is questionable. Some have expired. Some will expire soon. Either way, the servers may provide SSL access without proper certificates depending upon configuration. That aside, I have found that SSL and secure communications over data networks slows the response times. I see no reason to use SSL for location information. If someone has a logger to obtain your location, SSL will not assist in stopping it. The bad app will continue to obtain your information by "stealing" it and you have more problems than a simple SSL-SUPL communications leak.
NO-SSL Builds will not have a SUPLROOTCERT because these builds do not use SSL. The SUPLROOTCERT is a certificate used for authentication of SSL connections. There is no need for this file for the GPS at this point.
IF you have issues with v2.x or v3.x, your ROM might require more variables. Try the old worldwide v1.3 version in this instance.
IF you still are facing issues, it might be that your GPS hardware is very much outdated. Try any "Alternate" build to see if this helps.
CMx ROM users may not experience benefits from this patch. However, we have had good reports from CM users with one negative one. Remember to do all of the steps when flashing and the following notes are important too!
Reports indicate that this patch DOES WORK with the next iteration of Android, Jelly Bean. This patch has worked from Android 2.2 (Froyo) up through Android 4.1 (Jelly Bean). Therefore, it works with all iterations on the market. I will remove support as soon as it is confirmed to NOT work with a new version of Android.
Reports show that certain ROM's including some CM builds require a modification in the build.prop. You need to change "ro.ril.def.agps.mode = 2" or "ro.ril.def.agps.mode = 0" to be "ro.ril.def.agps.mode = 1" in order for aGPS to properly function. Only do this IF YOU ARE HAVING PROBLEMS after attempting the standard patch.
Your phone "learns" about the individual GPS satellites. This is part of the aGPS design. Don't be surprised if the first time you use GPS Status that it takes 20+ seconds to "lock".
I have read a lot that indicates that it is best to let your GPS run using any application for a while to "learn" aGPS information. I let GPS Status run for about 10 minutes (it has an option to disable the screen timeout, which I do) each "first time" to learn. I say each because I test a lot of tweaks and fully reset/delete GPS cached information to start retesting.
Remember, this has to be reflashed when you update or change ROMs. Each ROM will have its own gps.conf, normally not suited to all devices.
I use GPS Status to test my signal strength. It isn't 100% accurate, but it gives a very good sense of how the GPS is performing.
If you're wondering why GPS is slow on certain apps? Or, you show up as on a street when you're 6 meters away from it? Well, those apps process GPS data differently which is out of anyone's control except the app developer. Certain apps will force your location to a street until you pass the app error threshold. Food for thought.
DO NOT USE ANY OTHER GPS FIXING APPS with this patch. If you do, and you still have problems, I cannot help you. A number of these Apps will overwrite what my patch does dynamically.
Variables are described starting in v3.0. Open up gps.conf in a text editor to read about what variable sections are for. It isn't in-depth, but should be enough to help you get a general understanding.
Still having weak GPS reception? Take your case off. Cases have been known to affect signal, though some argue against it. Personally, I get 3 more sat's when I remove my case.
There is a reported variable that can cause some GPS units not to work as well as it should with this patch. This is very odd as it's hit-and-miss and only seems to cause problems on less than 10% of handsets. This doesn't mean it screws up anything! It's possibly an older piece of GPS hardware incompatible with this variable. Have no fear, v1.2 will remove this variable for the worldwide version. This issue is more prone to occur in DHD.
Tried taking the battery out for 30 seconds? Some have reported that their phone required the battery to be removed. First, power off the device. Second, remove the battery for 30 seconds. Third, put it back in and give it a try. I cannot explain this except for possible cache clearing.
Some Inspire 4G and DHD devices have hardware problems. There is a known problem that the spring connectors to the GPS antenna sometimes are out of place or quit touching. http://forum.xda-developers.com/showthread.php?t=1101066 provides a video on self-repair.
An error in flashing this patch means that this method will not work for you. Use one of the other methods for flashing this patch. Don't ask why or for a fix. There are hundreds of variations of recovery systems and update binaries. I do not have the time or desire to support them all. This is why I describe other install methods. Reference error: E:Error in /sdcard/android apps/agps.patch.google.build.nossl.v3.1.zip (Status 0) Installation aborted.
Location is way off? Like, not near you at all? This means your GPS is not actually being used. Try the following to resolve it: Goto Settings -> Locations and disable ALL options. Reboot into recovery. Clear Cache and Dalvik Cache. Reboot normally. Go back to Settings -> Locations and only enable GPS. Reboot once more and try your GPS again. If this didn't work, did you read all of the Notes such as the one about the battery or RIL?
Donations: If you wonder why I asked for donations, it's simple. Users of v3.x are gaining extra, noticeable benefit over v2.x. This comes at a cost to someone. I pay the bills to provide a reliable data setup to transmit the xtra.bin data file and to provide the top NTP SERVERS in one DNS pool. To help keep this going, I just ask for the user to consider a donation. Nothing more, nothing less. Thank you for your consideration.
AGPS Patch Officially Supported Devices:
Acer Iconia
Asus Transformer Prime
Asus Transformer (TF101)
Asus Transformer TF300T
HTC Inspire 4G
HTC Desire HD
HTC Sensation
HTC Incredible S
HTC Salsa
HTC Flyer
HTC Evo 3D
HTC Desire S
HTC Wildfire
HTC Wildfire S
HTC Droid Incredible 2
HTC Thunderbolt
HTC Desire
HTC Desire Z
HTC One X
LG GT-540 OPTIMUS
LG Optimus One
Motorola Triumph
Motorola Droid X2
Samsung Galaxy S II Skyrocket (SGH-I727)
Samsung Galaxy S II (I9100)
Samsung Galaxy S II (SGH-T989)
Samsung Galaxy S Plus I9000
Samsung Galaxy Nexus
Samsung Galaxy S III (AT&T, Rogers, Bell, Telus)
Samsung Galaxy S III I9300, I9305
Samsung Galaxy S 4G
Sony Ericcson XPERIA X8
* I do not officially support all devices that this patch is known to work on at this time. You may private message me your success story for official support considerations.
Thanks Section
While this has gone a long distance since its inception, I want to still send thanks to Angeldeath for permitting me to take his early work and start tweaking it for HTC Inspire 4G users. This inevitably led to what we have here today.
Thank you to all those who joined and participate in the testing community. Without their help, I couldn't get enough data to know how well this works on different devices and in various regions of this planet we call Earth.
Thank you eagleeyetom, husky69, and tamagotono for their work in building an ADB pushing environment for Windows and for Linux respectively.
If you are happy with the patch and find this thread useful, please consider pressing the "Thanks" button on any of my posts on this thread. You may also consider rating this thread with five stars if you're satisfied. You may do so just below "Search This Thread" on the right-side at the top of this post. Donations are appreciated (See last NOTE)
REVIEW THE WHOLE THREAD BEFORE POSTING QUESTIONS.
Several Galaxy Nexus users have indicated this fixes their GPS problems.
So, I'm opening up a tentative support thread. Let me know!
my nexus doesn't have any GPS issues... never heard of this issue ? My GPS locks in under 10 secs anyway... will it improve it Even more?
Sent from my Galaxy Nexus
ceo.mtcl said:
my nexus doesn't have any GPS issues... never heard of this issue ? My GPS locks in under 10 secs anyway... will it improve it Even more?
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
you can test and tell me
Sent from my Transformer Prime TF201 using XDA
Flashed 3.1 zip using cwm, went from lock of 20m within 10 secs to lock of 10m within 10 secs on Gnex i9250 on aokp B28!!! Thanks used this for my sgs2 before also.
Sent from my Galaxy Nexus using Tapatalk
Heya crypted, good to see your patch here as well. I saw you on the T-mobile GS2 forums. I'll get my phone on Monday and will gladly test this out.
E:Error in /sdcard/bla bla bla <the zip>
arzbhatia said:
E:Error in /sdcard/bla bla bla <the zip>
Click to expand...
Click to collapse
Use one of the other two methods...
Sent from my Desire HD using XDA
n00b question
sorry i could have read it wrong but...
when using Method 2, is it enough to copy just the gps.conf into the system/etc/ directory?
bstijl said:
sorry i could have read it wrong but...
when using Method 2, is it enough to copy just the gps.conf into the system/etc/ directory?
Click to expand...
Click to collapse
Yes for the no ssl versión.
Sent from my Desire HD using XDA
crypted said:
Yes for the no ssl versión.
Sent from my Desire HD using XDA
Click to expand...
Click to collapse
cool then i'm golden, will post feedback after i've used it a couple of days
Proud to report 3 seconds lock without Google location service turned on.
Sent from my Galaxy Nexus using xda premium
jroyalty7 said:
Flashed 3.1 zip using cwm, went from lock of 20m within 10 secs to lock of 10m within 10 secs on Gnex i9250 on aokp B28!!! Thanks used this for my sgs2 before also.
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
Want to check if you did the mount system step?
oblivionstalker said:
Want to check if you did the mount system step?
Click to expand...
Click to collapse
I wasn't complaining I was reporting an improvement!!!
Sent from my Galaxy Nexus using Tapatalk
i9250 has the best gps experience for me. i dont think i need this.
Sent from my Galaxy Nexus using xda premium
does it work on 4.0.4?
oblivionstalker said:
does it work on 4.0.4?
Click to expand...
Click to collapse
yep
Sent from my Transformer Prime TF201 using XDA
I'm having a horrible time with the GPS on my gsm gnex. It finds the birds and locks on quickly but the accuracy is absolutely horrendous. When using google navi I'm oftentimes trampling through neighborhoods like Godzilla.
I've tried your various patches and they seemed to have improved my issue a bit (maybe? placebo effect) so I'd like to do some tweaking myself. My question is, where can I find definitions for ALL the variables available for use in gps.conf? I've scoured the net and came up empty.
Thanks
aeroseek said:
I'm having a horrible time with the GPS on my gsm gnex. It finds the birds and locks on quickly but the accuracy is absolutely horrendous. When using google navi I'm oftentimes trampling through neighborhoods like Godzilla.
I've tried your various patches and they seemed to have improved my issue a bit (maybe? placebo effect) so I'd like to do some tweaking myself. My question is, where can I find definitions for ALL the variables available for use in gps.conf? I've scoured the net and came up empty.
Thanks
Click to expand...
Click to collapse
You have read my variable section descriptions in the gps.conf I assume? I have discussed a lot of these variables in the various patch threads.
I wouldn't touch anything except:
INTERMEDIATE_POS=1
ACCURACY_THRES=3000
The "Alternate" patch sets POS to 0. If you haven't tried the Alternate patch, do so.
Accuracy threshold resolves how to throw out bad readings from satellites. Increase it to 5000 to see if you can get some more birds to help throw out useless crap. Or, you can go down to 2000 to force it to get better data.
I'd think you would want to start out as:
INTERMEDIATE_POS=0
ACCURACY_THRES=3000
Move to:
INTERMEDIATE_POS=0
ACCURACY_THRES=5000
Yup I've read your descriptions. I was asking for more because in my quest to alleviate the gps issue I've come across other variables that are not in your patch, for instance C2K_HOST and ENABLE_WIPER and I could not find adequate explanations of their meaning.
I've played with INTERMEDIATE_POS and ACCURACY_THRES, currently they are set at 0 and 0 respectively so I will try your suggestions right now.

AGPS Patch HTC ONE X 3.1 & 2.2 | GET BACK TO RAPID GPS LOCK, CAN LOCK ONTO MORE SAT

AGPS Patch HTC ONE X 3.1 & 2.2 | GET BACK TO RAPID GPS LOCK, CAN LOCK ONTO MORE SAT
AGPS PATCH
REVIEW THE WHOLE THREAD BEFORE POSTING QUESTIONS.
List of officially supported devices is at the bottom of this post.
Use this if you're having GPS issues (unreliability, no functionality, etc.)
This patch provides a worldwide solution to GPS issue for multiple devices. Using a general ROM without this has resulted in 10+ minutes of GPS delay. Also, GPS lock kept being lost. By using this patch, most people experience a GPS lock within 10 seconds (2 - 20 seconds range can be expected). Typically, a device using this patch will lock onto 7 - 9 satellites. Users have reported up to 11 satellites being locked at once. Without this patch, the average satellite count is 4.
HOWTO INSTALL: (Remember to make a backup. See Notes section for what this patch does.)
Method 1:
1. Download the "ADB Push Installer". This contains all versions for the latest build and old v1.3 versions.
2. Extract the files into a specific folder.
3. Plug your device into the computer and get it ready for adb pushing. Nothing out of the ordinary required.
4. Open the batch file called "ADB Installation Script - RUN THIS" if you use Windows. Otherwise, run the Linux SH script if you use Linux.
5. Select the version you want from the list.
6. Follow the prompts to reboot. You're done.
4. Review the NOTES section.
Method 2:
1. Download the patch
2. Copy all file(s)* into /etc/ of the system (not sd-card) using ES File Explorer, Root Explorer, or some other form. You must have SYSTEM set to Mounted and Root enabled. Check your explorer app's SETTINGS to do this.
**Files will be: gps.conf & SUPLROOTCERT -OR- only gps.conf for NO-SSL builds.**
3. Reboot the device
4. Review the NOTES section.
*Files are located in the /system/ folder of the ZIP. Do not copy the other directories or folders.
Method 3 (easiest if you use a compatible version of CWR or CWM)*:
1. Download the patch
2. Boot into CWR (Clockwork Recovery)
3. Mount /system/ partition (on the main menu, select the "Mounts and storage" option, then "mount /system")
4. Flash the patch (on the main menu, select "Install zip from sdcard," then "choose zip from sdcard," and find the zip and select it)
If you receive "(Status 0) Installation aborted" this Method will not work for you. Use one of the other methods.
5. Reboot the device
6. Review the NOTES section.
*This was built for and works on Inspire 4G and DesireHD versions of Clockwork Recovery. The Google CWM Flashable Build has binaries known to work with CWM on the X8. It may work on other devices. Please message me your success if you try and flash with recovery version and phone model as part of the message.
Downloads:
SEE THE NOTES SECTION (PARTICULARLY NOTES 1,2, & 3) FOR ALL SORTS OF INFORMATION AND FACTS ABOUT THIS PATCH, WHAT EACH BUILD IS FOR, VERSION DIFFERENCES, AND KNOWN ISSUES WITH SOLUTIONS.
Recommended Builds (pick either):
Download the Google Specific No-SSL v3.1 build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific v3.1 build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Confused with all the options below? As the Notes section dictates: I recommend the GOOGLE BUILD of all devices. Other builds have changes in their SUPL server information and/or other variables pertinent to that manufacturer. These builds do not appear to operate as fast as Google build's but are available for your enjoyment.
3.x trunk Alternative Options (currently v3.1)
Download the ADB Push Installer here. (contains all current builds and v1.3 builds) (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific NO-SSL build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific Alternate* build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific CWM Flashable build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the AT&T Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the T-Mobile Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the LG Phone Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the LG Phone Specific Alternate* build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Sony Ericsson Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the GPS.CONF only build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the GPS.CONF only Alternate* build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
*The alternate patch removes a variable that some GPS hardware on older models cannot handle. Try this if you have problems with the standard patch.
2.x trunk Alternative Options (currently v2.2)
Download the ADB Push Installer here. (contains all current builds and v1.3 builds) (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific NO-SSL build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific Alternate* build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific CWM Flashable build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the AT&T Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the T-Mobile Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the LG Phone Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the LG Phone Specific Alternate* build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Sony Ericsson Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the GPS.CONF only build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the GPS.CONF only Alternate* build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
*The alternate patch removes a variable that some GPS hardware on older models cannot handle. Try this if you have problems with the standard patch.
Changelog: (I'll try to keep this correct and current)
Code:
v3.1 update - New Version
introduced the NO SSL version for Google build. Shows faster performance times.
v3.1(HELP WITH THE MAINTANENCE COSTS - DONATE A FEW BUCKS)
introduced my own NTP pools
repaired the LG Alternate build (was same as standard build, compilation error)
v3.0 (HELP WITH THE MAINTANENCE COSTS - DONATE A FEW BUCKS)
based on v2.2 configuration
has my own XTRA/AGPS server instead of Qualcomm
re-added two AGPS variables from v1.3 (two beta-testers saw instant results with these re-added)
re-added on USE SUPL variable from v1.3 (two beta-testers saw instant results with these re-added)
variables are now divided into sections and sections have descriptions
Code:
v2.2 update - New Version
introduced the NO SSL version for Google build. Shows faster performance times.
v2.2 (additional builds added)
added a new SUPL version using data from Sony Ericsson
added an alternate release using LG SUPL servers
added an alternate release using Google SUPL servers
updated the ADB PUSH to include new versions
fixed broken download links for the patch
v2.2
removed local AGPS variable
removed local XTRA_SERVER variable
created LG Build with LG SUPL servers (some LG ROMs fail to work with non-LG SUPL servers)
reduced redundancy in NTP and XTRA (unnecessary entries)
added newly located SUPL server to T-Mobile build
v2.1 (encompassing changes between 1.3 to 2.1)
removed two NTP server pools
removed xtra1 server
removed multiple SUPL_HOST entries
aligned SUPL_HOST with SUPLROOTCERT in each package
increased QOS timeout from 89 to 100
removed QOS standalone timeout variable
removed extra AGPS variables
Old Versions:
3.x Trunk:
v3.0 ADB Push Installer
v3.0 Google Build
v3.0 Google Alternate Build
v3.0 Google CWM Build
v3.0 AT&T Build
v3.0 T-Mobile Build
v3.0 LG Build
v3.0 LG Alternate Build
v3.0 Sony Ericsson Build
v3.0 GPS Only Build
v3.0 GPS Only Alternate Build
2.x Trunk:
v2.1 Google Generic Build
v2.1 AT&T Specific Build
v2.1 T-Mobile Specific Build
v2.1 GPS.Conf Only Build
v2.1 GPS.Conf Only Build (alternate)
v2.0 Google Generic Build
v2.0 AT&T Specific Build
v2.0 T-Mobile Specific Build
v2.0 GPS.Conf Only Build
v2.0 GPS.Conf Only Build (alternate)
1.x Trunk:
Worldwide 1.3
Worldwide 1.3n (alternate)
North America 1.2
Worldwide 1.2
Worldwide 1.2n (alternate)
North America 1.1
Worldwide 1.1
Worldwide 1.0 (not recommended)
North America 1.0 (not recommended)
Rules For Posting Questions:
Read the Notes Section first. I will refuse to answer questions that can be answered by some reading. If it is based upon something in the Notes Section, REFER TO THE NOTE when asking.
Answer the following questions: What ROM you are using?, What kernel are you using?, What GPS apps you have installed?, Where is your general location?, Are you using a case?, Has your GPS worked fine before?, Does it work fine with some apps and not others?, What else happened around the time your GPS stopped working? -AND- Have you reviewed the Notes Section?
DO NOT criticize the user of custom third-party NTP pools and xtra.bin data as dangerous. You obviously HAVE NOT read the Notes section OR reviewed the concurrent branch 2.x to discover it offers the standard NTP pool and Qualcomm-based xtra.bin server.
Don't indulge yourself in ignornat posts. Provide information that may be relevant to helping. Simply stating "this stopped working" or "I can't get it to work" helps nothing and only annoys other readers AND those who may be willing to help you just will not do it.
NOTES Section:
This patch will work with virtually all Qualcomm, Android phones and has been reported to work with other chipsets as well. That means hundreds of devices could see a benefit to GPS performance from this patch.
This patch has various objectives to ensure stability and efficacy with GPS. Locally, the patch will replace your /system/etc/gps.conf and your /system/etc/suplrootcert if you have this file. You can compare the difference in what you have to this one to get an idea of all the changes. V3.1, onward, contains section descriptions for variables in use. Most notably, starting with v3.1 the aGPS Patch uses my own central NTP DNS pool and my own central xtra.bin server by default. The xtra.bin does have fallback servers should mine fail. But, that is very, VERY much an unlikely scenario. These two imperatives allow for better stability and speed by providing top-rated NTP servers and prime-routed network access to transmit the xtra.bin to your phone.
I recommend the GOOGLE BUILD of all trunks. However, you can use any build with any phone. You may have good luck with specific builds that do not fit your phone or carrier criteria. If you're curious, test it and see.
This works with ANY ROM unless the ROM has aGPS and/or GPS disabled in the code. This happens with CMx nightlies and some betas! I cannot fix this, neither can you.
Remember, this has to be reflashed when you update or change ROMs.
Short patch history: The 1.x trunk only flashed a modified gps.conf file which relied solely on Qualcomm and NTP.ORG. Starting with 2.x, a gps.conf and a matching SUPLROOTCERT file for SUPL server authentication is included. The 3.x trunk offers the same as v2.x but adds better sourcing for NTP data and for the xtra.bin file; it utilizes my own server to do so.
Why toss out SSL?Whether or not you have a current SUPL certificate is questionable. Some have expired. Some will expire soon. Either way, the servers may provide SSL access without proper certificates depending upon configuration. That aside, I have found that SSL and secure communications over data networks slows the response times. I see no reason to use SSL for location information. If someone has a logger to obtain your location, SSL will not assist in stopping it. The bad app will continue to obtain your information by "stealing" it and you have more problems than a simple SSL-SUPL communications leak.
NO-SSL Builds will not have a SUPLROOTCERT because these builds do not use SSL. The SUPLROOTCERT is a certificate used for authentication of SSL connections. There is no need for this file for the GPS at this point.
IF you have issues with v2.x or v3.x, your ROM might require more variables. Try the old worldwide v1.3 version in this instance.
IF you still are facing issues, it might be that your GPS hardware is very much outdated. Try any "Alternate" build to see if this helps.
CMx ROM users may not experience benefits from this patch. However, we have had good reports from CM users with one negative one. Remember to do all of the steps when flashing and the following notes are important too!
Reports indicate that this patch DOES WORK with the next iteration of Android, Jelly Bean. This patch has worked from Android 2.2 (Froyo) up through Android 4.1 (Jelly Bean). Therefore, it works with all iterations on the market. I will remove support as soon as it is confirmed to NOT work with a new version of Android.
Reports show that certain ROM's including some CM builds require a modification in the build.prop. You need to change "ro.ril.def.agps.mode = 2" or "ro.ril.def.agps.mode = 0" to be "ro.ril.def.agps.mode = 1" in order for aGPS to properly function. Only do this IF YOU ARE HAVING PROBLEMS after attempting the standard patch.
Your phone "learns" about the individual GPS satellites. This is part of the aGPS design. Don't be surprised if the first time you use GPS Status that it takes 20+ seconds to "lock".
I have read a lot that indicates that it is best to let your GPS run using any application for a while to "learn" aGPS information. I let GPS Status run for about 10 minutes (it has an option to disable the screen timeout, which I do) each "first time" to learn. I say each because I test a lot of tweaks and fully reset/delete GPS cached information to start retesting.
Remember, this has to be reflashed when you update or change ROMs. Each ROM will have its own gps.conf, normally not suited to all devices.
I use GPS Status to test my signal strength. It isn't 100% accurate, but it gives a very good sense of how the GPS is performing.
If you're wondering why GPS is slow on certain apps? Or, you show up as on a street when you're 6 meters away from it? Well, those apps process GPS data differently which is out of anyone's control except the app developer. Certain apps will force your location to a street until you pass the app error threshold. Food for thought.
DO NOT USE ANY OTHER GPS FIXING APPS with this patch. If you do, and you still have problems, I cannot help you. A number of these Apps will overwrite what my patch does dynamically.
Variables are described starting in v3.0. Open up gps.conf in a text editor to read about what variable sections are for. It isn't in-depth, but should be enough to help you get a general understanding.
Still having weak GPS reception? Take your case off. Cases have been known to affect signal, though some argue against it. Personally, I get 3 more sat's when I remove my case.
There is a reported variable that can cause some GPS units not to work as well as it should with this patch. This is very odd as it's hit-and-miss and only seems to cause problems on less than 10% of handsets. This doesn't mean it screws up anything! It's possibly an older piece of GPS hardware incompatible with this variable. Have no fear, v1.2 will remove this variable for the worldwide version. This issue is more prone to occur in DHD.
Tried taking the battery out for 30 seconds? Some have reported that their phone required the battery to be removed. First, power off the device. Second, remove the battery for 30 seconds. Third, put it back in and give it a try. I cannot explain this except for possible cache clearing.
Some Inspire 4G and DHD devices have hardware problems. There is a known problem that the spring connectors to the GPS antenna sometimes are out of place or quit touching. http://forum.xda-developers.com/showthread.php?t=1101066 provides a video on self-repair.
An error in flashing this patch means that this method will not work for you. Use one of the other methods for flashing this patch. Don't ask why or for a fix. There are hundreds of variations of recovery systems and update binaries. I do not have the time or desire to support them all. This is why I describe other install methods. Reference error: E:Error in /sdcard/android apps/agps.patch.google.build.nossl.v3.1.zip (Status 0) Installation aborted.
Location is way off? Like, not near you at all? This means your GPS is not actually being used. Try the following to resolve it: Goto Settings -> Locations and disable ALL options. Reboot into recovery. Clear Cache and Dalvik Cache. Reboot normally. Go back to Settings -> Locations and only enable GPS. Reboot once more and try your GPS again. If this didn't work, did you read all of the Notes such as the one about the battery or RIL?
Donations: If you wonder why I asked for donations, it's simple. Users of v3.x are gaining extra, noticeable benefit over v2.x. This comes at a cost to someone. I pay the bills to provide a reliable data setup to transmit the xtra.bin data file and to provide the top NTP SERVERS in one DNS pool. To help keep this going, I just ask for the user to consider a donation. Nothing more, nothing less. Thank you for your consideration.
AGPS Patch Officially Supported Devices:
Acer Iconia
Asus Transformer Prime
Asus Transformer (TF101)
Asus Transformer TF300T
HTC Inspire 4G
HTC Desire HD
HTC Sensation
HTC Incredible S
HTC Salsa
HTC Flyer
HTC Evo 3D
HTC Desire S
HTC Wildfire
HTC Wildfire S
HTC Droid Incredible 2
HTC Thunderbolt
HTC Desire
HTC Desire Z
HTC One X
LG GT-540 OPTIMUS
LG Optimus One
Motorola Triumph
Motorola Droid X2
Samsung Galaxy S II Skyrocket (SGH-I727)
Samsung Galaxy S II (I9100)
Samsung Galaxy S II (SGH-T989)
Samsung Galaxy S Plus I9000
Samsung Galaxy Nexus
Samsung Galaxy S III (AT&T, Rogers, Bell, Telus)
Samsung Galaxy S III I9300, I9305
Samsung Galaxy S 4G
Sony Ericcson XPERIA X8
* I do not officially support all devices that this patch is known to work on at this time. You may private message me your success story for official support considerations.
Thanks Section
While this has gone a long distance since its inception, I want to still send thanks to Angeldeath for permitting me to take his early work and start tweaking it for HTC Inspire 4G users. This inevitably led to what we have here today.
Thank you to all those who joined and participate in the testing community. Without their help, I couldn't get enough data to know how well this works on different devices and in various regions of this planet we call Earth.
Thank you eagleeyetom, husky69, and tamagotono for their work in building an ADB pushing environment for Windows and for Linux respectively.
If you are happy with the patch and find this thread useful, please consider pressing the "Thanks" button on any of my posts on this thread. You may also consider rating this thread with five stars if you're satisfied. You may do so just below "Search This Thread" on the right-side at the top of this post. Donations are appreciated (See last NOTE)
REVIEW THE WHOLE THREAD BEFORE POSTING QUESTIONS.
The patch works great for a few users thus far. I want to confirm that further before making this an officially supported device.
Consider testing and letting me know!
Donations always welcome for supporting the backend of the system.
Is this the same as the gps fix posted in this section earlier?
Cxpher said:
Is this the same as the gps fix posted in this section earlier?
Click to expand...
Click to collapse
No, mine actually removes a lot of what I've proven to be inconsistent points and operates using reliable servers for time and data. This assumes you use the v3.x trunk which is currently at v3.1. As always, I suggest the Google NO-SSL Build.
Won't go through the whole description and theories again because I've done so about 50 times on the other threads. However, it is discussed in minor detail in the Notes Section.
My patch has been downloaded over a million times and is either incorporated in or an add-on to a large number of ROM's.
Further, this patch has served over 10 million xtra.bin downloads and 14 million NTP DNS requests.
EDIT: For those who don't see that this has been an ongoing development and really successful thread, scroll to the bottom of the first post and review the 20+ devices officially supported. There are a number of tentative support devices out there, too, which I didn't feel were successful enough or were too old to be useful in time spent supporting them.
No they are not the same one. As far as I know crypted has his own ntp-setver.
MarcoHD said:
No they are not the same one. As far as I know crypted has his own ntp-setver.
Click to expand...
Click to collapse
NTP server and XTRA.BIN provisioning as well...
Damn Crypted...did you also get an HTC One X now? I'm also thinking about possibly getting the One X. But i didn't know it had GPS problems.
I still can't thank you enough for all the work you did with the Prime!
babymatteo said:
Damn Crypted...did you also get an HTC One X now? I'm also thinking about possibly getting the One X. But i didn't know it had GPS problems.
I still can't thank you enough for all the work you did with the Prime!
Click to expand...
Click to collapse
Nah, I don't have the device. I may get one eventually, but strapped for extra cash in my technology account at the moment.
I worked with someone via private message to make sure this patch was a-go at the users request. He was a user of my work on another device before buying this phone. Anyway, it worked fine so I figured it would be helpful to get this out to others too.
EDIT: Once this goes to fully supported, I think that puts me at 25 concurrent devices supported. Not too shabby.
Yep, same results as on HD2 and Sensation XE - first cold lock ever on my new One with this patch in 18secs and subsequent locks in 3 or 4 secs. Number of sats available more than normal too at x/16. This really is a fantastic patch - I use GPS a lot (iGo, MapMyRide, Maps, etc) - wouldn't be without it now, and congrats on some of the best dev support/involvement have seen recently on XDA, well done and thanks
Great mod. Worked amazingly in my hd2 and sensation days.
Luckily my galaxy note and one x lock in 2-3 secs without the need of this mod this time however great worked though, hopefully helps others out and great for the community
Sent from my HTC One X using XDA
I picked up this phone last night at Vodafone CZ (1.26.401.2) it even includes urBeats as a freebie. Not too bad at all considering it is the cheapest price I was able to find in the country.
Anyway, I have no point of reference but coming from a DesireHD, it seems that this does lock pretty quickly and accurately. As the previous user has said though, the phone may not need this patch as much as other devices do, but what the hell, I can always go back if needed.
For the record, the ADB Push method didn't work for me. It gave me multiple errors with permissions and the like. I am currently running ARHD 1.2.2 so did it the manual way.
Not sure if it's something on my end, or the script needs revision
Quiksilver78 said:
I picked up this phone last night at Vodafone CZ (1.26.401.2) it even includes urBeats as a freebie. Not too bad at all considering it is the cheapest price I was able to find in the country.
Anyway, I have no point of reference but coming from a DesireHD, it seems that this does lock pretty quickly and accurately. As the previous user has said though, the phone may not need this patch as much as other devices do, but what the hell, I can always go back if needed.
For the record, the ADB Push method didn't work for me. It gave me multiple errors with permissions and the like. I am currently running ARHD 1.2.2 so did it the manual way.
Not sure if it's something on my end, or the script needs revision
Click to expand...
Click to collapse
This patch works on 25+ devices. It would require over a hundred individual zips to ensure all methods worked with each device.
Because of the major headache above would be, I detail three installation methods.
Sent from my Desire HD using XDA
Hello everyone,
I just installed your patch (the Google Specific No-SSL v3.1) in Clockworkmod Touch Recovery 5.8.2.7 but i got a message : "E:Error in /sdcard/agps.patch.google.build.nossl.v3.1.zip
(status 0)
Installation aborted
and the problem is that my phone is not booting anymore.
I unlocked my bootloader and installed latest CWR.
I can boot in the bootloader and in recovery mod but i can't get access to sdcard in anyway to put any rom on it and flash the system.
adb is not working and you can't mount usb storage in CWR.
This is probably stupid but i don't know how to get something to flash in the device.
Any idea please ?
bece65 said:
Hello everyone,
I just installed your patch (the Google Specific No-SSL v3.1) in Clockworkmod Touch Recovery 5.8.2.7 but i got a message : "E:Error in /sdcard/agps.patch.google.build.nossl.v3.1.zip
(status 0)
Installation aborted
and the problem is that my phone is not booting anymore.
I unlocked my bootloader and installed latest CWR.
I can boot in the bootloader and in recovery mod but i can't get access to sdcard in anyway to put any rom on it and flash the system.
adb is not working and you can't mount usb storage in CWR.
This is probably stupid but i don't know how to get something to flash in the device.
Any idea please ?
Click to expand...
Click to collapse
This patch cannot do this to any device. Status 0 means it did not even install. There is something else wrong causing your issue.
Consider revising your steps for your last ROM install and/or your unlocking process.
The only suggestion I have for you is to try to do a factory reset/wipe of the device.
We cannot support your non-GPS issues on this thread. So, contact the ROM, unlock tool, and/or bootloader dev threads.
ok, thanks for your quick answer.
Do not understand why AGPS shuld be used on One X, my One X have GPS signal when Sygic starts. Sems to be faster than my DHD with fix so far. impressive
audiavant said:
Do not understand why AGPS shuld be used on One X, my One X have GPS signal when Sygic starts. Sems to be faster than my DHD with fix so far. impressive
Click to expand...
Click to collapse
I do not understand your comment. Are you saying the device doesn't have aGPS functionality so this patch isn't useful? Are you saying that this patch isn't necessary because you have success with your unit compared to your prior DHD? Or, what are you saying?
This patch has been necessary for a number of users and this is the only reason why I brought this to the One X Dev forum...
You may find this helps you out even more, not sure. I'm not so lucky as to have a great phone like this. I'm still on the old Inspire 4G.
nickyg008 said:
Great mod. Worked amazingly in my hd2 and sensation days.
Luckily my galaxy note and one x lock in 2-3 secs without the need of this mod this time however great worked though, hopefully helps others out and great for the community
Sent from my HTC One X using XDA
Click to expand...
Click to collapse
same here, i'm getting a lock in 3 seconds without this patch, seems like htc have got their act together on this issue
but the patch worked wonders on my old Desire so well done crypted for that
beanbean50 said:
same here, i'm getting a lock in 3 seconds without this patch, seems like htc have got their act together on this issue
but the patch worked wonders on my old Desire so well done crypted for that
Click to expand...
Click to collapse
I'd say that it is still ROM dependent, too. But time will tell. I hoped that this patch would be useless by the time ICS reached devices. That didn't come true. Maybe soon though!
Sorry for confution, this patch is usfull for all having slow gps problem.
Ment to say my One X work perfect without fix.
Used this on my DHD and it improved gps signal a lot (10 times faster signal), had a loock into file to understand what it dos and it give region specifick gps satelit info as original not have for your region.

AGPS Patch Transformer TF300T v1.0 | GET BACK TO RAPID GPS LOCK, LOCK EXTRA SATS

AGPS PATCH
REVIEW THE WHOLE THREAD BEFORE POSTING QUESTIONS.
List of officially supported devices is at the bottom of this post.
Use this if you're having GPS issues (unreliability, no functionality, etc.)
This patch provides a worldwide solution to GPS issue for multiple devices. Using a general ROM without this has resulted in 10+ minutes of GPS delay. Also, GPS lock kept being lost. By using this patch, most people experience a GPS lock within 10 seconds (2 - 20 seconds range can be expected). Typically, a device using this patch will lock onto 7 - 9 satellites. Users have reported up to 11 satellites being locked at once. Without this patch, the average satellite count is 4.
HOWTO INSTALL: (Remember to make a backup. See Notes section for what this patch does.)
Method 1:
1. Download the "ADB Push Installer". This contains all versions for the latest build and old v1.3 versions.
2. Extract the files into a specific folder.
3. Plug your device into the computer and get it ready for adb pushing. Nothing out of the ordinary required.
4. Open the batch file called "ADB Installation Script - RUN THIS" if you use Windows. Otherwise, run the Linux SH script if you use Linux.
5. Select the version you want from the list.
6. Follow the prompts to reboot. You're done.
4. Review the NOTES section.
Method 2:
1. Download the patch
2. Copy all file(s)* into /etc/ of the system (not sd-card) using ES File Explorer, Root Explorer, or some other form. You must have SYSTEM set to Mounted and Root enabled. Check your explorer app's SETTINGS to do this.
**Files will be: gps.conf & SUPLROOTCERT -OR- only gps.conf for NO-SSL builds.**
3. Reboot the device
4. Review the NOTES section.
*Files are located in the /system/ folder of the ZIP. Do not copy the other directories or folders.
Method 3 (easiest if you use a compatible version of CWR or CWM)*:
1. Download the patch
2. Boot into CWR (Clockwork Recovery)
3. Mount /system/ partition (on the main menu, select the "Mounts and storage" option, then "mount /system")
4. Flash the patch (on the main menu, select "Install zip from sdcard," then "choose zip from sdcard," and find the zip and select it)
If you receive "(Status 0) Installation aborted" this Method will not work for you. Use one of the other methods.
5. Reboot the device
6. Review the NOTES section.
*This was built for and works on Inspire 4G and DesireHD versions of Clockwork Recovery. The Google CWM Flashable Build has binaries known to work with CWM on the X8. It may work on other devices. Please message me your success if you try and flash with recovery version and phone model as part of the message.
Downloads:
SEE THE NOTES SECTION (PARTICULARLY NOTES 1,2, & 3) FOR ALL SORTS OF INFORMATION AND FACTS ABOUT THIS PATCH, WHAT EACH BUILD IS FOR, VERSION DIFFERENCES, AND KNOWN ISSUES WITH SOLUTIONS.
Recommended Builds (pick either):
Download the Transformer TF300 v1.0 build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Generic Builds (pick either):
Download the Google Specific No-SSL v3.1 build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific v3.1 build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Confused with all the options below? As the Notes section dictates: I recommend the GOOGLE BUILD of all devices. Other builds have changes in their SUPL server information and/or other variables pertinent to that manufacturer. These builds do not appear to operate as fast as Google build's but are available for your enjoyment.
3.x trunk Alternative Options (currently v3.1)
Download the ADB Push Installer here. (contains all current builds and v1.3 builds) (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific NO-SSL TWRP build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific NO-SSL build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific Alternate* build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific CWM Flashable build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the AT&T Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the T-Mobile Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the LG Phone Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the LG Phone Specific Alternate* build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Sony Ericsson Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the GPS.CONF only build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the GPS.CONF only Alternate* build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
*The alternate patch removes a variable that some GPS hardware on older models cannot handle. Try this if you have problems with the standard patch.
2.x trunk Alternative Options (currently v2.2)
Download the ADB Push Installer here. (contains all current builds and v1.3 builds) (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific NO-SSL build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific Alternate* build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Google Specific CWM Flashable build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the AT&T Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the T-Mobile Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the LG Phone Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the LG Phone Specific Alternate* build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the Sony Ericsson Specific build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the GPS.CONF only build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
Download the GPS.CONF only Alternate* build here. (Like it? Don't forget to click on "Thanks" and to rate the thread)
*The alternate patch removes a variable that some GPS hardware on older models cannot handle. Try this if you have problems with the standard patch.
Changelog: (I'll try to keep this correct and current)
Code:
v3.1 update - New Version
introduced the NO SSL version for Google build. Shows faster performance times.
v3.1(HELP WITH THE MAINTANENCE COSTS - DONATE A FEW BUCKS)
introduced my own NTP pools
repaired the LG Alternate build (was same as standard build, compilation error)
v3.0 (HELP WITH THE MAINTANENCE COSTS - DONATE A FEW BUCKS)
based on v2.2 configuration
has my own XTRA/AGPS server instead of Qualcomm
re-added two AGPS variables from v1.3 (two beta-testers saw instant results with these re-added)
re-added on USE SUPL variable from v1.3 (two beta-testers saw instant results with these re-added)
variables are now divided into sections and sections have descriptions
Code:
v2.2 update - New Version
introduced the NO SSL version for Google build. Shows faster performance times.
v2.2 (additional builds added)
added a new SUPL version using data from Sony Ericsson
added an alternate release using LG SUPL servers
added an alternate release using Google SUPL servers
updated the ADB PUSH to include new versions
fixed broken download links for the patch
v2.2
removed local AGPS variable
removed local XTRA_SERVER variable
created LG Build with LG SUPL servers (some LG ROMs fail to work with non-LG SUPL servers)
reduced redundancy in NTP and XTRA (unnecessary entries)
added newly located SUPL server to T-Mobile build
v2.1 (encompassing changes between 1.3 to 2.1)
removed two NTP server pools
removed xtra1 server
removed multiple SUPL_HOST entries
aligned SUPL_HOST with SUPLROOTCERT in each package
increased QOS timeout from 89 to 100
removed QOS standalone timeout variable
removed extra AGPS variables
Old Versions:
3.x Trunk:
v3.0 ADB Push Installer
v3.0 Google Build
v3.0 Google Alternate Build
v3.0 Google CWM Build
v3.0 AT&T Build
v3.0 T-Mobile Build
v3.0 LG Build
v3.0 LG Alternate Build
v3.0 Sony Ericsson Build
v3.0 GPS Only Build
v3.0 GPS Only Alternate Build
2.x Trunk:
v2.1 Google Generic Build
v2.1 AT&T Specific Build
v2.1 T-Mobile Specific Build
v2.1 GPS.Conf Only Build
v2.1 GPS.Conf Only Build (alternate)
v2.0 Google Generic Build
v2.0 AT&T Specific Build
v2.0 T-Mobile Specific Build
v2.0 GPS.Conf Only Build
v2.0 GPS.Conf Only Build (alternate)
1.x Trunk:
Worldwide 1.3
Worldwide 1.3n (alternate)
North America 1.2
Worldwide 1.2
Worldwide 1.2n (alternate)
North America 1.1
Worldwide 1.1
Worldwide 1.0 (not recommended)
North America 1.0 (not recommended)
Rules For Posting Questions:
Read the Notes Section first. I will refuse to answer questions that can be answered by some reading. If it is based upon something in the Notes Section, REFER TO THE NOTE when asking.
Answer the following questions: What ROM you are using?, What kernel are you using?, What GPS apps you have installed?, Where is your general location?, Are you using a case?, Has your GPS worked fine before?, Does it work fine with some apps and not others?, What else happened around the time your GPS stopped working? -AND- Have you reviewed the Notes Section?
DO NOT criticize the user of custom third-party NTP pools and xtra.bin data as dangerous. You obviously HAVE NOT read the Notes section OR reviewed the concurrent branch 2.x to discover it offers the standard NTP pool and Qualcomm-based xtra.bin server.
Don't indulge yourself in ignornat posts. Provide information that may be relevant to helping. Simply stating "this stopped working" or "I can't get it to work" helps nothing and only annoys other readers AND those who may be willing to help you just will not do it.
NOTES Section:
This patch will work with virtually all Qualcomm, Android phones and has been reported to work with other chipsets as well. That means hundreds of devices could see a benefit to GPS performance from this patch.
This patch has various objectives to ensure stability and efficacy with GPS. Locally, the patch will replace your /system/etc/gps.conf and your /system/etc/suplrootcert if you have this file. You can compare the difference in what you have to this one to get an idea of all the changes. V3.1, onward, contains section descriptions for variables in use. Most notably, starting with v3.1 the aGPS Patch uses my own central NTP DNS pool and my own central xtra.bin server by default. The xtra.bin does have fallback servers should mine fail. But, that is very, VERY much an unlikely scenario. These two imperatives allow for better stability and speed by providing top-rated NTP servers and prime-routed network access to transmit the xtra.bin to your phone.
I recommend the GOOGLE BUILD of all trunks. However, you can use any build with any phone. You may have good luck with specific builds that do not fit your phone or carrier criteria. If you're curious, test it and see.
This works with ANY ROM unless the ROM has aGPS and/or GPS disabled in the code. This happens with CMx nightlies and some betas! I cannot fix this, neither can you.
Remember, this has to be reflashed when you update or change ROMs.
Short patch history: The 1.x trunk only flashed a modified gps.conf file which relied solely on Qualcomm and NTP.ORG. Starting with 2.x, a gps.conf and a matching SUPLROOTCERT file for SUPL server authentication is included. The 3.x trunk offers the same as v2.x but adds better sourcing for NTP data and for the xtra.bin file; it utilizes my own server to do so.
Why toss out SSL?Whether or not you have a current SUPL certificate is questionable. Some have expired. Some will expire soon. Either way, the servers may provide SSL access without proper certificates depending upon configuration. That aside, I have found that SSL and secure communications over data networks slows the response times. I see no reason to use SSL for location information. If someone has a logger to obtain your location, SSL will not assist in stopping it. The bad app will continue to obtain your information by "stealing" it and you have more problems than a simple SSL-SUPL communications leak.
NO-SSL Builds will not have a SUPLROOTCERT because these builds do not use SSL. The SUPLROOTCERT is a certificate used for authentication of SSL connections. There is no need for this file for the GPS at this point.
IF you have issues with v2.x or v3.x, your ROM might require more variables. Try the old worldwide v1.3 version in this instance.
IF you still are facing issues, it might be that your GPS hardware is very much outdated. Try any "Alternate" build to see if this helps.
CMx ROM users may not experience benefits from this patch. However, we have had good reports from CM users with one negative one. Remember to do all of the steps when flashing and the following notes are important too!
Reports indicate that this patch DOES WORK with the next iteration of Android, Jelly Bean. This patch has worked from Android 2.2 (Froyo) up through Android 4.1 (Jelly Bean). Therefore, it works with all iterations on the market. I will remove support as soon as it is confirmed to NOT work with a new version of Android.
Reports show that certain ROM's including some CM builds require a modification in the build.prop. You need to change "ro.ril.def.agps.mode = 2" or "ro.ril.def.agps.mode = 0" to be "ro.ril.def.agps.mode = 1" in order for aGPS to properly function. Only do this IF YOU ARE HAVING PROBLEMS after attempting the standard patch.
Your phone "learns" about the individual GPS satellites. This is part of the aGPS design. Don't be surprised if the first time you use GPS Status that it takes 20+ seconds to "lock".
I have read a lot that indicates that it is best to let your GPS run using any application for a while to "learn" aGPS information. I let GPS Status run for about 10 minutes (it has an option to disable the screen timeout, which I do) each "first time" to learn. I say each because I test a lot of tweaks and fully reset/delete GPS cached information to start retesting.
Remember, this has to be reflashed when you update or change ROMs. Each ROM will have its own gps.conf, normally not suited to all devices.
I use GPS Status to test my signal strength. It isn't 100% accurate, but it gives a very good sense of how the GPS is performing.
If you're wondering why GPS is slow on certain apps? Or, you show up as on a street when you're 6 meters away from it? Well, those apps process GPS data differently which is out of anyone's control except the app developer. Certain apps will force your location to a street until you pass the app error threshold. Food for thought.
DO NOT USE ANY OTHER GPS FIXING APPS with this patch. If you do, and you still have problems, I cannot help you. A number of these Apps will overwrite what my patch does dynamically.
Variables are described starting in v3.0. Open up gps.conf in a text editor to read about what variable sections are for. It isn't in-depth, but should be enough to help you get a general understanding.
Still having weak GPS reception? Take your case off. Cases have been known to affect signal, though some argue against it. Personally, I get 3 more sat's when I remove my case.
There is a reported variable that can cause some GPS units not to work as well as it should with this patch. This is very odd as it's hit-and-miss and only seems to cause problems on less than 10% of handsets. This doesn't mean it screws up anything! It's possibly an older piece of GPS hardware incompatible with this variable. Have no fear, v1.2 will remove this variable for the worldwide version. This issue is more prone to occur in DHD.
Tried taking the battery out for 30 seconds? Some have reported that their phone required the battery to be removed. First, power off the device. Second, remove the battery for 30 seconds. Third, put it back in and give it a try. I cannot explain this except for possible cache clearing.
Some Inspire 4G and DHD devices have hardware problems. There is a known problem that the spring connectors to the GPS antenna sometimes are out of place or quit touching. http://forum.xda-developers.com/showthread.php?t=1101066 provides a video on self-repair.
An error in flashing this patch means that this method will not work for you. Use one of the other methods for flashing this patch. Don't ask why or for a fix. There are hundreds of variations of recovery systems and update binaries. I do not have the time or desire to support them all. This is why I describe other install methods. Reference error: E:Error in /sdcard/android apps/agps.patch.google.build.nossl.v3.1.zip (Status 0) Installation aborted.
Location is way off? Like, not near you at all? This means your GPS is not actually being used. Try the following to resolve it: Goto Settings -> Locations and disable ALL options. Reboot into recovery. Clear Cache and Dalvik Cache. Reboot normally. Go back to Settings -> Locations and only enable GPS. Reboot once more and try your GPS again. If this didn't work, did you read all of the Notes such as the one about the battery or RIL?
Donations: If you wonder why I asked for donations, it's simple. Users of v3.x are gaining extra, noticeable benefit over v2.x. This comes at a cost to someone. I pay the bills to provide a reliable data setup to transmit the xtra.bin data file and to provide the top NTP SERVERS in one DNS pool. To help keep this going, I just ask for the user to consider a donation. Nothing more, nothing less. Thank you for your consideration.
AGPS Patch Officially Supported Devices:
Acer Iconia
Asus Transformer Prime
Asus Transformer (TF101)
Asus Transformer TF300T
HTC Inspire 4G
HTC Desire HD
HTC Sensation
HTC Incredible S
HTC Salsa
HTC Flyer
HTC Evo 3D
HTC Desire S
HTC Wildfire
HTC Wildfire S
HTC Droid Incredible 2
HTC Thunderbolt
HTC Desire
HTC Desire Z
HTC One X
LG GT-540 OPTIMUS
LG Optimus One
Motorola Triumph
Motorola Droid X2
Samsung Galaxy S II Skyrocket (SGH-I727)
Samsung Galaxy S II (I9100)
Samsung Galaxy S II (SGH-T989)
Samsung Galaxy S Plus I9000
Samsung Galaxy Nexus
Samssung Galaxy S III (AT&T, Rogers, Bell, Telus)
Samsung Galaxy S III I9300, I9305
Samsung Galaxy S 4G
Sony Ericcson XPERIA X8
* I do not officially support all devices that this patch is known to work on at this time. You may private message me your success story for official support considerations.
Thanks Section
While this has gone a long distance since its inception, I want to still send thanks to Angeldeath for permitting me to take his early work and start tweaking it for HTC Inspire 4G users. This inevitably led to what we have here today.
Thank you to all those who joined and participate in the testing community. Without their help, I couldn't get enough data to know how well this works on different devices and in various regions of this planet we call Earth.
Thank you eagleeyetom, husky69, and tamagotono for their work in building an ADB pushing environment for Windows and for Linux respectively.
If you are happy with the patch and find this thread useful, please consider pressing the "Thanks" button on any of my posts on this thread. You may also consider rating this thread with five stars if you're satisfied. You may do so just below "Search This Thread" on the right-side at the top of this post. Donations are appreciated (See last NOTE)
REVIEW THE WHOLE THREAD BEFORE POSTING QUESTIONS.
This just says Tentative Support for now. However, it is known to work very, very well for numerous owners of this device who were kind enough to work with me the past three days for testing.
This is v3.1 of my infamous patch customized for your device hence it's a glaring v1.0 here.
HydroROM and others referenced my work as a worldwide patch. So, this is the real deal with the latest updates. The old stuff floating around for the TF300 was put together a long time ago. In fact, it was v1.3 and v3.0 came out in October 2011.
Please comment your results, etc.
Nice to see it up and running. Can confirm this is doing a hell of a job.
I flashed this earlier and can confirm that it works very well.
Moved the files into system/etc and reboot but my GPS continues to work badly :\
Can I flash it through TWRP?
solefero69 said:
Moved the files into system/etc and reboot but my GPS continues to work badly :\
Can I flash it through TWRP?
Click to expand...
Click to collapse
Read the entire OP please. There is a section on how to post for assistance. Further, there are plenty of Notes that could resolve your issue.
You said you moved the files into /system/etc, but there is also a file to go into /system/etc/gps. See, your statement is very vague... This is why I wrote how to post so that we all can get the best experience through our efforts to better the GPS systems on 30+ devices I support.
just checked your zip. The xml file is missing.
Maybe it worked for me, cause I already had your xml file.
mikaole said:
just checked your zip. The xml file is missing.
Click to expand...
Click to collapse
...\agps.patch.asus.transformer.300.build.v.1.0.zip\system\etc\gps
contents: gpsconfig.xml
It is there. It's in a subfolder /etc/. Review the ZIP file.
EDIT: It has to be the ZIP above. My generic patches will not have the XML as it is device specific.
crypted said:
...\agps.patch.asus.transformer.300.build.v.1.0.zip\system\etc\gps
contents: gpsconfig.xml
It is there. It's in a subfolder /etc/. Review the ZIP file.
EDIT: It has to be the ZIP above. My generic patches will not have the XML as it is device specific.
Click to expand...
Click to collapse
Just redownloaded and its there. The one I dl this morning didn´t have it. Thats weard.
BTW You brought my HTC Desires GPS back to live
mikaole said:
Just redownloaded and its there. The one I dl this morning didn´t have it. Thats weard.
BTW You brought my HTC Desires GPS back to live
Click to expand...
Click to collapse
Very strange. I didn't change the ZIP at all from the time I posted it yesterday.
Glad to be of assistance on multiple devices for you!!!
crypted said:
Read the entire OP please. There is a section on how to post for assistance. Further, there are plenty of Notes that could resolve your issue.
You said you moved the files into /system/etc, but there is also a file to go into /system/etc/gps. See, your statement is very vague... This is why I wrote how to post so that we all can get the best experience through our efforts to better the GPS systems on 30+ devices I support.
Click to expand...
Click to collapse
Ok sorry! But I also moved the file into the gps folder..BTW I'm on CleanROM JB 2.0 and I have no case... On JellyBean my GPS worked always poorly but I don't know why
solefero69 said:
Ok sorry! But I also moved the file into the gps folder..BTW I'm on CleanROM JB 2.0 and I have no case... On JellyBean my GPS worked always poorly but I don't know why
Click to expand...
Click to collapse
Have you tried anything in the Notes Section? At all?
How about another rom like Hydro?
Sent from my Galaxy Nexus using xda app-developers app
crypted said:
Have you tried anything in the Notes Section? At all?
How about another rom like Hydro?
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Yes I tried everything in the Notes section. Now i'm on Hydro and i'm giong to flash your gps fix through TWRP
:good: Works well in my tf300 and my One X - Good stuff :good:
Just installed with ES Files Explorer without problem.
Sending from my tf300 using Tapatalk premium between sky and earth
Hi guys,
my tablet takes about 40/60 sec., to fix the satellites ...
Can I install this patch?
Can i flash the file with the TWRP recovery ?
yes and yes
mikaole said:
yes and yes
Click to expand...
Click to collapse
Thanks
solefero69 said:
Yes I tried everything in the Notes section. Now i'm on Hydro and i'm giong to flash your gps fix through TWRP
Click to expand...
Click to collapse
I just flashed this on Hydro 4.1, it works great. It found 12 satellites withing 3-4 seconds. I flashed it with TWRP too BTW.
Works great with CleanRom 2.5, just didn't know I have to tick everything in this gps settings that its working with Google Maps
But thanks mate, really faster than before!
Official support has is now available for more devices:
Samssung Galaxy S III (AT&T, Rogers, Bell, Telus)
Samsung Galaxy S III I9300, I9305
Asus Transformer TF300T
Motorola Droid X2
Samsung Galaxy S 4G
If you appreciate this growing work, always consider clicking the Thanks.
Remember that I pay monthly hosting fees for the space and bandwidth necessary to keep this patch working on the backend. So, please consider donating a few bucks if you're a user. All donations go directly to the patch provisioning and there is absolutely no overhead to benefit me.

[SHARE][APP]DnsQache : Custom DNS Settings (Optional Cache) & HTTP(S) Proxy

NOTICE:This is not my work,i am just sharing it to help make it better.All the credits goes to @tdhite​
** PREREQUISITES **
1) A rooted Android phone with busybox -- you should know how to, and have already, rooted your phone and get busybox operational on the same phone;
2) Your phone's kernel must be netfilter-enabled (most stock kernels support netfilter (IPTABLES), but it's a good idea to check to be sure);
3) If using Harry Mue's and Sofia Lemons' wifi tether application, assure you use a version released after July 18, 2013.
** General Description and Use **
This program enables the use of custom DNS name servers and caching as well as HTTP/HTTPS proxy and caching for Android Rooted phones.
Click to expand...
Click to collapse
To know more,follow the below link:
DnsQache : Custom DNS Settings (Optional Cache) & HTTP(S) Proxy

Categories

Resources