## Properties
BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true
+TARGET_PRODUCT_PROP += $(COMMON_PATH)/product.prop
TARGET_SYSTEM_PROP += $(COMMON_PATH)/system.prop
TARGET_VENDOR_PROP += $(COMMON_PATH)/vendor.prop
ENABLE_VENDOR_RIL_SERVICE := true
## Security
-VENDOR_SECURITY_PATCH := 2021-04-01
+VENDOR_SECURITY_PATCH := 2022-03-01
## SELinux
BOARD_SEPOLICY_TEE_FLAVOR := mobicore
PRODUCT_PACKAGES += \
vendor.lineage.fastcharge@1.0-service.samsung
+# Fingerprint
+PRODUCT_PACKAGES += \
+ android.hardware.biometrics.fingerprint@2.1
+
# Fingerprint Gestures
PRODUCT_COPY_FILES += \
$(COMMON_PATH)/configs/idc/uinput-egis.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/uinput-egis.idc \
# HotwordEnrollement
PRODUCT_COPY_FILES += \
- $(COMMON_PATH)/configs/privapp-permissions-hotword.xml:system/etc/permissions/privapp-permissions-hotword.xml
+ $(COMMON_PATH)/configs/privapp-permissions-hotword.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/privapp-permissions-hotword.xml
# init
PRODUCT_COPY_FILES += \
vendor.lineage.livedisplay@2.0-service.exynos9610
# Media
+PRODUCT_PACKAGES += \
+ libcodec2-hidl-defaults@1.1 \
+ libcodec2_hidl@1.0.vendor \
+ libcodec2_hidl@1.1.vendor \
+ libavservices_minijail_vendor
+
PRODUCT_COPY_FILES += \
$(COMMON_PATH)/configs/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
$(COMMON_PATH)/configs/media/media_codecs_dolby_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_dolby_audio.xml \
$(COMMON_PATH)/configs/media/media_codecs_google_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml \
$(COMMON_PATH)/configs/media/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video.xml \
$(COMMON_PATH)/configs/media/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \
+ $(COMMON_PATH)/configs/media/media_codecs_performance_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_c2.xml \
$(COMMON_PATH)/configs/media/media_profiles_V1_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \
$(COMMON_PATH)/configs/media/media_profiles_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor.xml \
$(COMMON_PATH)/configs/media/media_profiles_vendor_V1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor_V1.xml
android.hardware.power@1.0-impl \
android.hardware.power@1.0-service
-# Protobuf
-PRODUCT_COPY_FILES += \
- prebuilts/vndk/v29/arm64/arch-arm-armv8-a/shared/vndk-core/libprotobuf-cpp-lite.so:$(TARGET_COPY_OUT_VENDOR)/lib/libprotobuf-cpp-lite-v29.so
-
# Public Libraries
PRODUCT_COPY_FILES += \
$(COMMON_PATH)/configs/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt
android.hardware.radio@1.2 \
android.hardware.radio@1.3 \
android.hardware.radio@1.4 \
+ android.hardware.radio@1.5 \
android.hardware.radio.deprecated@1.0
# RenderScript HAL
PRODUCT_PACKAGES += \
android.hardware.renderscript@1.0-impl
+# secure_element
+PRODUCT_PACKAGES += \
+ android.hardware.secure_element@1.0 \
+ android.hardware.secure_element@1.1 \
+ android.hardware.secure_element@1.2
+
# Seccomp
PRODUCT_COPY_FILES += \
- $(COMMON_PATH)/configs/seccomp/mediacodec.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy
+ $(COMMON_PATH)/configs/seccomp/mediacodec.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy \
+ $(COMMON_PATH)/configs/seccomp/samsung.hardware.media.c2@1.1-default-seccomp-policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/samsung.hardware.media.c2@1.1-default-seccomp-policy
# Sensors
PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += \
android.hardware.wifi@1.0-service \
hostapd \
+ TetheringOverlay \
+ WifiOverlay \
wpa_supplicant
PRODUCT_COPY_FILES += \
debug_device=1
############################################
Sif_UseFwXtraInterface=0
-GlueLayer_YearOfHW=2019
+GlueLayer_YearOfHW=2016
gf_enabled=0
notifResponsivenessMs=20000
firmware_run_flags=0x28
# [28]: 1 Use IP2 Cal override configuration
Chip_Configuration_ChipCfgIp2Cal= 0x170A004C
-scheduling_enabled=1
+#scheduling_enabled=1
# force insample mode and sample rate
Chip_Configuration_IspTestConfig=0x28242C22
#
#
# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License Version 2
+# modify it under the terms of the Apache License Version 2
# as published by the Free Software Foundation.
#
on property:ro.carrier=metropcs
write /sys/class/power_supply/battery/device/force_max_chrg_temp 55
-
# Exynos Data folder
mkdir /data/vendor 0775 root system
mkdir /data/vendor/log 0771 root system
+ mkdir /data/vendor/log/cbd 0775 root system
mkdir /data/vendor/gps 0771 system system
mkdir /data/vendor/log/gps 0771 system system
mkdir /data/vendor/log/chub 0771 root system
mkdir /data/vendor/misc 0771 root system
mkdir /data/vendor/misc/vpn 0777 root system
+# regrant permission as the modes align with the partition image
+ mkdir /mnt/vendor/efs 0771 radio system
+ mkdir /mnt/vendor/efsbk 0755 system system
+
# Log data folder
mkdir /data/exynos/log 0771 radio system
mkdir /data/vendor 0771 root system
#chown root system /mnt/vendor/efsbk
chown system system /mnt/vendor/persist
+ chmod 771 /mnt/vendor/efs
+ chmod 771 /mnt/vendor/persist
+
mkdir /mnt/vendor/persist/data/sfs 0700 system system
mkdir /mnt/vendor/persist/data/tz 0700 system system
class main
user gps
group system inet net_raw wakelock
- capabilities BLOCK_SUSPEND NET_RAW
+ capabilities BLOCK_SUSPEND
ioprio be 0
#service charger /system/bin/charger
interface android.hardware.wifi.supplicant@1.0::ISupplicant default
interface android.hardware.wifi.supplicant@1.1::ISupplicant default
interface android.hardware.wifi.supplicant@1.2::ISupplicant default
+ interface android.hardware.wifi.supplicant@1.3::ISupplicant default
socket wpa_wlan0 dgram 660 wifi wifi
disabled
oneshot
user root
disabled
-on property:vendor.charon=1
+on property:vendor.charon.exec=1
rm /data/vendor/misc/vpn/charon.pid
chmod 0666 /dev/tun
start charonservice
-on property:vendor.charon=0
+on property:vendor.charon.exec=0
stop charonservice
rm /data/vendor/misc/vpn/charon.pid
# IMS WiFi Calling [END] #
# IMS packet router daemon
-service pktrouter /system/bin/wfc-pkt-router
- class core
+service pktrouter /vendor/bin/wfc-pkt-router
+ class main
user root
disabled
- seclabel u:r:netutils_wrapper:s0
+ seclabel u:r:pktrouter:s0
-on property:init.svc.vendor.pktrouter=1
+on property:vendor.pktrouter=1
start pktrouter
-on property:init.svc.vendor.pktrouter=0
+on property:vendor.pktrouter=0
stop pktrouter
on property:ro.bootmode=charger
on property:persist.vendor.usb.mot-factory.config=*
setprop persist.sys.usb.mot-factory.config ${persist.vendor.usb.mot-factory.config}
setprop persist.sys.usb.mot-factory.func ${persist.vendor.usb.mot-factory.config}
-
-
-
-service vendor.mmi-usb-sh /vendor/bin/init.mmi.usb.sh
- class late_start
- user root
- group system
- oneshot
mkdir /mnt/vendor/persist/factory/wlan 0755 vendor_tcmd vendor_tcmd
mkdir /mnt/vendor/persist/factory/regulatory 0755 vendor_tcmd system
mkdir /mnt/vendor/persist/public 0755 vendor_tcmd vendor_tcmd
- mkdir /persist/public/atvc 0770 vendor_mot_atvc shell
+ #MMI_STOPSHIP
+ #mkdir /persist/public/atvc 0770 mot_atvc shell
mkdir /mnt/vendor/persist/public/att_dm 0775 radio vendor_tcmd
mkdir /mnt/vendor/persist/public/hiddenmenu 0775 radio vendor_tcmd
mkdir /mnt/vendor/persist/public/hiddenmenu/data 0775 system vendor_tcmd
# Create directory for cutback
mkdir /data/vendor/misc/cutback 0770 radio wifi
+ # Create directory for fm_radio
+ mkdir /data/misc/fm_radio 0770 system system
+
# mkdir IPLog folder
mkdir /data/vendor/misc/iplog 0770 system system
chmod 0666 sys/devices/system/cpu/cpufreq/policy0/scaling_max_freq
chmod 0666 sys/devices/system/cpu/cpufreq/policy4/scaling_max_freq
+# For not to impact boot completed broadcast, set cpusets after broadcast.
+on property:sys.bootbroadcast_completed=1
+ write /dev/cpuset/foreground/cpus 0-7
+ write /dev/cpuset/top-app/cpus 0-7
+ write /dev/cpuset/background/cpus 0-3
+ write /dev/cpuset/system-background/cpus 0-7
+ write /dev/cpuset/restricted/cpus 0-3
+
on charger
trigger early-fs
trigger fs
chmod 0660 /sys/power/wake_lock
chmod 0660 /sys/power/wake_unlock
# setprop ro.board.platform msm8953
+ #MMI_STOPSHIP load_system_props is not allowed
+ # load_system_props
trigger firmware_mounts_complete
setprop sys.usb.configfs 1
setprop sys.usb.config charging
#
#
# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License Version 2
+# modify it under the terms of the Apache License Version 2
# as published by the Free Software Foundation.
#
-->
<MediaCodecs>
- <Include href="media_codecs_google_audio.xml" />
<Include href="media_codecs_google_telephony.xml" />
<Settings>
<Setting name="supports-multiple-secure-codecs" value="true" />
<Limit name="performance-point-1920x1080" range="120" />
<Limit name="concurrent-instances" max="16" />
<Feature name="adaptive-playback" />
+ <Feature name="low-latency" />
</MediaCodec>
<MediaCodec name="OMX.Exynos.H263.Decoder" type="video/3gpp" >
<Quirk name="requires-allocate-on-input-ports" />
<Limit name="performance-point-1920x1080" range="120" />
<Limit name="concurrent-instances" max="16" />
<Feature name="adaptive-playback" />
+ <Feature name="low-latency" />
</MediaCodec>
<MediaCodec name="OMX.Exynos.AVC.Decoder" type="video/avc" >
<Quirk name="requires-allocate-on-input-ports" />
<Limit name="performance-point-3840x2160" range="120" />
<Limit name="concurrent-instances" max="16" />
<Feature name="adaptive-playback" />
+ <Feature name="low-latency" />
</MediaCodec>
<MediaCodec name="OMX.Exynos.AVC.Decoder.secure" type="video/avc" >
<Quirk name="requires-allocate-on-input-ports" />
<Limit name="concurrent-instances" max="2" />
<Feature name="adaptive-playback" />
<Feature name="secure-playback" required="true" />
+ <Feature name="low-latency" />
</MediaCodec>
<MediaCodec name="OMX.Exynos.VP8.Decoder" type="video/x-vnd.on2.vp8" >
<Quirk name="requires-allocate-on-input-ports" />
<Limit name="performance-point-3840x2160" range="120" />
<Limit name="concurrent-instances" max="16" />
<Feature name="adaptive-playback" />
+ <Feature name="low-latency" />
</MediaCodec>
<MediaCodec name="OMX.Exynos.HEVC.Decoder" type="video/hevc" >
<Quirk name="requires-allocate-on-input-ports" />
<Limit name="performance-point-3840x2160" range="120" />
<Limit name="concurrent-instances" max="16" />
<Feature name="adaptive-playback" />
+ <Feature name="low-latency" />
</MediaCodec>
<MediaCodec name="OMX.Exynos.HEVC.Decoder.secure" type="video/hevc" >
<Quirk name="requires-allocate-on-input-ports" />
<Limit name="concurrent-instances" max="2" />
<Feature name="adaptive-playback" />
<Feature name="secure-playback" required="true" />
+ <Feature name="low-latency" />
</MediaCodec>
<MediaCodec name="OMX.Exynos.VP9.Decoder" type="video/x-vnd.on2.vp9" >
<Quirk name="requires-allocate-on-input-ports" />
<Limit name="concurrent-instances" max="16" />
</MediaCodec>
</Encoders>
- <Include href="media_codecs_google_video.xml" />
<Include href="media_codecs_dolby_audio.xml" />
</MediaCodecs>
<Limit name="measured-frame-rate-704x576" range="102-103" /> <!-- N=22 v90%=1.1 -->
</MediaCodec>
<MediaCodec name="OMX.Exynos.AVC.Encoder" type="video/avc" update="true">
- <Limit name="measured-frame-rate-320x240" range="189-198" /> <!-- N=22 v90%=1.2 -->
- <Limit name="measured-frame-rate-720x480" range="106-106" /> <!-- N=22 v90%=1.1 -->
+ <Limit name="measured-frame-rate-320x240" range="598-603" /> <!-- N=22 v90%=1.2 -->
+ <Limit name="measured-frame-rate-720x480" range="366-371" /> <!-- N=22 v90%=1.1 -->
<Limit name="measured-frame-rate-1280x720" range="65-175" /> <!-- N=22 v90%=1.1 -->
<Limit name="measured-frame-rate-1920x1080" range="64-64" /> <!-- N=22 v90%=1.5 -->
</MediaCodec>
<MediaCodec name="OMX.Exynos.HEVC.Encoder" type="video/hevc" update="true">
<Limit name="measured-frame-rate-320x240" range="186-436" /> <!-- N=22 v90%=1.1 -->
- <Limit name="measured-frame-rate-720x480" range="111-119" /> <!-- N=22 v90%=1.1 -->
+ <Limit name="measured-frame-rate-720x480" range="362-363" /> <!-- N=22 v90%=1.1 -->
<!-- measured 90%:63-84 med:66 SLOW -->
<Limit name="measured-frame-rate-1280x720" range="65-169" /> <!-- N=22 v90%=1.2 -->
<Limit name="measured-frame-rate-1920x1080" range="66-66" /> <!-- N=22 v90%=1.5 -->
<Limit name="measured-frame-rate-640x480" range="116-116" /> <!-- N=22 v90%=1.1 -->
</MediaCodec>
<MediaCodec name="OMX.Exynos.VP8.Encoder" type="video/x-vnd.on2.vp8" update="true">
- <Limit name="measured-frame-rate-320x180" range="205-222" /> <!-- N=22 v90%=1.2 -->
- <Limit name="measured-frame-rate-640x360" range="120-120" /> <!-- N=22 v90%=1.3 -->
+ <Limit name="measured-frame-rate-320x180" range="205-250" /> <!-- N=22 v90%=1.2 -->
+ <Limit name="measured-frame-rate-640x360" range="289-290" /> <!-- N=22 v90%=1.3 -->
<Limit name="measured-frame-rate-1280x720" range="63-67" /> <!-- N=22 v90%=1.1 -->
<Limit name="measured-frame-rate-1920x1080" range="55-60" /> <!-- N=22 v90%=1.4 -->
</MediaCodec>
<MediaCodec name="OMX.Exynos.VP9.Encoder" type="video/x-vnd.on2.vp9" update="true">
- <Limit name="measured-frame-rate-320x180" range="205-214" /> <!-- N=22 v90%=1.2 -->
+ <Limit name="measured-frame-rate-320x180" range="501-502" /> <!-- N=22 v90%=1.2 -->
<Limit name="measured-frame-rate-640x360" range="133-133" /> <!-- N=22 v90%=1.1 -->
<!-- measured 90%:61-84 med:64 SLOW -->
<Limit name="measured-frame-rate-1280x720" range="64-72" /> <!-- N=22 v90%=1.2 -->
<Limit name="measured-frame-rate-1920x1080" range="44-120" /> <!-- N=22 v90%=1.2 -->
</MediaCodec>
- <MediaCodec name="OMX.google.h263.encoder" type="video/3gpp" update="true">
- <Limit name="measured-frame-rate-176x144" range="143-144" /> <!-- N=22 v90%=1.0 -->
- </MediaCodec>
- <MediaCodec name="OMX.google.h264.encoder" type="video/avc" update="true">
- <Limit name="measured-frame-rate-320x240" range="145-154" /> <!-- N=22 v90%=1.1 -->
- <Limit name="measured-frame-rate-720x480" range="77-77" /> <!-- N=22 v90%=1.0 -->
- <Limit name="measured-frame-rate-1280x720" range="36-36" /> <!-- N=22 v90%=1.0 -->
- <Limit name="measured-frame-rate-1920x1080" range="19-55" /> <!-- N=22 v90%=1.0 -->
- </MediaCodec>
- <MediaCodec name="OMX.google.mpeg4.encoder" type="video/mp4v-es" update="true">
- <Limit name="measured-frame-rate-176x144" range="131-131" /> <!-- N=22 v90%=1.1 -->
- </MediaCodec>
- <MediaCodec name="OMX.google.vp8.encoder" type="video/x-vnd.on2.vp8" update="true">
- <Limit name="measured-frame-rate-320x180" range="39-40" /> <!-- N=22 v90%=1.0 -->
- <Limit name="measured-frame-rate-640x360" range="35-36" /> <!-- N=22 v90%=1.0 -->
- <Limit name="measured-frame-rate-1280x720" range="26-26" /> <!-- N=22 v90%=1.0 -->
- <Limit name="measured-frame-rate-1920x1080" range="9-10" /> <!-- N=22 v90%=1.0 -->
- </MediaCodec>
</Encoders>
<Decoders>
<MediaCodec name="OMX.Exynos.H263.Decoder" type="video/3gpp" update="true">
<!-- measured 90%:238-241 med:240 N=18 -->
<Limit name="measured-frame-rate-1920x1080" range="239-240" /> <!-- v90%=1.0 -->
</MediaCodec>
- <MediaCodec name="OMX.google.h263.decoder" type="video/3gpp" update="true">
- <!-- measured 90%:76-165 med:83 SLOW N=18 -->
- <Limit name="measured-frame-rate-176x144" range="83-112" /> <!-- v90%=1.5 -->
- </MediaCodec>
- <MediaCodec name="OMX.google.h264.decoder" type="video/avc" update="true">
- <!-- measured 90%:181-215 med:185 N=18 -->
- <Limit name="measured-frame-rate-320x240" range="385-1000" /> <!-- v90%=1.1 -->
- <!-- measured 90%:71-77 med:73 N=18 -->
- <Limit name="measured-frame-rate-720x480" range="73-190" /> <!-- v90%=1.0 -->
- <!-- measured 90%:31-33 med:32 N=18 -->
- <Limit name="measured-frame-rate-1280x720" range="32-120" /> <!-- v90%=1.0 -->
- <!-- measured 90%:15-17 med:15 N=18 -->
- <Limit name="measured-frame-rate-1920x1080" range="15-50" /> <!-- v90%=1.0 -->
- </MediaCodec>
- <MediaCodec name="OMX.google.hevc.decoder" type="video/hevc" update="true">
- <!-- measured 90%:191-276 med:237 N=18 -->
- <Limit name="measured-frame-rate-352x288" range="230-840" /> <!-- v90%=1.2 -->
- <!-- measured 90%:169-183 med:178 N=18 -->
- <Limit name="measured-frame-rate-640x360" range="176-176" /> <!-- v90%=1.0 -->
- <!-- measured 90%:141-168 med:160 N=18 -->
- <Limit name="measured-frame-rate-720x480" range="154-370" /> <!-- v90%=1.1 -->
- <!-- measured 90%:70-74 med:72 N=18 -->
- <Limit name="measured-frame-rate-1280x720" range="72-72" /> <!-- v90%=1.0 -->
- <!-- measured 90%:38-41 med:40 N=18 -->
- <Limit name="measured-frame-rate-1920x1080" range="39-90" /> <!-- v90%=1.0 -->
- </MediaCodec>
- <MediaCodec name="OMX.google.mpeg4.decoder" type="video/mp4v-es" update="true">
- <!-- measured 90%:82-170 med:96 SLOW N=18 -->
- <Limit name="measured-frame-rate-176x144" range="96-118" /> <!-- v90%=1.4 -->
- </MediaCodec>
- <MediaCodec name="OMX.google.vp8.decoder" type="video/x-vnd.on2.vp8" update="true">
- <!-- measured 90%:261-623 med:278 SLOW N=18 -->
- <Limit name="measured-frame-rate-320x180" range="278-1135" /> <!-- v90%=1.5 -->
- <!-- measured 90%:334-358 med:350 N=18 -->
- <Limit name="measured-frame-rate-640x360" range="346-346" /> <!-- v90%=1.0 -->
- <!-- measured 90%:33-34 med:33 N=18 -->
- <Limit name="measured-frame-rate-1920x1080" range="33-33" /> <!-- v90%=1.0 -->
- </MediaCodec>
- <MediaCodec name="OMX.google.vp9.decoder" type="video/x-vnd.on2.vp9" update="true">
- <!-- measured 90%:267-310 med:285 N=18 -->
- <Limit name="measured-frame-rate-320x180" range="285-785" /> <!-- v90%=1.1 -->
- <!-- measured 90%:112-338 med:188 N=18 -->
- <Limit name="measured-frame-rate-640x360" range="187-195" /> <!-- v90%=1.7 -->
- <!-- measured 90%:105-162 med:159 N=18 -->
- <Limit name="measured-frame-rate-1280x720" range="131-131" /> <!-- v90%=1.2 -->
- <!-- measured 90%:32-49 med:38 N=18 -->
- <Limit name="measured-frame-rate-1920x1080" range="37-100" /> <!-- v90%=1.2 -->
- </MediaCodec>
</Decoders>
</MediaCodecs>
--- /dev/null
+<?xml version="1.0" encoding="utf-8" ?>
+<!-- Copyright 2016 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.
+-->
+
+<MediaCodecs>
+ <Decoders>
+ <MediaCodec name="c2.android.h263.decoder" type="video/3gpp" update="true">
+ <!-- measured 90%:784-856 med:820 N=2 -->
+ <Limit name="measured-frame-rate-176x144" range="368-688" /> <!-- v90%=1.0 -->
+ <Limit name="measured-frame-rate-352x288" range="373-593" /> <!-- v90%=1.0 -->
+ </MediaCodec>
+ <MediaCodec name="c2.android.avc.decoder" type="video/avc" update="true">
+ <!-- measured 90%:342-360 med:343 N=2 -->
+ <Limit name="measured-frame-rate-320x240" range="167-344" /> <!-- v90%=1.0 -->
+ <!-- measured 90%:142-147 med:143 N=2 -->
+ <Limit name="measured-frame-rate-720x480" range="87-156" /> <!-- v90%=1.0 -->
+ <!-- measured 90%:54-56 med:55 N=2 -->
+ <Limit name="measured-frame-rate-1280x720" range="38-64" /> <!-- v90%=1.0 -->
+ <!-- measured 90%:25-26 med:26 N=2 -->
+ <Limit name="measured-frame-rate-1920x1080" range="17-27" /> <!-- v90%=1.0 -->
+ </MediaCodec>
+ <MediaCodec name="c2.android.hevc.decoder" type="video/hevc" update="true">
+ <!-- measured 90%:295-301 med:296 N=2 -->
+ <Limit name="measured-frame-rate-352x288" range="152-342" /> <!-- v90%=1.0 -->
+ <!-- measured 90%:196-207 med:196 N=2 -->
+ <Limit name="measured-frame-rate-640x360" range="87-205" /> <!-- v90%=1.0 -->
+ <!-- measured 90%:177-180 med:178 N=2 -->
+ <Limit name="measured-frame-rate-720x480" range="88-163" /> <!-- v90%=1.0 -->
+ <!-- measured 90%:81-82 med:82 N=2 -->
+ <Limit name="measured-frame-rate-1280x720" range="49-92" /> <!-- v90%=1.0 -->
+ <!-- measured 90%:45-47 med:46 N=2 -->
+ <Limit name="measured-frame-rate-1920x1080" range="32-41" /> <!-- v90%=1.0 -->
+ </MediaCodec>
+ <MediaCodec name="c2.android.mpeg4.decoder" type="video/mp4v-es" update="true">
+ <!-- measured 90%:837-947 med:892 N=2 -->
+ <Limit name="measured-frame-rate-176x144" range="363-707" /> <!-- v90%=1.0 -->
+ </MediaCodec>
+ <MediaCodec name="c2.android.vp8.decoder" type="video/x-vnd.on2.vp8" update="true">
+ <!-- measured 90%:445-623 med:445 SLOW N=2 -->
+ <Limit name="measured-frame-rate-320x180" range="187-478" /> <!-- v90%=1.2 -->
+ <!-- measured 90%:198-199 med:198 N=2 -->
+ <Limit name="measured-frame-rate-640x360" range="126-201" /> <!-- v90%=1.0 -->
+ <!-- measured 90%:18-19 med:18 N=2 -->
+ <Limit name="measured-frame-rate-1920x1080" range="18-30" /> <!-- v90%=1.0 -->
+ </MediaCodec>
+ <MediaCodec name="c2.android.vp9.decoder" type="video/x-vnd.on2.vp9" update="true">
+ <!-- measured 90%:440-463 med:441 N=2 -->
+ <Limit name="measured-frame-rate-320x180" range="155-386" /> <!-- v90%=1.0 -->
+ <!-- measured 90%:232-234 med:233 N=2 -->
+ <Limit name="measured-frame-rate-640x360" range="110-260" /> <!-- v90%=1.0 -->
+ <!-- measured 90%:63-64 med:63 N=2 -->
+ <Limit name="measured-frame-rate-1280x720" range="75-104" /> <!-- v90%=1.0 -->
+ <!-- measured 90%:39-40 med:39 N=2 -->
+ <Limit name="measured-frame-rate-1920x1080" range="50-52" /> <!-- v90%=1.0 -->
+ </MediaCodec>
+ </Decoders>
+
+ <Encoders>
+ <MediaCodec name="c2.android.h263.encoder" type="video/3gpp" update="true">
+ <!-- measured 90%:440-443 med:440 N=2 -->
+ <Limit name="measured-frame-rate-176x144" range="374-416" /> <!-- v90%=1.0 -->
+ </MediaCodec>
+ <MediaCodec name="c2.android.avc.encoder" type="video/avc" update="true">
+ <!-- measured 90%:345-350 med:345 N=2 -->
+ <Limit name="measured-frame-rate-320x240" range="314-453" /> <!-- v90%=1.0 -->
+ <!-- measured 90%:101-103 med:101 N=2 -->
+ <Limit name="measured-frame-rate-720x480" range="65-85" /> <!-- v90%=1.0 -->
+ <!-- measured 90%:54-55 med:54 N=2 -->
+ <Limit name="measured-frame-rate-1280x720" range="46-51" /> <!-- v90%=1.0 -->
+ <!-- measured 90%:28-30 med:29 N=2 -->
+ <Limit name="measured-frame-rate-1920x1080" range="32-37" /> <!-- v90%=1.0 -->
+ </MediaCodec>
+ <MediaCodec name="c2.android.hevc.encoder" type="video/hevc" update="true">
+ <!-- measured 90%:461-471 med:462 N=2 -->
+ <Limit name="measured-frame-rate-320x240" range="34-45" /> <!-- v90%=1.0 -->
+ </MediaCodec>
+ <MediaCodec name="c2.android.mpeg4.encoder" type="video/mp4v-es" update="true">
+ <!-- measured 90%:461-471 med:462 N=2 -->
+ <Limit name="measured-frame-rate-176x144" range="413-415" /> <!-- v90%=1.0 -->
+ </MediaCodec>
+ <MediaCodec name="c2.android.vp8.encoder" type="video/x-vnd.on2.vp8" update="true">
+ <!-- measured 90%:49-87 med:50 SLOW N=2 -->
+ <Limit name="measured-frame-rate-320x180" range="108-116" /> <!-- v90%=1.3 -->
+ <!-- measured 90%:55-57 med:56 N=2 -->
+ <Limit name="measured-frame-rate-640x360" range="57-72" /> <!-- v90%=1.0 -->
+ <!-- measured 90%:34-35 med:34 N=2 -->
+ <Limit name="measured-frame-rate-1280x720" range="30-32" /> <!-- v90%=1.0 -->
+ <!-- measured 90%:29-31 med:30 N=2 -->
+ <Limit name="measured-frame-rate-1920x1080" range="13-14" /> <!-- v90%=1.0 -->
+ </MediaCodec>
+ </Encoders>
+</MediaCodecs>
<?xml version="1.0" encoding="utf-8"?>
<permissions>
<privapp-permissions package="com.android.hotwordenrollment.okgoogle">
- <permission name="android.permission.MANAGE_VOICE_KEYPHRASES"/>
- </privapp-permissions>
-
- <privapp-permissions package="com.android.hotwordenrollment.tgoogle">
- <permission name="android.permission.MANAGE_VOICE_KEYPHRASES"/>
+ <permission name="android.permission.KEYPHRASE_ENROLLMENT_APPLICATION"/>
+ <permission name="android.permission.INTERACT_ACROSS_USERS"/>
</privapp-permissions>
<privapp-permissions package="com.android.hotwordenrollment.xgoogle">
- <permission name="android.permission.MANAGE_VOICE_KEYPHRASES"/>
+ <permission name="android.permission.KEYPHRASE_ENROLLMENT_APPLICATION"/>
+ <permission name="android.permission.INTERACT_ACROSS_USERS"/>
</privapp-permissions>
</permissions>
getdents64: 1
clock_gettime: 1
getpid: 1
+gettid: 1
# used during process crash by crash_dump to dump process info
rt_sigprocmask: 1
--- /dev/null
+# 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.
+
+futex: 1
+# ioctl calls are filtered via the selinux policy.
+ioctl: 1
+sched_yield: 1
+close: 1
+dup: 1
+ppoll: 1
+mprotect: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
+mmap: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
+getuid: 1
+getrlimit: 1
+fstat: 1
+newfstatat: 1
+fstatfs: 1
+memfd_create: 1
+ftruncate: 1
+
+# mremap: Ensure |flags| are (MREMAP_MAYMOVE | MREMAP_FIXED) TODO: Once minijail
+# parser support for '<' is in this needs to be modified to also prevent
+# |old_address| and |new_address| from touching the exception vector page, which
+# on ARM is statically loaded at 0xffff 0000. See
+# http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0211h/Babfeega.html
+# for more details.
+mremap: arg3 == 3
+munmap: 1
+prctl: 1
+writev: 1
+sigaltstack: 1
+clone: 1
+exit: 1
+lseek: 1
+rt_sigprocmask: 1
+openat: 1
+write: 1
+nanosleep: 1
+setpriority: 1
+set_tid_address: 1
+getdents64: 1
+readlinkat: 1
+read: 1
+pread64: 1
+gettimeofday: 1
+faccessat: 1
+exit_group: 1
+restart_syscall: 1
+rt_sigreturn: 1
+getrandom: 1
+madvise: 1
+
+# crash dump policy additions
+clock_gettime: 1
+getpid: 1
+gettid: 1
+pipe2: 1
+recvmsg: 1
+process_vm_readv: 1
+tgkill: 1
+rt_sigaction: 1
+rt_tgsigqueueinfo: 1
+#mprotect: arg2 in 0x1|0x2
+munmap: 1
+#mmap: arg2 in 0x1|0x2
+geteuid: 1
+getgid: 1
+getegid: 1
+getgroups: 1
p2p_disabled=1
update_config=1
pmf=1
+driver_param=p2p_no_group_iface=1
# Remove libhidltransport dependency
"${PATCHELF}" --remove-needed "libhidltransport.so" "${BLOB_ROOT}"/vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service-rbs
-"${PATCHELF}" --remove-needed "libhidltransport.so" "${BLOB_ROOT}"/vendor/bin/hw/android.hardware.drm@1.2-service.widevine
-"${PATCHELF}" --remove-needed "libhidltransport.so" "${BLOB_ROOT}"/vendor/bin/hw/android.hardware.secure_element@1.1-service-uicc
-"${PATCHELF}" --remove-needed "libhidltransport.so" "${BLOB_ROOT}"/vendor/bin/hw/vendor.samsung.hardware.gnss@1.0-service
-"${PATCHELF}" --remove-needed "libhidltransport.so" "${BLOB_ROOT}"/vendor/lib/hw/vendor.egistec.hardware.fingerprint@4.0-impl.so
-"${PATCHELF}" --remove-needed "libhidltransport.so" "${BLOB_ROOT}"/vendor/lib/libGrallocWrapper.so
-"${PATCHELF}" --remove-needed "libhidltransport.so" "${BLOB_ROOT}"/vendor/lib/libsitril-client.so
-"${PATCHELF}" --remove-needed "libhidltransport.so" "${BLOB_ROOT}"/vendor/lib/libwvhidl.so
-"${PATCHELF}" --remove-needed "libhidltransport.so" "${BLOB_ROOT}"/vendor/lib/vendor.egistec.hardware.fingerprint@4.0.so
-"${PATCHELF}" --remove-needed "libhidltransport.so" "${BLOB_ROOT}"/vendor/lib/vendor.samsung_slsi.telephony.hardware.oemservice@1.0.so
-"${PATCHELF}" --remove-needed "libhidltransport.so" "${BLOB_ROOT}"/vendor/lib/vendor.samsung_slsi.telephony.hardware.radio@1.0.so
-"${PATCHELF}" --remove-needed "libhidltransport.so" "${BLOB_ROOT}"/vendor/lib/vendor.samsung_slsi.telephony.hardware.radio@1.1.so
-"${PATCHELF}" --remove-needed "libhidltransport.so" "${BLOB_ROOT}"/vendor/lib/vendor.samsung_slsi.telephony.hardware.radioExternal@1.0.so
"${PATCHELF}" --remove-needed "libhidltransport.so" "${BLOB_ROOT}"/vendor/lib64/hw/android.hardware.gnss@1.0-impl.samsung.so
"${PATCHELF}" --remove-needed "libhidltransport.so" "${BLOB_ROOT}"/vendor/lib64/hw/android.hardware.gnss@1.1-impl.samsung.so
"${PATCHELF}" --remove-needed "libhidltransport.so" "${BLOB_ROOT}"/vendor/lib64/hw/android.hardware.gnss@2.0-impl.samsung.so
-"${PATCHELF}" --remove-needed "libhidltransport.so" "${BLOB_ROOT}"/vendor/lib64/hw/vendor.egistec.hardware.fingerprint@4.0-impl.so
"${PATCHELF}" --remove-needed "libhidltransport.so" "${BLOB_ROOT}"/vendor/lib64/hw/vendor.samsung.hardware.gnss@1.0-impl.so
-"${PATCHELF}" --remove-needed "libhidltransport.so" "${BLOB_ROOT}"/vendor/lib64/libGrallocWrapper.so
-"${PATCHELF}" --remove-needed "libhidltransport.so" "${BLOB_ROOT}"/vendor/lib64/libsitril-client.so
-"${PATCHELF}" --remove-needed "libhidltransport.so" "${BLOB_ROOT}"/vendor/lib64/vendor.egistec.hardware.fingerprint@4.0.so
-"${PATCHELF}" --remove-needed "libhidltransport.so" "${BLOB_ROOT}"/vendor/lib64/vendor.samsung.hardware.gnss@1.0.so
-"${PATCHELF}" --remove-needed "libhidltransport.so" "${BLOB_ROOT}"/vendor/lib64/vendor.samsung_slsi.telephony.hardware.oemservice@1.0.so
-"${PATCHELF}" --remove-needed "libhidltransport.so" "${BLOB_ROOT}"/vendor/lib64/vendor.samsung_slsi.telephony.hardware.radio@1.0.so
-"${PATCHELF}" --remove-needed "libhidltransport.so" "${BLOB_ROOT}"/vendor/lib64/vendor.samsung_slsi.telephony.hardware.radio@1.1.so
-"${PATCHELF}" --remove-needed "libhidltransport.so" "${BLOB_ROOT}"/vendor/lib64/vendor.samsung_slsi.telephony.hardware.radioExternal@1.0.so
# Remove libhwbinder dependency
-"${PATCHELF}" --remove-needed "libhwbinder.so" "${BLOB_ROOT}"/vendor/bin/hw/android.hardware.drm@1.2-service.widevine
-"${PATCHELF}" --remove-needed "libhwbinder.so" "${BLOB_ROOT}"/vendor/bin/hw/android.hardware.secure_element@1.1-service-uicc
-"${PATCHELF}" --remove-needed "libhwbinder.so" "${BLOB_ROOT}"/vendor/lib/libsitril-client.so
-"${PATCHELF}" --remove-needed "libhwbinder.so" "${BLOB_ROOT}"/vendor/lib/libwvhidl.so
-"${PATCHELF}" --remove-needed "libhwbinder.so" "${BLOB_ROOT}"/vendor/lib/vendor.egistec.hardware.fingerprint@4.0.so
-"${PATCHELF}" --remove-needed "libhwbinder.so" "${BLOB_ROOT}"/vendor/lib/vendor.samsung_slsi.telephony.hardware.oemservice@1.0.so
-"${PATCHELF}" --remove-needed "libhwbinder.so" "${BLOB_ROOT}"/vendor/lib/vendor.samsung_slsi.telephony.hardware.radio@1.0.so
-"${PATCHELF}" --remove-needed "libhwbinder.so" "${BLOB_ROOT}"/vendor/lib/vendor.samsung_slsi.telephony.hardware.radio@1.1.so
-"${PATCHELF}" --remove-needed "libhwbinder.so" "${BLOB_ROOT}"/vendor/lib/vendor.samsung_slsi.telephony.hardware.radioExternal@1.0.so
"${PATCHELF}" --remove-needed "libhwbinder.so" "${BLOB_ROOT}"/vendor/lib64/hw/android.hardware.gnss@1.0-impl.samsung.so
"${PATCHELF}" --remove-needed "libhwbinder.so" "${BLOB_ROOT}"/vendor/lib64/hw/android.hardware.gnss@1.1-impl.samsung.so
"${PATCHELF}" --remove-needed "libhwbinder.so" "${BLOB_ROOT}"/vendor/lib64/hw/android.hardware.gnss@2.0-impl.samsung.so
-"${PATCHELF}" --remove-needed "libhwbinder.so" "${BLOB_ROOT}"/vendor/lib64/hw/vendor.samsung.hardware.gnss@1.0-impl.so
-"${PATCHELF}" --remove-needed "libhwbinder.so" "${BLOB_ROOT}"/vendor/lib64/libsitril-client.so
-"${PATCHELF}" --remove-needed "libhwbinder.so" "${BLOB_ROOT}"/vendor/lib64/vendor.egistec.hardware.fingerprint@4.0.so
-"${PATCHELF}" --remove-needed "libhwbinder.so" "${BLOB_ROOT}"/vendor/lib64/vendor.samsung.hardware.gnss@1.0.so
-"${PATCHELF}" --remove-needed "libhwbinder.so" "${BLOB_ROOT}"/vendor/lib64/vendor.samsung_slsi.telephony.hardware.oemservice@1.0.so
-"${PATCHELF}" --remove-needed "libhwbinder.so" "${BLOB_ROOT}"/vendor/lib64/vendor.samsung_slsi.telephony.hardware.radio@1.0.so
-"${PATCHELF}" --remove-needed "libhwbinder.so" "${BLOB_ROOT}"/vendor/lib64/vendor.samsung_slsi.telephony.hardware.radio@1.1.so
-"${PATCHELF}" --remove-needed "libhwbinder.so" "${BLOB_ROOT}"/vendor/lib64/vendor.samsung_slsi.telephony.hardware.radioExternal@1.0.so
-
-"${PATCHELF}" --replace-needed libprotobuf-cpp-lite.so libprotobuf-cpp-lite-v29.so "${BLOB_ROOT}"/vendor/lib/libwvhidl.so
"${MY_DIR}/setup-makefiles.sh"
<fqname>@1.0::ICryptoFactory/default</fqname>
<fqname>@1.0::IDrmFactory/default</fqname>
<fqname>@1.3::ICryptoFactory/clearkey</fqname>
- <fqname>@1.2::ICryptoFactory/widevine</fqname>
+ <fqname>@1.3::ICryptoFactory/widevine</fqname>
<fqname>@1.3::IDrmFactory/clearkey</fqname>
- <fqname>@1.2::IDrmFactory/widevine</fqname>
+ <fqname>@1.3::IDrmFactory/widevine</fqname>
</hal>
<hal format="hidl">
<name>android.hardware.gatekeeper</name>
<hal format="hidl">
<name>android.hardware.radio</name>
<transport>hwbinder</transport>
- <version>1.4</version>
- <interface>
- <name>IRadio</name>
- <instance>slot1</instance>
- <instance>slot2</instance>
- </interface>
- <fqname>@1.4::IRadio/slot1</fqname>
- <fqname>@1.4::IRadio/slot2</fqname>
+ <fqname>@1.2::ISap/slot1</fqname>
+ <fqname>@1.2::ISap/slot2</fqname>
+ <fqname>@1.5::IRadio/slot1</fqname>
+ <fqname>@1.5::IRadio/slot2</fqname>
</hal>
<hal format="hidl">
<name>android.hardware.radio.config</name>
<hal format="hidl">
<name>android.hardware.secure_element</name>
<transport>hwbinder</transport>
- <version>1.1</version>
+ <version>1.2</version>
<interface>
<name>ISecureElement</name>
<instance>SIM1</instance>
+ <instance>SIM2</instance>
</interface>
- <fqname>@1.1::ISecureElement/SIM1</fqname>
+ <fqname>@1.2::ISecureElement/SIM1</fqname>
+ <fqname>@1.2::ISecureElement/SIM2</fqname>
</hal>
<hal format="hidl">
<name>android.hardware.sensors</name>
<fqname>@1.1::IOemSamsungslsi/slot2</fqname>
</hal>
<hal format="hidl">
- <name>vendor.samsung_slsi.telephony.hardware.radioExternal</name>
+ <name>vendor.samsung_slsi.telephony.hardware.oemservice</name>
<transport>hwbinder</transport>
<version>1.0</version>
+ <interface>
+ <name>IOemService</name>
+ <instance>dm0</instance>
+ <instance>dm1</instance>
+ <instance>sced0</instance>
+ </interface>
+ <fqname>@1.0::IOemService/dm0</fqname>
+ <fqname>@1.0::IOemService/dm1</fqname>
+ <fqname>@1.0::IOemService/sced0</fqname>
+ </hal>
+ <hal format="hidl">
+ <name>vendor.samsung_slsi.telephony.hardware.radioExternal</name>
+ <transport>hwbinder</transport>
+ <version>1.1</version>
<interface>
<name>IOemSlsiRadioExternal</name>
<instance>rilExternal</instance>
</interface>
- <fqname>@1.0::IOemSlsiRadioExternal/rilExternal</fqname>
+ <fqname>@1.1::IOemSlsiRadioExternal/rilExternal</fqname>
</hal>
</manifest>
-->
<string translatable="false" name="config_mainBuiltInDisplayCutout">M 0,0 H 57.58 V 55.0 H 0 V 0 Z @dp @left</string>
+ <dimen name="config_dialogCornerRadius">6.0dip</dimen>
<dimen name="quick_qs_offset_height">165px</dimen>
<dimen name="status_bar_height">165px</dimen>
<dimen name="status_bar_height_landscape">24dp</dimen>
</string-array>
<string-array name="config_mobile_tcp_buffers">
<item>1xrtt:16384,32768,32768,4096,8096,65536</item>
- <item>lte:2097152,4194304,8388608,262144,524288,1048576</item>
- </string-array>
- <string-array name="config_oemUsbModeOverride">
- <item>bp-tools:adb:rndis,acm,dm,adb:adb</item>
- <item>bp-tools:mtp:rndis,acm,dm:mtp</item>
- <item>bp-tools:mtp,adb:rndis,acm,dm,adb:mtp,adb</item>
- <item>bp-tools:ptp:rndis,acm,dm:ptp</item>
- <item>bp-tools:ptp,adb:rndis,acm,dm,adb:ptp,adb</item>
- <item>bp-tools:rndis:rndis,acm,dm:mtp</item>
- <item>bp-tools:rndis,adb:rndis,acm,dm,adb:mtp,adb</item>
- <item>normal:mtp:mtp:mtp</item>
- <item>normal:mtp,adb:mtp,adb:mtp,adb</item>
- <item>mot-factory:mtp:usbnet:mtp</item>
- <item>mot-factory:mtp,adb:usbnet,adb:mtp,adb</item>
- <item>mot-factory:adb:usbnet,adb:adb</item>
+ <item>lte:2097152,8388608,33554432,524288,1048576,2097152</item>
+ <item>nr:4194304,16777216,33554432,1048576,2097152,8388608</item>
</string-array>
<integer-array name="config_screenBrightnessBacklight">
<item>0</item>
<item>400</item>
<item>450</item>
</integer-array>
- <string-array name="config_tether_bluetooth_regexs">
- <item>bt-pan</item>
- </string-array>
- <string-array name="config_tether_usb_regexs">
- <item>"usb\\d"</item>
- <item>"rndis\\d"</item>
- </string-array>
- <string-array translatable="false" name="config_tether_wifi_regexs">
- <item>"wlan0"</item>
- <item>"softap.*"</item>
- </string-array>
<integer-array name="config_virtualKeyVibePattern">
<item>0</item>
<item>26</item>
</integer-array>
<bool name="config_bluetooth_hfp_inband_ringing_support">true</bool>
+ <bool name="config_enableNewAutoSelectNetworkUI">false</bool>
<bool name="config_hotswapCapable">true</bool>
<bool name="config_nightDisplayAvailable">true</bool>
<bool name="config_showNavigationBar">true</bool>
+ <bool name="config_smart_battery_available">true</bool>
<bool name="config_supportSystemNavigationKeys">true</bool>
<bool name="config_unplugTurnsOnScreen">true</bool>
<bool name="config_useDevInputEventForAudioJack">true</bool>
- <bool name="config_wifi_background_scan_support">true</bool>
- <bool name="config_wifi_connected_mac_randomization_supported">true</bool>
- <bool name="config_wifi_dual_band_support">true</bool>
- <bool name="config_wifi_fast_bss_transition_enabled">true</bool>
- <bool name="config_wifi_p2p_mac_randomization_supported">true</bool>
- <bool name="config_wifi_softap_acs_supported">false</bool>
+ <bool name="config_wlan_data_service_conn_persistence_on_restart">false</bool>
<bool name="skip_restoring_network_selection">true</bool>
<integer name="config_cameraLaunchGestureSensorType">65540</integer>
+ <integer name="config_bluetooth_operating_voltage_mv">3300</integer>
<integer name="config_multiuserMaximumUsers">4</integer>
<integer name="config_safe_media_volume_index">9</integer>
<integer name="config_screenBrightnessDark">2</integer>
<string name="config_cameraLaunchGestureSensorStringType">com.motorola.sensor.camera_activate</string>
<string name="config_radio_access_family">GSM|CDMA|EVDO|WCDMA|LTE</string>
- <string name="config_wifi_tcp_buffers">2097152,4194304,8388608,2097152,4194304,8388608</string>
- <bool translatable="false" name="config_wifi_softap_ieee80211ac_supported">true</bool>
<bool name="config_enableWifiDisplay">true</bool>
<!-- Boolean indicating if current platform supports BLE peripheral mode -->
<bool name="config_bluetooth_le_peripheral_mode_supported">true</bool>
+
+ <!-- IWLAN data service package name to bind to by default. If none is specified in an overlay, an
+ empty string is passed in -->
+ <string name="config_wlan_data_service_package">com.shannon.dataservice</string>
+
+ <!-- IWLAN network service package name to bind to by default. If none is specified in an overlay, an
+ empty string is passed in -->
+ <string name="config_wlan_network_service_package">com.shannon.networkservice</string>
+
+ <!-- Telephony qualified networks service package name to bind to by default. -->
+ <string name="config_qualified_networks_service_package">com.shannon.qualifiednetworksservice</string>
+
+ <!-- MMS user-agent -->
+ <string name="config_mms_user_agent_profile_url">http://uaprof.motorola.com/phoneconfig/motov1/Profile/motov1.rdf</string>
</resources>
*/
-->
<resources>
+ <bool name="def_mobile_data_always_on">false</bool>
<!-- Set the automatic brightness mode on by default -->
<bool name="def_screen_brightness_automatic_mode">true</bool>
+ <bool name="def_sound_effects_enabled">false</bool>
</resources>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/**
+ * Copyright 2020, The LineageOS 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.
+ */
+-->
+<resources>
+ <dimen name="global_actions_top_padding">650.0px</dimen>
+ <dimen name="qs_detail_margin_top">165.0px</dimen>
+ <dimen name="real_rounded_corner_radius">104.0px</dimen>
+ <dimen name="rounded_corner_content_padding">6.0px</dimen>
+
+ <bool name="doze_display_state_supported">true</bool>
+</resources>
--- /dev/null
+## Audio
+audio.record.delay=60
+
+## GMS
+ro.opa.eligible_device=true
+ro.gwfcactivation.disabled_carriers=1187,1492,1839
+ro.com.google.ime.system_lm_dir=/product/usr/share/ime/google/d3_lms/
+
+## LMK
+ro.lmk.kill_heaviest_task=true
+ro.lmk.thrashing_limit=60
+ro.lmk.swap_free_low_percentage=20
+ro.lmk.swap_util_max=80
+ro.lmk.psi_complete_stall_ms=80
+ro.lowmemdetector.psi_low_stall_us=100000
+ro.lowmemdetector.psi_medium_stall_us=150000
+ro.lowmemdetector.psi_high_stall_us=200000
+
+## Moto
+ro.mot.build.customerid=retail
+
+## RIL
+ril.subscription.types=RUIM
-## Common proprietary files - from motorola/troika_retail/troika_sprout:10/QSBS30.62-29-11-5/db5cb, unless pinned
+## Common proprietary files - from motorola/troika_retail/troika_sprout:11/RSBS31.Q1-48-36-20/3e578:user/release-keys, unless pinned
## Audio
vendor/bin/main_abox
vendor/lib/liboemcrypto.so
## DRM - Widevine
-vendor/bin/hw/android.hardware.drm@1.2-service.widevine
-vendor/etc/init/android.hardware.drm@1.2-service.widevine.rc
+vendor/bin/hw/android.hardware.drm@1.3-service.widevine
+vendor/etc/init/android.hardware.drm@1.3-service.widevine.rc
vendor/lib/libwvhidl.so
## Fingerprint
## Firmware
vendor/firmware/AP_AUDIO_SLSI.bin
-vendor/firmware/CC_DRAM_CODE_FLASH.bin
vendor/firmware/CC_DRAM_CODE_FLASH_HIFI.bin
-vendor/firmware/CC_DTCM_CODE_FLASH.bin
vendor/firmware/CC_DTCM_CODE_FLASH_HIFI.bin
-vendor/firmware/CC_ITCM_CODE_FLASH.bin
vendor/firmware/CC_ITCM_CODE_FLASH_HIFI.bin
vendor/firmware/CP_AUDIO_SLSI.bin
vendor/firmware/WithLightFixNoBN.SDNNmodel
vendor/firmware/cs35l41-dsp1-spk-prot-voice-aac.bin
vendor/firmware/cs35l41-dsp1-spk-prot-voice-qisheng.bin
vendor/firmware/default_configuration.hfd.cfg.json
-vendor/firmware/kernel_bin_enf.bin
-vendor/firmware/kernel_bin_inception.bin
-vendor/firmware/kernel_bin_mobile_vgg.bin
vendor/firmware/marley-dsp2-aov-frontend.wmfw
vendor/firmware/marley-dsp2-aov-vrgain.bin
vendor/firmware/marley-dsp3-aov-control.wmfw
vendor/lib/libacryl_plugin_slsi_hdr10.so
vendor/lib/libcsc.so
vendor/lib/libexynosdisplay.so
+vendor/lib/libexynosgraphicbuffer.so
vendor/lib/libexynosgscaler.so
vendor/lib/libexynosscaler.so
vendor/lib/libexynosutils.so
vendor/lib64/libacryl_plugin_slsi_hdr10.so
vendor/lib64/libcsc.so
vendor/lib64/libexynosdisplay.so
+vendor/lib64/libexynosgraphicbuffer.so
vendor/lib64/libexynosgscaler.so
vendor/lib64/libexynosscaler.so
vendor/lib64/libexynosutils.so
vendor/lib64/libexynosv4l2.so
vendor/lib64/libion_exynos.so
-vendor/lib64/libmpp.so
## Keymaster
vendor/lib/hw/keystore.exynos9610.so
## IMS
vendor/bin/charon
-vendor/lib/libstrongswan.so
-vendor/lib/libhydra.so
-vendor/lib/libcharon.so
+vendor/bin/wfc-pkt-router
+vendor/lib64/libcharon.so
+vendor/lib64/libstrongswan.so
+
+## Media
+vendor/bin/hw/samsung.hardware.media.c2@1.1-default-service
+vendor/etc/init/samsung.hardware.media.c2@1.1-default-service.rc
## Memtrack
vendor/lib/hw/memtrack.exynos9610.so
## OMX
vendor/lib/libExynosOMX_Core.so
vendor/lib/libExynosOMX_Resourcemanager.so
+vendor/lib/libepicoperator.so
vendor/lib/libstagefrighthw.so
vendor/lib/omx/libOMX.Exynos.AVC.Decoder.so
vendor/lib/omx/libOMX.Exynos.AVC.Encoder.so
vendor/lib/omx/libOMX.Exynos.WMV.Decoder.so
vendor/lib64/libExynosOMX_Core.so
vendor/lib64/libExynosOMX_Resourcemanager.so
+vendor/lib64/libepicoperator.so
vendor/lib64/libstagefrighthw.so
vendor/lib64/omx/libOMX.Exynos.AVC.Decoder.so
vendor/lib64/omx/libOMX.Exynos.AVC.Encoder.so
## RIL
vendor/bin/cbd
vendor/bin/hw/rild_exynos
-vendor/etc/database/EccTable_202.xml
-vendor/etc/database/EccTable_204.xml
-vendor/etc/database/EccTable_206.xml
-vendor/etc/database/EccTable_208.xml
-vendor/etc/database/EccTable_214.xml
-vendor/etc/database/EccTable_216.xml
-vendor/etc/database/EccTable_219.xml
-vendor/etc/database/EccTable_220.xml
-vendor/etc/database/EccTable_222.xml
-vendor/etc/database/EccTable_226.xml
-vendor/etc/database/EccTable_230.xml
-vendor/etc/database/EccTable_231.xml
-vendor/etc/database/EccTable_232.xml
-vendor/etc/database/EccTable_234.xml
-vendor/etc/database/EccTable_235.xml
-vendor/etc/database/EccTable_250.xml
-vendor/etc/database/EccTable_255.xml
-vendor/etc/database/EccTable_260.xml
-vendor/etc/database/EccTable_262.xml
-vendor/etc/database/EccTable_268.xml
-vendor/etc/database/EccTable_272.xml
-vendor/etc/database/EccTable_276.xml
-vendor/etc/database/EccTable_294.xml
-vendor/etc/database/EccTable_297.xml
-vendor/etc/database/EccTable_330.xml
-vendor/etc/database/EccTable_334.xml
-vendor/etc/database/EccTable_338.xml
-vendor/etc/database/EccTable_370.xml
-vendor/etc/database/EccTable_372.xml
-vendor/etc/database/EccTable_374.xml
-vendor/etc/database/EccTable_404.xml
-vendor/etc/database/EccTable_405.xml
-vendor/etc/database/EccTable_450.xml
-vendor/etc/database/EccTable_460.xml
-vendor/etc/database/EccTable_505.xml
-vendor/etc/database/EccTable_704.xml
-vendor/etc/database/EccTable_706.xml
-vendor/etc/database/EccTable_708.xml
-vendor/etc/database/EccTable_710.xml
-vendor/etc/database/EccTable_712.xml
-vendor/etc/database/EccTable_714.xml
-vendor/etc/database/EccTable_716.xml
-vendor/etc/database/EccTable_722.xml
-vendor/etc/database/EccTable_724.xml
-vendor/etc/database/EccTable_730.xml
-vendor/etc/database/EccTable_732.xml
-vendor/etc/database/EccTable_734.xml
-vendor/etc/database/EccTable_736.xml
-vendor/etc/database/EccTable_738.xml
-vendor/etc/database/EccTable_740.xml
-vendor/etc/database/EccTable_744.xml
-vendor/etc/database/EccTable_746.xml
-vendor/etc/database/EccTable_748.xml
-vendor/etc/database/EccTable_750.xml
-vendor/etc/database/EccTable_DEFAULT.xml
-vendor/etc/database/EccTable_ICCID.xml
vendor/etc/sim_configuration.xml
vendor/lib/libaudio-ril.so
vendor/lib/libsitril-audio.so
vendor/lib/vendor.samsung_slsi.telephony.hardware.radio@1.0.so
vendor/lib/vendor.samsung_slsi.telephony.hardware.radio@1.1.so
vendor/lib/vendor.samsung_slsi.telephony.hardware.radioExternal@1.0.so
+vendor/lib/vendor.samsung_slsi.telephony.hardware.radioExternal@1.1.so
vendor/lib64/libadropbox.so
vendor/lib64/libsitril-audio.so
vendor/lib64/libsitril-client.so
vendor/lib64/vendor.samsung_slsi.telephony.hardware.radio@1.0.so
vendor/lib64/vendor.samsung_slsi.telephony.hardware.radio@1.1.so
vendor/lib64/vendor.samsung_slsi.telephony.hardware.radioExternal@1.0.so
+vendor/lib64/vendor.samsung_slsi.telephony.hardware.radioExternal@1.1.so
## Secure Element
-vendor/bin/hw/android.hardware.secure_element@1.1-service-uicc
-vendor/etc/init/android.hardware.secure_element@1.1-service-uicc.rc
+vendor/bin/hw/android.hardware.secure_element@1.2-uicc-service
+vendor/etc/init/android.hardware.secure_element@1.2-uicc-service.rc
## Sensors
vendor/lib/libhubconnection.so
-## Common proprietary files - from motorola/troika_retail/troika_sprout:10/QSBS30.62-29-11-5/db5cb, unless pinned
+## Common proprietary files - from motorola/troika_retail/troika_sprout:11/RSBS31.Q1-48-36-20/3e578:user/release-keys, unless pinned
## Bluetooth (aptX)
lib64/libaptXHD_encoder.so
lib64/libaptX_encoder.so
## HotwordEnrollment
--priv-app/HotwordEnrollmentOKGoogleCS47L35/HotwordEnrollmentOKGoogleCS47L35.apk
--priv-app/HotwordEnrollmentTGoogleCS47L35/HotwordEnrollmentTGoogleCS47L35.apk
--priv-app/HotwordEnrollmentXGoogleCS47L35/HotwordEnrollmentXGoogleCS47L35.apk
+-product/priv-app/HotwordEnrollmentOKGoogleWM8280/HotwordEnrollmentOKGoogleWM8280.apk
+-product/priv-app/HotwordEnrollmentXGoogleWM8280/HotwordEnrollmentXGoogleWM8280.apk
## IMS
-# ShannonIms.apk is modified to include IEPdgConnection* classes from stock's framework.jar
-# and removed libmediaadaptor dependency
--app/ShannonIms/ShannonIms.apk|6be75e9e3ccae883c17265927646d9c508ae44b0
-bin/wfc-pkt-router
-lib64/libmediaadaptor.so
+-app/ShannonIms/ShannonIms.apk
+-priv-app/OemRilService/OemRilService.apk
+-system_ext/app/ShannonDataService/ShannonDataService.apk
+-system_ext/app/ShannonNetworkService/ShannonNetworkService.apk
+-system_ext/app/ShannonQualifiedNetworksService/ShannonQualifiedNetworksService.apk
lib64/libmedia.so:lib64/libmedia_ims.so
-lib64/libePdgJni.so
+lib64/libmediaadaptor.so
+system_ext/etc/permissions/com.android.hotwordenrollment.common.util.xml
+system_ext/framework/com.android.hotwordenrollment.common.util.jar
+system_ext/lib/vendor.samsung_slsi.telephony.hardware.oemservice@1.0.so
+system_ext/lib/vendor.samsung_slsi.telephony.hardware.radio@1.0.so
+system_ext/lib/vendor.samsung_slsi.telephony.hardware.radio@1.1.so
+system_ext/lib/vendor.samsung_slsi.telephony.hardware.radioExternal@1.0.so
+system_ext/lib64/vendor.samsung_slsi.telephony.hardware.oemservice@1.0.so
+system_ext/lib64/vendor.samsung_slsi.telephony.hardware.radio@1.0.so
+system_ext/lib64/vendor.samsung_slsi.telephony.hardware.radio@1.1.so
+system_ext/lib64/vendor.samsung_slsi.telephony.hardware.radioExternal@1.0.so
--- /dev/null
+runtime_resource_overlay {
+ name: "TetheringConfigOverlay",
+ resource_dirs: ["res"],
+ sdk_version: "current",
+ proprietary: true
+}
--- /dev/null
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="com.android.networkstack.tethering.motorola_exynos9610"
+ android:versionCode="1"
+ android:versionName="1.0">
+ <application android:hasCode="false" />
+ <overlay
+ android:targetPackage="com.android.networkstack.tethering"
+ android:targetName="TetheringConfig"
+ android:isStatic="true"
+ android:priority="0"/>
+</manifest>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/**
+ * Copyright 2021, The LineageOS 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.
+ */
+-->
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+
+ <string-array name="config_tether_bluetooth_regexs">
+ <item>bt-pan</item>
+ </string-array>
+ <string-array name="config_tether_ncm_regexs">
+ <item>ncm\\d</item>
+ </string-array>
+ <string-array name="config_tether_usb_regexs">
+ <item>"rndis\\d"</item>
+ </string-array>
+ <string-array translatable="false" name="config_tether_wifi_regexs">
+ <item>"wlan0"</item>
+ <item>"softap.*"</item>
+ </string-array>
+
+</resources>
--- /dev/null
+runtime_resource_overlay {
+ name: "WifiOverlay",
+ resource_dirs: ["res"],
+ sdk_version: "current",
+ proprietary: true
+}
--- /dev/null
+<?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.
+-->
+<!-- Pixel specific wifi overlays -->
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="com.android.wifi.resources.motorola_exynos9610"
+ android:versionCode="1"
+ android:versionName="1.0">
+ <application android:hasCode="false" />
+ <overlay
+ android:targetPackage="com.android.wifi.resources"
+ android:targetName="WifiCustomization"
+ android:isStatic="true"
+ android:priority="0"/>
+</manifest>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/**
+ * Copyright 2021, The LineageOS 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.
+ */
+-->
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+
+ <!-- Boolean indicating whether the wifi chipset has 5GHz frequency band support -->
+ <bool translatable="false" name="config_wifi5ghzSupport">true</bool>
+
+ <!-- Boolean indicating whether the wifi chipset supports background scanning mechanism.
+ This mechanism allows the host to remain in suspend state and the dongle to actively
+ scan and wake the host when a configured SSID is detected by the dongle. This chipset
+ capability can provide power savings when wifi needs to be always kept on. -->
+ <bool translatable="false" name="config_wifi_background_scan_support">true</bool>
+
+ <!-- True if the firmware supports connected MAC randomization -->
+ <bool name="config_wifi_connected_mac_randomization_supported">true</bool>
+
+ <bool name="config_wifi_fast_bss_transition_enabled">true</bool>
+
+ <!-- True if the firmware supports p2p MAC randomization -->
+ <bool name="config_wifi_p2p_mac_randomization_supported">true</bool>
+
+ <bool name="config_wifi_revert_country_code_on_cellular_loss">true</bool>
+
+ <bool name="config_wifi_softap_acs_supported">true</bool>
+
+ <bool translatable="false" name="config_wifi_softap_ieee80211ac_supported">true</bool>
+
+ <bool name="config_wifi_softap_sae_supported">true</bool>
+
+ <bool name="config_wifiFrameworkMaxNumSpatialStreamDeviceOverrideEnable">false</bool>
+
+ <string name="config_wifi_tcp_buffers">2097152,4194304,8388608,2097152,4194304,8388608</string>
+
+ <string name="wifi_tether_configure_ssid_default">motorola one action</string>
+
+ <integer-array name="config_wifiDisconnectedScanIntervalScheduleSec">
+ <item>20</item>
+ <item>40</item>
+ <item>80</item>
+ <item>80</item>
+ </integer-array>
+
+ <integer name="config_wifiHardwareSoftapMaxClientCount">10</integer>
+
+</resources>
ro.crypto.allow_encrypt_override=false
ro.crypto.volume.filenames_mode=aes-256-cts
+## IMS
+persist.radio.use.legacy.emergency.stack=true
+persist.radio.use.legacy.emergency.query=true
+
## Media
media.settings.xml=/vendor/etc/media_profiles_vendor.xml
## Navigation Bar
qemu.hw.mainkeys=0
-## Net
-init.svc.vendor.pktrouter=1
+## Tracing
+persist.traced.enable=1
## Wi-Fi
ro.boot.wificountrycode=00
## OEM Unlock
ro.oem_unlock_supported=1
+# Packet Router
+vendor.pktrouter=1
+
## Platform
debug.slsi_platform=1
ro.hardware.soc.manufacturer=slsi
radio.smsdomain=0
ro.carrier=europen
ro.vendor.config.build_carrier=europen
+ro.vendor.radio.imei.sv=25
telephony.lteOnCdmaDevice=1
vendor.radio.smsdomain=2
vendor.rild.libpath=libsitril.so