Initial commit

tirimbino
Ruchit Marathe 9 months ago
parent d7712d462b
commit 8f8965d80a
  1. 131
      Android.bp
  2. 9
      Android.mk
  3. 4
      BoardConfigVendor.mk
  4. BIN
      proprietary/product/priv-app/HotwordEnrollmentOKGoogleEx3HEXAGON/HotwordEnrollmentOKGoogleEx3HEXAGON.apk
  5. BIN
      proprietary/product/priv-app/HotwordEnrollmentXGoogleEx3HEXAGON/HotwordEnrollmentXGoogleEx3HEXAGON.apk
  6. 19
      proprietary/system_ext/etc/permissions/com.android.hotwordenrollment.common.util.xml
  7. BIN
      proprietary/system_ext/framework/com.android.hotwordenrollment.common.util.jar
  8. BIN
      proprietary/system_ext/lib/fm_helium.so
  9. BIN
      proprietary/system_ext/lib/libfm-hci.so
  10. BIN
      proprietary/system_ext/lib/vendor.qti.hardware.fm@1.0.so
  11. BIN
      proprietary/system_ext/lib64/fm_helium.so
  12. BIN
      proprietary/system_ext/lib64/libaptXHD_encoder.so
  13. BIN
      proprietary/system_ext/lib64/libaptX_encoder.so
  14. BIN
      proprietary/system_ext/lib64/libfm-hci.so
  15. BIN
      proprietary/system_ext/lib64/vendor.qti.hardware.fm@1.0.so
  16. BIN
      proprietary/vendor/app/CACertService/CACertService.apk
  17. BIN
      proprietary/vendor/app/TimeService/TimeService.apk
  18. BIN
      proprietary/vendor/bin/adpl
  19. BIN
      proprietary/vendor/bin/adsprpcd
  20. BIN
      proprietary/vendor/bin/cdsprpcd
  21. BIN
      proprietary/vendor/bin/cnss-daemon
  22. BIN
      proprietary/vendor/bin/dspservice
  23. BIN
      proprietary/vendor/bin/factory.ssc
  24. BIN
      proprietary/vendor/bin/hvdcp_opti
  25. BIN
      proprietary/vendor/bin/hw/android.hardware.bluetooth@1.0-service-qti
  26. BIN
      proprietary/vendor/bin/hw/android.hardware.drm@1.3-service.widevine
  27. BIN
      proprietary/vendor/bin/hw/android.hardware.gnss@2.1-service-qti
  28. BIN
      proprietary/vendor/bin/hw/android.hardware.health@2.1-service-samsung
  29. BIN
      proprietary/vendor/bin/hw/android.hardware.neuralnetworks@1.3-service-qti
  30. BIN
      proprietary/vendor/bin/hw/macloader
  31. BIN
      proprietary/vendor/bin/hw/rild
  32. BIN
      proprietary/vendor/bin/hw/vendor.display.color@1.0-service
  33. BIN
      proprietary/vendor/bin/hw/vendor.qti.hardware.capabilityconfigstore@1.0-service
  34. BIN
      proprietary/vendor/bin/hw/vendor.qti.hardware.iop@2.0-service
  35. BIN
      proprietary/vendor/bin/hw/vendor.qti.hardware.perf@2.2-service
  36. BIN
      proprietary/vendor/bin/hw/vendor.qti.hardware.qseecom@1.0-service
  37. BIN
      proprietary/vendor/bin/hw/vendor.qti.hardware.tui_comm@1.0-service-qti
  38. BIN
      proprietary/vendor/bin/hw/vendor.samsung.hardware.thermal@1.0-service
  39. BIN
      proprietary/vendor/bin/ipacm-diag
  40. BIN
      proprietary/vendor/bin/irsc_util
  41. BIN
      proprietary/vendor/bin/loc_launcher
  42. BIN
      proprietary/vendor/bin/lowi-server
  43. BIN
      proprietary/vendor/bin/netmgrd
  44. BIN
      proprietary/vendor/bin/npu_launcher
  45. BIN
      proprietary/vendor/bin/pd-mapper
  46. BIN
      proprietary/vendor/bin/pm-proxy
  47. BIN
      proprietary/vendor/bin/pm-service
  48. BIN
      proprietary/vendor/bin/ppd
  49. BIN
      proprietary/vendor/bin/qdcmss
  50. BIN
      proprietary/vendor/bin/qrtr-ns
  51. BIN
      proprietary/vendor/bin/qseecomd
  52. BIN
      proprietary/vendor/bin/rmt_storage
  53. BIN
      proprietary/vendor/bin/sscrpcd
  54. BIN
      proprietary/vendor/bin/ssr_setup
  55. BIN
      proprietary/vendor/bin/tftp_server
  56. BIN
      proprietary/vendor/bin/thermal-engine
  57. BIN
      proprietary/vendor/bin/time_daemon
  58. BIN
      proprietary/vendor/bin/xtra-daemon
  59. BIN
      proprietary/vendor/etc/acdbdata/adsp_avs_config.acdb
  60. 14
      proprietary/vendor/etc/charger_fstab.qti
  61. 1396
      proprietary/vendor/etc/data/dsi_config.xml
  62. 3598
      proprietary/vendor/etc/data/netmgr_config.xml
  63. 2243
      proprietary/vendor/etc/dolby/dax-default.xml
  64. 60
      proprietary/vendor/etc/flp.conf
  65. 136
      proprietary/vendor/etc/gnss_antenna_info.conf
  66. 61
      proprietary/vendor/etc/gpfspath_oem_config.xml
  67. 383
      proprietary/vendor/etc/gps.conf
  68. 5
      proprietary/vendor/etc/init/android.hardware.bluetooth@1.0-service-qti.rc
  69. 26
      proprietary/vendor/etc/init/android.hardware.drm@1.3-service.widevine.rc
  70. 4
      proprietary/vendor/etc/init/android.hardware.gnss@2.1-service-qti.rc
  71. 6
      proprietary/vendor/etc/init/android.hardware.health@2.1-service-samsung.rc
  72. 14
      proprietary/vendor/etc/init/android.hardware.neuralnetworks@1.3-service-qti.rc
  73. 13
      proprietary/vendor/etc/init/dataadpl.rc
  74. 11
      proprietary/vendor/etc/init/init.qti.qcv.rc
  75. 25
      proprietary/vendor/etc/init/init.time_daemon.rc
  76. 17
      proprietary/vendor/etc/init/init_thermal-engine.rc
  77. 8
      proprietary/vendor/etc/init/ipa_fws.rc
  78. 16
      proprietary/vendor/etc/init/ipacm-diag.rc
  79. 77
      proprietary/vendor/etc/init/netmgrd.rc
  80. 12
      proprietary/vendor/etc/init/qdcmss.rc
  81. 12
      proprietary/vendor/etc/init/qseecomd.rc
  82. 4
      proprietary/vendor/etc/init/vendor.display.color@1.0-service.rc
  83. 42
      proprietary/vendor/etc/init/vendor.qti.adsprpc-service.rc
  84. 40
      proprietary/vendor/etc/init/vendor.qti.cdsprpc-service.rc
  85. 8
      proprietary/vendor/etc/init/vendor.qti.hardware.capabilityconfigstore@1.0-service.rc
  86. 13
      proprietary/vendor/etc/init/vendor.qti.hardware.dsp@1.0-service.rc
  87. 17
      proprietary/vendor/etc/init/vendor.qti.hardware.iop@2.0-service.rc
  88. 13
      proprietary/vendor/etc/init/vendor.qti.hardware.perf@2.2-service.rc
  89. 14
      proprietary/vendor/etc/init/vendor.qti.hardware.qseecom@1.0-service.rc
  90. 4
      proprietary/vendor/etc/init/vendor.qti.hardware.tui_comm@1.0-service-qti.rc
  91. 11
      proprietary/vendor/etc/init/vendor.qti.rmt_storage.rc
  92. 13
      proprietary/vendor/etc/init/vendor.qti.tftp.rc
  93. 13
      proprietary/vendor/etc/init/vendor.samsung.hardware.thermal@1.0-service.rc
  94. 37
      proprietary/vendor/etc/init/vendor.sensors.sscrpcd.rc
  95. 276
      proprietary/vendor/etc/izat.conf
  96. 45
      proprietary/vendor/etc/locale/plmn_delta_eng.bin
  97. 43
      proprietary/vendor/etc/locale/plmn_delta_zh-rCN.bin
  98. 43
      proprietary/vendor/etc/locale/plmn_delta_zh-rHK.bin
  99. 43
      proprietary/vendor/etc/locale/plmn_delta_zh-rTW.bin
  100. 27
      proprietary/vendor/etc/lowi.conf
  101. Some files were not shown because too many files have changed in this diff Show More

@ -0,0 +1,131 @@
// Automatically generated file. DO NOT MODIFY
//
// This file is generated by device/samsung/sm7125-common/setup-makefiles.sh
soong_namespace {
}
cc_prebuilt_library_shared {
name: "libskeymaster4device",
owner: "samsung",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: ["proprietary/vendor/lib64/libskeymaster4device.so"],
},
},
compile_multilib: "64",
check_elf_files: false,
prefer: true,
soc_specific: true,
}
android_app_import {
name: "CACertService",
owner: "samsung",
apk: "proprietary/vendor/app/CACertService/CACertService.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
soc_specific: true,
}
android_app_import {
name: "TimeService",
owner: "samsung",
apk: "proprietary/vendor/app/TimeService/TimeService.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
soc_specific: true,
}
android_app_import {
name: "HotwordEnrollmentOKGoogleEx3HEXAGON",
owner: "samsung",
apk: "proprietary/product/priv-app/HotwordEnrollmentOKGoogleEx3HEXAGON/HotwordEnrollmentOKGoogleEx3HEXAGON.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
product_specific: true,
}
android_app_import {
name: "HotwordEnrollmentXGoogleEx3HEXAGON",
owner: "samsung",
apk: "proprietary/product/priv-app/HotwordEnrollmentXGoogleEx3HEXAGON/HotwordEnrollmentXGoogleEx3HEXAGON.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
product_specific: true,
}
dex_import {
name: "com.android.hotwordenrollment.common.util",
owner: "samsung",
jars: ["proprietary/system_ext/framework/com.android.hotwordenrollment.common.util.jar"],
system_ext_specific: true,
}
prebuilt_etc_xml {
name: "android.hardware.gnss@2.1-service-qti",
owner: "samsung",
src: "proprietary/vendor/etc/vintf/manifest/android.hardware.gnss@2.1-service-qti.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "android.hardware.health@2.1-samsung",
owner: "samsung",
src: "proprietary/vendor/etc/vintf/manifest/android.hardware.health@2.1-samsung.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "android.hardware.neuralnetworks@1.3-service-qti-hta",
owner: "samsung",
src: "proprietary/vendor/etc/vintf/manifest/android.hardware.neuralnetworks@1.3-service-qti-hta.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "android.hardware.neuralnetworks@1.3-service-qti",
owner: "samsung",
src: "proprietary/vendor/etc/vintf/manifest/android.hardware.neuralnetworks@1.3-service-qti.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "manifest_android.hardware.drm@1.3-service.widevine",
owner: "samsung",
src: "proprietary/vendor/etc/vintf/manifest/manifest_android.hardware.drm@1.3-service.widevine.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "vendor.samsung.hardware.thermal@1.0-manifest",
owner: "samsung",
src: "proprietary/vendor/etc/vintf/manifest/vendor.samsung.hardware.thermal@1.0-manifest.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}

@ -0,0 +1,9 @@
# Automatically generated file. DO NOT MODIFY
#
# This file is generated by device/samsung/sm7125-common/setup-makefiles.sh
LOCAL_PATH := $(call my-dir)
ifneq ($(filter a52q a72q,$(TARGET_DEVICE)),)
endif

@ -0,0 +1,4 @@
# Automatically generated file. DO NOT MODIFY
#
# This file is generated by device/samsung/sm7125-common/setup-makefiles.sh

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2018 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<permissions>
<library name="com.android.hotwordenrollment.common.util" file="/system_ext/framework/com.android.hotwordenrollment.common.util.jar"/>
</permissions>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -0,0 +1,14 @@
#
# Copyright (c) 2019 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
# Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
#
# Android fstab file.
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
/dev/block/bootdevice/by-name/persist /mnt/vendor/persist ext4 noatime,nosuid,nodev,barrier=1 wait

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -0,0 +1,60 @@
###################################
##### FLP settings #####
###################################
###################################
# FLP BATCH SIZE
###################################
# The number of batched locations
# requested to modem. The desired number
# defined below may not be satisfied, as
# the modem can only return the number
# of batched locations that can be allocated,
# which is limited by memory. The default
# batch size defined as 20 as below.
BATCH_SIZE=20
###################################
# FLP OUTDOOR TRIP BATCH SIZE
###################################
# The number of batched locations
# requested to modem for outdoor
# trip batching. The desired number
# defined below may not be satisfied, as
# the modem can only return the number
# of batched locations that can be allocated,
# which is limited by memory. The default
# trip batch size defined as 600 as below.
OUTDOOR_TRIP_BATCH_SIZE=600
###################################
# FLP BATCHING SESSION TIMEOUT
###################################
# Duration with which batch session timeout
# happens in milliseconds. If not specified
# or set to zero, batching session timeout
# defaults to 20 seconds by the modem.
# BATCH_SESSION_TIMEOUT=20000
###################################
# FLP BATCHING ACCURACY
###################################
# Set to one of the defined values below
# to define the accuracy of batching.
# If not specified, accuracy defaults
# to LOW.
# FLP BATCHING ACCURACY values:
# Low accuracy = 0
# Medium accuracy = 1
# High accuracy = 2
ACCURACY=1
####################################
# By default if network fixes are not sensor assisted
# these fixes must be dropped. This parameter adds an exception
# for targets where there is no PDR and we still want to
# report out network fixes
# 0: MUST NOT ALLOW NETWORK FIXES
# 1: ALLOW NETWORK FIXES
####################################
ALLOW_NETWORK_FIXES = 0

@ -0,0 +1,136 @@
###################################
##### ANTENNA INFORMATION #####
###################################
###################################
# ANTENNA INFO VECTOR SIZE
###################################
# The number of antenna info
# structures in the vector. Each
# entry in this vector is a structure
# with the following elements:
#
# - CARRIER_FREQUENCY
# - PC_OFFSET
# - PC_VARIATION_CORRECTION
# - PC_VARIATION_CORRECTION_UNC
# - SIGNAL_GAIN_CORRECTION
# - SIGNAL_GAIN_CORRECTION_UNC
#
# Notes:
# CARRIER_FREQUENCY
# The carrier frequency in MHz.
#
# PC = PHASE CENTER
# PC_OFFSET is a structure with six
# elements: x, y, z and their associated uncertainties
# Phase center offset (PCO) is defined with
# respect to the origin of the Android sensor coordinate system, e.g.,
# center of primary screen for mobiles
#
# PC_VARIATION_CORRECTION
# 2D vectors representing the phase center variation (PCV) corrections,
# in millimeters, at regularly spaced azimuthal angle (theta) and zenith angle
# (phi). The PCV correction is added to the phase measurement to obtain the
# corrected value.
# The azimuthal angle, theta, is defined with respect to the X axis of the
# Android sensor coordinate system, increasing toward the Y axis. The zenith
# angle, phi, is defined with respect to the Z axis of the Android Sensor
# coordinate system, increasing toward the X-Y plane.
# Each row vector (outer vectors) represents a fixed theta. The first row
# corresponds to a theta angle of 0 degrees. The last row corresponds to a
# theta angle of (360 - deltaTheta) degrees, where deltaTheta is the regular
# spacing between azimuthal angles, i.e., deltaTheta = 360 / (number of rows).
# The columns (inner vectors) represent fixed zenith angles, beginning at 0
# degrees and ending at 180 degrees. They are separated by deltaPhi, the regular
# spacing between zenith angles, i.e., deltaPhi = 180 / (number of columns - 1).
#
# PC_VARIATION_CORRECTION_UNC
# 2D vectors of 1-sigma uncertainty in millimeters associated with the PCV
# correction values.
#
# SIGNAL_GAIN_CORRECTION
# 2D vectors representing the signal gain corrections at regularly spaced
# azimuthal angle (theta) and zenith angle (phi). The values are calculated or
# measured at the antenna feed point without considering the radio and receiver
# noise figure and path loss contribution, in dBi, i.e., decibel over isotropic
# antenna with the same total power. The signal gain correction is added the
# signal gain measurement to obtain the corrected value.
# The azimuthal angle, theta, is defined with respect to the X axis of the
# Android sensor coordinate system, increasing toward the Y axis. The zenith
# angle, phi, is defined with respect to the Z axis of the Android Sensor
# coordinate system, increasing toward the X-Y plane.
# Each row vector (outer vectors) represents a fixed theta. The first row
# corresponds to a theta angle of 0 degrees. The last row corresponds to a
# theta angle of (360 - deltaTheta) degrees, where deltaTheta is the regular
# spacing between azimuthal angles, i.e., deltaTheta = 360 / (number of rows).
# The columns (inner vectors) represent fixed zenith angles, beginning at 0
# degrees and ending at 180 degrees. They are separated by deltaPhi, the regular
# spacing between zenith angles, i.e., deltaPhi = 180 / (number of columns - 1).
#
# SIGNAL_GAIN_CORRECTION_UNC
# 2D vectors of 1-sigma uncertainty in dBi associated with the signal
# gain correction values.
#
# The number of rows and columns could be the same for PC variation correction
# and signal gain corrections, or could be different
# If the former then NUMBER_OF_ROWS_ and NUMBER_OF_COLUMNS_ are specified once
# only, if the latter then NUMBER_OF_ROWS_ and NUMBER_OF_COLUMNS_ represent
# the number of rows/columns for PC variation correction and
# NUMBER_OF_ROWS_SGC_ and NUMBER_OF_COLUMNS_SGC_ represent the number of
# rows/columns for signal gain corrections
# ANTENNA_INFO_VECTOR_SIZE must be non zero if antenna corrections are sent
# SEC : Do not support Antenna info
# ANTENNA_INFO_VECTOR_SIZE = 2
CARRIER_FREQUENCY_0 = 1575.42
PC_OFFSET_0 = 1.2 0.1 3.4 0.2 5.6 0.3
NUMBER_OF_ROWS_0 = 3
NUMBER_OF_COLUMNS_0 = 4
PC_VARIATION_CORRECTION_0_ROW_0 = 11.22 33.44 55.66 77.88
PC_VARIATION_CORRECTION_0_ROW_1 = 10.2 30.4 50.6 70.8
PC_VARIATION_CORRECTION_0_ROW_2 = 12.2 34.4 56.6 78.8
PC_VARIATION_CORRECTION_UNC_0_ROW_0 = 0.1 0.2 0.3 0.4
PC_VARIATION_CORRECTION_UNC_0_ROW_1 = 1.1 1.2 1.3 1.4
PC_VARIATION_CORRECTION_UNC_0_ROW_2 = 2.1 2.2 2.3 2.4
SIGNAL_GAIN_CORRECTION_0_ROW_0 = 9.8 8.7 7.6 6.5
SIGNAL_GAIN_CORRECTION_0_ROW_1 = 5.4 4.3 3.2 2.1
SIGNAL_GAIN_CORRECTION_0_ROW_2 = 1.3 2.4 3.5 4.6
SIGNAL_GAIN_CORRECTION_UNC_0_ROW_0 = 0.11 0.22 0.33 0.44
SIGNAL_GAIN_CORRECTION_UNC_0_ROW_1 = 0.55 0.66 0.77 0.88
SIGNAL_GAIN_CORRECTION_UNC_0_ROW_2 = 0.91 0.92 0.93 0.94
CARRIER_FREQUENCY_1 = 1227.6
PC_OFFSET_1 = 3.4 0.2 5.6 0.3 1.2 0.1
NUMBER_OF_ROWS_1 = 4
NUMBER_OF_COLUMNS_1 = 2
NUMBER_OF_ROWS_SGC_1 = 3
NUMBER_OF_COLUMNS_SGC_1 = 4
PC_VARIATION_CORRECTION_1_ROW_0 = 55.66 77.88
PC_VARIATION_CORRECTION_1_ROW_1 = 11.22 33.44
PC_VARIATION_CORRECTION_1_ROW_2 = 56.6 78.8
PC_VARIATION_CORRECTION_1_ROW_3 = 12.2 34.4
PC_VARIATION_CORRECTION_UNC_1_ROW_0 = 0.3 0.4
PC_VARIATION_CORRECTION_UNC_1_ROW_1 = 1.1 1.2
PC_VARIATION_CORRECTION_UNC_1_ROW_2 = 2.1 2.2
PC_VARIATION_CORRECTION_UNC_1_ROW_3 = 0.1 0.2
SIGNAL_GAIN_CORRECTION_1_ROW_0 = 7.6 6.5 5.4 4.3
SIGNAL_GAIN_CORRECTION_1_ROW_1 = 1.3 2.4 9.8 8.7
SIGNAL_GAIN_CORRECTION_1_ROW_2 = 1.4 2.5 3.6 4.7
SIGNAL_GAIN_CORRECTION_UNC_1_ROW_0 = 0.91 0.92 0.55 0.66
SIGNAL_GAIN_CORRECTION_UNC_1_ROW_1 = 0.11 0.22 0.93 0.94
SIGNAL_GAIN_CORRECTION_UNC_1_ROW_2 = 0.95 0.96 0.33 0.44

@ -0,0 +1,61 @@
<!--
Copyright (c) 2017 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<!--
This file is configured by OEM to customize the path used by GP FS listener
service to save files, and will be located in /vendor/etc on device
"gp_data_path" and "gp_persist_path" are the /data and /persist partition
path to save files, respectively.
By default, "gp_data_path" is "/data/vendor/tzstorage/", and
"gp_persist_path" is "/mnt/vendor/persist/data/".
To replace with different paths, please also create folder in init.qcom.rc
file and update SEAndroid policy.
Take "/data/vendor/tzstorage/" as an example below,
A) rootdir/etc/init.qcom.rc:
# Create /data/vendor/tzstorage directory for SFS listener
mkdir /data/vendor/tzstorage 0770 system system
B) common/file.te:
# SFS listener data file
type data_tzstorage_file, file_type, data_file_type;
C) common/file_contexts:
/data/vendor/tzstorage(/.*)? u:object_r:data_tzstorage_file:s0
D) common/qseecomd.te:
# Allow SFS to write to data partition
allow tee data_tzstorage_file:dir create_dir_perms;
allow tee data_tzstorage_file:file create_file_perms;
"gp_whitelist_count" and "gp_whitelist_path"
Some paths needs "/data/vendor/tzstorage" appended to it at the beginning
as they do not have access/permissions on their own.
Use gp_whitelist_count and gp_whitelist_paths entries to add more such paths.
By default, we add "/data/system/users" and "/data/misc/qsee" for current use
cases.
To add an extra path, increment the count in gp_whitelist_count and add a new
gp_whitelist_path entry. It is very critical that the count matches with the
number of path entries.
-->
<sfs_path>
<gp_data_path> /data/vendor/tzstorage/ </gp_data_path>
<gp_persist_path> /efs/ </gp_persist_path>
<gp_whitelist_count> 4 </gp_whitelist_count>
<gp_whitelist_path> /data/system/users/ </gp_whitelist_path>
<gp_whitelist_path> /data/misc/qsee/ </gp_whitelist_path>
<gp_whitelist_path> /qwes </gp_whitelist_path>
<gp_whitelist_path> /qwes/licenses </gp_whitelist_path>
</sfs_path>

@ -0,0 +1,383 @@
# Error Estimate
# _SET = 1
# _CLEAR = 0
ERR_ESTIMATE=0
#NTP server
NTP_SERVER=time.xtracloud.net
#XTRA CA path
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
# Intermediate position report, 1=enable, 0=disable
INTERMEDIATE_POS=0
# supl version 2.0
SUPL_VER=0x20000
# Emergency SUPL, 1=enable, 0=disable
SUPL_ES=1
#Choose PDN for Emergency SUPL
#1 - Use emergency PDN
#0 - Use regular SUPL PDN for Emergency SUPL
USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL=1
#SUPL_MODE is a bit mask set in config.xml per carrier by default.
#If it is uncommented here, this value will overwrite the value from
#config.xml.
#MSA=0X2
#MSB=0X1
#Sensor R&D : Change default bit mask
SUPL_MODE=3
# GPS Capabilities bit mask
# SCHEDULING = 0x01
# MSB = 0x02
# MSA = 0x04
# ON_DEMAND_TIME = 0x10
# default = ON_DEMAND_TIME | MSA | MSB | SCHEDULING
CAPABILITIES=0x17
# Accuracy threshold for intermediate positions
# less accurate positions are ignored, 0 for passing all positions
# ACCURACY_THRES=5000
################################
##### AGPS server settings #####
################################
# FOR SUPL SUPPORT, set the following
# SUPL_HOST=supl.host.com or IP
# SUPL_PORT=1234
# FOR MO SUPL SUPPORT, set the following
# MO_SUPL_HOST=supl.host.com or IP
# MO_SUPL_PORT=1234
# FOR C2K PDE SUPPORT, set the following
# C2K_HOST=c2k.pde.com or IP
# C2K_PORT=1234
# Bitmask of slots that are available
# for write/install to, where 1s indicate writable,
# and the default value is 0 where no slots
# are writable. For example, AGPS_CERT_WRITABLE_MASK
# of b1000001010 makes 3 slots available
# and the remaining 7 slots unwritable.
#AGPS_CERT_WRITABLE_MASK=0
####################################
# LTE Positioning Profile Settings
####################################
# LPP_PROFILE is a bit mask
# 0: Enable RRLP on LTE(Default)
# 0x1: LPP User Plane
# 0x2: LPP Control Plane
# 0x4: LPP User Plane for NR5G
# 0x8: LPP Control Plane for NR5G
LPP_PROFILE = 2
####################################
#Datum Type
####################################
# 0: WGS-84
# 1: PZ-90
DATUM_TYPE = 0
################################
# EXTRA SETTINGS
################################
# NMEA provider (1=Modem Processor, 0=Application Processor)
NMEA_PROVIDER=0
# Customized NMEA GGA fix quality that can be used to tell
# whether SENSOR contributed to the fix.
#
# When this configuration item is not enabled (set to any value that is not 1),
# GGA fix quality conforms to NMEA standard spec as below:
# PPP/DGNSS/SBAS correction fix w/ or w/o sensor: 2
# RTK fixed fix w/ or w/o sensor: 4
# RTK float fix w/ or w/o sensor: 5
# SPE fix w/ or w/o sensor: 1
# Sensor dead reckoning fix: 6
#
# When this configuration is enabled (set to 1), GGA fix quality
# will be output as below:
# PPP fix w/o sensor: 59, w/ sensor: 69
# DGNSS/SBAS correction fix w/o sensor: 2, w/ sensor: 62
# RTK fixed fix w/o sensor: 4, w/ sensor: 64
# RTK float fix w/o sensor: 5, w/ sensor: 65,
# SPE fix w/o sensor: 1, and w/ sensor: 61
# Sensor dead reckoning fix: 6
#
# any value that is not 1 - disabled
# 1 - enabled
CUSTOM_NMEA_GGA_FIX_QUALITY_ENABLED = 0
################################
# NMEA Reporting Rate Config, valid only when NMEA_PROVIDER is set to "0"
################################
# NMEA Reporting Rate
# Set it to "1HZ" for 1Hz NMEA Reporting
# Set it to "NHZ" for NHz NMEA Reporting
#Default : NHZ (overridden by position update rate if set to lower rates)
NMEA_REPORT_RATE=NHZ
# Mark if it is a SGLTE target (1=SGLTE, 0=nonSGLTE)
SGLTE_TARGET=0
##################################################
# Select Positioning Protocol on A-GLONASS system
##################################################
# 0x1: RRC CPlane
# 0x2: RRLP UPlane
# 0x4: LLP Uplane
A_GLONASS_POS_PROTOCOL_SELECT = 0
##################################################
# Select technology for LPPe Control Plane
##################################################
# 0x1: DBH for LPPe CP
# 0x2: WLAN AP Measurements for LPPe CP
# 0x4: SRN AP measurement for CP
# 0x8: Sensor Barometer Measurement LPPe CP
#LPPE_CP_TECHNOLOGY = 0
##################################################
# Select technology for LPPe User Plane
##################################################
# 0x1: DBH for LPPe UP
# 0x2: WLAN AP Measurements for LPPe UP
# 0x4: SRN AP measurement for UP
# 0x8: Sensor Barometer Measurement LPPe UP
#LPPE_UP_TECHNOLOGY = 0
##################################################
# AGPS_CONFIG_INJECT
##################################################
# enable/disable injection of AGPS configurations:
# SUPL_VER
# SUPL_HOST
# SUPL_PORT
# MO_SUPL_HOST
# MO_SUPL_PORT
# C2K_HOST
# C2K_PORT
# LPP_PROFILE
# A_GLONASS_POS_PROTOCOL_SELECT
# 0: disable
# 1: enable
AGPS_CONFIG_INJECT = 0
##################################################
# GNSS settings for automotive use cases
# Configurations in following section are
# specific to automotive use cases, others
# please do not change, keep the default values
##################################################
# AP Coarse Timestamp Uncertainty
##################################################
# default : 10
# AP time stamp uncertainty, until GNSS receiver
# is able to acquire better timing information
AP_TIMESTAMP_UNCERTAINTY = 10
#####################################
# DR_SYNC Pulse Availability
#####################################
# 0 : DR_SYNC pulse not available (default)
# 1 : DR_SYNC pulse available
# This configuration enables the driver to make use
# of PPS events generated by DR_SYNC pulse
# Standard Linux PPS driver needs to be enabled
DR_SYNC_ENABLED = 0
#####################################
# PPS Device name
#####################################
PPS_DEVICENAME = /dev/pps0
#####################################
# Ignore PPS at Startup and after long outage
#####################################
IGNORE_PPS_PULSE_COUNT = 1
#####################################
# Long GNSS RF outage in seconds
#####################################
GNSS_OUTAGE_DURATION = 10
#####################################
# AP Clock Accuracy
#####################################
# Quality of APPS processor clock (in PPM).
# Value specified is used for calculation of
# APPS time stamp uncertainty
AP_CLOCK_PPM = 100
#####################################
# MAX ms difference to detect missing pulse
#####################################
# Specifies time threshold in ms to validate any missing PPS pulses
MISSING_PULSE_TIME_DELTA = 900
#####################################
# Propagation time uncertainty
#####################################
# This settings enables time uncertainty propagation
# logic incase of missing PPS pulse
PROPAGATION_TIME_UNCERTAINTY = 1
#######################################
# APN / IP Type Configuration
# APN and IP Type to use for setting
# up WWAN call.
# Use below values for IP Type:
# v4 = 4
# v6 = 6
# v4v6 = 10
#######################################
# INTERNET_APN = abc.xyz
# INTERNET_IP_TYPE = 4
# SUPL_APN = abc.xyz
# SUPL_IP_TYPE = 4
#####################################
# Modem type
#####################################
# This setting configures modem type
# (external=0 or internal=1)
# comment out the next line to vote
# for the first modem in the list
MODEM_TYPE = 1
##################################################
# CONSTRAINED TIME UNCERTAINTY MODE
##################################################
# 0 : disabled (default)
# 1 : enabled
# This setting enables GPS engine to keep its time
# uncertainty below the specified constraint
#CONSTRAINED_TIME_UNCERTAINTY_ENABLED = 0
# If constrained time uncertainty mode is enabled,
# this setting specifies the time uncertainty
# threshold that gps engine need to maintain.
# In unit of milli-seconds.
# Default is 0.0 meaning that modem default value
# of time uncertainty threshold will be used.
#CONSTRAINED_TIME_UNCERTAINTY_THRESHOLD = 0.0
# If constrained time uncertainty mode is enabled,
# this setting specifies the power budget that
# gps engine is allowed to spend to maintain the time
# uncertainty.
# Default is 0 meaning that GPS engine is not constained
# by power budget and can spend as much power as needed.
# In unit of 0.1 milli watt second.
#CONSTRAINED_TIME_UNCERTAINTY_ENERGY_BUDGET = 0
##################################################
# POSITION ASSISTED CLOCK ESTIMATOR
##################################################
# 0 : disabled (default)
# 1 : enabled
# This setting enables GPS engine to estimate clock
# bias and drift when the signal from at least 1
# SV is available and the UE’s position is known by
# other position engines.
#POSITION_ASSISTED_CLOCK_ESTIMATOR_ENABLED = 0
#####################################
# proxyAppPackageName
#####################################
# This is a string that is sent to the framework
# in nfwNotifyCb callback
PROXY_APP_PACKAGE_NAME = com.sec.location.nfwlocationprivacy
#####################################
# CP_MTLR_ES
#####################################
# CP MTLR ES, 1=enable, 0=disable
CP_MTLR_ES=0
##################################################
# GNSS_DEPLOYMENT
##################################################
# 0 : Enable QTI GNSS (default)
# 1 : Enable QCSR SS5
# 2 : Enable PDS API
# This setting use to select between QTI GNSS,
# QCSR SS5 hardware receiver, and PDS API.
# By default QTI GNSS receiver is enabled.
# GNSS_DEPLOYMENT = 0
##################################################
## LOG BUFFER CONFIGURATION
##################################################
#LOG_BUFFER_ENABLED, 1=enable, 0=disable
#*_LEVEL_TIME_DEPTH, maximum time depth of level *
#in log buffer, unit is second
#*_LEVEL_MAX_CAPACITY, maximum numbers of level *
#log print sentences in log buffer
LOG_BUFFER_ENABLED = 0
E_LEVEL_TIME_DEPTH = 600
E_LEVEL_MAX_CAPACITY = 50
W_LEVEL_TIME_DEPTH = 500
W_LEVEL_MAX_CAPACITY = 100
I_LEVEL_TIME_DEPTH = 400
I_LEVEL_MAX_CAPACITY = 200
D_LEVEL_TIME_DEPTH = 30
D_LEVEL_MAX_CAPACITY = 300
V_LEVEL_TIME_DEPTH = 200
V_LEVEL_MAX_CAPACITY = 400
##################################################
# Allow buffer diag log packets when diag memory allocation
# fails during boot up time.
##################################################
BUFFER_DIAG_LOGGING = 1
#######################################
# NTRIP CLIENT LIBRARY NAME
#######################################
# NTRIP_CLIENT_LIB_NAME =
##################################################
# Correction Data Framework settings
# Default values:
# CDFW_SOURCE_PRIORITY_1 = INTERNAL_1 RTCM
# CDFW_INJECT_DATA_INTERVAL = 600000 //10 mins
# CDFW_RTCM_MESSAGE_INTERVAL = 1000 //1 second
#
# If multiple sources coexist on a PL,
# the prorioty sequence can be set by the integer number.
# PRIORITY_1 is higher than PRIORITY_2, for example,
# CDFW_SOURCE_PRIORITY_1 = INTERNAL_1 RTCM
# CDFW_SOURCE_PRIORITY_2 = CV2X RTCM
##################################################
##################################################
# RF LOSS
# The loss in 0.1 dbHz from the C/N0 at the antenna port
# These values must be configured by OEM if not
# supported in QMI LOC message
# There is one entry for each signal type
##################################################
RF_LOSS_GPS = 0
RF_LOSS_GPS_L5 = 0
RF_LOSS_GLO_LEFT = 0
RF_LOSS_GLO_CENTER = 0
RF_LOSS_GLO_RIGHT = 0
RF_LOSS_BDS = 0
RF_LOSS_BDS_B2A = 0
RF_LOSS_GAL = 0
RF_LOSS_GAL_E5 = 0
RF_LOSS_NAVIC = 0

@ -0,0 +1,5 @@
service vendor.bluetooth-1-0-qti /vendor/bin/hw/android.hardware.bluetooth@1.0-service-qti
class hal
user bluetooth
group bluetooth system wakelock oem_2901 net_raw
capabilities BLOCK_SUSPEND NET_ADMIN

@ -0,0 +1,26 @@
on property:init.svc.mediadrm=running
mkdir /data/vendor/mediadrm 0770 media mediadrm
start vendor.move_data_sh
service vendor.move_data_sh /system/bin/move_widevine_data.sh
class late_start
user media
group media mediadrm system
disabled
oneshot
service vendor.drm-widevine-hal-1-3 /vendor/bin/hw/android.hardware.drm@1.3-service.widevine
interface android.hardware.drm@1.0::ICryptoFactory widevine
interface android.hardware.drm@1.0::IDrmFactory widevine
interface android.hardware.drm@1.1::ICryptoFactory widevine
interface android.hardware.drm@1.1::IDrmFactory widevine
interface android.hardware.drm@1.2::ICryptoFactory widevine
interface android.hardware.drm@1.2::IDrmFactory widevine
interface android.hardware.drm@1.3::ICryptoFactory widevine
interface android.hardware.drm@1.3::IDrmFactory widevine
interface android.hidl.base@1.0::IBase widevine
class hal
user media
group media mediadrm drmrpc system
ioprio rt 4
writepid /dev/cpuset/foreground/tasks

@ -0,0 +1,4 @@
service gnss_service /vendor/bin/hw/android.hardware.gnss@2.1-service-qti
class hal
user system
group system gps radio vendor_qti_diag

@ -0,0 +1,6 @@
service health-hal-2-1-samsung /vendor/bin/hw/android.hardware.health@2.1-service-samsung
class hal charger
user system
group system
capabilities WAKE_ALARM
file /dev/kmsg w

@ -0,0 +1,14 @@
# Copyright (c) 2019-2020 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
service neuralnetworks_hal_service /vendor/bin/hw/android.hardware.neuralnetworks@1.3-service-qti
class hal
user system
group system
writepid /dev/stune/nnapi-hal/tasks
#Below changes moved from init.target.rc as part of go/FR53051
on post-fs-data
mkdir /data/vendor/nnhal 0700 system system

@ -0,0 +1,13 @@
# Copyright (c) 2019 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
# Create the directories used by DPM subsystem
#start dataadpl service
service vendor.dataadpl /system/vendor/bin/adpl
class main
user radio
socket adpl_cmd_uds_file dgram 660 radio radio
group radio oem_2901 diag usb inet
disabled

@ -0,0 +1,11 @@
#! /vendor/etc/init
#=============================================================================
# Copyright (c) 2020 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#=============================================================================
on early-init
# Set ro.boot.product.vendor.sku to soc_name
exec u:r:vendor_qti_init_shell:s0 -- /vendor/bin/init.qti.qcv.sh
setprop ro.boot.product.vendor.sku ${ro.vendor.qti.soc_name}

@ -0,0 +1,25 @@
#
# Copyright (c) 2019 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
on post-fs-data && property:ro.crypto.state=encrypted && property:ro.crypto.type=file
start time_daemon
service time_daemon /vendor/bin/time_daemon
class main
user system
group system readproc
capabilities SYS_TIME
service time_client /vendor/bin/time_client
class main
user system
group system
oneshot
disabled
on property:sys.shutdown.requested=*
start time_client

@ -0,0 +1,17 @@
#! /bin/sh
#
#Copyright (c) 2019 Qualcomm Technologies, Inc.
#All Rights Reserved.
#Confidential and Proprietary - Qualcomm Technologies, Inc.
#
#Copyright (c) 2013-2018, The Linux Foundation. All rights reserved.
#
service thermal-engine /vendor/bin/thermal-engine
class main
user root
group root
socket thermal-send-client stream 0660 system oem_2907
socket thermal-recv-client stream 0660 system oem_2907
socket thermal-recv-passive-client stream 0660 system oem_2907
socket thermal-send-rule stream 0660 system oem_2907

@ -0,0 +1,8 @@
# Copyright (c) 2019-2020 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
on early-boot
write /dev/ipa 1

@ -0,0 +1,16 @@
# Copyright (c) 2019 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
# msm specific files that need to be created on /data
on post-fs-data
#create ipacm-diag log dir
mkdir /data/vendor/ipa 0770 radio radio
chmod 0770 /data/vendor/ipa
service vendor.ipacm-diag /system/vendor/bin/ipacm-diag
class main
user radio
socket ipacm_log_file dgram 660 radio radio
group radio diag oem_2901

@ -0,0 +1,77 @@
# Copyright (c) 2019-2021 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
on boot
#Create NETMGR daemon socket area
mkdir /dev/socket/netmgr 0750 radio radio
#Assign TCP buffer thresholds to be ceiling value of technology maximums
#Increased technology maximums should be reflected here.
write /proc/sys/net/core/rmem_max 33554432
write /proc/sys/net/core/wmem_max 16777216
#Load rmnet_core driver
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules rmnet_ctl
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules rmnet_core
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules/5.4-gki rmnet_ctl
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules/5.4-gki rmnet_core
# msm specific files that need to be created on /data
on post-fs-data
#Create NETMGR daemon log dir
mkdir /data/vendor/netmgr 0770 radio radio
chmod 0770 /data/vendor/netmgr
# Create netmgr recovery folder
mkdir /data/vendor/netmgr/recovery 0700 radio radio
chmod 0770 /data/vendor/netmgr/recovery
write /data/vendor/netmgr/recovery/recovery_info ""
chown radio radio /data/vendor/netmgr/recovery/recovery_info
# Manage netmgrd based on value of property
on property:persist.vendor.data.mode=disabled
stop vendor.netmgrd
service vendor.netmgrd /system/vendor/bin/netmgrd
class main
on property:ro.vendor.use_data_netmgrd=false
# netmgr not supported on specific target
stop vendor.netmgrd
on property:ro.baseband=apq
stop vendor.netmgrd
on property:persist.vendor.data.shs_ko_load=1
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules rmnet_shs
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules/5.4-gki rmnet_shs
on property:persist.vendor.data.shs_ko_load=0
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -r -d /vendor/lib/modules rmnet_shs
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -r -d /vendor/lib/modules/5.4-gki rmnet_shs
on property:persist.vendor.data.perf_ko_load=3
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -d /vendor/lib/modules rmnet_perf rmnet_perf_ingress_deag=N
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -d /vendor/lib/modules/5.4-gki rmnet_perf rmnet_perf_ingress_deag=N
on property:persist.vendor.data.perf_ko_load=2
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -d /vendor/lib/modules rmnet_perf rmnet_perf_opt_mode="udp"
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -d /vendor/lib/modules/5.4-gki rmnet_perf rmnet_perf_opt_mode="udp"
on property:persist.vendor.data.perf_ko_load=1
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules rmnet_perf
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules/5.4-gki rmnet_perf
on property:persist.vendor.data.perf_ko_load=0
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -r -d /vendor/lib/modules rmnet_perf
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -r -d /vendor/lib/modules/5.4-gki rmnet_perf
on property:persist.vendor.data.offload_ko_load=1
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules rmnet_offload
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules/5.4-gki rmnet_offload
on property:persist.vendor.data.offload_ko_load=0
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -r -d /vendor/lib/modules rmnet_offload
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -r -d /vendor/lib/modules/5.4-gki rmnet_offload

@ -0,0 +1,12 @@
service qdcmss /vendor/bin/qdcmss
class late_start
user system
group system graphics
socket qdcmsocket stream 0660 system adb
disabled
on property:vendor.display.qdcm_socket_service=1
start qdcmss
on property:vendor.display.qdcm_socket_service=0
stop qdcmss

@ -0,0 +1,12 @@
# Copyright (c) 2019 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
on init
wait /dev/qseecom
start vendor.qseecomd
service vendor.qseecomd /vendor/bin/qseecomd
class core
user root
group root

@ -0,0 +1,4 @@
service display-color-hal-1-0 /vendor/bin/hw/vendor.display.color@1.0-service
class hal
user system
group system

@ -0,0 +1,42 @@
# Copyright (c) 2019 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
#
# Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following
# disclaimer in the documentation and/or other materials provided
# with the distribution.
# * Neither the name of The Linux Foundation nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
service vendor.adsprpcd /vendor/bin/adsprpcd
class main
user system
group media
service vendor.adsprpcd_audiopd /vendor/bin/adsprpcd audiopd
class main
user media
group media

@ -0,0 +1,40 @@
# Copyright (c) 2019 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
#
# Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following
# disclaimer in the documentation and/or other materials provided
# with the distribution.
# * Neither the name of The Linux Foundation nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
service vendor.cdsprpcd /vendor/bin/cdsprpcd
class main
user system
group system
on property:vendor.fastrpc.disable.cdsprpcd.daemon=1
stop vendor.cdsprpcd

@ -0,0 +1,8 @@
# Copyright (c) 2019 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
service vendor.capabilityconfigstore /vendor/bin/hw/vendor.qti.hardware.capabilityconfigstore@1.0-service
class hal
user system
group system

@ -0,0 +1,13 @@
# Copyright (c) 2020 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
service vendor.dspservice /vendor/bin/dspservice
class hal
user system
group system wakelock oem_2908
capabilities BLOCK_SUSPEND
interface vendor.qti.hardware.dsp@1.0::IDspService dspservice
# uncomment below to disable service at boot
# disabled

@ -0,0 +1,17 @@
# @file io-p.c
# @brief Defination for iop service
#
# DESCRIPTION
# ---------------------------------------------------------------------------
# Copyright (c) 2011-2017 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
# ---------------------------------------------------------------------------
service iop-hal-2-0 /vendor/bin/hw/vendor.qti.hardware.iop@2.0-service
interface vendor.qti.hardware.iop@2.0::IIop default
oneshot
disabled
class hal
user root
group root readproc

@ -0,0 +1,13 @@
# @file vendor.qti.hardware.perf@2.2-service.rc
# @brief Defination perf service
#
# DESCRIPTION
# ---------------------------------------------------------------------------
# Copyright (c) 2019-2020 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
# ---------------------------------------------------------------------------
service perf-hal-2-2 /vendor/bin/hw/vendor.qti.hardware.perf@2.2-service
class hal
user root
group root readproc oem_2907

@ -0,0 +1,14 @@
#
# Copyright (c) 2019 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
#
on init
start qseecom-service
service qseecom-service /vendor/bin/hw/vendor.qti.hardware.qseecom@1.0-service
class hal
user system
group system drmrpc

@ -0,0 +1,4 @@
service tui_comm-1-0 /vendor/bin/hw/vendor.qti.hardware.tui_comm@1.0-service-qti
class hal
user system
group system drmrpc

@ -0,0 +1,11 @@
#
# Copyright (c) 2019 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
service vendor.rmt_storage /vendor/bin/rmt_storage
class core
user root
shutdown critical
ioprio rt 0

@ -0,0 +1,13 @@
#
# Copyright (c) 2019 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
# Create pddump directory
on post-fs-data
mkdir /data/vendor/pddump 0770 oem_2903 oem_2903
service vendor.tftp_server /vendor/bin/tftp_server
class core
user root

@ -0,0 +1,13 @@
service sec-thermal-1-0 /vendor/bin/hw/vendor.samsung.hardware.thermal@1.0-service
class hal
user system
group system
on property:init.svc.zygote=restarting
restart sec-thermal-1-0
on property:sys.boot_completed=*
setprop vendor.thermal.bt_completed ${sys.boot_completed}
on property:debug.btcon.disable=*
setprop persist.vendor.btcon.disable ${debug.btcon.disable}

@ -0,0 +1,37 @@
# Copyright (c) 2019 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
# Copyright (c) 2009-2012, 2014-2019, The Linux Foundation. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# # Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# # Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# # Neither the name of The Linux Foundation nor
# the names of its contributors may be used to endorse or promote
# products derived from this software without specific prior written
# permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
service vendor.sensors /vendor/bin/sscrpcd sensorspd
class early_hal
user system
group system wakelock
capabilities BLOCK_SUSPEND
shutdown critical

@ -0,0 +1,276 @@
#########################################
# Log verbosity control for izat modules
#########################################
# OFF = 0, ERROR = 1, WARNING = 2, INFO = 3, DEBUG = 4, VERBOSE = 5