From 6bdf3489c6662e130677b2a5ba755b10b9843661 Mon Sep 17 00:00:00 2001 From: mikairyuu Date: Wed, 8 Jun 2022 12:46:15 +1000 Subject: [PATCH] Various gps etc improvements --- sm7250-common/proprietary/vendor/etc/gps.conf | 11 ++++------- .../vendor/etc/init/vendor.qti.rmt_storage.rc | 1 + sm7250-common/proprietary/vendor/etc/lowi.conf | 2 +- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/sm7250-common/proprietary/vendor/etc/gps.conf b/sm7250-common/proprietary/vendor/etc/gps.conf index 4e2eee7..e7f13e5 100644 --- a/sm7250-common/proprietary/vendor/etc/gps.conf +++ b/sm7250-common/proprietary/vendor/etc/gps.conf @@ -12,13 +12,13 @@ XTRA_CA_PATH=/usr/lib/ssl-1.1/certs # DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info # 4 - Debug, 5 - Verbose # If DEBUG_LEVEL is commented, Android's logging levels will be used -DEBUG_LEVEL = 3 +DEBUG_LEVEL = 0 # Intermediate position report, 1=enable, 0=disable INTERMEDIATE_POS=0 # supl version 1.0 -SUPL_VER=0x20000 +SUPL_VER=0x10000 # Emergency SUPL, 1=enable, 0=disable SUPL_ES=0 @@ -33,7 +33,7 @@ USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL=0 #config.xml. #MSA=0X2 #MSB=0X1 -SUPL_MODE=3 +#SUPL_MODE=3 # GPS Capabilities bit mask # SCHEDULING = 0x01 @@ -79,7 +79,7 @@ ACCURACY_THRES=70 # 1: Enable LPP_User_Plane on LTE # 2: Enable LPP_Control_Plane # 3: Enable both LPP_User_Plane and LPP_Control_Plane -LPP_PROFILE = 3 +LPP_PROFILE = 2 #################################### #Datum Type @@ -341,9 +341,6 @@ V_LEVEL_MAX_CAPACITY = 400 XTRA_TEST_ENABLED = 1 XTRA_THROTTLE_ENABLED = 0 XTRA_SYSTEM_TIME_INJECT = 1 -# Mechanism to handle the gnss assistance data download -# in very bad network situations -XTRA_SOCK_KEEPALIVE=1 ################################################## # Allow buffer diag log packets when diag memory allocation # fails during boot up time. diff --git a/sm7250-common/proprietary/vendor/etc/init/vendor.qti.rmt_storage.rc b/sm7250-common/proprietary/vendor/etc/init/vendor.qti.rmt_storage.rc index ffde8db..ec7edef 100644 --- a/sm7250-common/proprietary/vendor/etc/init/vendor.qti.rmt_storage.rc +++ b/sm7250-common/proprietary/vendor/etc/init/vendor.qti.rmt_storage.rc @@ -7,5 +7,6 @@ service vendor.rmt_storage /vendor/bin/rmt_storage class core user root + group system wakelock shutdown critical ioprio rt 0 \ No newline at end of file diff --git a/sm7250-common/proprietary/vendor/etc/lowi.conf b/sm7250-common/proprietary/vendor/etc/lowi.conf index 482fb42..e2d7361 100644 --- a/sm7250-common/proprietary/vendor/etc/lowi.conf +++ b/sm7250-common/proprietary/vendor/etc/lowi.conf @@ -22,6 +22,6 @@ # Log level # EL_LOG_OFF = 0, EL_ERROR = 1, EL_WARNING = 2, EL_INFO = 3, EL_DEBUG = 4, EL_VERBOSE = 5, EL_LOG_ALL = 100 -LOWI_LOG_LEVEL = 3 +LOWI_LOG_LEVEL = 0 LOWI_USE_LOWI_LP = 0