Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Verified Commit 5e732d6f authored by Ahmed Harhash's avatar Ahmed Harhash
Browse files

universal9810-common: Fix GPS

parent 0a14b3fe
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
NTP_SERVER=north-america.pool.ntp.org
XTRA_SERVER_1=https://glltos1.glpals.com/4day/v5/latest/lto2.dat
XTRA_SERVER_2=https://glltos2.glpals.com/4day/v5/latest/lto2.dat
SUPL_HOST=supl.google.com
SUPL_PORT=7275
+3 −0
Original line number Diff line number Diff line
@@ -80,8 +80,11 @@

    <!-- Values for GPS configuration -->
    <string-array translatable="false" name="config_gpsParameters">
        <item>SUPL_HOST=supl.google.com</item>
        <item>SUPL_PORT=7275</item>
        <item>XTRA_SERVER_1=https://glltos1.glpals.com/4day/v5/latest/lto2.dat</item>
        <item>XTRA_SERVER_2=https://glltos2.glpals.com/4day/v5/latest/lto2.dat</item>
        <item>NTP_SERVER=north-america.pool.ntp.org</item>
    </string-array>

    <!-- Whether WiFi display is supported by this device.
+3 −0
Original line number Diff line number Diff line
@@ -313,6 +313,9 @@ on post-fs-data

    setprop vold.post_fs_data_done 1

    # GnssConfiguration doesn't actually look at gps_psds.conf, just the debug file
    mount none /system/etc/gps_psds.conf /system/etc/gps_debug.conf bind

# Permissions for audio
    chown system radio /sys/class/audio/earjack/key_state
    chown system radio /sys/class/audio/earjack/mic_adc
+3 −0
Original line number Diff line number Diff line
@@ -15,3 +15,6 @@ allow init runtime_event_log_tags_file:file getattr;
allow init ram_device:blk_file write;
allow init sysfs_zram:file { create_file_perms rw_file_perms };
allow init sysfs_zram:dir r_dir_perms;

# Allow init to bind mount over system files
allow init system_file:file mounton;
+4 −0
Original line number Diff line number Diff line
@@ -107,6 +107,10 @@ PRODUCT_COPY_FILES += \
    frameworks/native/data/etc/android.software.freeform_window_management.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/android.software.freeform_window_management.xml \
    frameworks/native/data/etc/android.software.picture_in_picture.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/android.software.picture_in_picture.xml

# GPS
PRODUCT_COPY_FILES += \
    $(LOCAL_PATH)/configs/gps/gps_psds.conf:$(TARGET_COPY_OUT_SYSTEM)/etc/gps_psds.conf
    
# Soong
PRODUCT_SOONG_NAMESPACES += $(LOCAL_PATH)