23 Commits

Author SHA1 Message Date
LuK1337
10586a9d4a sm7125-common: Opt out of speaker_layout_channel_mask field
Required for ABI compatibility with audio HAL compiled before 15 QPR2.

Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/9426
Change-Id: Ic910f0634ee0707c21dad77f5264fd89fb33f1c0
2026-01-09 23:19:50 +05:30
theshaenix
213053b2e3 sm7125-common : fine tuned the post boot script
- Improved the overall script behaviour
2026-01-09 22:26:35 +05:30
theshaenix
ce5d0c333f sm7125-common:migrate recovery init rc files to Soong
Move init.recovery.qcom.rc and init.recovery.usb.rc from
PRODUCT_COPY_FILES to proper prebuilt_etc modules.

This aligns recovery configuration with Soong-only builds,
ensures correct installation under /recovery/root, and
improves maintainability going forward.
2026-01-09 22:26:21 +05:30
aminfauzi
e8da85fd96 sm7125-common: Fix for aux camera lens missing in Aperture
Signed-off-by: aminfauzi <aremean0107@gmail.com>
2026-01-09 22:26:21 +05:30
theshaenix
34d8554510 Revert "sm7125-common: overlay: Enable BoostFramework support"
This reverts commit 2a5f329dcdbd63684e8d33ee2827df64b3b93783.
2026-01-09 22:26:21 +05:30
me-cafebabe
b277f8c03e sm7125-common: overlay: Disable high performance transitions
Change-Id: I70c593a8efe1499f8e0917b4e80652b7f3d71198
2026-01-09 22:26:21 +05:30
Pranav Vashi
7b575ce1eb sm7125-common: Update pinner files
Change-Id: Ibec6b6d6d1689fde16837ca526cb245cd5f9711c
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2026-01-09 22:26:21 +05:30
Edgar Arriaga
37a7dd6cfb sm7125-common: overlay: Set default pin amount for home app
Bug: 288900050
Test: dumpsys pinner
Flag: EXEMPT refactor

Change-Id: Ieed912786ce51f420da9b0e96ea5d93c22244176
2026-01-09 22:26:20 +05:30
theshaenix
f03e83d1e1 sm7125-common: Drop zram writeback 2026-01-09 22:26:18 +05:30
Cassie
c1b0ecc377 sm7125-common: overlay: Use the new auto network selection UI
Change-Id: I76698911103601d5f3ad67e1099790af8c2fdc18
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2026-01-09 22:25:47 +05:30
Georg Veichtlbauer
7aa4220185 sm7125-common: Drop config_setColorTransformAccelerated
It's now enabled by default

Change-Id: I57f059c872fc2ad2fd15e788b1391eeebaff9bde
2026-01-09 22:25:47 +05:30
Sebastiano Barezzi
7c63bfebaa sm7125-common: overlay: Enable config_dozePulsePickup
Change-Id: Ice5cd780eb77e2ae78a3a84a0140c321ad84f143
2026-01-09 22:25:47 +05:30
Bruno Martins
c4e96fd547 sm7125-common: overlay: Remove obsolete config_keyboardTapVibePattern
Change-Id: Ic89566183d2cdc4a20ea83f462c56a14184621ae
2026-01-09 22:25:46 +05:30
x0x00044
129fdb00e4 sm7125-common: overlay: Remove config_cellBroadcastAppLinks
- This is true by default.

Change-Id: I9f91f4bf49995975d434ad8b74b175693409862a
2026-01-09 22:25:46 +05:30
minaripenguin
b44aed089a sm7125-common: prop: Tune lmkd system properties
Signed-off-by: Mayur <ultramayur123@gmail.com>
2026-01-06 00:00:50 +05:30
Andrzej Perczak
afef2a1d6f Import lmkd props from google gki
Reference: https://github.com/LineageOS/android_hardware_google_pixel/blob/lineage-19.1/mm/device_gki.mk
Signed-off-by: Mayur <ultramayur123@gmail.com>
2026-01-06 00:00:50 +05:30
Tim Murray
d70d2d17d3 sm7125-common: prop: Set lmkd's swap_free_low_percentage to 100
Ref: 5f975896d4

Signed-off-by: Mayur <ultramayur123@gmail.com>
2026-01-06 00:00:49 +05:30
Mayur
b6efc02294 sm7125-common: prop: set lmk to kill heaviest task
Signed-off-by: Mayur <ultramayur123@gmail.com>
2026-01-06 00:00:49 +05:30
nullxception
5d82c74ffb sm7125-common: props: Disable LMKD log stats
TARGET_LMKD_STATS_LOG is not used anymore and log stats is enabled by
default, so we have to explicitly disable it from runtime.

Signed-off-by: Mayur <ultramayur123@gmail.com>
2026-01-06 00:00:49 +05:30
890393a955 Revert "sm7125-common: Update some soong config variables to bool type"
This reverts commit e4e29defad.
2025-12-30 09:20:19 +01:00
Yumi Yukimura
e4e29defad sm7125-common: Update some soong config variables to bool type 2025-12-30 13:18:17 +05:30
LuK1337
b0a455e0b8 sm7125-common: Remove vendor/lineage device framework matrix inclusion
See: I78da6340f38b93fdc4c3694cb8f431f387d16c0d
Change-Id: I0b9f527de50ca02082be9b92375559f4893b2688
2025-12-30 13:18:05 +05:30
Sourajit Karmakar
3967a9b37f sm7125-common: Disable FRP
* This should really be disabled after unlocking the bootloader.

Change-Id: Icf5305cba66e9e613000a6ef53b32fa59760a7f2
2025-12-30 13:17:35 +05:30
6 changed files with 19 additions and 27 deletions

View File

@@ -6,6 +6,11 @@ soong_namespace {
],
}
cc_library_shared {
name: "libprotobuf-cpp-lite-3.9.1",
shared_libs: ["libprotobuf-cpp-full-3.9.1-vendorcompat"],
vendor: true,
}
install_symlink {
name: "firmware_wlan_mac.bin_symlink",

View File

@@ -23,7 +23,7 @@ $(call inherit-product, hardware/qcom-caf/common/common.mk)
$(call soong_config_set,surfaceflinger,udfps_lib,//$(LOCAL_PATH):libudfps_extension.realme_sm7125)
# speaker layout channel mask
$(call soong_config_set_bool,android_hardware_audio,skip_speaker_layout_channel_mask_field,true)
$(call soong_config_set,android_hardware_audio,skip_speaker_layout_channel_mask_field,true)
# Partitions
PRODUCT_USE_DYNAMIC_PARTITIONS := true
@@ -275,7 +275,7 @@ $(call inherit-product-if-exists, vendor/lawnchair/lawnchair.mk)
PRODUCT_PACKAGES += \
vendor.lineage.livedisplay-service.sdm
$(call soong_config_set_bool,livedisplay_sdm,enable_dm,false)
$(call soong_config_set,livedisplay_sdm,enable_dm,false)
# Media
PRODUCT_PACKAGES += \
@@ -361,8 +361,8 @@ PRODUCT_DEXPREOPT_SPEED_APPS += \
#Protobuf
PRODUCT_PACKAGES += \
libprotobuf-cpp-full-3.9.1-vendorcompat \
libprotobuf-cpp-lite-3.9.1-vendorcompat
libprotobuf-cpp-lite-3.9.1
# QTI FWK Detect
PRODUCT_PACKAGES += \
libqti_vndfwk_detect.vendor \
@@ -538,6 +538,7 @@ PRODUCT_PACKAGES += \
android.frameworks.cameraservice.service@2.0.vendor \
android.frameworks.cameraservice.service@2.1.vendor \
android.frameworks.displayservice@1.0.vendor \
android.frameworks.schedulerservice@1.0.vendor \
android.frameworks.stats@1.0.vendor \
android.hardware.atrace@1.0.vendor \
android.frameworks.sensorservice@1.0.vendor \
@@ -553,6 +554,8 @@ PRODUCT_PACKAGES += \
android.hardware.audio@5.0.vendor \
android.hardware.audio@6.0.vendor \
android.hardware.authsecret@1.0.vendor \
android.hardware.automotive.audiocontrol@1.0.vendor \
android.hardware.automotive.audiocontrol@2.0.vendor \
android.hardware.automotive.can@1.0.vendor \
android.hardware.automotive.evs@1.0.vendor \
android.hardware.automotive.evs@1.1.vendor \
@@ -652,6 +655,11 @@ PRODUCT_PACKAGES += \
android.hardware.usb@1.0.vendor \
android.hardware.usb@1.1.vendor \
android.hardware.usb@1.2.vendor \
android.hardware.vibrator@1.0.vendor \
android.hardware.vibrator@1.1.vendor \
android.hardware.vibrator@1.2.vendor \
android.hardware.vibrator@1.3.vendor \
android.hardware.vr@1.0.vendor \
android.hardware.weaver@1.0.vendor \
android.hardware.wifi.hostapd@1.0.vendor \
android.hardware.wifi.hostapd@1.1.vendor \

View File

@@ -57,7 +57,4 @@
<!-- Location on the screen of the center of the physical power button. -->
<dimen name="physical_power_button_center_screen_location_y">912px</dimen>
<!-- Blur radius behind Notification Shade -->
<dimen name="max_shade_window_blur_radius">17dp</dimen>
</resources>

View File

@@ -1,19 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2018 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.
-->
<resources>
<integer name="max_depth_blur_radius">11</integer>
<dimen name="max_depth_blur_radius_enhanced">15dp</dimen>
</resources>

View File

@@ -0,0 +1,2 @@
allow hal_secure_element_default nfc_hwservice:hwservice_manager { find add };
binder_call(hal_secure_element_default, nfc_hwservice)

View File

@@ -112,7 +112,6 @@ ro.hardware.egl=adreno
ro.hardware.vulkan=adreno
ro.opengles.version=196610
ro.vendor.cabc.enable=true
ro.surface_flinger.blur_disabled_by_default=true
vendor.display.comp_mask=0
vendor.display.disable_decimation=1
vendor.display.disable_excl_rect=0