From 0ef3bb4c8ab9023cbd83491d9856cac2d3a3079f Mon Sep 17 00:00:00 2001 From: Lais Andrade Date: Thu, 17 Feb 2022 21:36:22 +0000 Subject: [PATCH 1/7] Add default alarm and media vibration intensity settings Change-Id: Ib5cbda371672dde8cbcd17692ecf777a3c3c95e1 Fix: 219692498 Test: manual --- overlay/frameworks/base/core/res/res/values/config.xml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index 7ab9468a..65fdf501 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -260,10 +260,19 @@ jp.konami.epjCastlevania2 + + + 3 3 + + 3 From e4796c373ce50baf226b1c34998e2d46531d7a5f Mon Sep 17 00:00:00 2001 From: Ray Chi Date: Thu, 17 Feb 2022 14:17:46 +0800 Subject: [PATCH 2/7] modify the path of shell binary Currently, we should use the vendor shell to run irq script. This patch will modify the shell path. Bug: 202103325 Test: switch functions and check the value of smp_affinity_list Change-Id: Iae572bb1ee218eb205c5e65d20ba6dfa583b9ad6 --- set_usb_irq.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/set_usb_irq.sh b/set_usb_irq.sh index c131713e..29d37812 100644 --- a/set_usb_irq.sh +++ b/set_usb_irq.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/vendor/bin/sh # Switch into /proc/irq/$IRQ for the dwc3 usb controller cd /proc/irq/*/dwc3/.. || exit 7 From ea7fe5242e1977d82ae9365425d93508df38664f Mon Sep 17 00:00:00 2001 From: Alex Hong Date: Thu, 17 Feb 2022 14:23:21 +0800 Subject: [PATCH 3/7] Remove tetheroffload service Test: m checkvintf run vts -m VtsHalTetheroffloadControlV1_0TargetTest Bug: 207076973 Bug: 214494717 Change-Id: Idd33fbd5e9750e16fb4e2339953bd8d9007b88fb --- device.mk | 4 ---- 1 file changed, 4 deletions(-) diff --git a/device.mk b/device.mk index da34de5c..2b655c77 100644 --- a/device.mk +++ b/device.mk @@ -1038,10 +1038,6 @@ PRODUCT_PACKAGES += \ update_engine_sideload \ update_verifier -# tetheroffload HAL -PRODUCT_PACKAGES += \ - vendor.samsung_slsi.hardware.tetheroffload@1.0-service - # pKVM $(call inherit-product, packages/modules/Virtualization/apex/product_packages.mk) PRODUCT_BUILD_PVMFW_IMAGE := true From 6bcf8bcf9af6eb3d3a7b6ba9951a2853a78c7023 Mon Sep 17 00:00:00 2001 From: Alex Hong Date: Thu, 25 Nov 2021 20:56:37 +0800 Subject: [PATCH 4/7] Upgrade PRODUCT_SHIPPING_API_LEVEL for gs201 devices Update the Target FCM level from 5 to 6 Update the product FCM xml Bug: 207076973 Test: m checkvintf Change-Id: Ifa9c7e103671e1072496f6f76dd0c3233fb46a6e --- device.mk | 4 ++-- device_framework_matrix_product.xml | 26 +++++++++++++++++++++++++- manifest-gralloc3.xml | 2 +- manifest.xml | 2 +- 4 files changed, 29 insertions(+), 5 deletions(-) diff --git a/device.mk b/device.mk index 2b655c77..0947b920 100644 --- a/device.mk +++ b/device.mk @@ -229,8 +229,8 @@ DEVICE_MATRIX_FILE := \ DEVICE_PACKAGE_OVERLAYS += device/google/gs201/overlay -# This will be updated to 31 (Android S) for shipping -PRODUCT_SHIPPING_API_LEVEL := 30 +# This will be updated to 33 (Android T) for shipping +PRODUCT_SHIPPING_API_LEVEL := 31 # Temporarily disable the debugfs restriction on 31 (Android S) PRODUCT_SET_DEBUGFS_RESTRICTIONS := false diff --git a/device_framework_matrix_product.xml b/device_framework_matrix_product.xml index a8f77006..72d536f7 100644 --- a/device_framework_matrix_product.xml +++ b/device_framework_matrix_product.xml @@ -1,4 +1,20 @@ - + + + android.hardware.contexthub + 1 + + IContextHub + default + + + + android.hardware.graphics.composer3 + 1 + + IComposer + default + + android.hardware.radio 1.2 @@ -15,6 +31,14 @@ dual + + android.hardware.wifi.hostapd + 1 + + IHostapd + default + + android.vendor.samsung_slsi.telephony.hardware.radio 1.1 diff --git a/manifest-gralloc3.xml b/manifest-gralloc3.xml index 4ae12513..5ea7c7ea 100644 --- a/manifest-gralloc3.xml +++ b/manifest-gralloc3.xml @@ -1,4 +1,4 @@ - + android.hardware.audio hwbinder diff --git a/manifest.xml b/manifest.xml index bdf68411..eab7a444 100644 --- a/manifest.xml +++ b/manifest.xml @@ -1,4 +1,4 @@ - + android.hardware.audio hwbinder From 4438b07c71c511c04db55a08e50c849e7d964ee5 Mon Sep 17 00:00:00 2001 From: Jack Diver Date: Fri, 18 Feb 2022 14:35:48 +0000 Subject: [PATCH 5/7] gs201: Build UMD from source Bug: 185349920 Test: Build gs201 UMD from source Test: Boot to home Signed-off-by: Jack Diver Change-Id: I34be0058ea1272966b0b848d9de365c23d28d5ec --- device.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/device.mk b/device.mk index da34de5c..adfaa122 100644 --- a/device.mk +++ b/device.mk @@ -153,8 +153,7 @@ USE_SWIFTSHADER := false # HWUI TARGET_USES_VULKAN = false -# PRODUCT_SOONG_NAMESPACES += \ -# vendor/arm/mali/valhall +PRODUCT_SOONG_NAMESPACES += vendor/arm/mali/valhall $(call soong_config_set,pixel_mali,soc,$(TARGET_BOARD_PLATFORM)) From 0136600cd91b178c80266a92c0138e35467d32ce Mon Sep 17 00:00:00 2001 From: Kyle Lin Date: Fri, 18 Feb 2022 16:05:15 +0800 Subject: [PATCH 6/7] powerhint: align the LAUNCH Hint Bug: 207573241 Test: build and Trace Change-Id: I2a214e1c68f3eb92ef95c382665b0acb720917a3 Signed-off-by: Kyle Lin --- powerhint.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/powerhint.json b/powerhint.json index 131af209..889104f5 100644 --- a/powerhint.json +++ b/powerhint.json @@ -400,6 +400,12 @@ "Duration": 0, "Value": "2" }, + { + "PowerHint": "LAUNCH", + "Node": "CPUBigClusterMaxFreq", + "Duration": 5000, + "Value": "9999999" + }, { "PowerHint": "LAUNCH", "Node": "CPUMidClusterMaxFreq", From a31c0571d3899401707833c050f119635f849a09 Mon Sep 17 00:00:00 2001 From: Jacqueline Wong Date: Wed, 2 Feb 2022 22:43:47 +0000 Subject: [PATCH 7/7] Add gxp coredumps to Android bug report - Add gxp dump files to dumpstate_board.bin of Android bug report: /data/vendor/ssrdump/coredump/coredump_gxp_platform* and /data/vendor/ssrdump/crashinfo_gxp_platform* Test: adb root; adb remount -R; adb bugreport Bug: 218358165 Signed-off-by: Jacqueline Wong Change-Id: Ib73659e94d86932b97756f13a19b7f093e23dc63 --- dumpstate/DumpstateDevice.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/dumpstate/DumpstateDevice.cpp b/dumpstate/DumpstateDevice.cpp index 8f788f97..9be63e78 100644 --- a/dumpstate/DumpstateDevice.cpp +++ b/dumpstate/DumpstateDevice.cpp @@ -1005,6 +1005,7 @@ void DumpstateDevice::dumpModem(int fd, int fdModem) bool tcpdumpEnabled = android::base::GetBoolProperty(TCPDUMP_PERSIST_PROPERTY, false); bool cameraLogsEnabled = android::base::GetBoolProperty( "vendor.camera.debug.camera_performance_analyzer.attach_to_bugreport", true); + bool gxpDumpEnabled = android::base::GetBoolProperty("vendor.gxp.attach_to_bugreport", false); int maxFileNum = android::base::GetIntProperty(MODEM_LOGGING_NUMBER_BUGREPORT_PROPERTY, 100); if (tcpdumpEnabled) { @@ -1048,6 +1049,18 @@ void DumpstateDevice::dumpModem(int fd, int fdModem) dumpCameraLogs(STDOUT_FILENO, modemLogAllDir); } + if (gxpDumpEnabled) { + const int maxGxpDebugDumps = 8; + const std::string gxpCoredumpOutputDir = modemLogAllDir + "/gxp_ssrdump"; + const std::string gxpCoredumpInputDir = "/data/vendor/ssrdump"; + + RunCommandToFd(fd, "MKDIR GXP COREDUMP", {"/vendor/bin/mkdir", "-p", gxpCoredumpOutputDir}, CommandOptions::WithTimeout(2).Build()); + + // Copy GXP coredumps and crashinfo to the output directory. + dumpLogs(fd, gxpCoredumpInputDir + "/coredump", gxpCoredumpOutputDir, maxGxpDebugDumps, "coredump_gxp_platform"); + dumpLogs(fd, gxpCoredumpInputDir, gxpCoredumpOutputDir, maxGxpDebugDumps, "crashinfo_gxp_platform"); + } + dumpLogs(fd, extendedLogDir, modemLogAllDir, maxFileNum, EXTENDED_LOG_PREFIX); dumpRilLogs(fd, modemLogAllDir); dumpNetmgrLogs(modemLogAllDir);