13 Commits
bka ... bq2

Author SHA1 Message Date
Vivekachooz
cedbfc6708 sm7125-common: Enable perf hint large composition cycle
Change-Id: I258fbed42de936bb059ed45839a5bb39aa4794fe
2026-01-15 15:34:31 +05:30
Alessio Balsini
b58f84e69e 7125-common: Use FUSE passthrough by default
Enable the persist.sys.fuse.passthrough.enable flag for the device
configuration to enable the FUSE passthrough feature.
This feature has been enabled on Cuttlefish, Wembley and Redbull devices for
months and no issues have been detected yet.

Bug: 168023149
Test: 'adb shell getprop | grep persist.sys.fuse.passthrough.enable',
    ScopedStorageTest
Signed-off-by: Alessio Balsini <balsini@google.com>
Change-Id: I3f39b02af436f7e508bb70efc702565a667a051c
2026-01-15 15:33:24 +05:30
theshaenix
6805c32dee Revert "sm7125-common: Drop the unused android.hardware.power@1.2.vendor"
This reverts commit 3728b1aea2.
2026-01-15 00:44:46 +05:30
Ali Hasan
11dfbc2183 sm7125-common: switch to common health AIDL
Signed-off-by: Ali Hasan <ahb7671@gmail.com>
Signed-off-by: Saroj-Tajpuriya <80759612+saroj-nokia@users.noreply.github.com>
2026-01-13 22:12:39 +05:30
ozturkmutlu65
b721fa0442 sm7125-common: Add com.android.bluetooth context to seapp_contexts 2026-01-13 19:53:24 +05:30
ozturkmutlu65
c4981408f4 sm7125-common: sepolicy: let SystemUI read vendor bluetooth_prop 2026-01-13 19:18:11 +05:30
theshaenix
947a32835e sm7125-common: RealmeParts: Fix InputManager usage for Android 16 QPR2
- Replace removed InputManager.getInstance() with Context-based service lookup
- Refactor triggerVirtualKeypress() to accept Context
- Fix remaining call site for DPAD right navigation

Fixes build failure on Android 16 QPR2+
2026-01-13 19:18:11 +05:30
basamaryan
ab88a4ec04 sm7125-common: Disable blurs by default
Change-Id: Ia323bb8f66e3515bdf16ff3a14c919b8bd859eba
2026-01-13 19:18:10 +05:30
basamaryan
1e5643b2de sm7125-common: overlay: Reduce blur radius
Change-Id: Id6339df82156099ca14da684f236931b3ecf51ce
2026-01-13 19:10:49 +05:30
theshaenix
419ddf1dc7 Revert "sm7125-common: Switch to dot product CPU variant"
This reverts commit 0684cf355a.
2026-01-13 19:10:40 +05:30
theshaenix
f779337e92 sm7125-common: Drop prebuilts vndk_ v30
- VNDK V30 has been dropped out in QPR2
2026-01-13 12:08:00 +05:30
theshaenix
f924808c0a sm7125-common: Drop init.recovery.qcom.sh 2026-01-13 12:02:48 +05:30
theshaenix
1b95974a33 sm7125-common: Drop depreacted bootable ota 2026-01-13 11:54:13 +05:30
10 changed files with 29 additions and 44 deletions

View File

@@ -2,7 +2,6 @@ soong_namespace {
imports: [
"hardware/google/interfaces",
"hardware/google/pixel",
"bootable/deprecated-ota",
],
}

View File

@@ -32,17 +32,17 @@ BUILD_BROKEN_INCORRECT_PARTITION_IMAGES := true
# Architecture
TARGET_ARCH := arm64
TARGET_ARCH_VARIANT := armv8-2a-dotprod
TARGET_ARCH_VARIANT := armv8-a
TARGET_CPU_ABI := arm64-v8a
TARGET_CPU_ABI2 :=
TARGET_CPU_VARIANT := cortex-a76
TARGET_CPU_VARIANT := generic
TARGET_CPU_VARIANT_RUNTIME := cortex-a76
TARGET_2ND_ARCH := arm
TARGET_2ND_ARCH_VARIANT := armv8-2a
TARGET_2ND_ARCH_VARIANT := armv8-a
TARGET_2ND_CPU_ABI := armeabi-v7a
TARGET_2ND_CPU_ABI2 := armeabi
TARGET_2ND_CPU_VARIANT := cortex-a76
TARGET_2ND_CPU_VARIANT := generic
TARGET_2ND_CPU_VARIANT_RUNTIME := cortex-a76
# ART
@@ -238,6 +238,7 @@ VENDOR_SECURITY_PATCH := $(PLATFORM_SECURITY_PATCH)
# Sepolicy
include device/qcom/sepolicy_vndr/SEPolicy.mk
include device/lineage/sepolicy/libperfmgr/sepolicy.mk
SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += $(COMMON_PATH)/sepolicy/private
BOARD_SEPOLICY_DIRS += $(COMMON_PATH)/sepolicy/vendor
# SurfaceFlinger

View File

@@ -105,29 +105,29 @@ public class Action {
// process the actions
if (action.equals(ACTION_HOME)) {
triggerVirtualKeypress(KeyEvent.KEYCODE_HOME, isLongpress);
triggerVirtualKeypress(context, KeyEvent.KEYCODE_HOME, isLongpress);
return;
} else if (action.equals(ACTION_BACK)) {
triggerVirtualKeypress(KeyEvent.KEYCODE_BACK, isLongpress);
triggerVirtualKeypress(context, KeyEvent.KEYCODE_BACK, isLongpress);
return;
} else if (action.equals(ACTION_SEARCH)) {
triggerVirtualKeypress(KeyEvent.KEYCODE_SEARCH, isLongpress);
triggerVirtualKeypress(context, KeyEvent.KEYCODE_SEARCH, isLongpress);
return;
} else if (action.equals(ACTION_MENU)
|| action.equals(ACTION_MENU_BIG)) {
triggerVirtualKeypress(KeyEvent.KEYCODE_MENU, isLongpress);
triggerVirtualKeypress(context, KeyEvent.KEYCODE_MENU, isLongpress);
return;
} else if (action.equals(ACTION_IME_NAVIGATION_LEFT)) {
triggerVirtualKeypress(KeyEvent.KEYCODE_DPAD_LEFT, isLongpress);
triggerVirtualKeypress(context, KeyEvent.KEYCODE_DPAD_LEFT, isLongpress);
return;
} else if (action.equals(ACTION_IME_NAVIGATION_RIGHT)) {
triggerVirtualKeypress(KeyEvent.KEYCODE_DPAD_RIGHT, isLongpress);
triggerVirtualKeypress(context,KeyEvent.KEYCODE_DPAD_RIGHT, isLongpress);
return;
} else if (action.equals(ACTION_IME_NAVIGATION_UP)) {
triggerVirtualKeypress(KeyEvent.KEYCODE_DPAD_UP, isLongpress);
triggerVirtualKeypress(context, KeyEvent.KEYCODE_DPAD_UP, isLongpress);
return;
} else if (action.equals(ACTION_IME_NAVIGATION_DOWN)) {
triggerVirtualKeypress(KeyEvent.KEYCODE_DPAD_DOWN, isLongpress);
triggerVirtualKeypress(context, KeyEvent.KEYCODE_DPAD_DOWN, isLongpress);
return;
} else if (action.equals(ACTION_TORCH)) {
try {
@@ -305,8 +305,10 @@ public class Action {
}
}
public static void triggerVirtualKeypress(final int keyCode, boolean longpress) {
InputManager im = InputManager.getInstance();
public static void triggerVirtualKeypress(Context context,final int keyCode,boolean longpress) {
InputManager im = context.getSystemService(InputManager.class);
if (im == null) return;
long now = SystemClock.uptimeMillis();
int downflags = 0;
int upflags = 0;

View File

@@ -185,10 +185,8 @@ PRODUCT_COPY_FILES += \
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml
# Health
PRODUCT_PACKAGES += \
android.hardware.health-service.qti \
android.hardware.health-service.qti_recovery
# Health
$(call inherit-product, vendor/qcom/opensource/healthd-ext/health-vendor-product.mk)
# HIDL
PRODUCT_PACKAGES += \
@@ -232,7 +230,6 @@ PRODUCT_PACKAGES += \
# Recovery
PRODUCT_PACKAGES += \
init.recovery.qcom.sh \
init.recovery.qcom.rc \
init.recovery.usb.rc
@@ -348,6 +345,7 @@ PRODUCT_PROPERTY_OVERRIDES += \
# Power
PRODUCT_PACKAGES += \
android.hardware.power-service.lineage-libperfmgr \
android.hardware.power@1.2.vendor \
libqti-perfd-client
PRODUCT_COPY_FILES += \
@@ -413,7 +411,6 @@ PRODUCT_SOONG_NAMESPACES += \
kernel/realme/sm7125 \
hardware/google/interfaces \
hardware/google/pixel \
bootable/deprecated-ota \
hardware/lineage/interfaces/power-libperfmgr \
hardware/oplus \
hardware/qcom-caf/common/libqti-perfd-client
@@ -482,10 +479,6 @@ PRODUCT_PACKAGES += \
PRODUCT_COPY_FILES += \
vendor/qcom/opensource/vibrator/excluded-input-devices.xml:$(TARGET_COPY_OUT_VENDOR)/etc/excluded-input-devices.xml
PRODUCT_COPY_FILES += \
prebuilts/vndk/v30/arm64/arch-arm64-armv8-a/shared/vndk-core/libgui.so:$(TARGET_COPY_OUT_SYSTEM)/lib64/libxxx.so \
prebuilts/vndk/v30/arm64/arch-arm-armv8-a/shared/vndk-core/libgui.so:$(TARGET_COPY_OUT_SYSTEM)/lib/libxxx.so \
# Vulkan
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute.xml \

View File

@@ -82,15 +82,6 @@ prebuilt_etc {
vendor: true,
}
// Recovery-specific file in bin/
prebuilt_etc {
name: "init.recovery.qcom.sh",
src: "bin/init.recovery.qcom.sh",
filename: "init.recovery.qcom.sh",
recovery: true,
vendor: true,
}
// Vendor-specific shell scripts in bin/
sh_binary {
name: "init.at.class_main.sh",

View File

@@ -1,9 +0,0 @@
#!/system/bin/sh
while [ ! -d /dev/block/mapper ]; do
sleep 1
done
ln -s /dev/block/mapper/* /dev/block/bootdevice/by-name/
exit 0

View File

@@ -0,0 +1 @@
user=bluetooth seinfo=default name=com.android.bluetooth domain=bluetooth type=bluetooth_data_file levelFrom=all isPrivApp=true

View File

@@ -2,4 +2,4 @@ allow platform_app vendor_sysfs_kgsl:lnk_file read;
r_dir_file(platform_app, proc_decimal)
allow platform_app vendor_bluetooth_prop:file read;

View File

@@ -4,3 +4,6 @@ ro.hwui.render_ahead u:object_r:default_prop:s0
ro.config.avoid_gfx_accel u:object_r:config_prop:s0
persist.vendor.fingerprint.fp_id u:object_r:vendor_default_prop:s0
oppo.goodix.fp u:object_r:default_prop:s0
# Bluetooth LEA
ro.vendor.bluetooth.lea.* u:object_r:vendor_bluetooth_prop:s0

View File

@@ -125,6 +125,7 @@ vendor.display.qdcm.mode_combine=1
vendor.display.enable_default_color_mode=1
vendor.gralloc.disable_ubwc=0
vendor.display.disable_metadata_dynamic_fps=1
vendor.display.enable_perf_hint_large_comp_cycle=1
ro.surface_flinger.enable_frame_rate_override=false
ro.hwui.render_ahead=10
ro.surface_flinger.set_idle_timer_ms=80
@@ -152,6 +153,9 @@ ro.qcom.adreno.qgl.ShaderStorageImageExtendedFormats=0
# FM
vendor.hw.fm.init=0
# FUSE passthrough
persist.sys.fuse.passthrough.enable=true
#Graphics
debug.hwui.use_hint_manager=true
debug.hwui.target_cpu_time_percent=30