s5e8825-common: Add proprietary GPS blobs
Change-Id: I38cd975ecc8a9180678a9a1489a247a4b66fcf62 Signed-off-by: Majaahh <maja.blaszczak@proton.me>
This commit is contained in:
22
proprietary/vendor/bin/hw/gps.sh
vendored
Executable file
22
proprietary/vendor/bin/hw/gps.sh
vendored
Executable file
@@ -0,0 +1,22 @@
|
||||
#! /vendor/bin/sh
|
||||
|
||||
SILENT_LOGGING_9900=/data/vendor/gps/silentGnssLogging
|
||||
SILENT_LOGGING_ISSUETRACKER=/data/vendor/gps/silentGnssLoggingIssueTracker
|
||||
SILENT_LOGGING_FILE_ISSUETRACKER=/vendor/etc/gnss/gps.issuetracker.cfg
|
||||
|
||||
CONFIGFILE=/vendor/etc/gnss/gps.cfg
|
||||
DAEMONFILE=/vendor/bin/hw/gpsd
|
||||
|
||||
if [ -d "$SILENT_LOGGING_ISSUETRACKER" ] ; then
|
||||
if [ -e "$SILENT_LOGGING_FILE_ISSUETRACKER" ] ; then
|
||||
CONFIGFILE=/vendor/etc/gnss/gps.issuetracker.cfg
|
||||
else
|
||||
CONFIGFILE=/vendor/etc/gnss/gps.debug.cfg
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -d "$SILENT_LOGGING_9900" ] ; then
|
||||
CONFIGFILE=/vendor/etc/gnss/gps.debug.cfg
|
||||
fi
|
||||
|
||||
exec $DAEMONFILE -c $CONFIGFILE
|
||||
BIN
proprietary/vendor/bin/hw/gpsd
vendored
Executable file
BIN
proprietary/vendor/bin/hw/gpsd
vendored
Executable file
Binary file not shown.
BIN
proprietary/vendor/bin/hw/vendor.samsung.hardware.gnss@2.1-service
vendored
Executable file
BIN
proprietary/vendor/bin/hw/vendor.samsung.hardware.gnss@2.1-service
vendored
Executable file
Binary file not shown.
1214
proprietary/vendor/etc/gnss/ca.pem
vendored
Normal file
1214
proprietary/vendor/etc/gnss/ca.pem
vendored
Normal file
File diff suppressed because it is too large
Load Diff
91
proprietary/vendor/etc/gnss/gps.cfg
vendored
Normal file
91
proprietary/vendor/etc/gnss/gps.cfg
vendored
Normal file
@@ -0,0 +1,91 @@
|
||||
############################################
|
||||
GlueLayer_ToolConfigSelection=1
|
||||
#user_ports_tcp_name=Autotest
|
||||
#user_ports_tcp_port=7555
|
||||
debug_console=1
|
||||
debug_device=1
|
||||
debug_enable=0
|
||||
SpotLogger_Allowed=0
|
||||
#debug_dir=/data/vendor/gps
|
||||
############################################
|
||||
Sif_UseFwXtraInterface=2
|
||||
Sif_HandleSgeeInCore=1
|
||||
Sif_OperationMode=1
|
||||
GlueLayer_isForceIPV6=0
|
||||
GlueLayer_EnableGnssCfgInterface=1
|
||||
|
||||
use_data_patch=2
|
||||
|
||||
gnss_device_type=K050
|
||||
|
||||
### Update for VTS ###
|
||||
GlueLayer_YearOfHW=2021
|
||||
scheduling_enabled=1
|
||||
|
||||
### temporarily disable precise time aiding ###
|
||||
Chip_Configuration_AidingConfiguration=0x00020046
|
||||
|
||||
### Enable MEMS static detection and heading filter ###
|
||||
Chip_Configuration_mems_data_Configuration=5
|
||||
|
||||
# set shared reference clock for freq aiding (0x20)
|
||||
# enable dcxo (0x04)
|
||||
# Chip_Configuration_RefClkControl=0x24
|
||||
|
||||
### 2848 L1 only MCW ###
|
||||
#GPS_ENABLE 0x0001
|
||||
#GLONASS_ENABLE 0x0002
|
||||
#GALILEO_ENABLE 0x0004
|
||||
#BEIDOU_ENABLE 0x0008
|
||||
#SBAS_ENABLE 0x0010
|
||||
#QZSS_ENABLE 0x0020
|
||||
#NAVIC_ENABLE 0x0040
|
||||
#L5_ENABLE 0x0080
|
||||
#MEMS_STATIC_ENABLE 0x2000
|
||||
#MEMS_HEADING_RATE_ENABLE 0x4000
|
||||
### 2848 L1 only MCW ###
|
||||
Chip_Configuration_GNSSConstConstraintDef=0x602F
|
||||
LocTech_Constraints=0x602F
|
||||
Chip_Configuration_RfMiscCtrl=0x80008001
|
||||
|
||||
### Specify RFIC ID for K50 ###
|
||||
# 55110001 = S5511
|
||||
gnss_rfic_chip_id=55110001
|
||||
|
||||
# allow BL to enable PBUS (required for PAMIR to branch to startup code in Ext Mem)
|
||||
firmware_run_flags=0
|
||||
|
||||
# 0: No aiding 1: Local (lastKnownLocation) 2: Network (AGNSS)
|
||||
Aiding_AidingType=2
|
||||
|
||||
# Ignore Android Framework Requests to Enable SUPL
|
||||
GlueLayer_EnableFwConfiguration=1
|
||||
# Allow Ref Location for Cold and Hot Starts
|
||||
GlueLayer_isLocalRefLocInColdStart=2
|
||||
|
||||
Agnss_SuplUseApn=0
|
||||
Agnss_SuplUseFwDns=0
|
||||
Agnss_SuplUseApnNi=1
|
||||
|
||||
# Q-OS NFW location access & Visibility Control
|
||||
GlueLayer_IsUseNfwLocAccess=1
|
||||
GlueLayer_IsUseNfwVCLocAccess=1
|
||||
GlueLayer_IsUseUeEmergencyMode=1
|
||||
IsUeInEmergency=0
|
||||
GlueLayer_VcPkgNameCP=com.sec.location.nfwlocationprivacy
|
||||
GlueLayer_VcPkgNameUP=com.sec.location.nfwlocationprivacy
|
||||
|
||||
NmeaBitmask=0x8FFFFFFF
|
||||
|
||||
## Apply RF Loss value
|
||||
RfPathLossDb_Ap=5
|
||||
RfPathLossDb_Cp=5
|
||||
|
||||
#HW geofence
|
||||
gf_enabled=0
|
||||
notifResponsivenessMs=60000
|
||||
gf_UnavailableTimer=30
|
||||
gf_UnavailableTimeOutTime=420
|
||||
|
||||
# Enable Assert CallBack
|
||||
AssertBigData_Collect_Enable=1
|
||||
40
proprietary/vendor/etc/init/init.gps.rc
vendored
Normal file
40
proprietary/vendor/etc/init/init.gps.rc
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
on post-fs-data
|
||||
# Directory for GPS
|
||||
chmod 0660 /dev/gnss_ipc
|
||||
chown system system /dev/gnss_ipc
|
||||
mkdir /data/vendor 0771 system system
|
||||
chown system system /data/vendor
|
||||
mkdir /data/vendor/gps 0771 system system
|
||||
chown system system /data/vendor/gps
|
||||
mkdir /data/vendor/gps/sgee 0771 system system
|
||||
chown system system /data/vendor/gps/sgee
|
||||
rm /data/vendor/gps/gps_started
|
||||
rm /data/vendor/gps/glonass_started
|
||||
rm /data/vendor/gps/beidou_started
|
||||
rm /data/vendor/gps/smd_started
|
||||
rm /data/vendor/gps/lna_started
|
||||
rm /data/vendor/gps/sv_cno.info
|
||||
|
||||
# GPS daemon
|
||||
service gpsd /vendor/bin/hw/gps.sh
|
||||
class main
|
||||
user gps
|
||||
group system inet net_raw wakelock
|
||||
capabilities BLOCK_SUSPEND
|
||||
ioprio be 0
|
||||
|
||||
on property:dev.gnss.silentlogging=ON
|
||||
mkdir /data/vendor/gps/silentGnssLogging 0771 system system
|
||||
restart gpsd
|
||||
|
||||
on property:dev.gnss.silentlogging=OFF
|
||||
rmdir /data/vendor/gps/silentGnssLogging
|
||||
restart gpsd
|
||||
|
||||
on property:dev.gnss.silentloggingIssueTracker=ON
|
||||
mkdir /data/vendor/gps/silentGnssLoggingIssueTracker 0771 system system
|
||||
restart gpsd
|
||||
|
||||
on property:dev.gnss.silentloggingIssueTracker=OFF
|
||||
rmdir /data/vendor/gps/silentGnssLoggingIssueTracker
|
||||
restart gpsd
|
||||
4
proprietary/vendor/etc/init/vendor.samsung.hardware.gnss@2.1-service.rc
vendored
Normal file
4
proprietary/vendor/etc/init/vendor.samsung.hardware.gnss@2.1-service.rc
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
service sec_gnss_service /vendor/bin/hw/vendor.samsung.hardware.gnss@2.1-service
|
||||
class main
|
||||
user system
|
||||
group system gps
|
||||
BIN
proprietary/vendor/lib64/hw/android.hardware.gnss@2.1-impl.so
vendored
Normal file
BIN
proprietary/vendor/lib64/hw/android.hardware.gnss@2.1-impl.so
vendored
Normal file
Binary file not shown.
BIN
proprietary/vendor/lib64/hw/vendor.samsung.hardware.gnss@2.1-impl.so
vendored
Normal file
BIN
proprietary/vendor/lib64/hw/vendor.samsung.hardware.gnss@2.1-impl.so
vendored
Normal file
Binary file not shown.
BIN
proprietary/vendor/lib64/libwrappergps.so
vendored
Normal file
BIN
proprietary/vendor/lib64/libwrappergps.so
vendored
Normal file
Binary file not shown.
BIN
proprietary/vendor/lib64/vendor.samsung.hardware.gnss@2.0.so
vendored
Normal file
BIN
proprietary/vendor/lib64/vendor.samsung.hardware.gnss@2.0.so
vendored
Normal file
Binary file not shown.
BIN
proprietary/vendor/lib64/vendor.samsung.hardware.gnss@2.1.so
vendored
Normal file
BIN
proprietary/vendor/lib64/vendor.samsung.hardware.gnss@2.1.so
vendored
Normal file
Binary file not shown.
Reference in New Issue
Block a user