From 02078d4d7789365566e49e90efbd2eed01a8ac97 Mon Sep 17 00:00:00 2001 From: Emil Kosz Date: Mon, 28 Sep 2026 07:45:28 +0200 Subject: [PATCH] gps: stock gps.conf --- gps/gps.conf | 22 ++++++++++++++++++++++ lineage_rubenslte.mk | 6 ++++++ 2 files changed, 28 insertions(+) create mode 100644 gps/gps.conf diff --git a/gps/gps.conf b/gps/gps.conf new file mode 100644 index 0000000..6af09c5 --- /dev/null +++ b/gps/gps.conf @@ -0,0 +1,22 @@ +# GPS configuration for rubenslte (SM-T365), taken from the stock ROM. +# The msm8226-common default disables AGPS (CAPABILITIES=0x31, no XTRA), +# which leaves the GNSS engine in standalone-only mode. + +XTRA_SERVER_1=http://xtrapath1.izatcloud.net/xtra2.bin +XTRA_SERVER_2=http://xtrapath2.izatcloud.net/xtra2.bin +XTRA_SERVER_3=http://xtrapath3.izatcloud.net/xtra2.bin +XTRA_VERSION_CHECK=0 +ERR_ESTIMATE=0 +NTP_SERVER=time.gpsonextra.net +DEBUG_LEVEL = 2 +INTERMEDIATE_POS=0 +SUPL_VER=0x10000 +SUPL_ES=0 +USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL=1 +SUPL_MODE=3 +CAPABILITIES=0x37 +LPP_PROFILE = 0 +NMEA_PROVIDER=1 +SGLTE_TARGET=0 +A_GLONASS_POS_PROTOCOL_SELECT = 0 +DEL_EPH_ONLY = 0 \ No newline at end of file diff --git a/lineage_rubenslte.mk b/lineage_rubenslte.mk index e7df80a..36fa2ed 100644 --- a/lineage_rubenslte.mk +++ b/lineage_rubenslte.mk @@ -53,5 +53,11 @@ PRODUCT_COPY_FILES += \ frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \ frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/usb_audio_policy_configuration.xml +# GPS +# Overrides the msm8226-common gps.conf (first PRODUCT_COPY_FILES entry +# for a destination wins), enabling AGPS/XTRA as in the stock ROM. +PRODUCT_COPY_FILES += \ + $(LOCAL_PATH)/gps/gps.conf:system/etc/gps.conf + $(call inherit-product-if-exists, vendor/samsung/rubenslte/rubenslte-vendor.mk) $(call inherit-product, device/samsung/msm8226-common/msm8226.mk)