Compare commits
10 Commits
39fb406253
...
9682ef4dc4
Author | SHA1 | Date | |
---|---|---|---|
|
9682ef4dc4 | ||
3c188a0a88 | |||
bc1971f4c3 | |||
|
cc038a5658 | ||
|
08a3ed0a6e | ||
|
a72c57559f | ||
|
a155e9d55b | ||
|
528e0d3d77 | ||
|
020560689e | ||
|
64846319f5 |
@ -49,6 +49,10 @@ TARGET_NO_BOOTLOADER := true
|
|||||||
# Camera
|
# Camera
|
||||||
TARGET_CAMERA_OVERRIDE_FORMAT_FROM_RESERVED := true
|
TARGET_CAMERA_OVERRIDE_FORMAT_FROM_RESERVED := true
|
||||||
|
|
||||||
|
# Malloc
|
||||||
|
MALLOC_SVELTE := true
|
||||||
|
MALLOC_SVELTE_FOR_LIBC32 := true
|
||||||
|
|
||||||
# Display
|
# Display
|
||||||
TARGET_USES_COLOR_METADATA := true
|
TARGET_USES_COLOR_METADATA := true
|
||||||
TARGET_USES_DISPLAY_RENDER_INTENTS := true
|
TARGET_USES_DISPLAY_RENDER_INTENTS := true
|
||||||
@ -73,26 +77,40 @@ DEVICE_MANIFEST_FILE += hardware/qcom-caf/sm8150/media/conf_files/sm6150/c2_mani
|
|||||||
DEVICE_MATRIX_FILE := hardware/qcom-caf/common/compatibility_matrix.xml
|
DEVICE_MATRIX_FILE := hardware/qcom-caf/common/compatibility_matrix.xml
|
||||||
|
|
||||||
# Kernel
|
# Kernel
|
||||||
|
TARGET_KERNEL_ARCH := $(TARGET_ARCH)
|
||||||
|
TARGET_KERNEL_HEADER_ARCH := $(TARGET_ARCH)
|
||||||
BOARD_KERNEL_BASE := 0x00000000
|
BOARD_KERNEL_BASE := 0x00000000
|
||||||
BOARD_KERNEL_IMAGE_NAME := Image.gz
|
|
||||||
BOARD_KERNEL_PAGESIZE := 4096
|
BOARD_KERNEL_PAGESIZE := 4096
|
||||||
|
BOARD_KERNEL_IMAGE_NAME := Image.gz-dtb
|
||||||
BOARD_KERNEL_SEPARATED_DTBO := true
|
BOARD_KERNEL_SEPARATED_DTBO := true
|
||||||
|
|
||||||
|
# Enable DTB in bootimage and set header version
|
||||||
|
BOARD_INCLUDE_DTB_IN_BOOTIMG := true
|
||||||
|
|
||||||
|
# Kernel Path
|
||||||
TARGET_KERNEL_SOURCE := kernel/xiaomi/sm6150
|
TARGET_KERNEL_SOURCE := kernel/xiaomi/sm6150
|
||||||
TARGET_KERNEL_CONFIG := vendor/sdmsteppe-perf_defconfig
|
TARGET_KERNEL_CONFIG := vendor/sdmsteppe-perf_defconfig
|
||||||
|
|
||||||
|
# Kernel Compile with Clang version
|
||||||
|
TARGET_KERNEL_CLANG_VERSION := r530567
|
||||||
|
|
||||||
|
# Kernel Build with LLVM tools
|
||||||
KERNEL_SUPPORTS_LLVM_TOOLS := true
|
KERNEL_SUPPORTS_LLVM_TOOLS := true
|
||||||
TARGET_KERNEL_ADDITIONAL_FLAGS := LLVM=1 LLVM_IAS=1
|
TARGET_KERNEL_ADDITIONAL_FLAGS := LLVM=1 LLVM_IAS=1
|
||||||
KERNEL_LD := LD=ld.lld
|
KERNEL_LD := LD=ld.lld
|
||||||
|
|
||||||
BOARD_KERNEL_CMDLINE := console=ttyMSM0,115200n8 earlycon=msm_geni_serial,0x880000
|
# Kernel Cmdline
|
||||||
BOARD_KERNEL_CMDLINE += androidboot.hardware=qcom androidboot.console=ttyMSM0
|
BOARD_KERNEL_CMDLINE := \
|
||||||
BOARD_KERNEL_CMDLINE += androidboot.usbcontroller=a600000.dwc3
|
console=ttyMSM0,115200n8 \
|
||||||
BOARD_KERNEL_CMDLINE += service_locator.enable=1
|
earlycon=msm_geni_serial,0x880000 \
|
||||||
BOARD_KERNEL_CMDLINE += lpm_levels.sleep_disabled=1
|
androidboot.hardware=qcom \
|
||||||
BOARD_KERNEL_CMDLINE += loop.max_part=7
|
androidboot.console=ttyMSM0 \
|
||||||
|
androidboot.usbcontroller=a600000.dwc3 \
|
||||||
|
service_locator.enable=1 \
|
||||||
|
lpm_levels.sleep_disabled=1 \
|
||||||
|
loop.max_part=7
|
||||||
|
|
||||||
# Enable DTB in bootimage and set header version
|
# Enable set header version
|
||||||
BOARD_INCLUDE_DTB_IN_BOOTIMG := true
|
|
||||||
BOARD_BOOTIMG_HEADER_VERSION := 2
|
BOARD_BOOTIMG_HEADER_VERSION := 2
|
||||||
BOARD_MKBOOTIMG_ARGS := --header_version $(BOARD_BOOTIMG_HEADER_VERSION)
|
BOARD_MKBOOTIMG_ARGS := --header_version $(BOARD_BOOTIMG_HEADER_VERSION)
|
||||||
|
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
[
|
|
||||||
{
|
|
||||||
"repository": "android_kernel_xiaomi_sm6150",
|
|
||||||
"target_path": "kernel/xiaomi/sm6150"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"repository": "android_hardware_xiaomi",
|
|
||||||
"target_path": "hardware/xiaomi"
|
|
||||||
}
|
|
||||||
]
|
|
@ -252,6 +252,7 @@
|
|||||||
<integer-array name="config_availableColorModes">
|
<integer-array name="config_availableColorModes">
|
||||||
<item>0</item> <!-- COLOR_MODE_NATURAL -->
|
<item>0</item> <!-- COLOR_MODE_NATURAL -->
|
||||||
<item>1</item> <!-- COLOR_MODE_BOOSTED -->
|
<item>1</item> <!-- COLOR_MODE_BOOSTED -->
|
||||||
|
<item>2</item> <!-- COLOR_MODE_SATURATED -->
|
||||||
<item>3</item> <!-- COLOR_MODE_AUTOMATIC -->
|
<item>3</item> <!-- COLOR_MODE_AUTOMATIC -->
|
||||||
</integer-array>
|
</integer-array>
|
||||||
|
|
||||||
|
@ -36,4 +36,7 @@
|
|||||||
|
|
||||||
<!-- Whether to show the Preference for Adaptive connectivity -->
|
<!-- Whether to show the Preference for Adaptive connectivity -->
|
||||||
<bool name="config_show_adaptive_connectivity">false</bool>
|
<bool name="config_show_adaptive_connectivity">false</bool>
|
||||||
|
|
||||||
|
<!-- Device specific doze package -->
|
||||||
|
<string name="config_customDozePackage" translatable="false">org.lineageos.settings/org.lineageos.settings.doze.DozeSettingsActivity</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
@ -49,10 +49,6 @@
|
|||||||
android:exported="false"
|
android:exported="false"
|
||||||
android:label="@string/ambient_display_title"
|
android:label="@string/ambient_display_title"
|
||||||
android:theme="@style/Theme.SubSettingsBase">
|
android:theme="@style/Theme.SubSettingsBase">
|
||||||
<intent-filter>
|
|
||||||
<action android:name="org.lineageos.settings.device.DOZE_SETTINGS" />
|
|
||||||
<category android:name="android.intent.category.DEFAULT" />
|
|
||||||
</intent-filter>
|
|
||||||
</activity>
|
</activity>
|
||||||
|
|
||||||
<activity
|
<activity
|
||||||
|
@ -87,9 +87,6 @@ on boot
|
|||||||
# Disable console_suspend to get better logging for kernel crashes
|
# Disable console_suspend to get better logging for kernel crashes
|
||||||
write /sys/module/printk/parameters/console_suspend N
|
write /sys/module/printk/parameters/console_suspend N
|
||||||
|
|
||||||
# Enable suspend to idle mode to reduce latency during suspend/resume
|
|
||||||
write /sys/power/mem_sleep "s2idle"
|
|
||||||
|
|
||||||
on property:sys.boot_completed=1 && property:init.svc.console=running
|
on property:sys.boot_completed=1 && property:init.svc.console=running
|
||||||
# If UART is on, enable console_suspend on boot_complete to save power
|
# If UART is on, enable console_suspend on boot_complete to save power
|
||||||
write /sys/module/printk/parameters/console_suspend Y
|
write /sys/module/printk/parameters/console_suspend Y
|
||||||
|
@ -135,7 +135,7 @@ persist.vendor.dpmhalservice.enable=1
|
|||||||
debug.egl.hw=0
|
debug.egl.hw=0
|
||||||
debug.mdpcomp.logs=0
|
debug.mdpcomp.logs=0
|
||||||
debug.sf.auto_latch_unsignaled=0
|
debug.sf.auto_latch_unsignaled=0
|
||||||
debug.sf.disable_client_composition_cache=1
|
debug.sf.disable_backpressure=1
|
||||||
debug.sf.enable_gl_backpressure=0
|
debug.sf.enable_gl_backpressure=0
|
||||||
debug.sf.enable_transaction_tracing=false
|
debug.sf.enable_transaction_tracing=false
|
||||||
debug.sf.use_phase_offsets_as_durations=1
|
debug.sf.use_phase_offsets_as_durations=1
|
||||||
@ -148,7 +148,6 @@ debug.sf.earlyGl.app.duration=21000000
|
|||||||
debug.sf.enable_hwc_vds=1
|
debug.sf.enable_hwc_vds=1
|
||||||
debug.sf.hw=0
|
debug.sf.hw=0
|
||||||
debug.sf.predict_hwc_composition_strategy=0
|
debug.sf.predict_hwc_composition_strategy=0
|
||||||
debug.sf.latch_unsignaled=1
|
|
||||||
debug.sf.treat_170m_as_sRGB=1
|
debug.sf.treat_170m_as_sRGB=1
|
||||||
ro.hardware.egl=adreno
|
ro.hardware.egl=adreno
|
||||||
ro.hardware.vulkan=adreno
|
ro.hardware.vulkan=adreno
|
||||||
|
Loading…
Reference in New Issue
Block a user