Android Gps.conf

This module provides an improved GPS functionality with a better and faster accuracy location reference.
Could someone upload the stick GPS.conf file, preferably from z3? My gps has crapped out, I think partially due to me messing with the conf file. Allows an application to access extra location provider commands. Protection level: normal Added in API level 1 Constant Value: 'android.permission.ACCESSLOCATIONEXTRACOMMANDS' Access ext.
How it works?
The stock Android gps.conf file found in system/etc/gps.conf
or system/vendor/etc/gps.conf
is replaced with a new one correctly edited for a better improvement and faster satellite signals fix/lock.
This file is responsible for the correct GPS operation and functionality.
The default file found in most ROMs is very wrong and has a lot of bad information and settings for the correct operation and functionality of the GPS and A-GPS.
Requirements
- A device with Qualcomm Snapdragon chipset based.
- Rooted with Magisk and Magisk Manager indeed installed.
Note: Tested on the Nexus 5X running AOSiP Pie and the XZ Premium running ZfSODP p-mr1.
Instructions
It's Magisk install-able, don't install it by TWRP but with Magisk instead!Ufc undisputed 3 caf max stats download chrome.
Option 1 - Manually
- Go to Magisk Manager Modules section.
- Click on + yellow button and search/find for this 'optimizedgpsconf.zip' file and long press on it.
- Select open and after installed then reboot your device.
- After rebooted your device, make sure your location settings is setup on mode Device only.
- Skirt outdoors, can be in the yard of your house or anywhere else with a line of sight to the sky and stay in that outdoor place.
- Download some Compass app on Google Play Store (I recommend the Compass Steel 3D) and then calibrate the compass.
- Download GPS Locker app on Google Play Store and open the app and wait for the first time fix/lock. This is necessary and essential because the app will recognize some GPS satellites signals for the very first time.
Option 2 - Download
- Go to Magisk Manager Downloads section.
- Search/Find 'Global Optimized GPS File Replacer'.
- Tap on the download button and then on INSTALL.
- Wait a moment to finish downloading and installing.
- When finished tap on REBOOT.
- Same 4, 5, 6 and 7 steps of Option 1 - Manually.
Notes
- Location mode 'Battery saving' is removed in Android 9/Pie and above due to location service changes. To avoid Google location tracing, turn off 'Google Location Accuracy' in location settings (this still may provide some data to Google through the GPS supplement system).*
- Consider using the GPS Locker app because it is much better than the GPS Test and GPS Data. You just need to open it once and wait for fix, then your gps signal is locked and when you close it (just press Cancel in 'Unlock GPS on exit' message) the app keep awake running in the background.
- GPS is made to work in outdoor places. For indoor/enclosed places such as inside of your house don't forget that, it will take a bit more to fix. It drains more battery, but is required if you're an advanced user that uses gps all the time.*
Changelog
Version 1.0
- Initial release
Version 2.0
- Fix for Oreo devices where the gps.conf was in /vendor

Version 2.1
- Magisk template update
Version 3
- Enable MSA capability
- Switch to the new Magisk module format
Version 4
- A re-write of the config
- Comments for each feature
- Add a C2K PDE server
- Support more plane modes
- Use RHEL's NTP servers by default
Version 5
- Increase intermediate positioning accuracy
- Add a configuration for Chinese devices
Version 6
- Remove bogus C2K PDE server
- Add support for multi-SIM Chinese devices
Links
PermalinkJoin GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upBranch:master
################################################## |
# gps.conf file for improving GPS functionality on |
# bq Aqaris 5 phones |
# |
# version 0.0.7 by Astralix |
################################################## |
################################################## |
# Adapt the country tuple according your location |
# Find out how at this link: |
# http://www.pool.ntp.org/en/ |
NTP_SERVER=de.pool.ntp.org |
NTP_SERVER=europe.pool.ntp.org |
################################################## |
# Locations of AGPS and XTRA files |
# AGPS=http://derekgordon.com/gps-files/bin/xtra.bin |
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin |
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin |
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin |
XTRA_SERVER_4=http://xtra4.gpsonextra.net/xtra.bin |
XTRA_SERVER_5=http://xtra5.gpsonextra.net/xtra.bin |
################################################## |
# GPS daemon startup parameters |
DEFAULT_AGPS_ENABLE=TRUE |
DEFAULT_USER_PLANE=TRUE |
DEFAULT_SSL_ENABLE=FALSE |
################################################## |
# DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, |
# 3 - Info, 4 - Debug, 5 - Verbose |
DEBUG_LEVEL=3 |
################################################## |
# Use intermediate position information of not |
# completely locked satellites |
INTERMEDIATE_POS=1 |
ACCURACY_THRES=3000 |
################################################## |
# SUPPL version 1.0 |
SUPL_VER=0x10000 |
################################################## |
# Error estimation |
ERR_ESTIMATE=0 |
################################################## |
# GPS Capabilities bit mask |
# SCHEDULING = 1 |
# MSB = 2 |
# MSA = 4 |
# ULP = 0x20 |
# default = MSA MSB SCHEDULING ULP |
CAPABILITIES=0x07 |
################################################## |
# Quality limits for data to be used for |
# referencing our position |
QOS_ACCURACY=50 |
QOS_TIME_OUT_AGPS=95 |
QOS_TIME_OUT_STANDALONE=80 |
QosHorizontalThreshold=1000 |
QosVerticalThreshold=500 |
################################################## |
# AGPS configuration options |
AssistMethodType=1 |
AgpsUse=1 |
AgpsServerType=1 |
AgpsServerIp=3232235555 |
AgpsMtConf=0 |
AgpsMtResponseType=1 |
################################################## |
# AGPS supplying server settings |
# Check that /sytem/etc/SuplRootCert is available |
# before enabling SUPL_TLS_* |
SUPL_HOST=supl.google.com |
SUPL_PORT=7276 |
SUPL_SECURE_PORT=7275 |
SUPL_NO_SECURE_PORT=3425 |
# SUPL_TLS_HOST=FQDN |
# SUPL_TLS_CERT=/etc/SuplRootCert |
REPORT_POSITION_USE_SUPL_REFLOC=1 |
### AGPS alternative setting NOKIA ############### |
# SUPL_HOST=supl.nokia.com |
# SUPL_PORT=7275 |
### AGPS alternative setting SONY ############### |
# SUPL_HOST=supl.sonyericsson.com |
# SUPL_PORT=7275 |
### AGPS alternative setting T-MOBILE ############ |
# SUPL_HOST=10.176.29.225 |
# SUPL_PORT=7275 |
# SUPL_TLS_HOST=lbs.geo.t-mobile.com |
# SUPL_TLS_CERT=/etc/SuplRootCertTMO |
# REPORT_POSITION_USE_SUPL_REFLOC=1 |
################################################## |
# NEVER SET THIS AS IT IS FOR TESTING ONLY AND |
# REQUIRES YOU TO HAVE C2K PDE EQUIPMENT FOR GPS |
# SIMULATION AND KNOW HOW TO HANDLE IT! |
# C2K_HOST=c2k.pde.com |
# C2K_PORT=1234 |
################################################## |
# Sensor Settings |
# Needs to be set explicitly based on sensor |
# There is no default value. |
#GYRO_BIAS_RANDOM_WALK= |
# These are the defaults inside android code. |
SENSOR_ACCEL_BATCHES_PER_SEC=2 |
SENSOR_ACCEL_SAMPLES_PER_BATCH=5 |
SENSOR_GYRO_BATCHES_PER_SEC=2 |
SENSOR_GYRO_SAMPLES_PER_BATCH=5 |
# Sensor Control Mode (0=AUTO, 1=FORCE_ON) |
SENSOR_CONTROL_MODE=0 |
# Control use of Sensors for GPS |
SENSOR_USAGE=1 |
# Choose GSIFF sensor provider (1=DSPS, 2=Android NDK) |
SENSOR_PROVIDER=2 |
# Use WiFi Position to support AGPS |
ENABLE_WIPER=1 |
################################################## |
# Carrier tags |
CURRENT_CARRIER=common |
PHONE_TYPE=UMTS |
###### END OF CONFIG ###### |
Copy lines Copy permalink
- понедельник 16 марта
- 27