exynos9610: RSBS31.Q1-48-36-20
authorJan Altensen <info@stricted.net>
Tue, 17 Aug 2021 11:20:34 +0000 (13:20 +0200)
committerNolen Johnson <johnsonnolen@gmail.com>
Mon, 4 Apr 2022 18:46:58 +0000 (14:46 -0400)
Co-authored-by: Jan Altensen <info@stricted.net>
Co-authored-by: Nolen Johnson <johnsonnolen@gmail.com>
Change-Id: I6a2cbe2dacad5ef3e02f1c8c80e9ca234d9f02e9

32 files changed:
BoardConfigCommon.mk
common.mk
configs/gps/gps.cfg
configs/idc/uinput-egis.idc
configs/init/hw/init.mmi.overlay.rc
configs/init/init.exynos9610.rc
configs/init/init.exynos9610.usb.rc
configs/init/init.mmi.rc
configs/keylayout/uinput-egis.kl
configs/media/media_codecs.xml
configs/media/media_codecs_performance.xml
configs/media/media_codecs_performance_c2.xml [new file with mode: 0644]
configs/privapp-permissions-hotword.xml
configs/seccomp/configstore@1.1.policy
configs/seccomp/samsung.hardware.media.c2@1.1-default-seccomp-policy [new file with mode: 0644]
configs/wifi/wpa_supplicant_overlay.conf
extract-files.sh
manifest.xml
overlay/frameworks/base/core/res/res/values/config.xml
overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml
overlay/frameworks/base/packages/SystemUI/res/values/config.xml [new file with mode: 0644]
product.prop [new file with mode: 0644]
proprietary-files-vendor.txt
proprietary-files.txt
rro_overlays/TetheringOverlay/Android.bp [new file with mode: 0644]
rro_overlays/TetheringOverlay/AndroidManifest.xml [new file with mode: 0644]
rro_overlays/TetheringOverlay/res/values/config.xml [new file with mode: 0644]
rro_overlays/WifiOverlay/Android.bp [new file with mode: 0644]
rro_overlays/WifiOverlay/AndroidManifest.xml [new file with mode: 0644]
rro_overlays/WifiOverlay/res/values/config.xml [new file with mode: 0644]
system.prop
vendor.prop

index dcc237d8fdde6999538a3d62aee4bb38bcd9a1ad..20b3f6cb95b602be1fa02c39e83b586d6be4b341 100644 (file)
@@ -114,6 +114,7 @@ TARGET_SOC := exynos9610
 
 ## 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
 
@@ -127,7 +128,7 @@ TARGET_RECOVERY_PIXEL_FORMAT := "ABGR_8888"
 ENABLE_VENDOR_RIL_SERVICE := true
 
 ## Security
-VENDOR_SECURITY_PATCH := 2021-04-01
+VENDOR_SECURITY_PATCH := 2022-03-01
 
 ## SELinux
 BOARD_SEPOLICY_TEE_FLAVOR := mobicore
index d3633c8f275e06be08eac06854e66a17d6ea89ab..245e4278dec234750046cbb5a5f338fa581a306a 100644 (file)
--- a/common.mk
+++ b/common.mk
@@ -106,6 +106,10 @@ PRODUCT_PACKAGES += \
 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 \
@@ -138,7 +142,7 @@ PRODUCT_PACKAGES += \
 
 # 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 += \
@@ -172,6 +176,12 @@ PRODUCT_PACKAGES += \
     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 \
@@ -179,6 +189,7 @@ PRODUCT_COPY_FILES += \
     $(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
@@ -258,10 +269,6 @@ PRODUCT_PACKAGES += \
     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
@@ -276,15 +283,23 @@ PRODUCT_PACKAGES += \
     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 += \
@@ -332,6 +347,8 @@ PRODUCT_PACKAGES += \
 PRODUCT_PACKAGES += \
     android.hardware.wifi@1.0-service \
     hostapd \
+    TetheringOverlay \
+    WifiOverlay \
     wpa_supplicant
 
 PRODUCT_COPY_FILES += \
index 1ffdf3e9e0a488da46de5069fabeb0b4ab7e63e1..3dfaa8799410c34bbc967d20faa7f932e4e29c26 100644 (file)
@@ -9,7 +9,7 @@ debug_console=1
 debug_device=1
 ############################################
 Sif_UseFwXtraInterface=0
-GlueLayer_YearOfHW=2019
+GlueLayer_YearOfHW=2016
 gf_enabled=0
 notifResponsivenessMs=20000
 firmware_run_flags=0x28
@@ -48,7 +48,7 @@ RfPathLossDb_Cp=5
 # [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
index 5a665215eebcd0208b5d80ce97cf83673cfd0499..fb4059dac22f69ccda34100b41ccca93d51fd7ab 100644 (file)
@@ -3,7 +3,7 @@
 #
 #
 # 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.
 #
 
index 9b6df5ef8df906395087b9dd4e856ee464d66bf7..aedadae564a7d02a42f3f571dea855f54d6e699d 100644 (file)
@@ -24,4 +24,3 @@ on property:ro.carrier=tmo
 
 on property:ro.carrier=metropcs
   write /sys/class/power_supply/battery/device/force_max_chrg_temp 55
-
index 2c19dd6605434cc759b46b88e2e571ad30abe3c5..f47211b8a0f6b4a0b30dfa949f12bd82402ebe7d 100644 (file)
@@ -176,6 +176,7 @@ on post-fs-data
 # 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
@@ -189,6 +190,10 @@ on post-fs-data
     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
@@ -371,6 +376,9 @@ on fs
     #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
 
@@ -470,7 +478,7 @@ service gpsd /vendor/bin/hw/gpsd
     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
@@ -503,6 +511,7 @@ service wpa_supplicant /vendor/bin/hw/wpa_supplicant \
     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
@@ -544,27 +553,27 @@ service charonservice /vendor/bin/charon
         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
index 5d57620b09b19cb0ec90d8f9f007edf0d2449336..04e049d8bb56e3ca64a539d942a238505ab38273 100644 (file)
@@ -330,11 +330,3 @@ on property:persist.vendor.usb.bp-tools.config=*
 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
index 9eb738e05bcd119e7e8c652b6e4d3086439a0de6..850342c6ed58e1a67ebd39285a69462aa4f0520b 100644 (file)
@@ -82,7 +82,8 @@ on post-fs
     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
@@ -174,6 +175,9 @@ on post-fs-data
     # 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
 
@@ -259,6 +263,14 @@ on boot
    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
@@ -275,6 +287,8 @@ on moto-charger
     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
index 08680ade99ea6aaa4d67d63ddc89e08699fc7de4..747e0fae0fc71094d477d9b21062808687f20c6c 100644 (file)
@@ -3,7 +3,7 @@
 #
 #
 # 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.
 #
 
index d7a31b5c0614fc36600e553843b0011fa37c3bff..20c89c2c6ce53dd4118967d9bc3c3abc82558ccf 100644 (file)
@@ -78,7 +78,6 @@ Only the three quirks included above are recognized at this point:
 -->
 
 <MediaCodecs>
-    <Include href="media_codecs_google_audio.xml" />
     <Include href="media_codecs_google_telephony.xml" />
     <Settings>
         <Setting name="supports-multiple-secure-codecs" value="true" />
@@ -97,6 +96,7 @@ Only the three quirks included above are recognized at this point:
             <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" />
@@ -109,6 +109,7 @@ Only the three quirks included above are recognized at this point:
             <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" />
@@ -121,6 +122,7 @@ Only the three quirks included above are recognized at this point:
             <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" />
@@ -134,6 +136,7 @@ Only the three quirks included above are recognized at this point:
             <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" />
@@ -146,6 +149,7 @@ Only the three quirks included above are recognized at this point:
             <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" />
@@ -158,6 +162,7 @@ Only the three quirks included above are recognized at this point:
             <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" />
@@ -171,6 +176,7 @@ Only the three quirks included above are recognized at this point:
             <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" />
@@ -267,6 +273,5 @@ Only the three quirks included above are recognized at this point:
             <Limit name="concurrent-instances" max="16" />
         </MediaCodec>
     </Encoders>
-    <Include href="media_codecs_google_video.xml" />
     <Include href="media_codecs_dolby_audio.xml" />
 </MediaCodecs>
index ecba9bea7dd26f9165b4c1ca3eeebd0286660929..19d9645b400e0caa081c219fe217422e8ce4aee5 100644 (file)
             <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>
diff --git a/configs/media/media_codecs_performance_c2.xml b/configs/media/media_codecs_performance_c2.xml
new file mode 100644 (file)
index 0000000..4b739eb
--- /dev/null
@@ -0,0 +1,104 @@
+<?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>
index 82383dbd244321eabf6df278afe69d80e7b5ed1e..c43aa985073cfa5ba90e8e3e715f85e04b428e03 100644 (file)
@@ -1,14 +1,12 @@
 <?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>
index 937fddd67b160e74d4eb0869fc6fc97f7dced0be..a6096209945029515e6a205d6e270ea742f47823 100644 (file)
@@ -45,6 +45,7 @@ madvise: 1
 getdents64: 1
 clock_gettime: 1
 getpid: 1
+gettid: 1
 
 # used during process crash by crash_dump to dump process info
 rt_sigprocmask: 1
diff --git a/configs/seccomp/samsung.hardware.media.c2@1.1-default-seccomp-policy b/configs/seccomp/samsung.hardware.media.c2@1.1-default-seccomp-policy
new file mode 100644 (file)
index 0000000..f4dcbc5
--- /dev/null
@@ -0,0 +1,80 @@
+# 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
index eeb542ad0ccae822f17e29c27a12b1a83846a4e1..aae3d5dc58f61015e419d4f70adc373c630ccd69 100644 (file)
@@ -2,3 +2,4 @@ p2p_no_group_iface=1
 p2p_disabled=1
 update_config=1
 pmf=1
+driver_param=p2p_no_group_iface=1
index 39e7df5416bd7b9ad94690be81211f5f7e06f624..24869b77c5da8e15aa8a9834a4125c33abaeb9ff 100755 (executable)
@@ -79,54 +79,14 @@ done
 
 # 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"
index bfe73e3b2e1b129f9feac47d40ef482672ef7647..63589cb92329a09560dc84a0bf7de15a94a4209a 100644 (file)
@@ -84,9 +84,9 @@
         <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>
index 302f308daa764eafa49911ced015f01c724f6f3c..b374c2cc7159f5105d18122600529f9a72085c49 100644 (file)
@@ -26,6 +26,7 @@
          -->
     <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>
index 52eaf7769a2d98ab74a3d81b3ffa037c185ef74d..66ac29b709f35747c2454fb807482ae95c714d95 100644 (file)
@@ -17,6 +17,8 @@
  */
 -->
 <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>
diff --git a/overlay/frameworks/base/packages/SystemUI/res/values/config.xml b/overlay/frameworks/base/packages/SystemUI/res/values/config.xml
new file mode 100644 (file)
index 0000000..36abe9b
--- /dev/null
@@ -0,0 +1,26 @@
+<?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>
diff --git a/product.prop b/product.prop
new file mode 100644 (file)
index 0000000..b1d9f94
--- /dev/null
@@ -0,0 +1,23 @@
+## 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
index e4226cd63047c7e817ddd35e21a9fdc3982d7242..293f4516411dd88293a03aa20d060b0bb235fdcb 100644 (file)
@@ -1,4 +1,4 @@
-## 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
@@ -43,8 +43,8 @@ vendor/bin/charge_only_mode
 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
@@ -58,11 +58,8 @@ vendor/lib64/vendor.egistec.hardware.fingerprint@4.0.so
 
 ## 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
@@ -101,9 +98,6 @@ vendor/firmware/cs35l41-dsp1-spk-prot-ringtone-qisheng.bin
 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
@@ -138,6 +132,7 @@ vendor/lib/libacryl.so
 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
@@ -152,12 +147,12 @@ vendor/lib64/libacryl.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
@@ -165,9 +160,13 @@ vendor/lib64/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
@@ -192,6 +191,7 @@ vendor/etc/sec_s3nrn82_rfreg.bin
 ## 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
@@ -206,6 +206,7 @@ vendor/lib/omx/libOMX.Exynos.VP9.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
@@ -226,62 +227,6 @@ vendor/lib64/hw/power.exynos9610.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
@@ -297,6 +242,7 @@ vendor/lib/vendor.samsung_slsi.telephony.hardware.oemservice@1.0.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
@@ -311,10 +257,11 @@ vendor/lib64/vendor.samsung_slsi.telephony.hardware.oemservice@1.0.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
index 6f9ebbeca4ce3742756b6d7d3174c62efdfe0859..015438a63538dc256222c25b6d60e542d45b4cc6 100644 (file)
@@ -1,19 +1,28 @@
-## 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
diff --git a/rro_overlays/TetheringOverlay/Android.bp b/rro_overlays/TetheringOverlay/Android.bp
new file mode 100644 (file)
index 0000000..d0baedd
--- /dev/null
@@ -0,0 +1,6 @@
+runtime_resource_overlay {
+    name: "TetheringConfigOverlay",
+    resource_dirs: ["res"],
+    sdk_version: "current",
+    proprietary: true
+}
diff --git a/rro_overlays/TetheringOverlay/AndroidManifest.xml b/rro_overlays/TetheringOverlay/AndroidManifest.xml
new file mode 100644 (file)
index 0000000..87c296d
--- /dev/null
@@ -0,0 +1,11 @@
+<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>
diff --git a/rro_overlays/TetheringOverlay/res/values/config.xml b/rro_overlays/TetheringOverlay/res/values/config.xml
new file mode 100644 (file)
index 0000000..a2d5fd0
--- /dev/null
@@ -0,0 +1,35 @@
+<?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>
diff --git a/rro_overlays/WifiOverlay/Android.bp b/rro_overlays/WifiOverlay/Android.bp
new file mode 100644 (file)
index 0000000..a36469b
--- /dev/null
@@ -0,0 +1,6 @@
+runtime_resource_overlay {
+    name: "WifiOverlay",
+    resource_dirs: ["res"],
+    sdk_version: "current",
+    proprietary: true
+}
diff --git a/rro_overlays/WifiOverlay/AndroidManifest.xml b/rro_overlays/WifiOverlay/AndroidManifest.xml
new file mode 100644 (file)
index 0000000..f91f69f
--- /dev/null
@@ -0,0 +1,27 @@
+<?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>
diff --git a/rro_overlays/WifiOverlay/res/values/config.xml b/rro_overlays/WifiOverlay/res/values/config.xml
new file mode 100644 (file)
index 0000000..be57016
--- /dev/null
@@ -0,0 +1,61 @@
+<?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>
index 20e670db1d94a28024a5cdbb09f217a7947dd60e..c9c2ac836b472138fc92fd706838c46419680a3d 100644 (file)
@@ -11,6 +11,10 @@ ro.surface_flinger.use_color_management=1
 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
 
@@ -20,8 +24,8 @@ persist.demo.hdmirotationlock=false
 ## Navigation Bar
 qemu.hw.mainkeys=0
 
-## Net
-init.svc.vendor.pktrouter=1
+## Tracing
+persist.traced.enable=1
 
 ## Wi-Fi
 ro.boot.wificountrycode=00
index cbbcd165eb39406641fb61e4167e55e5c448a10b..3ce55efa867d7a1bddb0ebf5fbd481176f2bd549 100644 (file)
@@ -60,6 +60,9 @@ qemu.hw.mainkeys=0
 ## OEM Unlock
 ro.oem_unlock_supported=1
 
+# Packet Router
+vendor.pktrouter=1
+
 ## Platform
 debug.slsi_platform=1
 ro.hardware.soc.manufacturer=slsi
@@ -71,6 +74,7 @@ persist.vendor.ril.emergencynumber.sim=1
 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