From edd584d83fd90892aed9ac3bcb6b5701919c0ba8 Mon Sep 17 00:00:00 2001 From: Jan Altensen Date: Tue, 17 Aug 2021 13:20:34 +0200 Subject: [PATCH] exynos9610: RSBS31.Q1-48-36-20 Co-authored-by: Jan Altensen Co-authored-by: Nolen Johnson Change-Id: I6a2cbe2dacad5ef3e02f1c8c80e9ca234d9f02e9 --- BoardConfigCommon.mk | 3 +- common.mk | 29 ++++- configs/gps/gps.cfg | 4 +- configs/idc/uinput-egis.idc | 2 +- configs/init/hw/init.mmi.overlay.rc | 1 - configs/init/init.exynos9610.rc | 25 +++-- configs/init/init.exynos9610.usb.rc | 8 -- configs/init/init.mmi.rc | 16 ++- configs/keylayout/uinput-egis.kl | 2 +- configs/media/media_codecs.xml | 9 +- configs/media/media_codecs_performance.xml | 78 +------------ configs/media/media_codecs_performance_c2.xml | 104 ++++++++++++++++++ configs/privapp-permissions-hotword.xml | 10 +- configs/seccomp/configstore@1.1.policy | 1 + ...rdware.media.c2@1.1-default-seccomp-policy | 80 ++++++++++++++ configs/wifi/wpa_supplicant_overlay.conf | 1 + extract-files.sh | 40 ------- manifest.xml | 40 ++++--- .../base/core/res/res/values/config.xml | 55 ++++----- .../SettingsProvider/res/values/defaults.xml | 2 + .../packages/SystemUI/res/values/config.xml | 26 +++++ product.prop | 23 ++++ proprietary-files-vendor.txt | 89 +++------------ proprietary-files.txt | 29 +++-- rro_overlays/TetheringOverlay/Android.bp | 6 + .../TetheringOverlay/AndroidManifest.xml | 11 ++ .../TetheringOverlay/res/values/config.xml | 35 ++++++ rro_overlays/WifiOverlay/Android.bp | 6 + rro_overlays/WifiOverlay/AndroidManifest.xml | 27 +++++ .../WifiOverlay/res/values/config.xml | 61 ++++++++++ system.prop | 8 +- vendor.prop | 4 + 32 files changed, 555 insertions(+), 280 deletions(-) create mode 100644 configs/media/media_codecs_performance_c2.xml create mode 100644 configs/seccomp/samsung.hardware.media.c2@1.1-default-seccomp-policy create mode 100644 overlay/frameworks/base/packages/SystemUI/res/values/config.xml create mode 100644 product.prop create mode 100644 rro_overlays/TetheringOverlay/Android.bp create mode 100644 rro_overlays/TetheringOverlay/AndroidManifest.xml create mode 100644 rro_overlays/TetheringOverlay/res/values/config.xml create mode 100644 rro_overlays/WifiOverlay/Android.bp create mode 100644 rro_overlays/WifiOverlay/AndroidManifest.xml create mode 100644 rro_overlays/WifiOverlay/res/values/config.xml diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index dcc237d..20b3f6c 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -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 diff --git a/common.mk b/common.mk index d3633c8..245e427 100644 --- 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 += \ diff --git a/configs/gps/gps.cfg b/configs/gps/gps.cfg index 1ffdf3e..3dfaa87 100644 --- a/configs/gps/gps.cfg +++ b/configs/gps/gps.cfg @@ -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 diff --git a/configs/idc/uinput-egis.idc b/configs/idc/uinput-egis.idc index 5a66521..fb4059d 100644 --- a/configs/idc/uinput-egis.idc +++ b/configs/idc/uinput-egis.idc @@ -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. # diff --git a/configs/init/hw/init.mmi.overlay.rc b/configs/init/hw/init.mmi.overlay.rc index 9b6df5e..aedadae 100644 --- a/configs/init/hw/init.mmi.overlay.rc +++ b/configs/init/hw/init.mmi.overlay.rc @@ -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 - diff --git a/configs/init/init.exynos9610.rc b/configs/init/init.exynos9610.rc index 2c19dd6..f47211b 100644 --- a/configs/init/init.exynos9610.rc +++ b/configs/init/init.exynos9610.rc @@ -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 diff --git a/configs/init/init.exynos9610.usb.rc b/configs/init/init.exynos9610.usb.rc index 5d57620..04e049d 100644 --- a/configs/init/init.exynos9610.usb.rc +++ b/configs/init/init.exynos9610.usb.rc @@ -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 diff --git a/configs/init/init.mmi.rc b/configs/init/init.mmi.rc index 9eb738e..850342c 100644 --- a/configs/init/init.mmi.rc +++ b/configs/init/init.mmi.rc @@ -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 diff --git a/configs/keylayout/uinput-egis.kl b/configs/keylayout/uinput-egis.kl index 08680ad..747e0fa 100644 --- a/configs/keylayout/uinput-egis.kl +++ b/configs/keylayout/uinput-egis.kl @@ -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. # diff --git a/configs/media/media_codecs.xml b/configs/media/media_codecs.xml index d7a31b5..20c89c2 100644 --- a/configs/media/media_codecs.xml +++ b/configs/media/media_codecs.xml @@ -78,7 +78,6 @@ Only the three quirks included above are recognized at this point: --> - @@ -97,6 +96,7 @@ Only the three quirks included above are recognized at this point: + @@ -109,6 +109,7 @@ Only the three quirks included above are recognized at this point: + @@ -121,6 +122,7 @@ Only the three quirks included above are recognized at this point: + @@ -134,6 +136,7 @@ Only the three quirks included above are recognized at this point: + @@ -146,6 +149,7 @@ Only the three quirks included above are recognized at this point: + @@ -158,6 +162,7 @@ Only the three quirks included above are recognized at this point: + @@ -171,6 +176,7 @@ Only the three quirks included above are recognized at this point: + @@ -267,6 +273,5 @@ Only the three quirks included above are recognized at this point: - diff --git a/configs/media/media_codecs_performance.xml b/configs/media/media_codecs_performance.xml index ecba9be..19d9645 100644 --- a/configs/media/media_codecs_performance.xml +++ b/configs/media/media_codecs_performance.xml @@ -22,14 +22,14 @@ - - + + - + @@ -41,36 +41,18 @@ - - + + - + - - - - - - - - - - - - - - - - - - @@ -129,53 +111,5 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/configs/media/media_codecs_performance_c2.xml b/configs/media/media_codecs_performance_c2.xml new file mode 100644 index 0000000..4b739eb --- /dev/null +++ b/configs/media/media_codecs_performance_c2.xml @@ -0,0 +1,104 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/configs/privapp-permissions-hotword.xml b/configs/privapp-permissions-hotword.xml index 82383db..c43aa98 100644 --- a/configs/privapp-permissions-hotword.xml +++ b/configs/privapp-permissions-hotword.xml @@ -1,14 +1,12 @@ - - - - - + + - + + diff --git a/configs/seccomp/configstore@1.1.policy b/configs/seccomp/configstore@1.1.policy index 937fddd..a609620 100644 --- a/configs/seccomp/configstore@1.1.policy +++ b/configs/seccomp/configstore@1.1.policy @@ -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 index 0000000..f4dcbc5 --- /dev/null +++ b/configs/seccomp/samsung.hardware.media.c2@1.1-default-seccomp-policy @@ -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 diff --git a/configs/wifi/wpa_supplicant_overlay.conf b/configs/wifi/wpa_supplicant_overlay.conf index eeb542a..aae3d5d 100644 --- a/configs/wifi/wpa_supplicant_overlay.conf +++ b/configs/wifi/wpa_supplicant_overlay.conf @@ -2,3 +2,4 @@ p2p_no_group_iface=1 p2p_disabled=1 update_config=1 pmf=1 +driver_param=p2p_no_group_iface=1 diff --git a/extract-files.sh b/extract-files.sh index 39e7df5..24869b7 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -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" diff --git a/manifest.xml b/manifest.xml index bfe73e3..63589cb 100644 --- a/manifest.xml +++ b/manifest.xml @@ -84,9 +84,9 @@ @1.0::ICryptoFactory/default @1.0::IDrmFactory/default @1.3::ICryptoFactory/clearkey - @1.2::ICryptoFactory/widevine + @1.3::ICryptoFactory/widevine @1.3::IDrmFactory/clearkey - @1.2::IDrmFactory/widevine + @1.3::IDrmFactory/widevine android.hardware.gatekeeper @@ -216,14 +216,10 @@ android.hardware.radio hwbinder - 1.4 - - IRadio - slot1 - slot2 - - @1.4::IRadio/slot1 - @1.4::IRadio/slot2 + @1.2::ISap/slot1 + @1.2::ISap/slot2 + @1.5::IRadio/slot1 + @1.5::IRadio/slot2 android.hardware.radio.config @@ -248,12 +244,14 @@ android.hardware.secure_element hwbinder - 1.1 + 1.2 ISecureElement SIM1 + SIM2 - @1.1::ISecureElement/SIM1 + @1.2::ISecureElement/SIM1 + @1.2::ISecureElement/SIM2 android.hardware.sensors @@ -328,13 +326,27 @@ @1.1::IOemSamsungslsi/slot2 - vendor.samsung_slsi.telephony.hardware.radioExternal + vendor.samsung_slsi.telephony.hardware.oemservice hwbinder 1.0 + + IOemService + dm0 + dm1 + sced0 + + @1.0::IOemService/dm0 + @1.0::IOemService/dm1 + @1.0::IOemService/sced0 + + + vendor.samsung_slsi.telephony.hardware.radioExternal + hwbinder + 1.1 IOemSlsiRadioExternal rilExternal - @1.0::IOemSlsiRadioExternal/rilExternal + @1.1::IOemSlsiRadioExternal/rilExternal diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index 302f308..b374c2c 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -26,6 +26,7 @@ --> M 0,0 H 57.58 V 55.0 H 0 V 0 Z @dp @left + 6.0dip 165px 165px 24dp @@ -144,21 +145,8 @@ 1xrtt:16384,32768,32768,4096,8096,65536 - lte:2097152,4194304,8388608,262144,524288,1048576 - - - bp-tools:adb:rndis,acm,dm,adb:adb - bp-tools:mtp:rndis,acm,dm:mtp - bp-tools:mtp,adb:rndis,acm,dm,adb:mtp,adb - bp-tools:ptp:rndis,acm,dm:ptp - bp-tools:ptp,adb:rndis,acm,dm,adb:ptp,adb - bp-tools:rndis:rndis,acm,dm:mtp - bp-tools:rndis,adb:rndis,acm,dm,adb:mtp,adb - normal:mtp:mtp:mtp - normal:mtp,adb:mtp,adb:mtp,adb - mot-factory:mtp:usbnet:mtp - mot-factory:mtp,adb:usbnet,adb:mtp,adb - mot-factory:adb:usbnet,adb:adb + lte:2097152,8388608,33554432,524288,1048576,2097152 + nr:4194304,16777216,33554432,1048576,2097152,8388608 0 @@ -198,38 +186,25 @@ 400 450 - - bt-pan - - - "usb\\d" - "rndis\\d" - - - "wlan0" - "softap.*" - 0 26 true + false true true true + true true true true - true - true - true - true - true - false + false true 65540 + 3300 4 9 2 @@ -238,11 +213,23 @@ com.motorola.sensor.camera_activate GSM|CDMA|EVDO|WCDMA|LTE - 2097152,4194304,8388608,2097152,4194304,8388608 - true true true + + + com.shannon.dataservice + + + com.shannon.networkservice + + + com.shannon.qualifiednetworksservice + + + http://uaprof.motorola.com/phoneconfig/motov1/Profile/motov1.rdf diff --git a/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml b/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml index 52eaf77..66ac29b 100644 --- a/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml +++ b/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml @@ -17,6 +17,8 @@ */ --> + false true + false 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 index 0000000..36abe9b --- /dev/null +++ b/overlay/frameworks/base/packages/SystemUI/res/values/config.xml @@ -0,0 +1,26 @@ + + + + 650.0px + 165.0px + 104.0px + 6.0px + + true + diff --git a/product.prop b/product.prop new file mode 100644 index 0000000..b1d9f94 --- /dev/null +++ b/product.prop @@ -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 diff --git a/proprietary-files-vendor.txt b/proprietary-files-vendor.txt index e4226cd..293f451 100644 --- a/proprietary-files-vendor.txt +++ b/proprietary-files-vendor.txt @@ -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 diff --git a/proprietary-files.txt b/proprietary-files.txt index 6f9ebbe..015438a 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -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 index 0000000..d0baedd --- /dev/null +++ b/rro_overlays/TetheringOverlay/Android.bp @@ -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 index 0000000..87c296d --- /dev/null +++ b/rro_overlays/TetheringOverlay/AndroidManifest.xml @@ -0,0 +1,11 @@ + + + + diff --git a/rro_overlays/TetheringOverlay/res/values/config.xml b/rro_overlays/TetheringOverlay/res/values/config.xml new file mode 100644 index 0000000..a2d5fd0 --- /dev/null +++ b/rro_overlays/TetheringOverlay/res/values/config.xml @@ -0,0 +1,35 @@ + + + + + + bt-pan + + + ncm\\d + + + "rndis\\d" + + + "wlan0" + "softap.*" + + + diff --git a/rro_overlays/WifiOverlay/Android.bp b/rro_overlays/WifiOverlay/Android.bp new file mode 100644 index 0000000..a36469b --- /dev/null +++ b/rro_overlays/WifiOverlay/Android.bp @@ -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 index 0000000..f91f69f --- /dev/null +++ b/rro_overlays/WifiOverlay/AndroidManifest.xml @@ -0,0 +1,27 @@ + + + + + + + diff --git a/rro_overlays/WifiOverlay/res/values/config.xml b/rro_overlays/WifiOverlay/res/values/config.xml new file mode 100644 index 0000000..be57016 --- /dev/null +++ b/rro_overlays/WifiOverlay/res/values/config.xml @@ -0,0 +1,61 @@ + + + + + + true + + + true + + + true + + true + + + true + + true + + true + + true + + true + + false + + 2097152,4194304,8388608,2097152,4194304,8388608 + + motorola one action + + + 20 + 40 + 80 + 80 + + + 10 + + diff --git a/system.prop b/system.prop index 20e670d..c9c2ac8 100644 --- a/system.prop +++ b/system.prop @@ -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 diff --git a/vendor.prop b/vendor.prop index cbbcd16..3ce55ef 100644 --- a/vendor.prop +++ b/vendor.prop @@ -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 -- 2.20.1