sdm660-common: Checkout Proprietary Blobs From R-CAF

- LA.UM.9.12.r1-10800-SMxx50.0
     - Alarm, ANT+, Bluetooth, Bluetooth-Audio, CNE, Connection Security, Data, Diag, DPM
     - ESE-Powermanager, FM, IMS, Latency, PD, Peripheral manager, QCC VND HAL, QCRIL, QCC-TR-UI, QDMA, QMI
     - RemoteFS, Soter, TFTP, SMC Invoke, Time Services, Wifi

- LA.UM.9.6.2.r1-03600-89xx.0
     - DRM, DRM-Qteeconnector, TUI, WFD
     - Add QSEEcom Hal

- LA.QSSI.11.0.r1*
     - FM, Telephony (System)

Signed-off-by: Kunmun <kunmun.devroms@gmail.com>
This commit is contained in:
pranavkapoor001
2021-09-30 00:56:40 +05:30
committed by Kunmun
parent 7fb4d1a1bf
commit 2df38515e7
583 changed files with 2307 additions and 978 deletions
+17
View File
@@ -0,0 +1,17 @@
#configuration parameters for Multi-network Wireless Quality Estimation and Management.
#Number of previous latency iterations to track to decide the better LQS interface
latency_count:3
#Threshold in ms to decide the better interface for LQS.
latency_threshold:10
#Number of tcp connections to be established in each latency session
max_tcp_connects:3
#Max waiting time for a dns query to be resolved
dns_timeout:9
#Minimum change in mwqem ratio to update the new LQA ratio
lqa_update_threshold:0.25
#Timer in msec to track the lqs updates. Only one update will be allowed
#in this duration
lqa_update_count_timer:10000
#default URL for establishing a tcp sessions
mwqem_http_url:www.qualcomm.com
-17
View File
@@ -1,17 +0,0 @@
#configuration parameters for Smart Link Management.
#Number of previous latency iterations to track to decide the better SLS interface
latency_count:3
#Threshold in ms to decide the better interface for SLS.
latency_threshold:10
#Number of tcp connections to be established in each latency session
max_tcp_connects:3
#Max waiting time for a dns query to be resolved
dns_timeout:9
#Minimum change in slm ratio to update the new SLA ratio
sla_update_threshold:0.25
#Timer in msec to track the sls updates. Only one update will be allowed
#in this duration
sla_update_count_timer:10000
#default URL for establishing a tcp sessions
slm_http_url:www.qualcomm.com
+1 -1
View File
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
DSI Module configuration XML file
Copyright (c) 2013, 2015, 2017-2019 Qualcomm Technologies, Inc.
Copyright (c) 2013, 2015, 2017-2020 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
@@ -3116,6 +3116,7 @@
<data name="rmnet_shs" type="int"> 1 </data>
<data name="uplink_priority" type="int"> 1 </data>
<data name="iwlan_concurrency" type="int"> 1 </data>
<data name="nl_xfrm" type="int"> 1 </data>
<data name="netdev_max_backlog" type="int"> 100000 </data>
<data name="debug_netdev_max_backlog" type="int"> 1500 </data>
@@ -13,6 +13,7 @@ It allows additional grants on top of privapp-permissions-platform.xml
<exceptions>
<exception package="com.qualcomm.qti.cne">
<permission name="android.permission.ACCESS_COARSE_LOCATION" fixed="false"/>
<permission name="android.permission.READ_PHONE_STATE" fixed="false"/>
</exception>
</exceptions>
@@ -1,5 +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
group bluetooth system wakelock oem_2901 net_raw
capabilities BLOCK_SUSPEND NET_ADMIN
@@ -1,2 +0,0 @@
on property:ro.board.platform=msmnile && property:ro.baseband=msm && property:ro.vendor.qti.va_aosp.support=1
setprop ro.telephony.iwlan_operation_mode "legacy"
@@ -0,0 +1,16 @@
# Copyright (c) 2019-2020 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
on post-fs-data
# create QDMA dropbox
mkdir /data/vendor/qdmastats 0700 system system
mkdir /data/vendor/qdma 0770 system system
#mkdir /dev/socket/qdma 0777 system system
#chmod 2777 /dev/socket/qdma
service vendor.qcc-trd /system/vendor/bin/qcc-trd
class late_start
user system
group everybody readproc system net_bw_stats radio vendor_rfs_shared sdcard_rw media_rw sdcard_r
-8
View File
@@ -1,8 +0,0 @@
# Copyright (c) 2019-2020 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
on early-boot
write /dev/ipa 1
+16
View File
@@ -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
+6
View File
@@ -0,0 +1,6 @@
service vendor.mutualex /vendor/bin/mutualex
class main
user radio
group radio wakelock wifi inet
capabilities BLOCK_SUSPEND
oneshot
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2020 Qualcomm Technologies, Inc.
# Copyright (c) 2019-2021 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
@@ -0,0 +1,7 @@
# Copyright (c) 2020 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
on boot
write /data/vendor/qmipriod/log.txt ""
chown radio radio /data/vendor/qmipriod/log.txt
+20
View File
@@ -0,0 +1,20 @@
# Copyright (c) 2020 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
service vendor.qmipriod /system/vendor/bin/qmipriod
class main
user radio
group radio
disabled
on property:persist.vendor.data.qmipriod_load=1
start vendor.qmipriod
on property:persist.vendor.data.qmipriod_load=0
stop vendor.qmipriod
on post-fs-data
#Create logging directory
mkdir /data/vendor/qmipriod 0770 radio radio
chmod 0770 /data/vendor/qmipriod
+21
View File
@@ -0,0 +1,21 @@
# Copyright (c) 2019 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
# Create the directories used by qwes
on post-fs-data
mkdir /data/vendor/qwes 0755 system system
# Start daemon after boot completed
on property:sys.boot_completed=1
start vendor.ssgtzd
# Used 'disabled' flag, so daemon won't be started until explicit start
service vendor.ssgtzd /vendor/bin/ssgtzd
class late_start
user system
group system
disabled
socket ssgtzd stream 0660 system inet
socket qwes_ipc stream 0660 system inet
@@ -1,4 +0,0 @@
service qti_esepowermanager_service /vendor/bin/hw/vendor.qti.esepowermanager@1.0-service
class hal
user system
group nfc system
@@ -0,0 +1,10 @@
#
# Copyright (c) 2017-2018, 2020 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
service qti_esepowermanager_service_1_1 /vendor/bin/hw/vendor.qti.esepowermanager@1.1-service
class hal
user system
group nfc system
@@ -0,0 +1,15 @@
#
# Copyright (c) 2020 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
on post-fs-data
# create QDMA shard dropbox
mkdir /data/vendor/qdma/shared 0770 system system
mkdir /data/vendor/qdma/shared/3 0770 system system
service qccvndhalservice /vendor/bin/hw/vendor.qti.hardware.qccvndhal@1.0-service
class hal
user system
group system
@@ -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,80 @@
# Copyright (c) 2020 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc
#
# Not a contribution.
#
# 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.
mmap: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
munmap: 1
mprotect: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
#prctl: arg0 == 0x37 /* PR_??? */ || arg0 == PR_SET_VMA || arg0 == PR_GET_DUMPABLE || arg0 == PR_SET_SECCOMP || arg0 == PR_CAP_AMBIENT || arg0 == PR_GET_NO_NEW_PRIVS || arg0 == PR_SET_DUMPABLE || arg0 == PR_GET_NAME || arg0 == PR_SET_PTRACER
prctl: 1
openat: 1
read: 1
futex: 1
close: 1
fstat: 1
readlinkat: 1
newfstatat: 1
mremap: 1
fstatfs: 1
pread64: 1
rt_sigprocmask: 1
rt_sigaction: 1
faccessat: 1
#ioctl: arg1 == _IOC(_IOC_NONE
ioctl: 1
clock_gettime: 1
getrandom: 1
nanosleep: 1
fcntl: 1
getuid: 1
sigaltstack: 1
socket: arg0 == AF_QIPCRTR || arg0 == AF_UNIX
writev: 1
execve: 1
getpid: 1
set_tid_address: 1
sched_getscheduler: 1
sigaltstack: 1
sched_getaffinity: 1
connect: 1
pipe2: 1
clone: 1
ppoll: 1
restart_syscall: 1
exit: 1
exit_group: 1
rt_sigreturn: 1
rt_tgsigqueueinfo: 1
getppid: 1
dup: 1
capget: 1
capset: 1
setsid: 1
setitimer: 1
ptrace: 1
recvmsg: 1
exit: 1
restart_syscall: 1
gettid: 1
write: 1
dup3: 1
getdents64: 1
getsockname: 1
recvfrom: 1
madvise: 1
+19
View File
@@ -0,0 +1,19 @@
/********************************************************************
Copyright (c) 2018-19 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
*********************************************************************/
{
"embedded_ta_images": [
{ "name":"qwes"},
{ "name":"tzsc"}
],
"ta_images": [
{ "path":"/vendor/firmware_mnt/image/qwes.mbn"},
{ "path":"/vendor/firmware/image/qwes.mbn"},
{ "path":"/vendor/firmware_mnt/image/haventkn.mbn"},
{ "path":"/vendor/firmware/image/haventkn.mbn"},
{ "path":"/vendor/firmware_mnt/image/tzsc.mbn"},
{ "path":"/vendor/firmware_mnt/image/rtice.mbn"}
]
}
@@ -0,0 +1,34 @@
/********************************************************************
Copyright (c) 2018 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
*********************************************************************/
/*
* Configure class Ids available to third-party apps that try to
* communicate with TZ. The rules defined here are used by
* com.qualcomm.qti.qms.service.TrustZoneAccess to determine
* what classes are available to clients.
*
* For Example -
* { "classId":"80", "name":"I Need Location TA", "permissions":[ "android.permission.ACCESS_FINE_LOCATION" ] },
* classId: The class ID that a TA is assigned.
* name: The name of that TA. This is only a placeholder for now.
* permissions: A list of Android permissions that a client must have to use this TA.
*/
{
"whitelist": [
{ "classId":"3", "name":"App Loader", "permissions":[] },
{ "classId":"34", "name":"PVC License", "permissions":[] },
{ "classId":"62", "name":"Device Attestation", "permissions":[] },
{ "classId":"78", "name":"Haven Token", "permissions":[] },
{ "classId":"70", "name":"RTIC App", "permissions":[] },
{ "classId":"71", "name":"RTICe App", "permissions":[] },
{ "classId":"101", "name":"Celluar Security Measures", "permissions":[] },
{ "classId":"102", "name":"SCPassThrough", "permissions":[] },
{ "classId":"119", "name":"Platform Feature Management", "permissions":[] },
{ "classId":"146", "name":"TLOC Service", "permissions":[] }
]
}