Compare commits
No commits in common. "9682ef4dc4b0ebb32b0db0a994e4669c7740571d" and "39fb4062536ea01aa59075fcb7141358f674e287" have entirely different histories.
9682ef4dc4
...
39fb406253
@ -49,10 +49,6 @@ TARGET_NO_BOOTLOADER := true
|
||||
# Camera
|
||||
TARGET_CAMERA_OVERRIDE_FORMAT_FROM_RESERVED := true
|
||||
|
||||
# Malloc
|
||||
MALLOC_SVELTE := true
|
||||
MALLOC_SVELTE_FOR_LIBC32 := true
|
||||
|
||||
# Display
|
||||
TARGET_USES_COLOR_METADATA := true
|
||||
TARGET_USES_DISPLAY_RENDER_INTENTS := true
|
||||
@ -77,40 +73,26 @@ DEVICE_MANIFEST_FILE += hardware/qcom-caf/sm8150/media/conf_files/sm6150/c2_mani
|
||||
DEVICE_MATRIX_FILE := hardware/qcom-caf/common/compatibility_matrix.xml
|
||||
|
||||
# Kernel
|
||||
TARGET_KERNEL_ARCH := $(TARGET_ARCH)
|
||||
TARGET_KERNEL_HEADER_ARCH := $(TARGET_ARCH)
|
||||
BOARD_KERNEL_BASE := 0x00000000
|
||||
BOARD_KERNEL_IMAGE_NAME := Image.gz
|
||||
BOARD_KERNEL_PAGESIZE := 4096
|
||||
BOARD_KERNEL_IMAGE_NAME := Image.gz-dtb
|
||||
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_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
|
||||
TARGET_KERNEL_ADDITIONAL_FLAGS := LLVM=1 LLVM_IAS=1
|
||||
KERNEL_LD := LD=ld.lld
|
||||
|
||||
# Kernel Cmdline
|
||||
BOARD_KERNEL_CMDLINE := \
|
||||
console=ttyMSM0,115200n8 \
|
||||
earlycon=msm_geni_serial,0x880000 \
|
||||
androidboot.hardware=qcom \
|
||||
androidboot.console=ttyMSM0 \
|
||||
androidboot.usbcontroller=a600000.dwc3 \
|
||||
service_locator.enable=1 \
|
||||
lpm_levels.sleep_disabled=1 \
|
||||
loop.max_part=7
|
||||
BOARD_KERNEL_CMDLINE := console=ttyMSM0,115200n8 earlycon=msm_geni_serial,0x880000
|
||||
BOARD_KERNEL_CMDLINE += androidboot.hardware=qcom androidboot.console=ttyMSM0
|
||||
BOARD_KERNEL_CMDLINE += androidboot.usbcontroller=a600000.dwc3
|
||||
BOARD_KERNEL_CMDLINE += service_locator.enable=1
|
||||
BOARD_KERNEL_CMDLINE += lpm_levels.sleep_disabled=1
|
||||
BOARD_KERNEL_CMDLINE += loop.max_part=7
|
||||
|
||||
# Enable set header version
|
||||
# Enable DTB in bootimage and set header version
|
||||
BOARD_INCLUDE_DTB_IN_BOOTIMG := true
|
||||
BOARD_BOOTIMG_HEADER_VERSION := 2
|
||||
BOARD_MKBOOTIMG_ARGS := --header_version $(BOARD_BOOTIMG_HEADER_VERSION)
|
||||
|
||||
|
10
lineage.dependencies
Normal file
10
lineage.dependencies
Normal file
@ -0,0 +1,10 @@
|
||||
[
|
||||
{
|
||||
"repository": "android_kernel_xiaomi_sm6150",
|
||||
"target_path": "kernel/xiaomi/sm6150"
|
||||
},
|
||||
{
|
||||
"repository": "android_hardware_xiaomi",
|
||||
"target_path": "hardware/xiaomi"
|
||||
}
|
||||
]
|
@ -252,7 +252,6 @@
|
||||
<integer-array name="config_availableColorModes">
|
||||
<item>0</item> <!-- COLOR_MODE_NATURAL -->
|
||||
<item>1</item> <!-- COLOR_MODE_BOOSTED -->
|
||||
<item>2</item> <!-- COLOR_MODE_SATURATED -->
|
||||
<item>3</item> <!-- COLOR_MODE_AUTOMATIC -->
|
||||
</integer-array>
|
||||
|
||||
|
@ -36,7 +36,4 @@
|
||||
|
||||
<!-- Whether to show the Preference for Adaptive connectivity -->
|
||||
<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>
|
||||
|
@ -49,6 +49,10 @@
|
||||
android:exported="false"
|
||||
android:label="@string/ambient_display_title"
|
||||
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
|
||||
|
@ -87,6 +87,9 @@ on boot
|
||||
# Disable console_suspend to get better logging for kernel crashes
|
||||
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
|
||||
# If UART is on, enable console_suspend on boot_complete to save power
|
||||
write /sys/module/printk/parameters/console_suspend Y
|
||||
|
@ -135,7 +135,7 @@ persist.vendor.dpmhalservice.enable=1
|
||||
debug.egl.hw=0
|
||||
debug.mdpcomp.logs=0
|
||||
debug.sf.auto_latch_unsignaled=0
|
||||
debug.sf.disable_backpressure=1
|
||||
debug.sf.disable_client_composition_cache=1
|
||||
debug.sf.enable_gl_backpressure=0
|
||||
debug.sf.enable_transaction_tracing=false
|
||||
debug.sf.use_phase_offsets_as_durations=1
|
||||
@ -148,6 +148,7 @@ debug.sf.earlyGl.app.duration=21000000
|
||||
debug.sf.enable_hwc_vds=1
|
||||
debug.sf.hw=0
|
||||
debug.sf.predict_hwc_composition_strategy=0
|
||||
debug.sf.latch_unsignaled=1
|
||||
debug.sf.treat_170m_as_sRGB=1
|
||||
ro.hardware.egl=adreno
|
||||
ro.hardware.vulkan=adreno
|
||||
|
Loading…
Reference in New Issue
Block a user