tangorpro: Initialize for Evolution X 11.x (BP2A.250705.008)
Signed-off-by: AnierinB <anierin@evolution-x.org>
This commit is contained in:
commit
2d42cd823c
497 changed files with 75280 additions and 0 deletions
BIN
proprietary/vendor/apex/com.google.android.widevine-13130248.apex
vendored
Normal file
BIN
proprietary/vendor/apex/com.google.android.widevine-13130248.apex
vendored
Normal file
Binary file not shown.
BIN
proprietary/vendor/apex/com.google.pixel.camera.hal.apex
vendored
Normal file
BIN
proprietary/vendor/apex/com.google.pixel.camera.hal.apex
vendored
Normal file
Binary file not shown.
BIN
proprietary/vendor/apex/com.google.pixel.wifi.ext.apex
vendored
Normal file
BIN
proprietary/vendor/apex/com.google.pixel.wifi.ext.apex
vendored
Normal file
Binary file not shown.
BIN
proprietary/vendor/bin/aocd
vendored
Executable file
BIN
proprietary/vendor/bin/aocd
vendored
Executable file
Binary file not shown.
BIN
proprietary/vendor/bin/aocxd
vendored
Executable file
BIN
proprietary/vendor/bin/aocxd
vendored
Executable file
Binary file not shown.
BIN
proprietary/vendor/bin/hw/android.hardware.authsecret-service.citadel
vendored
Executable file
BIN
proprietary/vendor/bin/hw/android.hardware.authsecret-service.citadel
vendored
Executable file
Binary file not shown.
BIN
proprietary/vendor/bin/hw/android.hardware.biometrics.fingerprint-service.fpc42
vendored
Executable file
BIN
proprietary/vendor/bin/hw/android.hardware.biometrics.fingerprint-service.fpc42
vendored
Executable file
Binary file not shown.
BIN
proprietary/vendor/bin/hw/android.hardware.bluetooth@1.1-service.synabtlinux
vendored
Executable file
BIN
proprietary/vendor/bin/hw/android.hardware.bluetooth@1.1-service.synabtlinux
vendored
Executable file
Binary file not shown.
BIN
proprietary/vendor/bin/hw/android.hardware.composer.hwc3-service.pixel
vendored
Executable file
BIN
proprietary/vendor/bin/hw/android.hardware.composer.hwc3-service.pixel
vendored
Executable file
Binary file not shown.
BIN
proprietary/vendor/bin/hw/android.hardware.contexthub-service.generic
vendored
Executable file
BIN
proprietary/vendor/bin/hw/android.hardware.contexthub-service.generic
vendored
Executable file
Binary file not shown.
BIN
proprietary/vendor/bin/hw/android.hardware.drm-service.castkey
vendored
Executable file
BIN
proprietary/vendor/bin/hw/android.hardware.drm-service.castkey
vendored
Executable file
Binary file not shown.
BIN
proprietary/vendor/bin/hw/android.hardware.edgetpu.logging@service-edgetpu-logging
vendored
Executable file
BIN
proprietary/vendor/bin/hw/android.hardware.edgetpu.logging@service-edgetpu-logging
vendored
Executable file
Binary file not shown.
BIN
proprietary/vendor/bin/hw/android.hardware.graphics.allocator-V2-service
vendored
Executable file
BIN
proprietary/vendor/bin/hw/android.hardware.graphics.allocator-V2-service
vendored
Executable file
Binary file not shown.
BIN
proprietary/vendor/bin/hw/android.hardware.gxp.logging@service-gxp-logging
vendored
Executable file
BIN
proprietary/vendor/bin/hw/android.hardware.gxp.logging@service-gxp-logging
vendored
Executable file
Binary file not shown.
BIN
proprietary/vendor/bin/hw/android.hardware.input.processor-service
vendored
Executable file
BIN
proprietary/vendor/bin/hw/android.hardware.input.processor-service
vendored
Executable file
Binary file not shown.
BIN
proprietary/vendor/bin/hw/android.hardware.memtrack-service.pixel
vendored
Executable file
BIN
proprietary/vendor/bin/hw/android.hardware.memtrack-service.pixel
vendored
Executable file
Binary file not shown.
BIN
proprietary/vendor/bin/hw/android.hardware.neuralnetworks@service-darwinn-aidl
vendored
Executable file
BIN
proprietary/vendor/bin/hw/android.hardware.neuralnetworks@service-darwinn-aidl
vendored
Executable file
Binary file not shown.
BIN
proprietary/vendor/bin/hw/android.hardware.oemlock-service.citadel
vendored
Executable file
BIN
proprietary/vendor/bin/hw/android.hardware.oemlock-service.citadel
vendored
Executable file
Binary file not shown.
BIN
proprietary/vendor/bin/hw/android.hardware.qorvo.uwb.service
vendored
Executable file
BIN
proprietary/vendor/bin/hw/android.hardware.qorvo.uwb.service
vendored
Executable file
Binary file not shown.
BIN
proprietary/vendor/bin/hw/android.hardware.security.keymint-service.citadel
vendored
Executable file
BIN
proprietary/vendor/bin/hw/android.hardware.security.keymint-service.citadel
vendored
Executable file
Binary file not shown.
BIN
proprietary/vendor/bin/hw/android.hardware.weaver-service.citadel
vendored
Executable file
BIN
proprietary/vendor/bin/hw/android.hardware.weaver-service.citadel
vendored
Executable file
Binary file not shown.
BIN
proprietary/vendor/bin/hw/battery_mitigation
vendored
Executable file
BIN
proprietary/vendor/bin/hw/battery_mitigation
vendored
Executable file
Binary file not shown.
BIN
proprietary/vendor/bin/hw/citadel_updater
vendored
Executable file
BIN
proprietary/vendor/bin/hw/citadel_updater
vendored
Executable file
Binary file not shown.
BIN
proprietary/vendor/bin/hw/citadeld
vendored
Executable file
BIN
proprietary/vendor/bin/hw/citadeld
vendored
Executable file
Binary file not shown.
BIN
proprietary/vendor/bin/hw/com.google.edgetpu.tachyon-service
vendored
Executable file
BIN
proprietary/vendor/bin/hw/com.google.edgetpu.tachyon-service
vendored
Executable file
Binary file not shown.
BIN
proprietary/vendor/bin/hw/google.hardware.media.c2@1.0-service
vendored
Executable file
BIN
proprietary/vendor/bin/hw/google.hardware.media.c2@1.0-service
vendored
Executable file
Binary file not shown.
261
proprietary/vendor/bin/hw/init_citadel
vendored
Executable file
261
proprietary/vendor/bin/hw/init_citadel
vendored
Executable file
|
@ -0,0 +1,261 @@
|
|||
#!/vendor/bin/sh
|
||||
#
|
||||
# Copyright 2020 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.
|
||||
|
||||
# This script automates Dauntless firmware updates
|
||||
#
|
||||
# We use the name "dauntless" in the source for clarity, but keep "citadel" on
|
||||
# the target so we don't have to change all the factory scripts.
|
||||
|
||||
set -u
|
||||
|
||||
# There are multiple pre-production images, so we have to pick the right one
|
||||
FWDIR=/vendor/firmware/dauntless
|
||||
|
||||
# Update tool
|
||||
UPDATER=/vendor/bin/hw/citadel_updater
|
||||
|
||||
# Log messages to both logcat and the shell
|
||||
LOG_TAG=init_citadel
|
||||
|
||||
log_info() {
|
||||
log -p i -t "${LOG_TAG}" "$1"
|
||||
echo "$1" >&2
|
||||
}
|
||||
|
||||
log_error() {
|
||||
log -p e -t "${LOG_TAG}" "$1"
|
||||
echo "$1" >&2
|
||||
}
|
||||
|
||||
die() {
|
||||
log_error "fatal: $1"
|
||||
exit 1
|
||||
}
|
||||
|
||||
get_running_version() {
|
||||
# See what's running now
|
||||
log_info "Checking RW firmware version..."
|
||||
version=$(${UPDATER} -vv)
|
||||
status=$?
|
||||
if [[ $status -ne 0 ]] ; then
|
||||
log_error "Failed to get RW firmware version"
|
||||
return 1
|
||||
fi
|
||||
log_info "Running RW version: ${version}"
|
||||
echo "$version"
|
||||
}
|
||||
|
||||
log_ro_version() {
|
||||
log_info "Checking RO firmware version..."
|
||||
version=$(${UPDATER} -l | grep RO_)
|
||||
status=$?
|
||||
if [[ $status -ne 0 ]] ; then
|
||||
log_error "Failed to get RO firmware version"
|
||||
return 0
|
||||
fi
|
||||
log_info "${version}"
|
||||
}
|
||||
|
||||
find_image_file() {
|
||||
version="$1"
|
||||
|
||||
# There are several flavors of dauntless chips and they're all signed
|
||||
# differently. If we have multiple images to choose from, we'll try to pick
|
||||
# the image that matches the running firmware.
|
||||
|
||||
# The -vv option will try to identify the flavor. If it can, it will append
|
||||
# a /FLAVOR string to the version string.
|
||||
flavor=$(echo $version | cut -d/ -f3)
|
||||
# For node-locked images we have to let the chip tell us
|
||||
[[ -z "$flavor" ]] &&
|
||||
flavor=$(${UPDATER} -l | grep Chip | sed -e 's/^.*(//' -e 's/).*//')
|
||||
# Look for a matching image name
|
||||
[[ -n "$flavor" ]] && log_info "Flavor: $flavor" &&
|
||||
[[ -f "$FWDIR/$flavor.ec.bin" ]] &&
|
||||
fwbin="$FWDIR/$flavor.ec.bin"
|
||||
# Look for the default if no flavor known or image available
|
||||
[[ -z "${fwbin:-}" ]] && [[ -f "$FWDIR/ec.bin" ]] &&
|
||||
fwbin="$FWDIR/ec.bin"
|
||||
# Still nothing? That's not right
|
||||
if [[ -z "${fwbin:-}" ]]; then
|
||||
log_info "Couldn't find a firmware image to upload"
|
||||
return 1;
|
||||
fi
|
||||
log_info "Image file: $fwbin"
|
||||
echo "$fwbin"
|
||||
}
|
||||
|
||||
is_newer_ro() {
|
||||
fwbin="$1"
|
||||
|
||||
file_is_newer=$(${UPDATER} --is_newer_ro "$fwbin")
|
||||
status=$?
|
||||
if [[ $status -ne 0 ]] ; then
|
||||
log_error "Failed to compare running RO with file"
|
||||
return 1
|
||||
fi
|
||||
|
||||
log_info "Is RO in file newer: $file_is_newer"
|
||||
echo "$file_is_newer";
|
||||
}
|
||||
|
||||
is_newer_rw() {
|
||||
fwbin="$1"
|
||||
|
||||
file_is_newer=$(${UPDATER} --is_newer_rw "$fwbin")
|
||||
status=$?
|
||||
if [[ $status -ne 0 ]] ; then
|
||||
log_error "Failed to compare running RW with file"
|
||||
return 1
|
||||
fi
|
||||
|
||||
log_info "Is RW in file newer: $file_is_newer"
|
||||
echo "$file_is_newer";
|
||||
}
|
||||
|
||||
upload_fw() {
|
||||
which="$1"
|
||||
fwbin="$2"
|
||||
|
||||
# Try several times
|
||||
log_info "Uploading firmware..."
|
||||
${UPDATER} "$which" "${fwbin}" && echo "okay" && return 0
|
||||
|
||||
log_info "Trying again..."
|
||||
${UPDATER} "$which" "${fwbin}" && echo "okay" && return 0
|
||||
|
||||
log_info "Maybe a forced reset will help"
|
||||
${UPDATER} --force_reset || log_error "Couldn't force reset the chip"
|
||||
sleep 1
|
||||
|
||||
log_info "Trying once more..."
|
||||
${UPDATER} "$which" "${fwbin}" && echo "okay" && return 0
|
||||
|
||||
log_error "Nope. Couldn't upload the new firmware."
|
||||
return 1;
|
||||
}
|
||||
|
||||
# If cryptolib_RO is already provided by the current RO, or the new RW doesn't
|
||||
# reequire it, then it's safe to update RW.
|
||||
safe_to_update_rw() {
|
||||
fwbin=$1
|
||||
|
||||
# Get epoch.major.minor of the current RO image
|
||||
chip_ver=$(${UPDATER} -l | tr ':/' ' ' | egrep 'R[OW]_[AB].*\*')
|
||||
cur_ro_vers=$(echo "$chip_ver" | awk '/RO_/ {print $3}')
|
||||
|
||||
# RO 0.1.6 (evt) and RO 0.0.6 (proto11) contain RO_CRYPTO
|
||||
# Assume(!) that the minor number will just continue to increment
|
||||
minor=$(echo "$cur_ro_vers" | cut -d. -f3)
|
||||
|
||||
if [[ "$minor" -ge 6 ]] ; then
|
||||
log_info "RO version $cur_ro_vers contains cryptolib"
|
||||
echo "yes"
|
||||
return
|
||||
fi
|
||||
|
||||
# There's no RO crypto currently installed, but do we really need it?
|
||||
# Which RW image are we considering?
|
||||
cur_rw_slot=$(echo "$chip_ver" | awk '/RW_/ {print $1}')
|
||||
new_rw_slot=$(echo "$cur_rw_slot" | tr 'AB' 'BA')
|
||||
# Obtain the new RW version string from the provided image file.
|
||||
file_ver=$(${UPDATER} -f "$fwbin" | tr ':/' ' ')
|
||||
new_rw_vers=$(echo "$file_ver" | awk "/$new_rw_slot/ {print \$3}")
|
||||
|
||||
|
||||
# go/nor/50384 added -r, -l, or -w to the version string
|
||||
# -r means "needs RO_CRYPTO"
|
||||
if [[ "$new_rw_vers" == *-r ]] ; then
|
||||
log_info "New RW firmware $new_rw_vers requires RO cryptolib"
|
||||
echo "no"
|
||||
return
|
||||
fi
|
||||
|
||||
echo "yes"
|
||||
}
|
||||
|
||||
|
||||
# Let's do this
|
||||
log_info "Starting $0"
|
||||
|
||||
# What do we know?
|
||||
version=$(get_running_version) || die "No running version"
|
||||
fwbin=$(find_image_file "$version") || die "No image file"
|
||||
do_ro=$(is_newer_ro "$fwbin") || die "No RO comparsion"
|
||||
|
||||
# If there's a RO update available, try it first.
|
||||
if [[ "$do_ro" = "yes" ]]; then
|
||||
|
||||
log_info "Trying to update RO"
|
||||
|
||||
log_ro_version
|
||||
|
||||
# Upload should succeed
|
||||
upload_fw --ro "$fwbin" || die "RO upload failed"
|
||||
|
||||
# Enable might succeed with default (empty) password
|
||||
if ${UPDATER} --enable_ro '' ; then
|
||||
|
||||
# RO takes effect immediately and will reboot if RW changed too, so
|
||||
# give it some time to happen.
|
||||
sleep 2
|
||||
log_ro_version || die "Can't read version after update"
|
||||
|
||||
else
|
||||
# The user has a PIN/pattern/password set
|
||||
log_info "The primary user will have to enable the update"
|
||||
fi
|
||||
fi
|
||||
|
||||
# What do we know now?
|
||||
version=$(get_running_version) || die "No running version"
|
||||
fwbin=$(find_image_file "$version") || die "No image file"
|
||||
do_rw=$(is_newer_rw "$fwbin") || die "No RW comparsion"
|
||||
|
||||
# If there's a RW update available, try it next
|
||||
if [[ "$do_rw" = "yes" ]]; then
|
||||
|
||||
log_info "Trying to update RW"
|
||||
|
||||
# If the new RW requires cryptolib_RO and we don't have it, don't try
|
||||
safe=$(safe_to_update_rw "$fwbin")
|
||||
|
||||
if [[ "$safe" != "yes" ]]; then
|
||||
log_error "Cowardly refusing to update RW right now"
|
||||
else
|
||||
# Upload should succeed
|
||||
upload_fw --rw "$fwbin" || die "RW upload failed"
|
||||
|
||||
# Enable might succeed with default (empty) password
|
||||
if ${UPDATER} --enable_rw '' ; then
|
||||
|
||||
# We need to reboot manually for RW update
|
||||
log_info "RW update enabled, rebooting now"
|
||||
${UPDATER} --reboot || ${UPDATER} --force_reset || \
|
||||
log_error "can't reboot"
|
||||
|
||||
get_running_version || die "Can't read version after update"
|
||||
|
||||
else
|
||||
# The user has a PIN/pattern/password set
|
||||
log_info "The primary user will have to enable the update"
|
||||
fi
|
||||
|
||||
fi
|
||||
fi
|
||||
|
||||
log_info "All done"
|
||||
exit 0
|
BIN
proprietary/vendor/bin/hw/samsung.hardware.media.c2@1.2-service
vendored
Executable file
BIN
proprietary/vendor/bin/hw/samsung.hardware.media.c2@1.2-service
vendored
Executable file
Binary file not shown.
BIN
proprietary/vendor/bin/hw/vendor.dolby.media.c2@1.0-service
vendored
Executable file
BIN
proprietary/vendor/bin/hw/vendor.dolby.media.c2@1.0-service
vendored
Executable file
Binary file not shown.
BIN
proprietary/vendor/bin/hw/vendor.google.audiometricext@1.0-service-vendor
vendored
Executable file
BIN
proprietary/vendor/bin/hw/vendor.google.audiometricext@1.0-service-vendor
vendored
Executable file
Binary file not shown.
BIN
proprietary/vendor/bin/hw/vendor.google.edgetpu_vendor_service@1.0-service
vendored
Executable file
BIN
proprietary/vendor/bin/hw/vendor.google.edgetpu_vendor_service@1.0-service
vendored
Executable file
Binary file not shown.
BIN
proprietary/vendor/bin/hw/vendor.google.google_battery-service
vendored
Executable file
BIN
proprietary/vendor/bin/hw/vendor.google.google_battery-service
vendored
Executable file
Binary file not shown.
BIN
proprietary/vendor/bin/hw/vendor.google.radioext@1.0-service
vendored
Executable file
BIN
proprietary/vendor/bin/hw/vendor.google.radioext@1.0-service
vendored
Executable file
Binary file not shown.
10
proprietary/vendor/bin/init.camera.set-interrupts-ownership
vendored
Executable file
10
proprietary/vendor/bin/init.camera.set-interrupts-ownership
vendored
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/vendor/bin/sh
|
||||
|
||||
camera_irq_nums=$(grep "lwis" /proc/interrupts | awk '{ print(substr($1, 0, length($1) - 1)) }')
|
||||
|
||||
for irq_num in ${camera_irq_nums[@]};
|
||||
do
|
||||
chown system:system /proc/irq/${irq_num}/smp_affinity
|
||||
chown system:system /proc/irq/${irq_num}/smp_affinity_list
|
||||
done
|
||||
|
BIN
proprietary/vendor/bin/pixelstats-vendor
vendored
Executable file
BIN
proprietary/vendor/bin/pixelstats-vendor
vendored
Executable file
Binary file not shown.
BIN
proprietary/vendor/bin/sscoredump
vendored
Executable file
BIN
proprietary/vendor/bin/sscoredump
vendored
Executable file
Binary file not shown.
BIN
proprietary/vendor/bin/trusty_metricsd
vendored
Executable file
BIN
proprietary/vendor/bin/trusty_metricsd
vendored
Executable file
Binary file not shown.
BIN
proprietary/vendor/bin/twoshay
vendored
Executable file
BIN
proprietary/vendor/bin/twoshay
vendored
Executable file
Binary file not shown.
BIN
proprietary/vendor/bin/umfw_stat_tool
vendored
Executable file
BIN
proprietary/vendor/bin/umfw_stat_tool
vendored
Executable file
Binary file not shown.
BIN
proprietary/vendor/bin/usf_stats
vendored
Executable file
BIN
proprietary/vendor/bin/usf_stats
vendored
Executable file
Binary file not shown.
1
proprietary/vendor/etc/Khronos/OpenCL/vendors/ARM.icd
vendored
Normal file
1
proprietary/vendor/etc/Khronos/OpenCL/vendors/ARM.icd
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
/vendor/lib64/egl/libGLES_mali.so
|
BIN
proprietary/vendor/etc/aoc/waveform_aec_graph.tflite
vendored
Normal file
BIN
proprietary/vendor/etc/aoc/waveform_aec_graph.tflite
vendored
Normal file
Binary file not shown.
151
proprietary/vendor/etc/atc_profile.json
vendored
Normal file
151
proprietary/vendor/etc/atc_profile.json
vendored
Normal file
|
@ -0,0 +1,151 @@
|
|||
{
|
||||
"version": "0.5",
|
||||
"modes": [
|
||||
{
|
||||
"name": "normal",
|
||||
"lux_map": [
|
||||
0,
|
||||
5000,
|
||||
10000,
|
||||
16000,
|
||||
18000,
|
||||
23000,
|
||||
28000,
|
||||
33000,
|
||||
39000,
|
||||
44000,
|
||||
49000,
|
||||
55000,
|
||||
65000,
|
||||
70000
|
||||
],
|
||||
"ambient_light_map": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
8,
|
||||
12,
|
||||
17,
|
||||
23,
|
||||
27,
|
||||
28,
|
||||
29,
|
||||
30,
|
||||
31,
|
||||
33,
|
||||
35
|
||||
],
|
||||
"strength_map": [
|
||||
0,
|
||||
64,
|
||||
100,
|
||||
100,
|
||||
100,
|
||||
100,
|
||||
100,
|
||||
100,
|
||||
100,
|
||||
100,
|
||||
100,
|
||||
100,
|
||||
100,
|
||||
100
|
||||
],
|
||||
"st_up_step": 4,
|
||||
"st_down_step": 1,
|
||||
"sub_setting": {
|
||||
"local_tone_gain": 128,
|
||||
"noise_suppression_gain": 128,
|
||||
"dither": 0,
|
||||
"plain_weight_1": 10,
|
||||
"plain_weight_2": 14,
|
||||
"color_transform_mode": 2,
|
||||
"preprocessing_enable": 1,
|
||||
"upgrade_on": 0,
|
||||
"TDR_max": 920,
|
||||
"TDR_min": 256,
|
||||
"backlight": 255,
|
||||
"dimming_step": 4,
|
||||
"scale_mode": 3,
|
||||
"threshold_1": 3,
|
||||
"threshold_2": 2,
|
||||
"threshold_3": 3,
|
||||
"gain_limit": 512,
|
||||
"lt_calc_ab_shift": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "hbm",
|
||||
"lux_map": [
|
||||
0,
|
||||
5000,
|
||||
10000,
|
||||
16000,
|
||||
18000,
|
||||
23000,
|
||||
28000,
|
||||
33000,
|
||||
39000,
|
||||
44000,
|
||||
49000,
|
||||
55000,
|
||||
65000,
|
||||
70000
|
||||
],
|
||||
"ambient_light_map": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
8,
|
||||
12,
|
||||
17,
|
||||
21,
|
||||
24,
|
||||
25,
|
||||
26,
|
||||
27,
|
||||
28,
|
||||
30,
|
||||
32
|
||||
],
|
||||
"strength_map": [
|
||||
0,
|
||||
64,
|
||||
100,
|
||||
100,
|
||||
100,
|
||||
100,
|
||||
100,
|
||||
100,
|
||||
100,
|
||||
100,
|
||||
100,
|
||||
100,
|
||||
100,
|
||||
100
|
||||
],
|
||||
"st_up_step": 4,
|
||||
"st_down_step": 1,
|
||||
"sub_setting": {
|
||||
"local_tone_gain": 128,
|
||||
"noise_suppression_gain": 128,
|
||||
"dither": 0,
|
||||
"plain_weight_1": 10,
|
||||
"plain_weight_2": 14,
|
||||
"color_transform_mode": 2,
|
||||
"preprocessing_enable": 1,
|
||||
"upgrade_on": 0,
|
||||
"TDR_max": 920,
|
||||
"TDR_min": 256,
|
||||
"backlight": 255,
|
||||
"dimming_step": 4,
|
||||
"scale_mode": 3,
|
||||
"threshold_1": 3,
|
||||
"threshold_2": 2,
|
||||
"threshold_3": 3,
|
||||
"gain_limit": 512,
|
||||
"lt_calc_ab_shift": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
BIN
proprietary/vendor/etc/chre/activity.napp_header
vendored
Normal file
BIN
proprietary/vendor/etc/chre/activity.napp_header
vendored
Normal file
Binary file not shown.
BIN
proprietary/vendor/etc/chre/activity.so
vendored
Normal file
BIN
proprietary/vendor/etc/chre/activity.so
vendored
Normal file
Binary file not shown.
BIN
proprietary/vendor/etc/chre/ambient_volume.napp_header
vendored
Normal file
BIN
proprietary/vendor/etc/chre/ambient_volume.napp_header
vendored
Normal file
Binary file not shown.
BIN
proprietary/vendor/etc/chre/ambient_volume.so
vendored
Normal file
BIN
proprietary/vendor/etc/chre/ambient_volume.so
vendored
Normal file
Binary file not shown.
BIN
proprietary/vendor/etc/chre/capo.napp_header
vendored
Normal file
BIN
proprietary/vendor/etc/chre/capo.napp_header
vendored
Normal file
Binary file not shown.
BIN
proprietary/vendor/etc/chre/capo.so
vendored
Normal file
BIN
proprietary/vendor/etc/chre/capo.so
vendored
Normal file
Binary file not shown.
BIN
proprietary/vendor/etc/chre/drop.napp_header
vendored
Normal file
BIN
proprietary/vendor/etc/chre/drop.napp_header
vendored
Normal file
Binary file not shown.
BIN
proprietary/vendor/etc/chre/drop.so
vendored
Normal file
BIN
proprietary/vendor/etc/chre/drop.so
vendored
Normal file
Binary file not shown.
BIN
proprietary/vendor/etc/chre/health.napp_header
vendored
Normal file
BIN
proprietary/vendor/etc/chre/health.napp_header
vendored
Normal file
Binary file not shown.
BIN
proprietary/vendor/etc/chre/health.so
vendored
Normal file
BIN
proprietary/vendor/etc/chre/health.so
vendored
Normal file
Binary file not shown.
BIN
proprietary/vendor/etc/chre/imu_cal.napp_header
vendored
Normal file
BIN
proprietary/vendor/etc/chre/imu_cal.napp_header
vendored
Normal file
Binary file not shown.
BIN
proprietary/vendor/etc/chre/imu_cal.so
vendored
Normal file
BIN
proprietary/vendor/etc/chre/imu_cal.so
vendored
Normal file
Binary file not shown.
BIN
proprietary/vendor/etc/chre/libchre_log_database.bin
vendored
Normal file
BIN
proprietary/vendor/etc/chre/libchre_log_database.bin
vendored
Normal file
Binary file not shown.
BIN
proprietary/vendor/etc/chre/motiondetector.napp_header
vendored
Normal file
BIN
proprietary/vendor/etc/chre/motiondetector.napp_header
vendored
Normal file
Binary file not shown.
BIN
proprietary/vendor/etc/chre/motiondetector.so
vendored
Normal file
BIN
proprietary/vendor/etc/chre/motiondetector.so
vendored
Normal file
Binary file not shown.
BIN
proprietary/vendor/etc/chre/sd.napp_header
vendored
Normal file
BIN
proprietary/vendor/etc/chre/sd.napp_header
vendored
Normal file
Binary file not shown.
BIN
proprietary/vendor/etc/chre/sd.so
vendored
Normal file
BIN
proprietary/vendor/etc/chre/sd.so
vendored
Normal file
Binary file not shown.
BIN
proprietary/vendor/etc/chre/system_signal_hub.napp_header
vendored
Normal file
BIN
proprietary/vendor/etc/chre/system_signal_hub.napp_header
vendored
Normal file
Binary file not shown.
BIN
proprietary/vendor/etc/chre/system_signal_hub.so
vendored
Normal file
BIN
proprietary/vendor/etc/chre/system_signal_hub.so
vendored
Normal file
Binary file not shown.
BIN
proprietary/vendor/etc/chre/uv_exposure.napp_header
vendored
Normal file
BIN
proprietary/vendor/etc/chre/uv_exposure.napp_header
vendored
Normal file
Binary file not shown.
BIN
proprietary/vendor/etc/chre/uv_exposure.so
vendored
Normal file
BIN
proprietary/vendor/etc/chre/uv_exposure.so
vendored
Normal file
Binary file not shown.
24
proprietary/vendor/etc/display_settings.xml
vendored
Normal file
24
proprietary/vendor/etc/display_settings.xml
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
|
||||
|
||||
<!-- Copyright (C) 2022 Google Inc.
|
||||
|
||||
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.
|
||||
-->
|
||||
|
||||
<display-settings>
|
||||
<config identifier="0" />
|
||||
<!-- Allow rotation of fixed-orientation activities. -->
|
||||
<display
|
||||
name="local:4619827677550801152"
|
||||
ignoreOrientationRequest="true"/>
|
||||
</display-settings>
|
206
proprietary/vendor/etc/displayconfig/display_id_4619827677550801152.xml
vendored
Normal file
206
proprietary/vendor/etc/displayconfig/display_id_4619827677550801152.xml
vendored
Normal file
|
@ -0,0 +1,206 @@
|
|||
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
|
||||
|
||||
<!-- Copyright (C) 2022 Google Inc.
|
||||
|
||||
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.
|
||||
-->
|
||||
|
||||
<displayConfiguration>
|
||||
<screenBrightnessMap>
|
||||
<point>
|
||||
<value>0.0</value>
|
||||
<nits>2.0</nits>
|
||||
</point>
|
||||
<point>
|
||||
<value>1.0</value>
|
||||
<nits>500.0</nits>
|
||||
</point>
|
||||
</screenBrightnessMap>
|
||||
<lightSensor>
|
||||
<type>com.google.sensor.auto_brightness</type>
|
||||
<name>Auto Brightness</name>
|
||||
</lightSensor>
|
||||
|
||||
<screenBrightnessRampIncreaseMaxMillis>2000</screenBrightnessRampIncreaseMaxMillis>
|
||||
<screenBrightnessRampIncreaseMaxIdleMillis>2000</screenBrightnessRampIncreaseMaxIdleMillis>
|
||||
<screenBrightnessRampDecreaseMaxIdleMillis>2000</screenBrightnessRampDecreaseMaxIdleMillis>
|
||||
|
||||
<ambientBrightnessChangeThresholdsIdle>
|
||||
<brighteningThresholds>
|
||||
<minimum>3</minimum>
|
||||
<brightnessThresholdPoints>
|
||||
<brightnessThresholdPoint>
|
||||
<threshold>1</threshold><percentage>299</percentage>
|
||||
</brightnessThresholdPoint>
|
||||
<brightnessThresholdPoint>
|
||||
<threshold>2</threshold><percentage>149</percentage>
|
||||
</brightnessThresholdPoint>
|
||||
<brightnessThresholdPoint>
|
||||
<threshold>3</threshold><percentage>99</percentage>
|
||||
</brightnessThresholdPoint>
|
||||
<brightnessThresholdPoint>
|
||||
<threshold>4</threshold><percentage>74</percentage>
|
||||
</brightnessThresholdPoint>
|
||||
<brightnessThresholdPoint>
|
||||
<threshold>5</threshold><percentage>59</percentage>
|
||||
</brightnessThresholdPoint>
|
||||
<brightnessThresholdPoint>
|
||||
<threshold>6</threshold><percentage>53</percentage>
|
||||
</brightnessThresholdPoint>
|
||||
<brightnessThresholdPoint>
|
||||
<threshold>7</threshold><percentage>47</percentage>
|
||||
</brightnessThresholdPoint>
|
||||
<brightnessThresholdPoint>
|
||||
<threshold>8</threshold><percentage>41</percentage>
|
||||
</brightnessThresholdPoint>
|
||||
<brightnessThresholdPoint>
|
||||
<threshold>9</threshold><percentage>35</percentage>
|
||||
</brightnessThresholdPoint>
|
||||
<brightnessThresholdPoint>
|
||||
<threshold>100</threshold><percentage>4</percentage>
|
||||
</brightnessThresholdPoint>
|
||||
<brightnessThresholdPoint>
|
||||
<threshold>150</threshold><percentage>6</percentage>
|
||||
</brightnessThresholdPoint>
|
||||
<brightnessThresholdPoint>
|
||||
<threshold>200</threshold><percentage>6</percentage>
|
||||
</brightnessThresholdPoint>
|
||||
<brightnessThresholdPoint>
|
||||
<threshold>300</threshold><percentage>4</percentage>
|
||||
</brightnessThresholdPoint>
|
||||
<brightnessThresholdPoint>
|
||||
<threshold>500</threshold><percentage>5</percentage>
|
||||
</brightnessThresholdPoint>
|
||||
<brightnessThresholdPoint>
|
||||
<threshold>1000</threshold><percentage>8</percentage>
|
||||
</brightnessThresholdPoint>
|
||||
<brightnessThresholdPoint>
|
||||
<threshold>2000</threshold><percentage>13</percentage>
|
||||
</brightnessThresholdPoint>
|
||||
</brightnessThresholdPoints>
|
||||
</brighteningThresholds>
|
||||
<darkeningThresholds>
|
||||
<minimum>0</minimum>
|
||||
<brightnessThresholdPoints>
|
||||
<brightnessThresholdPoint>
|
||||
<threshold>1</threshold><percentage>10</percentage>
|
||||
</brightnessThresholdPoint>
|
||||
<brightnessThresholdPoint>
|
||||
<threshold>2</threshold><percentage>52</percentage>
|
||||
</brightnessThresholdPoint>
|
||||
<brightnessThresholdPoint>
|
||||
<threshold>3</threshold><percentage>68</percentage>
|
||||
</brightnessThresholdPoint>
|
||||
<brightnessThresholdPoint>
|
||||
<threshold>4</threshold><percentage>66</percentage>
|
||||
</brightnessThresholdPoint>
|
||||
<brightnessThresholdPoint>
|
||||
<threshold>5</threshold><percentage>60</percentage>
|
||||
</brightnessThresholdPoint>
|
||||
<brightnessThresholdPoint>
|
||||
<threshold>6</threshold><percentage>54</percentage>
|
||||
</brightnessThresholdPoint>
|
||||
<brightnessThresholdPoint>
|
||||
<threshold>7</threshold><percentage>48</percentage>
|
||||
</brightnessThresholdPoint>
|
||||
<brightnessThresholdPoint>
|
||||
<threshold>8</threshold><percentage>42</percentage>
|
||||
</brightnessThresholdPoint>
|
||||
<brightnessThresholdPoint>
|
||||
<threshold>9</threshold><percentage>36</percentage>
|
||||
</brightnessThresholdPoint>
|
||||
<brightnessThresholdPoint>
|
||||
<threshold>100</threshold><percentage>5</percentage>
|
||||
</brightnessThresholdPoint>
|
||||
<brightnessThresholdPoint>
|
||||
<threshold>150</threshold><percentage>6</percentage>
|
||||
</brightnessThresholdPoint>
|
||||
<brightnessThresholdPoint>
|
||||
<threshold>200</threshold><percentage>6</percentage>
|
||||
</brightnessThresholdPoint>
|
||||
<brightnessThresholdPoint>
|
||||
<threshold>300</threshold><percentage>5</percentage>
|
||||
</brightnessThresholdPoint>
|
||||
<brightnessThresholdPoint>
|
||||
<threshold>500</threshold><percentage>6</percentage>
|
||||
</brightnessThresholdPoint>
|
||||
<brightnessThresholdPoint>
|
||||
<threshold>1000</threshold><percentage>8</percentage>
|
||||
</brightnessThresholdPoint>
|
||||
<brightnessThresholdPoint>
|
||||
<threshold>2000</threshold><percentage>13</percentage>
|
||||
</brightnessThresholdPoint>
|
||||
</brightnessThresholdPoints>
|
||||
</darkeningThresholds>
|
||||
</ambientBrightnessChangeThresholdsIdle>
|
||||
|
||||
<ambientBrightnessChangeThresholds>
|
||||
<brighteningThresholds>
|
||||
<minimum>10</minimum>
|
||||
</brighteningThresholds>
|
||||
<darkeningThresholds>
|
||||
<minimum>0</minimum>
|
||||
</darkeningThresholds>
|
||||
</ambientBrightnessChangeThresholds>
|
||||
|
||||
<ambientLightHorizonLong>5000</ambientLightHorizonLong>
|
||||
<ambientLightHorizonShort>50</ambientLightHorizonShort>
|
||||
|
||||
<thermalThrottling>
|
||||
<brightnessThrottlingMap>
|
||||
<brightnessThrottlingPoint>
|
||||
<thermalStatus>light</thermalStatus>
|
||||
<!-- Throttling to 465 nits: (465-2.0)/(500-2.0)*(1.0-0.0)+0.0 = 0.929718876-->
|
||||
<brightness>0.929718876</brightness>
|
||||
</brightnessThrottlingPoint>
|
||||
<brightnessThrottlingPoint>
|
||||
<thermalStatus>moderate</thermalStatus>
|
||||
<!-- Throttling to 297 nits: (297-2.0)/(500-2.0)*(1.0-0.0)+0.0 = 0.592369478 -->
|
||||
<brightness>0.592369478</brightness>
|
||||
</brightnessThrottlingPoint>
|
||||
<brightnessThrottlingPoint>
|
||||
<thermalStatus>severe</thermalStatus>
|
||||
<!-- Throttling to 213 nits: (213-2.0)/(500-2.0)*(1.0-0.0)+0.0 = 0.423694779 -->
|
||||
<brightness>0.423694779</brightness>
|
||||
</brightnessThrottlingPoint>
|
||||
<brightnessThrottlingPoint>
|
||||
<thermalStatus>critical</thermalStatus>
|
||||
<!-- Throttling to 150 nits: (150-2.0)/(500-2.0)*(1.0-0.0)+0.0 = 0.297188755 -->
|
||||
<brightness>0.297188755</brightness>
|
||||
</brightnessThrottlingPoint>
|
||||
</brightnessThrottlingMap>
|
||||
</thermalThrottling>
|
||||
|
||||
<autoBrightness enabled="true">
|
||||
<brighteningLightDebounceMillis>1000</brighteningLightDebounceMillis>
|
||||
<darkeningLightDebounceMillis>4000</darkeningLightDebounceMillis>
|
||||
<brighteningLightDebounceIdleMillis>1000</brighteningLightDebounceIdleMillis>
|
||||
<darkeningLightDebounceIdleMillis>2000</darkeningLightDebounceIdleMillis>
|
||||
</autoBrightness>
|
||||
|
||||
<screenBrightnessRampFastDecrease>0.7047244</screenBrightnessRampFastDecrease>
|
||||
<screenBrightnessRampFastIncrease>0.7047244</screenBrightnessRampFastIncrease>
|
||||
<screenBrightnessRampSlowDecrease>0.05</screenBrightnessRampSlowDecrease>
|
||||
<screenBrightnessRampSlowIncrease>0.05</screenBrightnessRampSlowIncrease>
|
||||
|
||||
<screenOffBrightnessSensor>
|
||||
<type>com.google.sensor.binned_brightness</type>
|
||||
</screenOffBrightnessSensor>
|
||||
<screenOffBrightnessSensorValueToLux>
|
||||
<item>-1</item> <!-- 0: OFF -->
|
||||
<item>0</item> <!-- 1: NIGHT -->
|
||||
<item>5</item> <!-- 2: LOW -->
|
||||
<item>80</item> <!-- 3: HIGH -->
|
||||
<item>1500</item> <!-- 4: SUN -->
|
||||
</screenOffBrightnessSensorValueToLux>
|
||||
</displayConfiguration>
|
3
proprietary/vendor/etc/init/Exynos_C2.rc
vendored
Normal file
3
proprietary/vendor/etc/init/Exynos_C2.rc
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
on post-fs-data
|
||||
chown mediacodec mediacodec /sys/kernel/vendor_mm/cma/vframe/force_empty
|
||||
chmod 0664 /sys/kernel/vendor_mm/cma/vframe/force_empty
|
4
proprietary/vendor/etc/init/android.hardware.authsecret-service.citadel.rc
vendored
Normal file
4
proprietary/vendor/etc/init/android.hardware.authsecret-service.citadel.rc
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
service vendor.authsecret_hal_aidl /vendor/bin/hw/android.hardware.authsecret-service.citadel
|
||||
class hal
|
||||
user hsm
|
||||
group hsm
|
5
proprietary/vendor/etc/init/android.hardware.bluetooth@1.1-service.synabtlinux.rc
vendored
Normal file
5
proprietary/vendor/etc/init/android.hardware.bluetooth@1.1-service.synabtlinux.rc
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
service synabtlinux-1.1 /vendor/bin/hw/android.hardware.bluetooth@1.1-service.synabtlinux
|
||||
class hal
|
||||
user bluetooth
|
||||
group bluetooth net_admin net_bt_admin system
|
||||
capabilities NET_ADMIN
|
9
proprietary/vendor/etc/init/android.hardware.camera.provider@2.7-service-google-apex.rc
vendored
Normal file
9
proprietary/vendor/etc/init/android.hardware.camera.provider@2.7-service-google-apex.rc
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
service vendor.camera-provider-2-7-google /apex/com.google.pixel.camera.hal/bin/hw/android.hardware.camera.provider@2.7-service-google
|
||||
class hal cameraWatchdog
|
||||
user system
|
||||
group system
|
||||
namespace mnt
|
||||
capabilities SYS_NICE
|
||||
rlimit rtprio 10 10
|
||||
task_profiles CameraServiceCapacity CameraServicePerformance
|
||||
rlimit memlock 268435456 268435456
|
14
proprietary/vendor/etc/init/android.hardware.contexthub-service.generic.rc
vendored
Normal file
14
proprietary/vendor/etc/init/android.hardware.contexthub-service.generic.rc
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
on post-fs-data
|
||||
mkdir /data/vendor/chre 0770 context_hub context_hub
|
||||
on boot
|
||||
setprop vendor.chre.multiclient_hal.enabled true
|
||||
|
||||
service vendor.contexthub-default /vendor/bin/hw/android.hardware.contexthub-service.generic
|
||||
class hal late_start
|
||||
user context_hub
|
||||
group wakelock context_hub system readproc
|
||||
capabilities BLOCK_SUSPEND
|
||||
# socket <name> <type> <perm> [ <user> [ <group> [ <seclabel> ] ] ]
|
||||
# Still using the name "chre" to make the change transparent to existing users
|
||||
socket chre seqpacket 0660 root context_hub
|
||||
shutdown critical
|
6
proprietary/vendor/etc/init/android.hardware.drm-service.castkey.rc
vendored
Normal file
6
proprietary/vendor/etc/init/android.hardware.drm-service.castkey.rc
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
service vendor.drm-castkey-service /vendor/bin/hw/android.hardware.drm-service.castkey
|
||||
class hal
|
||||
user media
|
||||
group mediadrm drmrpc
|
||||
ioprio rt 4
|
||||
interface aidl android.hardware.drm.IDrmFactory/castkey
|
25
proprietary/vendor/etc/init/android.hardware.edgetpu.logging@service-edgetpu-logging.rc
vendored
Normal file
25
proprietary/vendor/etc/init/android.hardware.edgetpu.logging@service-edgetpu-logging.rc
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
# When enabling on a device, SELinux policies need to be added for the driver
|
||||
# binary. Android startup services should run in their own SELinux domain.
|
||||
# https://source.android.com/security/selinux/device-policy#label_new_services_and_address_denials
|
||||
service edgetpu_logging /vendor/bin/hw/android.hardware.edgetpu.logging@service-edgetpu-logging
|
||||
class late_start
|
||||
user system
|
||||
group system
|
||||
task_profiles ServiceCapacityLow
|
||||
on boot
|
||||
chown system system /sys/class/edgetpu/edgetpu-soc/device/inference_count
|
||||
chown system system /sys/class/edgetpu/edgetpu-soc/device/param_cache_hit_count
|
||||
chown system system /sys/class/edgetpu/edgetpu-soc/device/preempt_depth_max
|
||||
chown system system /sys/class/edgetpu/edgetpu-soc/device/context_preempt_count
|
||||
chown system system /sys/class/edgetpu/edgetpu-soc/device/outstanding_commands_max
|
||||
chown system system /sys/class/edgetpu/edgetpu-soc/device/tpu_op_count
|
||||
chown system system /sys/class/edgetpu/edgetpu-soc/device/fw_thread_stats
|
||||
chown system system /sys/class/edgetpu/edgetpu-soc/device/hardware_preempt_count
|
||||
chown system system /sys/class/edgetpu/edgetpu-soc/device/hardware_ctx_save_time
|
||||
chown system system /sys/class/edgetpu/edgetpu-soc/device/hardware_ctx_save_time_max
|
||||
chown system system /sys/class/edgetpu/edgetpu-soc/device/scalar_fence_wait_time
|
||||
chown system system /sys/class/edgetpu/edgetpu-soc/device/scalar_fence_wait_time_max
|
||||
chown system system /sys/class/edgetpu/edgetpu-soc/device/long_suspend_count
|
||||
chown system system /sys/class/edgetpu/edgetpu-soc/device/suspend_time_max
|
||||
chown system system /sys/class/edgetpu/edgetpu-soc/device/reconfigurations
|
||||
chown system system /sys/class/edgetpu/edgetpu-soc/device/preempt_reconfigurations
|
6
proprietary/vendor/etc/init/android.hardware.graphics.allocator2-aidl-service.rc
vendored
Normal file
6
proprietary/vendor/etc/init/android.hardware.graphics.allocator2-aidl-service.rc
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
service vendor.graphics.allocator-default /vendor/bin/hw/android.hardware.graphics.allocator-V2-service
|
||||
class hal animation
|
||||
user system
|
||||
group graphics drmrpc
|
||||
capabilities SYS_NICE
|
||||
priority -20
|
14
proprietary/vendor/etc/init/android.hardware.gxp.logging@service-gxp-logging.rc
vendored
Normal file
14
proprietary/vendor/etc/init/android.hardware.gxp.logging@service-gxp-logging.rc
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
# When enabling on a device, SELinux policies need to be added for the driver
|
||||
# binary. Android startup services should run in their own SELinux domain.
|
||||
# https://source.android.com/security/selinux/device-policy#label_new_services_and_address_denials
|
||||
service gxp_logging /vendor/bin/hw/android.hardware.gxp.logging@service-gxp-logging
|
||||
class late_start
|
||||
user system
|
||||
group system
|
||||
task_profiles ServiceCapacityLow
|
||||
on boot
|
||||
chown system system /sys/class/gxp/gxp/device/dsp_usage_0
|
||||
chown system system /sys/class/gxp/gxp/device/dsp_usage_1
|
||||
chown system system /sys/class/gxp/gxp/device/dsp_usage_2
|
||||
chown system system /sys/class/gxp/gxp/device/preempt_count
|
||||
chown system system /sys/class/gxp/gxp/device/context_switch_count
|
9
proprietary/vendor/etc/init/android.hardware.input.processor-service.rc
vendored
Normal file
9
proprietary/vendor/etc/init/android.hardware.input.processor-service.rc
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
service vendor.input.processor /vendor/bin/hw/android.hardware.input.processor-service
|
||||
# Must be specified if "disabled" is set. This HAL will only start if requested via getService
|
||||
interface aidl android.hardware.input.processor.IInputProcessor/default
|
||||
class hal
|
||||
user nobody
|
||||
# will not be restarted if it exits until it is requested to be restarted
|
||||
oneshot
|
||||
# will only be started when requested
|
||||
disabled
|
8
proprietary/vendor/etc/init/android.hardware.neuralnetworks@service-darwinn-aidl.rc
vendored
Normal file
8
proprietary/vendor/etc/init/android.hardware.neuralnetworks@service-darwinn-aidl.rc
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
# When enabling on a device, SELinux policies need to be added for the driver
|
||||
# binary. Android startup services should run in their own SELinux domain.
|
||||
# https://source.android.com/security/selinux/device-policy#label_new_services_and_address_denials
|
||||
service hal_neuralnetworks_darwinn /vendor/bin/hw/android.hardware.neuralnetworks@service-darwinn-aidl
|
||||
class hal
|
||||
user system
|
||||
group system
|
||||
task_profiles NNApiHALPerformance
|
4
proprietary/vendor/etc/init/android.hardware.oemlock-service.citadel.rc
vendored
Normal file
4
proprietary/vendor/etc/init/android.hardware.oemlock-service.citadel.rc
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
service vendor.oemlock_hal_aidl /vendor/bin/hw/android.hardware.oemlock-service.citadel
|
||||
class hal
|
||||
user hsm
|
||||
group hsm
|
6
proprietary/vendor/etc/init/android.hardware.rlsservice-service-google-apex.rc
vendored
Normal file
6
proprietary/vendor/etc/init/android.hardware.rlsservice-service-google-apex.rc
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
service rlsservice /apex/com.google.pixel.camera.hal/bin/rlsservice
|
||||
class hal
|
||||
user system
|
||||
group system
|
||||
namespace mnt
|
||||
task_profiles ServiceCapacityLow
|
4
proprietary/vendor/etc/init/android.hardware.security.keymint-service.citadel.rc
vendored
Normal file
4
proprietary/vendor/etc/init/android.hardware.security.keymint-service.citadel.rc
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
service vendor.keymint-citadel /vendor/bin/hw/android.hardware.security.keymint-service.citadel
|
||||
class early_hal
|
||||
user hsm
|
||||
group hsm drmrpc
|
4
proprietary/vendor/etc/init/android.hardware.weaver-service.citadel.rc
vendored
Normal file
4
proprietary/vendor/etc/init/android.hardware.weaver-service.citadel.rc
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
service vendor.weaver_hal_aidl /vendor/bin/hw/android.hardware.weaver-service.citadel
|
||||
class hal
|
||||
user hsm
|
||||
group hsm
|
11
proprietary/vendor/etc/init/aocd.rc
vendored
Normal file
11
proprietary/vendor/etc/init/aocd.rc
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
service aocd /vendor/bin/aocd
|
||||
class late_start
|
||||
user root
|
||||
group root system audio
|
||||
|
||||
# Define vendor props so that we can start and stop aocd on demand.
|
||||
on property:vendor.aocd=1
|
||||
start aocd
|
||||
|
||||
on property:vendor.aocd=0
|
||||
stop aocd
|
11
proprietary/vendor/etc/init/aocxd.rc
vendored
Normal file
11
proprietary/vendor/etc/init/aocxd.rc
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
service aocxd /vendor/bin/aocxd
|
||||
class late_start
|
||||
user root
|
||||
group root system audio
|
||||
|
||||
# Define vendor props so that we can start and stop aocxd on demand.
|
||||
on property:vendor.aocxd=1
|
||||
start aocxd
|
||||
|
||||
on property:vendor.aocxd=0
|
||||
stop aocxd
|
8
proprietary/vendor/etc/init/citadeld.rc
vendored
Normal file
8
proprietary/vendor/etc/init/citadeld.rc
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
on property:vendor.all.modules.ready=1
|
||||
enable vendor.citadeld
|
||||
|
||||
service vendor.citadeld /vendor/bin/hw/citadeld
|
||||
class early_hal
|
||||
user hsm
|
||||
group hsm
|
||||
disabled
|
9
proprietary/vendor/etc/init/com.google.edgetpu.tachyon-service.rc
vendored
Normal file
9
proprietary/vendor/etc/init/com.google.edgetpu.tachyon-service.rc
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
service edgetpu_tachyon_service /vendor/bin/hw/com.google.edgetpu.tachyon-service
|
||||
interface aidl com.google.edgetpu.tachyon.IComputeService/default
|
||||
oneshot
|
||||
disabled
|
||||
class hal
|
||||
user system
|
||||
group system
|
||||
rlimit rtprio 99 99
|
||||
capabilities SYS_NICE
|
16
proprietary/vendor/etc/init/fingerprint-fpc42.rc
vendored
Normal file
16
proprietary/vendor/etc/init/fingerprint-fpc42.rc
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
service fps_hal /vendor/bin/hw/android.hardware.biometrics.fingerprint-service.fpc42
|
||||
class late_start
|
||||
user system
|
||||
group system input uhid
|
||||
disabled
|
||||
|
||||
|
||||
on property:ro.vendor.trusty.storage.fs_ready=1
|
||||
exec_background - system shell -- /vendor/bin/trusty_apploader /vendor/firmware/1540.app
|
||||
enable fps_hal
|
||||
|
||||
on fs
|
||||
chown system system /sys/devices/platform/odm/odm:fp_fpc1020/clk_enable
|
||||
chown system system /sys/devices/platform/odm/odm:fp_fpc1020/hw_reset
|
||||
chown system system /sys/devices/platform/odm/odm:fp_fpc1020/irq
|
||||
chown system system /sys/devices/platform/odm/odm:fp_fpc1020/wakeup_enable
|
7
proprietary/vendor/etc/init/google.hardware.media.c2@1.0-service.rc
vendored
Normal file
7
proprietary/vendor/etc/init/google.hardware.media.c2@1.0-service.rc
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
service android-hardware-media-c2-hal-1-0-google /vendor/bin/hw/google.hardware.media.c2@1.0-service
|
||||
class hal
|
||||
user mediacodec
|
||||
group camera mediadrm drmrpc
|
||||
ioprio rt 4
|
||||
task_profiles ProcessCapacityHigh
|
||||
|
7
proprietary/vendor/etc/init/hwc3-pixel.rc
vendored
Normal file
7
proprietary/vendor/etc/init/hwc3-pixel.rc
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
service vendor.hwcomposer-3 /vendor/bin/hw/android.hardware.composer.hwc3-service.pixel
|
||||
class hal animation
|
||||
user system
|
||||
group graphics drmrpc
|
||||
capabilities SYS_NICE
|
||||
onrestart restart surfaceflinger
|
||||
task_profiles ServiceCapacityLow
|
2
proprietary/vendor/etc/init/init.camera.set-interrupts-ownership.rc
vendored
Normal file
2
proprietary/vendor/etc/init/init.camera.set-interrupts-ownership.rc
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
on boot
|
||||
exec_background -- /vendor/bin/init.camera.set-interrupts-ownership
|
13
proprietary/vendor/etc/init/init.sscoredump.rc
vendored
Normal file
13
proprietary/vendor/etc/init/init.sscoredump.rc
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
on post-fs-data
|
||||
mkdir /data/vendor/ssrdump 0771 root system
|
||||
mkdir /data/vendor/ssrdump/coredump 0771 root system
|
||||
mkdir /data/vendor/ssrdump/logcat 0771 root system
|
||||
restorecon /data/vendor/ssrdump
|
||||
start vendor.sscoredump
|
||||
|
||||
service vendor.sscoredump /vendor/bin/sscoredump
|
||||
class main
|
||||
user root
|
||||
group system
|
||||
disabled
|
||||
oneshot
|
19
proprietary/vendor/etc/init/init.usf.rc
vendored
Normal file
19
proprietary/vendor/etc/init/init.usf.rc
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
#
|
||||
# Copyright 2020 Google LLC. All Rights Reserved.
|
||||
#
|
||||
# USF init config file.
|
||||
#
|
||||
|
||||
on fs
|
||||
# Set the permission of sensor persist folder.
|
||||
chown system system /mnt/vendor/persist/sensors
|
||||
chown system system /mnt/vendor/persist/sensors/registry
|
||||
chmod 750 /mnt/vendor/persist/sensors
|
||||
chmod 750 /mnt/vendor/persist/sensors/registry
|
||||
|
||||
on post-fs-data
|
||||
# Create USF registry script save directory.
|
||||
mkdir /data/vendor/sensors 0770 system system
|
||||
mkdir /data/vendor/sensors/registry 0770 system system
|
||||
mkdir /data/vendor/sensors/debug 0770 system system
|
||||
|
33
proprietary/vendor/etc/init/init_dauntless.rc
vendored
Normal file
33
proprietary/vendor/etc/init/init_dauntless.rc
vendored
Normal file
|
@ -0,0 +1,33 @@
|
|||
#
|
||||
# Copyright 2020 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.
|
||||
#
|
||||
|
||||
# This should be everything required for init Dauntless
|
||||
|
||||
# We always need these
|
||||
on init
|
||||
enable vendor.citadeld
|
||||
|
||||
# This checks for and applies firmware updates
|
||||
service vendor.init_citadel /vendor/bin/hw/init_citadel
|
||||
oneshot
|
||||
disabled
|
||||
user hsm
|
||||
group hsm
|
||||
ioprio idle 0
|
||||
|
||||
# init_citadel requires citadeld to be running
|
||||
on property:init.svc.vendor.citadeld=running
|
||||
start vendor.init_citadel
|
5
proprietary/vendor/etc/init/memtrack.rc
vendored
Normal file
5
proprietary/vendor/etc/init/memtrack.rc
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
service vendor.memtrack-default /vendor/bin/hw/android.hardware.memtrack-service.pixel
|
||||
class hal
|
||||
user graphics
|
||||
group system
|
||||
task_profiles ServiceCapacityLow
|
11
proprietary/vendor/etc/init/pixelstats-vendor.gs201.rc
vendored
Normal file
11
proprietary/vendor/etc/init/pixelstats-vendor.gs201.rc
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
on property:sys.boot_completed=1
|
||||
chown system system /sys/class/power_supply/maxfg_base/fg_learning_events
|
||||
chown system system /sys/class/power_supply/maxfg/fg_learning_events
|
||||
start vendor.pixelstats_vendor
|
||||
on post-fs-data
|
||||
chown system system /sys/kernel/metrics/irq/stats_reset
|
||||
service vendor.pixelstats_vendor /vendor/bin/pixelstats-vendor
|
||||
class hal
|
||||
user system
|
||||
group system context_hub readproc
|
||||
disabled
|
13
proprietary/vendor/etc/init/qorvo.uwb-calib.rc
vendored
Normal file
13
proprietary/vendor/etc/init/qorvo.uwb-calib.rc
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
on boot
|
||||
# copy persist cal and convert format
|
||||
chmod 0644 /mnt/vendor/persist/uwb/uwb.cal
|
||||
mkdir /data/vendor/uwb 0771 uwb uwb
|
||||
copy /mnt/vendor/persist/uwb/uwb.cal /data/vendor/uwb/uwb.cal
|
||||
chown uwb uwb /data/vendor/uwb/uwb.cal
|
||||
start vendor_uwb_init
|
||||
|
||||
service vendor_uwb_init /vendor/bin/init.uwb.calib.sh /data/vendor/uwb/uwb.cal /data/vendor/uwb/factory_uwb.conf
|
||||
user uwb
|
||||
group uwb
|
||||
oneshot
|
||||
disabled
|
5
proprietary/vendor/etc/init/qorvo.uwb-service.rc
vendored
Normal file
5
proprietary/vendor/etc/init/qorvo.uwb-service.rc
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
service vendor.uwb_hal /vendor/bin/hw/android.hardware.qorvo.uwb.service
|
||||
class hal
|
||||
user uwb
|
||||
group uwb
|
||||
capabilities NET_ADMIN NET_RAW
|
7
proprietary/vendor/etc/init/samsung.hardware.media.c2@1.2-service.rc
vendored
Normal file
7
proprietary/vendor/etc/init/samsung.hardware.media.c2@1.2-service.rc
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
service android-hardware-media-c2-hal-1-2 /vendor/bin/hw/samsung.hardware.media.c2@1.2-service
|
||||
class hal
|
||||
user mediacodec
|
||||
group camera mediadrm drmrpc
|
||||
ioprio rt 4
|
||||
writepid /dev/cpuset/foreground/tasks
|
||||
|
18
proprietary/vendor/etc/init/trusty_metricsd.rc
vendored
Normal file
18
proprietary/vendor/etc/init/trusty_metricsd.rc
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Copyright (C) 2021 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.
|
||||
|
||||
service trusty_metricsd /vendor/bin/trusty_metricsd -d /dev/trusty-ipc-dev0
|
||||
class main
|
||||
user system
|
||||
group system
|
5
proprietary/vendor/etc/init/twoshay.rc
vendored
Normal file
5
proprietary/vendor/etc/init/twoshay.rc
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
service twoshay /vendor/bin/twoshay -s
|
||||
class hal
|
||||
user root
|
||||
group input
|
||||
disabled
|
7
proprietary/vendor/etc/init/vendor.dolby.media.c2@1.0-service.rc
vendored
Normal file
7
proprietary/vendor/etc/init/vendor.dolby.media.c2@1.0-service.rc
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
service vendor-dolby-media-c2-hal-1-0 /vendor/bin/hw/vendor.dolby.media.c2@1.0-service
|
||||
class hal
|
||||
user mediacodec
|
||||
group camera mediadrm drmrpc
|
||||
ioprio rt 4
|
||||
writepid /dev/cpuset/foreground/tasks
|
||||
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue