sm8250-common: Sort and reorganize blob list
Signed-off-by: ata-kaner <ata.kaner03@gmail.com>
This commit is contained in:
Binary file not shown.
BIN
Binary file not shown.
@@ -0,0 +1,48 @@
|
||||
#! /vendor/bin/sh
|
||||
|
||||
#
|
||||
# Copyright (c) 2019-2020 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
# Copyright (c) 2019 The Linux Foundation. All rights reserved.
|
||||
#
|
||||
|
||||
export PATH=/vendor/bin
|
||||
|
||||
soc_id=`getprop ro.vendor.qti.soc_id`
|
||||
if [ "$soc_id" -eq 415 ] || [ "$soc_id" -eq 439 ] || [ "$soc_id" -eq 450 ]; then
|
||||
setprop persist.vendor.hvdcp_opti.start 2
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ "$soc_id" -eq 441 ] || [ "$soc_id" -eq 471 ]; then
|
||||
#Scuba does not support usb-pd or charge pumps
|
||||
find /sys/class/power_supply/battery/ -type f | xargs chown system.system
|
||||
find /sys/class/power_supply/bms/ -type f | xargs chown system.system
|
||||
find /sys/class/power_supply/main/ -type f | xargs chown system.system
|
||||
find /sys/class/power_supply/usb/ -type f | xargs chown system.system
|
||||
else
|
||||
find /sys/class/power_supply/battery/ -type f | xargs chown system.system
|
||||
find /sys/class/power_supply/bms/ -type f | xargs chown system.system
|
||||
find /sys/class/power_supply/main/ -type f | xargs chown system.system
|
||||
find /sys/class/power_supply/usb/ -type f | xargs chown system.system
|
||||
find /sys/class/power_supply/charge_pump_master/ -type f | xargs chown system.system
|
||||
find /sys/class/power_supply/pc_port/ -type f | xargs chown system.system
|
||||
find /sys/class/power_supply/dc/ -type f | xargs chown system.system
|
||||
find /sys/class/power_supply/parallel/ -type f | xargs chown system.system
|
||||
find /sys/class/usbpd/usbpd0/ -type f | xargs chown system.system
|
||||
find /sys/class/qc-vdm/ -type f | xargs chown system.system
|
||||
find /sys/class/charge_pump/ -type f | xargs chown system.system
|
||||
find /sys/class/qcom-battery/ -type f | xargs chown system.system
|
||||
|
||||
for i in 0 1 2 3 4 5 6 7 8 9
|
||||
do
|
||||
devname=`cat /sys/bus/iio/devices/iio:device$i/name`
|
||||
if [[ "$devname" == *smb* ]] || [[ "$devname" == *qg* ]] || [[ "$devname" == *div2_cp* ]]; then
|
||||
find /sys/bus/iio/devices/iio:device$i/ -type f | xargs chown system.system
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
setprop persist.vendor.hvdcp_opti.start 1
|
||||
@@ -0,0 +1,19 @@
|
||||
#! /vendor/bin/sh
|
||||
#=============================================================================
|
||||
# Copyright (c) 2020 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#=============================================================================
|
||||
|
||||
soc_id=`cat /sys/devices/soc0/soc_id` 2> /dev/null
|
||||
|
||||
# Store soc_id in ro.vendor.qti.soc_id
|
||||
setprop ro.vendor.qti.soc_id $soc_id
|
||||
|
||||
# For chipsets in QCV family, convert soc_id to soc_name
|
||||
# and store it in ro.vendor.qti.soc_name.
|
||||
if [ "$soc_id" -eq 415 ] || [ "$soc_id" -eq 439 ] || [ "$soc_id" -eq 456 ]; then
|
||||
setprop ro.vendor.qti.soc_name lahaina
|
||||
elif [ "$soc_id" -eq 450 ]; then
|
||||
setprop ro.vendor.qti.soc_name shima
|
||||
fi
|
||||
-17
@@ -1,17 +0,0 @@
|
||||
[
|
||||
{
|
||||
"temp": 360, "freq": -1
|
||||
},
|
||||
{
|
||||
"temp": 380, "freq": 1500000
|
||||
},
|
||||
{
|
||||
"temp": 400, "freq": 1200000
|
||||
},
|
||||
{
|
||||
"temp": 420, "freq": 1000000
|
||||
},
|
||||
{
|
||||
"temp": 440, "freq": 850000
|
||||
}
|
||||
]
|
||||
-14
@@ -1,14 +0,0 @@
|
||||
service vendor.drm-clearkey-hal-1-3 /vendor/bin/hw/android.hardware.drm@1.3-service.clearkey
|
||||
interface android.hardware.drm@1.0::ICryptoFactory clearkey
|
||||
interface android.hardware.drm@1.0::IDrmFactory clearkey
|
||||
interface android.hardware.drm@1.1::ICryptoFactory clearkey
|
||||
interface android.hardware.drm@1.1::IDrmFactory clearkey
|
||||
interface android.hardware.drm@1.2::ICryptoFactory clearkey
|
||||
interface android.hardware.drm@1.2::IDrmFactory clearkey
|
||||
interface android.hardware.drm@1.3::ICryptoFactory clearkey
|
||||
interface android.hardware.drm@1.3::IDrmFactory clearkey
|
||||
class hal
|
||||
user media
|
||||
group media mediadrm
|
||||
ioprio rt 4
|
||||
writepid /dev/cpuset/foreground/tasks
|
||||
@@ -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}
|
||||
Binary file not shown.
-23
@@ -1,23 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2019 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.
|
||||
-->
|
||||
<manifest version="1.0" type="device">
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.drm</name>
|
||||
<transport>hwbinder</transport>
|
||||
<fqname>@1.3::ICryptoFactory/clearkey</fqname>
|
||||
<fqname>@1.3::IDrmFactory/clearkey</fqname>
|
||||
</hal>
|
||||
</manifest>
|
||||
Vendored
BIN
Binary file not shown.
Binary file not shown.
BIN
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.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
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.
BIN
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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
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.
BIN
Binary file not shown.
BIN
Binary file not shown.
Reference in New Issue
Block a user