From fceecb990cb38f32ffd5802016e67cf2a42fe11f Mon Sep 17 00:00:00 2001 From: Prashantsinh Parmar Date: Mon, 31 Jan 2022 12:00:44 +0530 Subject: [PATCH 1/5] FP3: Adjust codec performance range for 1920x1080 resolution Adjust codec performance based on measured range for OMX/c2 encoders as expected by CTS. Test: run cts -m CtsMediaTestCases -t android.media.cts.VideoDecoderPerfTest#testVp9Goog0Perf1920x1080 Issue: FP3-A11#282 Change-Id: I30b963014095a5d7450e27678b2c5b19ff415542 --- media/media_codecs_performance_8953.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media/media_codecs_performance_8953.xml b/media/media_codecs_performance_8953.xml index 37865d0a..aa9b142e 100644 --- a/media/media_codecs_performance_8953.xml +++ b/media/media_codecs_performance_8953.xml @@ -186,7 +186,7 @@ - + -- GitLab From 672ad7fed691c1b3241674309639c8e63c30eed2 Mon Sep 17 00:00:00 2001 From: Karsten Tausche Date: Mon, 15 Aug 2022 16:21:58 +0200 Subject: [PATCH 2/5] FP3: media: Update AOSP SW codec performance ranges Performance ranges changes with different Mainline/Google Play System Update versions. Update to latest measurements on M-2022-06. Issue: FP3-A11#390 Test: run cts -m CtsMediaTestCases -t android.media.cts.VideoDecoderPerfTest Test: run cts -m CtsVideoTestCases -t android.video.cts.VideoEncoderDecoderTest Change-Id: I135b23962ef55c7548d57e8e51932a6cadc2c468 --- media/media_codecs_performance_8953.xml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/media/media_codecs_performance_8953.xml b/media/media_codecs_performance_8953.xml index aa9b142e..bc5cddee 100644 --- a/media/media_codecs_performance_8953.xml +++ b/media/media_codecs_performance_8953.xml @@ -58,7 +58,7 @@ - + @@ -133,8 +133,8 @@ - - + + @@ -151,7 +151,7 @@ - + @@ -185,7 +185,7 @@ - + @@ -196,6 +196,8 @@ + + -- GitLab From 6800396eb2c8df2b0af4bc7c7165669e2531d619 Mon Sep 17 00:00:00 2001 From: Karsten Tausche Date: Thu, 8 Sep 2022 12:13:55 +0200 Subject: [PATCH 3/5] FP3: Disable proprietary APE parser The proprietary parser has security issues and won't receive updates anymore on the msm8953 platform. Unset bit 19 of the bitmask to disable it. We don't have any other APE "Monkey's Audio" parser/codec available at the moment, so APE support will be dropped with this. Issue: FP3SEC-408 Issue: FP3-A11#403 Change-Id: I3364a572304ea54b7207cfa14712c42fcc0c9159 --- system.prop | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system.prop b/system.prop index a45992af..f72734ac 100644 --- a/system.prop +++ b/system.prop @@ -82,8 +82,8 @@ mmp.enable.3g2=true media.aac_51_output_enabled=true av.debug.disable.pers.cache=1 #media.settings.xml=/vendor/etc/media_profiles_vendor.xml -# codecs:(PARSER_)AAC AC3 AMR_NB AMR_WB ASF DTS FLV 3GP 3G2 MP2PS MP2TS MP3 OGG QCP WAV FLAC AIFF APE -vendor.mm.enable.qcom_parser=1047519 +# codecs:(PARSER_)AAC AC3 AMR_NB AMR_WB ASF DTS FLV 3GP 3G2 MP2PS MP2TS MP3 OGG QCP WAV FLAC AIFF +vendor.mm.enable.qcom_parser=523231 # disable PQ feature by default vendor.vidc.enc.disable.pq=true # property to enable narrow search range for video encoding -- GitLab From 3602f384d01cde90a79500b76fe7059acb0bd173 Mon Sep 17 00:00:00 2001 From: Bharath Date: Wed, 19 Oct 2022 20:13:40 +0530 Subject: [PATCH 4/5] FP3: Update blobs from FP3-REL-8901.4.A.0017.3-gms-15368f27-user Change-Id: I545db1e3ac7cb0b48cf2ddcded7051075823d583 --- BoardConfig.mk | 2 +- lineage_FP3.mk | 4 ++-- proprietary-files.txt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/BoardConfig.mk b/BoardConfig.mk index 404cd9ea..d3b160e9 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -237,7 +237,7 @@ TARGET_PER_MGR_ENABLED := true TARGET_RECOVERY_FSTAB := $(DEVICE_PATH)/rootdir/etc/recovery.fstab # Vendor Security Patch Level -VENDOR_SECURITY_PATCH := "2022-08-05" +VENDOR_SECURITY_PATCH := "2022-10-05" # NFC BOARD_NFC_CHIPSET := pn553 diff --git a/lineage_FP3.mk b/lineage_FP3.mk index a3f36ebb..2411cf27 100644 --- a/lineage_FP3.mk +++ b/lineage_FP3.mk @@ -37,7 +37,7 @@ PRODUCT_GMS_CLIENTID_BASE := android-uniscope # userdebug PRODUCT_BUILD_PROP_OVERRIDES += \ TARGET_DEVICE=FP3 \ - PRIVATE_BUILD_DESC="FP3-user 11 8901.4.A.0016.6-gms-f0c20986 release-keys" + PRIVATE_BUILD_DESC="FP3-user 11 8901.4.A.0017.3-gms-15368f27 release-keys" # Set BUILD_FINGERPRINT variable to be picked up by both system and vendor build.prop -BUILD_FINGERPRINT := Fairphone/FP3/FP3:11/8901.4.A.0016.6/gms-f0c20986:user/release-keys +BUILD_FINGERPRINT := Fairphone/FP3/FP3:11/8901.4.A.0017.3/gms-15368f27:user/release-keys diff --git a/proprietary-files.txt b/proprietary-files.txt index 2245a193..759c2193 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -1,4 +1,4 @@ -# All unpinned blobs are extracted from FP3-REL-8901.4.A.0016.6-gms-f0c20986-user +# All unpinned blobs are extracted from FP3-REL-8901.4.A.0017.3-gms-15368f27-user # System partition -- GitLab From b6d696843877d97ab52b3333f28c96c6472675ac Mon Sep 17 00:00:00 2001 From: Bharath Date: Thu, 20 Oct 2022 12:21:22 +0530 Subject: [PATCH 5/5] FP3: Switch to clang for kernel compilation Enable TARGET_KERNEL_CLANG_COMPILE so that kernel now gets built with clang instead of gcc as gcc is no longer supported for stable kernels. Change-Id: If528dd03750d2e1310880bdccb7e3a9291cda3b5 --- BoardConfig.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/BoardConfig.mk b/BoardConfig.mk index d3b160e9..c7e62ec0 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -85,6 +85,7 @@ TARGET_KERNEL_HEADER_ARCH := arm64 TARGET_USES_UNCOMPRESSED_KERNEL := false TARGET_KERNEL_CONFIG := lineageos_FP3_defconfig TARGET_KERNEL_SOURCE := kernel/fairphone/sdm632 +TARGET_KERNEL_CLANG_COMPILE := true TARGET_USES_UNCOMPRESSED_KERNEL := false BOARD_KERNEL_CMDLINE += androidboot.hardware=qcom msm_rtb.filter=0x237 BOARD_KERNEL_CMDLINE += ehci-hcd.park=3 lpm_levels.sleep_disabled=1 androidboot.bootdevice=7824900.sdhci -- GitLab