aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configs/privapp-permissions-qti.xml8
-rw-r--r--gps/etc/gps.conf15
-rw-r--r--gps/etc/izat.conf10
-rw-r--r--gps/etc/sap.conf4
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml4
-rw-r--r--proprietary-files.txt17
6 files changed, 24 insertions, 34 deletions
diff --git a/configs/privapp-permissions-qti.xml b/configs/privapp-permissions-qti.xml
index 22e342f..9fbe80a 100644
--- a/configs/privapp-permissions-qti.xml
+++ b/configs/privapp-permissions-qti.xml
@@ -45,14 +45,6 @@ It allows additional grants on top of privapp-permissions-platform.xml
<permission name="android.permission.INTERACT_ACROSS_USERS"/>
</privapp-permissions>
- <privapp-permissions package="com.qualcomm.location">
- <permission name="android.permission.CONTROL_LOCATION_UPDATES"/>
- </privapp-permissions>
-
- <privapp-permissions package="com.qualcomm.location.XT">
- <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
- </privapp-permissions>
-
<privapp-permissions package="com.qualcomm.qcrilmsgtunnel">
<permission name="android.permission.INTERACT_ACROSS_USERS"/>
</privapp-permissions>
diff --git a/gps/etc/gps.conf b/gps/etc/gps.conf
index 3caef9c..2ef3f2d 100644
--- a/gps/etc/gps.conf
+++ b/gps/etc/gps.conf
@@ -18,6 +18,8 @@ ERR_ESTIMATE=0
#NTP server
NTP_SERVER=time.izatcloud.net
+NTP_SERVER_2=asia.pool.ntp.org
+NTP_SERVER_3=0.cn.pool.ntp.org
#XTRA CA path
XTRA_CA_PATH=/system/etc/security/cacerts
@@ -28,7 +30,7 @@ XTRA_CA_PATH=/system/etc/security/cacerts
DEBUG_LEVEL = 2
# Intermediate position report, 1=enable, 0=disable
-INTERMEDIATE_POS=0
+INTERMEDIATE_POS=1
# Below bit mask configures how GPS functionalities
# should be locked when user turns off GPS on Settings
@@ -66,7 +68,7 @@ CAPABILITIES=0x37
# Accuracy threshold for intermediate positions
# less accurate positions are ignored, 0 for passing all positions
-# ACCURACY_THRES=5000
+ACCURACY_THRES=70
################################
##### AGPS server settings #####
@@ -95,7 +97,7 @@ CAPABILITIES=0x37
# 1: Enable LPP_User_Plane on LTE
# 2: Enable LPP_Control_Plane
# 3: Enable both LPP_User_Plane and LPP_Control_Plane
-LPP_PROFILE = 2
+LPP_PROFILE = 0
################################
# EXTRA SETTINGS
@@ -205,3 +207,10 @@ MISSING_PULSE_TIME_DELTA = 900
# This settings enables time uncertainty propagation
# logic incase of missing PPS pulse
PROPAGATION_TIME_UNCERTAINTY = 1
+XTRA_TEST_ENABLED = 1
+XTRA_THROTTLE_ENABLED = 0
+
+####################################
+#system time injection
+####################################
+XTRA_SYSTEM_TIME_INJECT = 1
diff --git a/gps/etc/izat.conf b/gps/etc/izat.conf
index 05276a8..57285c9 100644
--- a/gps/etc/izat.conf
+++ b/gps/etc/izat.conf
@@ -55,7 +55,7 @@ OSNLP_ACTION = com.android.location.service.v3.NetworkLocationProvider
# REGION_OSNLP_PACKAGE/REGION_OSNLP_ACTION:
# These two values will be used as alternative
# for particular region where default NLP is not functional.
-#REGION_OSNLP_PACKAGE = com.baidu.map.location
+#REGION_OSNLP_PACKAGE = com.google.android.gms
#REGION_OSNLP_ACTION = com.android.location.service.v3.NetworkLocationProvider
# Threshold period for ZPP triggers
@@ -119,7 +119,7 @@ GTP_WAA=DISABLED
# DISABLED
# BASIC
# PREMIUM
-SAP=BASIC
+SAP=PREMIUM
#ODCPI valid modes:
#DISABLED
@@ -192,7 +192,7 @@ HARDWARE_TYPE=automotive
#DISABLED -> if this process is to be disabled on lean and mean targets
PROCESS_NAME=garden_app
PROCESS_ARGUMENT=-l 0 -T 1
-PROCESS_STATE=ENABLED
+PROCESS_STATE=DISABLED
PROCESS_GROUPS=gps diag
PREMIUM_FEATURE=0
IZAT_FEATURE_MASK=0
@@ -275,3 +275,7 @@ HARDWARE_TYPE=all
# XTRA client.
##################################################
# XC20_LAUNCH_PROCESS_NAME=garden_app
+
+#Accuracy threshold for ZPP positions
+# less accurate positions are ignored
+ZPP_ACCURACY_THRESHOLD=1000
diff --git a/gps/etc/sap.conf b/gps/etc/sap.conf
index eb21f01..372eb49 100644
--- a/gps/etc/sap.conf
+++ b/gps/etc/sap.conf
@@ -27,7 +27,7 @@ SENSOR_GYRO_SAMPLES_PER_BATCH_HIGH=25
# Sensor Control Mode (0=AUTO, 1=FORCE_ON)
# used in loc_eng_reinit
-SENSOR_CONTROL_MODE=0
+SENSOR_CONTROL_MODE=1
# Enable or Disable Sensors for GPS use (0=Enable, 1=Disable)
# used in loc_eng_reinit
@@ -40,7 +40,7 @@ SENSOR_PROVIDER=1
# Setting each bit has the following definition:
# 0x1 - DISABLE_INS_POSITIONING_FILTER
# 0x0 - ENABLE_INS_POSITIONING_FILTER
-SENSOR_ALGORITHM_CONFIG_MASK=0x1
+SENSOR_ALGORITHM_CONFIG_MASK=0x0
#Vehicle Network Provider configuration
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index 1781c2d..ace34be 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -329,10 +329,6 @@
<!-- Operating volatage for bluetooth controller. 0 by default-->
<integer name="config_bluetooth_operating_voltage_mv">3300</integer>
- <!-- Enable overlay for all location components. -->
- <string name="config_networkLocationProviderPackageName" translatable="false">com.qualcomm.location</string>
- <string name="config_fusedLocationProviderPackageName" translatable="false">com.qualcomm.location</string>
-
<!-- Default list of files pinned by the Pinner Service -->
<string-array translatable="false" name="config_defaultPinnerServiceFiles">
<item>"/system/framework/arm64/boot-framework.oat"</item>
diff --git a/proprietary-files.txt b/proprietary-files.txt
index 9971b0d..67ae519 100644
--- a/proprietary-files.txt
+++ b/proprietary-files.txt
@@ -313,25 +313,16 @@ vendor/lib64/hw/gatekeeper.msm8996.so
vendor/lib/hw/gatekeeper.msm8996.so
# GPS - from bardock-pro - OPM1.171019.019
-etc/permissions/com.qti.location.sdk.xml|cb68a566bd77dcc75bb7547199d528289fac01cb
-etc/permissions/com.qualcomm.location.xml|e837966b6a1a63430ac7ff648e84b0312cd3a46b
-etc/permissions/izat.xt.srv.xml|a0f460056f27b5495a4d6e959eecf0e429c42a57
-framework/com.qti.location.sdk.jar|f2e9f1d49201e1bad83008445fdafe9541e9b2bd
-framework/izat.xt.srv.jar|e10f1baf6ae0f70c4a529e5711559cebbc3644c9
-lib64/liblocationservice_jni.so|84fddd9ace2be661d26cad1864281c386b709cb2
-lib64/libxt_native.so|e4f2c1813d08ff7452dcba59fa1e23deea2494e4
-lib64/vendor.qti.gnss@1.0.so|716a812a9f4cdb45c57eb0a6fabb17624a91d553
--priv-app/com.qualcomm.location/com.qualcomm.location.apk|397314f080f553489440c63da44d01f482e6b761
vendor/bin/hw/vendor.qti.gnss@1.0-service|bdf23fe2af07c2afb74721023431446104fd828d
vendor/bin/loc_launcher|0675f4524d2c9e94f7e978b5e00734c0835ddf15
vendor/bin/lowi-server|b9c62aefd4633a2a50287fd768a8000c37ae1b0e
-vendor/bin/slim_daemon|065400e7e8161ac700d93abb0ba7fa4acbab025a
+vendor/bin/xtwifi-client|33da61dbd1aa3d8f452aaee6bb7750c82427a25d
+vendor/bin/xtwifi-inet-agent|d4391030c2ba255e8c44058889c3dbcaf70df6d2
vendor/bin/xtra-daemon|29db86b7335caca8e2b34652893c4293aa76c29e
vendor/etc/cacert_location.pem|0789bf799c7e45d352a83e2f79ddb0cea86db85b
vendor/etc/init/vendor.qti.gnss@1.0-service.rc|98655e2adc2158a052b0ecf06b065535f0a2aac7
vendor/etc/xtra_root_cert.pem|f55a31ec4d9cf8ce2724acadecf00c779f8767db
vendor/lib64/hw/vendor.qti.gnss@1.0-impl.so|3a66e268286ebfad3f1e35f54b041d6b3d2ed191
-vendor/lib64/libalarmservice_jni.so|cf455802dcabf759bc6ac43767d7f227df8e3517
vendor/lib64/libdataitems.so|e175d6254907cde80b1352da2874d88c3607d77f
vendor/lib64/libdrplugin_client.so|312ef07b275bdbfb923cca18e961edf146736616
vendor/lib64/libDRPlugin.so|d4f1127ed8f98011fe9687d40e8942e5738f4273
@@ -342,14 +333,12 @@ vendor/lib64/libgeofence.so|b666ad9429e910f3644e73066a2fd2fd5bc7df1e
vendor/lib64/libizat_client_api.so|896931c51c7fa8a9f626c971361679823e635d77
vendor/lib64/libizat_core.so|49a29753966951814cb94b5ca0b899a3bfb74297
vendor/lib64/liblbs_core.so|0ec82e6a32738036473ca0d6e000068f38dc2c7f
--vendor/lib64/libloc_api_v02.so|6f7cda15869af111d2017df4f9e2f561a0d07033
+vendor/lib64/libloc_api_v02.so|6f7cda15869af111d2017df4f9e2f561a0d07033
vendor/lib64/libloc_ds_api.so|88bd00eef7b3e052e2725ce8883a8da0d95028f0
-vendor/lib64/libloc_externalDr.so|0b1ddef9675097306ea03c79069f8df054c2cd06
vendor/lib64/liblocationservice_glue.so|9f56f0e9089f0eadc29036c2cffd5a06852f4cb0
vendor/lib64/liblocationservice.so|13eae193a44f991daf2c54eb2311901bd32a6d8b
vendor/lib64/liblowi_client.so|89305e655cbdbe53dde3afc804b5dddb5fa9ce6e
vendor/lib64/liblowi_wifihal.so|a72819c88a88c26784281287a6f7c37435632fcf
-vendor/lib64/libquipc_os_api.so|91747d4df79ae73cd52f5d499c87c3552be9a673
vendor/lib64/libulp2.so|1a92023fbe40d5042239f3efbdcd82f3299e8b17
vendor/lib64/libxtadapter.so|9a8fbd106994aaaf380be883fa2ef37d04e20401
vendor/lib64/libxtwifi_ulp_adaptor.so|078124cc018badf89c1f5588e9102e9f7c034da2