Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qpr3 #1

Open
wants to merge 88 commits into
base: lineage-21.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
88 commits
Select commit Hold shift + click to select a range
3cd3e52
spaced: Switch to prebuilt `libwifi-hal`
bengris32 Jul 31, 2023
d6879d6
spaced: Update makefile to use the AIDL Wifi Vendor HAL.
xt0032rus Oct 29, 2023
9ef238e
spaced: sepolicy: Remove duplicate context
HELLINFIX Mar 14, 2024
fdb8c48
spaced: Disable ART debug and optimize dexpreopt
adithya2306 Nov 23, 2021
cf6ba62
spaced: Do not dexpreopt prebuilt packages
adithya2306 Aug 16, 2022
005bfc9
spaced: Enable R8 optimizations for SystemUI & system_server
djchittoor Oct 27, 2022
1a29db5
spaced: Support AOSP charger animation
bengris32 Aug 29, 2023
dd5676e
spaced: Drop 32bit camera libs
HELLINFIX Mar 19, 2024
656bb15
spaced: Drop AEE
kardebayan Nov 26, 2023
a06ca43
spaced: Drop 32-bit fingerprint blobs
HELLINFIX Mar 19, 2024
dbfc4d5
spaced: Drop 32-bit Bluetooth blobs
kardebayan Dec 10, 2023
bbc5e76
spaced: Update health AIDL HAL to V3.
dvandercorp Mar 22, 2024
68e157f
spaced: Go `Enforcing`
HELLINFIX Mar 22, 2024
aec46c7
spaced: Don't explicitly include updatable_apex.mk
basamaryan Mar 20, 2024
b439bc4
spaced: Build `libwifi-hal-wrapper` for legacy vendor HALs
bengris32 Mar 23, 2024
8a55ff6
spaced: set swappiness back to 100
helliini Jul 11, 2024
c413d24
spaced: Drop MediaTek PowerHAL
bengris32 Oct 4, 2022
9b5df82
spaced: Build dummy libmtkperf_client library
bengris32 Oct 4, 2022
aff5ffb
spaced: Build stub mtkpower service
bengris32 Oct 4, 2022
04e32ae
spaced: power-libperfmgr: Import power HAL AIDL implementation
bgcngm Apr 17, 2021
41dd673
spaced: Kang pixel power-libperfmgr sepolicy
mvaisakh Sep 3, 2023
7f96cf6
spaced: Address libperfmgr denials
bengris32 Sep 3, 2023
2510fae
spaced: Allow 'mtk_hal_power' to call 'hal_power_default'
nishant6342 Sep 19, 2023
7eef444
spaced: Allow 'hal_power_default' to read and write to display nodes
nishant6342 Sep 19, 2023
92d68f8
spaced: sepolicy: Remove rules for MediaTek Power HAL
bengris32 Mar 14, 2024
1d12b41
spaced: Allow libperfmgr to control GPU nodes
bengris32 Sep 1, 2023
fae5c3d
spaced: Refactor cgroup setup
bengris32 Aug 16, 2023
ab1445e
spaced: Refactor SchedTune set-up and configure on init
bengris32 Aug 16, 2023
3aafcef
spaced: Enable UFS boottime setting
weivincewang Aug 29, 2023
3300fcf
spaced: Move boot time fs tuning into init.mt6877.power.rc
bengris32 Aug 29, 2023
9122d04
spaced: Remove IO read_ahead_kb tune
Aug 29, 2023
040b2e1
spaced: Configure governor to schedutil on boot
bengris32 Aug 29, 2023
9faa01b
spaced: Create EAS tuning nodes before switching to schedutil
bengris32 Aug 29, 2023
62969af
spaced: Configure default DVFS parameters on boot
bengris32 Oct 22, 2023
416db63
spaced: Initial powerhint for MT6781
bengris32 Aug 16, 2023
3c5d40b
spaced: Add boosts for `EXPENSIVE_RENDERING` power hint
bengris32 Aug 21, 2023
5b354af
spaced: Boost foreground on app launch
bengris32 Sep 10, 2023
c7bb9ff
spaced: Remove stune boost from powerhint
bengris32 Sep 21, 2023
07f96bd
spaced: Implement DT2W hint
SamarV-121 Sep 8, 2023
afc39c0
spaced: Add `SUSTAINED_PERFORMANCE` hint
mvaisakh Sep 20, 2023
aa4ba98
spaced: Decrease launch boost to 3sec
DennySPB Feb 14, 2023
80d2430
spaced: powerhint: switch over to UClamp
bengris32 Apr 12, 2024
f1cdcd2
spaced: powerhint: Add CCIFreqMode hint
HELLINFIX May 31, 2024
c686ad0
spaced: powerhint: Add Flipendo powerhint
Lunarixus Jan 18, 2021
7481d99
spaced: powerhint: Setup uclamp latency boosting
HELLINFIX Jun 19, 2024
55a8592
spaced: powerhint: Add `Display Inactive` hint
kondors1995 Sep 24, 2023
a27c6eb
spaced: Switch to Runtime Resource Overlay (RRO)
HELLINFIX Jan 31, 2024
3b82564
spaced: Add libcamera_metadata shim for stripping out system camera cap
luk1337 Nov 25, 2022
10dd6dd
spaced: Patchelf C2 service to link against libavservices_minijail
bengris32 Nov 19, 2022
39a4b5c
spaced: rootdir: Update display panel firmware if newer
ZVNexus Jun 18, 2022
1e022dd
spaced: power: Set up and down rate limits for schedutil
cobrien7 Aug 29, 2023
22b896b
spaced: Correct Architecture optimization flags
bengris32 Apr 19, 2023
ac5d01d
spaced: switch back to prebuilt usb hal
HELLINFIX May 1, 2024
a16cdb3
spaced: rootdir: Disable edge limit control interface
SamarV-121 Feb 15, 2020
35d87f0
spaced: Enable vibration intensity control
Astridxx Jul 22, 2023
ee414fd
spaced: Update multiple vibration strength levels overlay for 14
mikeNG Jul 22, 2023
a43763c
spaced: Add custom vibration patterns
bengris32 Oct 26, 2022
d28beb6
spaced: overlay: Add sustained performance support
Blackmanx Apr 26, 2024
959d2e5
spaced: Use limited alpha & fading marquee
EmanuelCN May 1, 2022
9e767e5
spaced: Limit AOD refresh rate to 60hz
Aug 22, 2022
4b02038
spaced: Disable combined QS header
whyredfire May 8, 2023
92a102e
spaced: Add config_wallpaperMaxScale
Erickeagle3 Apr 19, 2022
b86e2ea
spaced: vibrator: Only handle actually supported effects
Linux4 Mar 12, 2023
b58dc43
spaced: overlay: Enable auto-power-save modes
zwliew Oct 28, 2016
93bb652
spaced: overlay: Enable sidefps performant auth by default
adithya2306 Jun 24, 2023
317737a
spaced: overlay: Reduce screenshot delay to 0
HELLINFIX Jun 4, 2024
766ba15
spaced: overlay: Fix status bar height and padding
mvaisakh May 31, 2024
6bf4fb1
spaced: Set rounded corner content padding to 12dp
yukawa Aug 20, 2022
137490a
spaced: Enable fast charging detection
kardebayan Dec 5, 2023
b34acc9
spaced: init: Enable fastchg_fw_update
SagarMakhar Jan 13, 2022
122076f
spaced: Clone needed repos if not exists
HELLINFIX Jun 2, 2024
23c29b6
spaced: Compile required vndk blobs to vendor
SamarV-121 Jun 17, 2024
d8d34eb
spaced: Use libutils-v32.so for thermal HAL
SamarV-121 Nov 28, 2022
bb7a707
spaced: Drop COMMON_LUNCH_CHOICES
mikeNG Jun 19, 2024
65db289
spaced: libshims: Add android::GraphicBufferMapper::lock shim
R0rt1z2 Jun 16, 2024
2bdc4d1
spaced: libshims: Add android::GraphicBufferMapper::unlock shim
ItsVixano Jun 16, 2024
e2f54d0
spaced: bring the pixel
HELLINFIX Mar 19, 2024
ee77f72
spaced: overlay: Use AOSP overlay for volume panel location
Vishalcj17 Jan 2, 2024
b7e0faf
spaced: Update IMS from plato V14.0.7.0.ULQMIXM
bengris32 Mar 10, 2024
2aa681e
spaced: Import update-sha1sums.py from G
kardebayan Oct 29, 2023
bf49e59
spaced: update pinned blobs
HELLINFIX Jul 22, 2024
690c3f7
spaced: Remove debug.sf.latch_unsignaled
Jul 14, 2024
c2a0d9c
spaced: Remove wait_for_keymaster and all references
ciphergoth Jun 13, 2021
7290775
Revert "spaced: Increase sf.hwc.min.duration"
Jul 7, 2024
010ba04
spaced: Move to lz4 for EROFS
gotenksIN Sep 26, 2022
4c0c855
[TEMP] spaced: Copy prebuilt on_vendor apex from our last working li…
inferno0230 Jul 8, 2024
a260387
spaced: Update CarrierConfigOverlay from RUI4-TP1A.220905.001
nightshade7621 Aug 7, 2024
d44a7fd
spaced: Stop shipping 32-bit Zygote
arter97 Nov 4, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions AndroidProducts.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,4 @@
#

PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/lineage_spaced.mk

COMMON_LUNCH_CHOICES := \
lineage_spaced-user \
lineage_spaced-userdebug \
lineage_spaced-eng
$(LOCAL_DIR)/aosp_spaced.mk
35 changes: 16 additions & 19 deletions BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ TARGET_ARCH_VARIANT := armv8-2a-dotprod
TARGET_CPU_ABI := arm64-v8a
TARGET_CPU_ABI2 :=
TARGET_CPU_VARIANT := generic
TARGET_2ND_CPU_VARIANT_RUNTIME := cortex-a76
TARGET_CPU_VARIANT_RUNTIME := cortex-a76

TARGET_2ND_ARCH := arm
TARGET_2ND_ARCH_VARIANT := armv8-2a
Expand All @@ -29,6 +29,12 @@ TARGET_2ND_CPU_ABI2 := armeabi
TARGET_2ND_CPU_VARIANT := generic
TARGET_2ND_CPU_VARIANT_RUNTIME := cortex-a55

# ART
ART_BUILD_TARGET_NDEBUG := true
ART_BUILD_TARGET_DEBUG := false
ART_BUILD_HOST_NDEBUG := true
ART_BUILD_HOST_DEBUG := false

# Assert
TARGET_OTA_ASSERT_DEVICE := RMX3151L1,RMX3286,spaced

Expand All @@ -47,7 +53,6 @@ BOARD_DTB_OFFSET := 0x0bc08000
BOARD_BOOTIMG_HEADER_VERSION := 2
BOARD_INCLUDE_DTB_IN_BOOTIMG := true

BOARD_KERNEL_CMDLINE += androidboot.selinux=permissive
BOARD_KERNEL_CMDLINE := bootopt=64S3,32N2,64N2
BOARD_KERNEL_CMDLINE += androidboot.init_fatal_reboot_target=recovery

Expand Down Expand Up @@ -91,10 +96,11 @@ BOARD_SUPER_PARTITION_GROUPS := main
BOARD_MAIN_SIZE := 10196353024
BOARD_MAIN_PARTITION_LIST := system system_ext vendor product odm

BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE := 2147483648
BOARD_SYSTEM_EXTIMAGE_PARTITION_RESERVED_SIZE := 1610612736
BOARD_PRODUCTIMAGE_PARTITION_RESERVED_SIZE := 2147483648
# BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE := 2147483648
# BOARD_SYSTEM_EXTIMAGE_PARTITION_RESERVED_SIZE := 1610612736
# BOARD_PRODUCTIMAGE_PARTITION_RESERVED_SIZE := 2147483648

BOARD_EROFS_COMPRESSOR := lz4
BOARD_EROFS_PCLUSTER_SIZE := 262144

BOARD_SYSTEMIMAGE_FILE_SYSTEM_TYPE := ext4
Expand All @@ -108,16 +114,10 @@ TARGET_COPY_OUT_VENDOR := vendor
TARGET_COPY_OUT_PRODUCT := product
TARGET_COPY_OUT_SYSTEM_EXT := system_ext

# Lineage Health
TARGET_HEALTH_CHARGING_CONTROL_CHARGING_PATH := /sys/class/oplus_chg/battery/mmi_charging_enable

# Platform
TARGET_BOARD_PLATFORM := mt6781
BOARD_HAS_MTK_HARDWARE := true

# Power
TARGET_TAP_TO_WAKE_NODE := "/proc/touchpanel/double_tap_enable"

# Recovery
TARGET_RECOVERY_PIXEL_FORMAT := "RGBX_8888"
TARGET_RECOVERY_FSTAB := $(DEVICE_PATH)/rootdir/etc/fstab.mt6781
Expand All @@ -144,6 +144,9 @@ SOONG_CONFIG_NAMESPACES += OPLUS_LINEAGE_TOUCH_HAL
SOONG_CONFIG_OPLUS_LINEAGE_TOUCH_HAL := INCLUDE_DIR
SOONG_CONFIG_OPLUS_LINEAGE_TOUCH_HAL_INCLUDE_DIR := $(DEVICE_PATH)/touch/include

# Vibrator
TARGET_VIBRATOR_SUPPORTS_EFFECTS := true

# Verified Boot
BOARD_AVB_ENABLE := true
BOARD_AVB_MAKE_VBMETA_IMAGE_ARGS += --flags 3
Expand All @@ -167,10 +170,7 @@ BOARD_AVB_VBMETA_VENDOR_ROLLBACK_INDEX_LOCATION := 3
# VINTF
DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/manifest.xml
DEVICE_MATRIX_FILE += $(DEVICE_PATH)/compatibility_matrix.xml
DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE := \
$(DEVICE_PATH)/framework_compatibility_matrix.xml \
vendor/lineage/config/device_framework_matrix.xml
ODM_MANIFEST_FILES := $(DEVICE_PATH)/manifest_odm.xml
DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE := $(DEVICE_PATH)/framework_compatibility_matrix.xml

ODM_MANIFEST_SKUS += nfc
ODM_MANIFEST_NFC_FILES := $(DEVICE_PATH)/manifest_nfc.xml
Expand All @@ -183,14 +183,11 @@ TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
BOARD_VNDK_VERSION := current

# Wi-Fi
BOARD_WLAN_DEVICE := MediaTek
WPA_SUPPLICANT_VERSION := VER_0_8_X
BOARD_WPA_SUPPLICANT_DRIVER := NL80211
BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_mt66xx
BOARD_HOSTAPD_DRIVER := NL80211
BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_mt66xx
WIFI_DRIVER_FW_PATH_PARAM := "/dev/wmtWifi"
WIFI_DRIVER_FW_PATH_STA:= "STA"
WIFI_DRIVER_FW_PATH_STA := "STA"
WIFI_DRIVER_FW_PATH_AP := "AP"
WIFI_DRIVER_FW_PATH_P2P := "P2P"
WIFI_DRIVER_STATE_CTRL_PARAM := "/dev/wmtWifi"
Expand Down
2 changes: 1 addition & 1 deletion aidl/health/android.hardware.health-service.mediatek.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<manifest version="1.0" type="device">
<hal format="aidl">
<name>android.hardware.health</name>
<version>2</version>
<version>3</version>
<fqname>IHealth/default</fqname>
</hal>
</manifest>
45 changes: 45 additions & 0 deletions aidl/power-libperfmgr/Android.bp
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
//
// Copyright (C) 2021 The LineageOS Project
//
// SPDX-License-Identifier: Apache-2.0
//

soong_namespace {
imports: [
"hardware/google/interfaces",
"hardware/google/pixel",
],
}

cc_binary {
name: "android.hardware.power-service.spaced-libperfmgr",
relative_install_path: "hw",
init_rc: ["android.hardware.power-service.spaced-libperfmgr.rc"],
vintf_fragments: ["android.hardware.power-service.spaced.xml"],
vendor: true,
cflags: [
"-Wno-unused-variable",
"-Wno-unused-parameter",
],
shared_libs: [
"android.hardware.power-V4-ndk",
"libbase",
"libbinder_ndk",
"libcutils",
"libdl",
"liblog",
"libperfmgr",
"libprocessgroup",
"libutils",
"pixel-power-ext-V1-ndk",
],
srcs: [
"service.cpp",
"InteractionHandler.cpp",
"Power.cpp",
"PowerExt.cpp",
"PowerHintSession.cpp",
"PowerSessionManager.cpp",
],
}

Loading