2 Commits
bq2 ... bka

Author SHA1 Message Date
basamaryan
9f48fe7af8 sm7125-common: Disable blurs by default
Change-Id: Ia323bb8f66e3515bdf16ff3a14c919b8bd859eba
2026-01-13 19:47:41 +05:30
basamaryan
69cec4a226 sm7125-common: overlay: Reduce blur radius
Change-Id: Id6339df82156099ca14da684f236931b3ecf51ce
2026-01-13 16:13:14 +05:30
10 changed files with 44 additions and 29 deletions

View File

@@ -2,6 +2,7 @@ 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-a
TARGET_ARCH_VARIANT := armv8-2a-dotprod
TARGET_CPU_ABI := arm64-v8a
TARGET_CPU_ABI2 :=
TARGET_CPU_VARIANT := generic
TARGET_CPU_VARIANT := cortex-a76
TARGET_CPU_VARIANT_RUNTIME := cortex-a76
TARGET_2ND_ARCH := arm
TARGET_2ND_ARCH_VARIANT := armv8-a
TARGET_2ND_ARCH_VARIANT := armv8-2a
TARGET_2ND_CPU_ABI := armeabi-v7a
TARGET_2ND_CPU_ABI2 := armeabi
TARGET_2ND_CPU_VARIANT := generic
TARGET_2ND_CPU_VARIANT := cortex-a76
TARGET_2ND_CPU_VARIANT_RUNTIME := cortex-a76
# ART
@@ -238,7 +238,6 @@ 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(context, KeyEvent.KEYCODE_HOME, isLongpress);
triggerVirtualKeypress(KeyEvent.KEYCODE_HOME, isLongpress);
return;
} else if (action.equals(ACTION_BACK)) {
triggerVirtualKeypress(context, KeyEvent.KEYCODE_BACK, isLongpress);
triggerVirtualKeypress(KeyEvent.KEYCODE_BACK, isLongpress);
return;
} else if (action.equals(ACTION_SEARCH)) {
triggerVirtualKeypress(context, KeyEvent.KEYCODE_SEARCH, isLongpress);
triggerVirtualKeypress(KeyEvent.KEYCODE_SEARCH, isLongpress);
return;
} else if (action.equals(ACTION_MENU)
|| action.equals(ACTION_MENU_BIG)) {
triggerVirtualKeypress(context, KeyEvent.KEYCODE_MENU, isLongpress);
triggerVirtualKeypress(KeyEvent.KEYCODE_MENU, isLongpress);
return;
} else if (action.equals(ACTION_IME_NAVIGATION_LEFT)) {
triggerVirtualKeypress(context, KeyEvent.KEYCODE_DPAD_LEFT, isLongpress);
triggerVirtualKeypress(KeyEvent.KEYCODE_DPAD_LEFT, isLongpress);
return;
} else if (action.equals(ACTION_IME_NAVIGATION_RIGHT)) {
triggerVirtualKeypress(context,KeyEvent.KEYCODE_DPAD_RIGHT, isLongpress);
triggerVirtualKeypress(KeyEvent.KEYCODE_DPAD_RIGHT, isLongpress);
return;
} else if (action.equals(ACTION_IME_NAVIGATION_UP)) {
triggerVirtualKeypress(context, KeyEvent.KEYCODE_DPAD_UP, isLongpress);
triggerVirtualKeypress(KeyEvent.KEYCODE_DPAD_UP, isLongpress);
return;
} else if (action.equals(ACTION_IME_NAVIGATION_DOWN)) {
triggerVirtualKeypress(context, KeyEvent.KEYCODE_DPAD_DOWN, isLongpress);
triggerVirtualKeypress(KeyEvent.KEYCODE_DPAD_DOWN, isLongpress);
return;
} else if (action.equals(ACTION_TORCH)) {
try {
@@ -305,10 +305,8 @@ public class Action {
}
}
public static void triggerVirtualKeypress(Context context,final int keyCode,boolean longpress) {
InputManager im = context.getSystemService(InputManager.class);
if (im == null) return;
public static void triggerVirtualKeypress(final int keyCode, boolean longpress) {
InputManager im = InputManager.getInstance();
long now = SystemClock.uptimeMillis();
int downflags = 0;
int upflags = 0;

View File

@@ -185,8 +185,10 @@ 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
$(call inherit-product, vendor/qcom/opensource/healthd-ext/health-vendor-product.mk)
# Health
PRODUCT_PACKAGES += \
android.hardware.health-service.qti \
android.hardware.health-service.qti_recovery
# HIDL
PRODUCT_PACKAGES += \
@@ -230,6 +232,7 @@ PRODUCT_PACKAGES += \
# Recovery
PRODUCT_PACKAGES += \
init.recovery.qcom.sh \
init.recovery.qcom.rc \
init.recovery.usb.rc
@@ -345,7 +348,6 @@ PRODUCT_PROPERTY_OVERRIDES += \
# Power
PRODUCT_PACKAGES += \
android.hardware.power-service.lineage-libperfmgr \
android.hardware.power@1.2.vendor \
libqti-perfd-client
PRODUCT_COPY_FILES += \
@@ -411,6 +413,7 @@ 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
@@ -479,6 +482,10 @@ 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,6 +82,15 @@ 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

@@ -0,0 +1,9 @@
#!/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

@@ -1 +0,0 @@
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,6 +4,3 @@ 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,7 +125,6 @@ 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
@@ -153,9 +152,6 @@ 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