[Miscellaneous Android Development] eben80:
This application has fixes to enhance GPS functionality and is only for Mediatek SOC based devices that use EPO files for AGPS functionality.

Currently support for MT6589/MT6592 is tested but it should work for any other Mediatek devices which use EPO files.

Use this application at your own risk! I recommend making full backups before using.

This application enables you to automatically download the EPO files on a daily, weekly or monthly basis if you would like to do so without any interaction required.

It has a One-Click feature(OK it's 2 clicks :D ) that enables you to quickly get some of the optimal settings for your device in your region.

A backup of your original gps.conf file is made.

Requires:

*Mediatek device using EPO files

*Minimum Android version Ice Cream Sandwich

*Root access (Ideally with SuperSU, may work with others)

*Internet access

What are EPO files?

AGPS enabled GPS module can start-up faster, perform faster TTFF (time to first fix), and obtain faster positioning information under weak signal environments.

On average, using AGPS cuts the GPS module "cold-start" time by half, and "warm-start" down to one second.

When GPS receiver is powered on for the first time, almanac and ephemeris data from the satellites must be transmitted continuously for 40 seconds without interruption to the GPS receiver for normal operation.

By uploading pre-calculated almanac and ephemeris data in proprietary "EPO (Extended Prediction Orbit)" data format to the GPS module, the waiting time for the initial data transmission from the satellites is now significantly shortened. The EPO data contains predicted ephemeris data for 7/14/30 days and need to be re-downloaded once it expires.

What are NTP servers?

NTP servers provide your mobile with a very accurate time reference that help ensure a fast GPS lock.

As standard most Mediatek phones use a Chinese server for this and so a connection from anywhere else in the world is likely to be very slow. With this app you can set the NTP servers to ones that are closer to your own location.

How this app works:

*The application can download the files on-demand or on a daily, weekly or monthly schedule.

*Download is done from a more stable location for the EPO files than the FTP location that Mediatek previously used.

*The files are downloaded to a temporary location in the application folder and then moved to /data/misc

*To automate downloads, select your required frequency, switch the toggle to "ON" and save.

*An unobtrusive flash message will display briefly "EPO Updated" when the files have been updated at the scheduled time.

What One-Click does:

*Updates your EPO files

*Deletes your mtkgps.dat file for regeneration

*Updates your gps.conf file with NTP time servers appropriate for your region

*Injects a line into your build.prop which puts the Dalvik VM in a mode which enhances the accuracy of the GPS.

Added monthly and weekly scheduling of download.

Disabled monitor service when scheduling is not used.

Added gps.conf time server tweaks.

Feature requests welcome.

Available now on Play Store.

XDA:DevDB Information

EPO Tools, Tool/Utility for all devices (see above for details)

Contributors

eben80

Version Information

Status: Stable

Current Stable Version: 1.3.121

Stable Release Date: 2014-12-26

Created 2014-12-26

Last Updated 2014-12-26