Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/Android.mk b/Android.mk
- index 3c67914..efe1b9b 100644
- --- a/Android.mk
- +++ b/Android.mk
- @@ -41,13 +41,4 @@ $(DM_64_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
- @rm -rf $@
- $(hide) ln -sf /product/lib64/$(notdir $@) $@
- -HBM_LIBS := libhbmsvmanager_jni.so
- -HBM_SYMLINKS := $(addprefix $(TARGET_OUT_SYSTEM_EXT)/priv-app/HbmSVManager/lib/arm64/,$(notdir $(HBM_LIBS)))
- -$(HBM_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
- - @echo "HBM lib link: $@"
- - @mkdir -p $(dir $@)
- - @rm -rf $@
- - $(hide) ln -sf /system_ext/lib64/$(notdir $@) $@
- -
- -ALL_DEFAULT_INSTALLED_MODULES += $(DM_32_SYMLINKS) $(DM_64_SYMLINKS) $(HBM_SYMLINKS)
- endif
- diff --git a/BoardConfigLineage.mk b/BoardConfigLineage.mk
- index b5841c9..6a5cf86 100644
- --- a/BoardConfigLineage.mk
- +++ b/BoardConfigLineage.mk
- @@ -5,3 +5,4 @@
- #
- BUILD_BROKEN_DUP_RULES := true
- +DISABLE_ARTIFACT_PATH_REQUIREMENTS := true
- \ No newline at end of file
- diff --git a/cheetah/proprietary-files.txt b/cheetah/proprietary-files.txt
- index c132f91..3250fe8 100644
- --- a/cheetah/proprietary-files.txt
- +++ b/cheetah/proprietary-files.txt
- @@ -98,10 +98,6 @@ system_ext/lib64/com.google.edgetpu_app_service-V2-ndk.so
- system_ext/lib64/com.google.edgetpu_vendor_service-V2-ndk.so
- system_ext/lib64/libedgetpu_dba.google.so
- -# HBM
- -system_ext/lib64/libhbmsvmanager_jni.so
- -system_ext/priv-app/HbmSVManager/HbmSVManager.apk
- -
- # Hotword
- system_ext/etc/permissions/com.android.hotwordenrollment.common.util.xml
- system_ext/framework/com.android.hotwordenrollment.common.util.jar
- diff --git a/device-lineage.mk b/device-lineage.mk
- index 92197b4..c7d330f 100644
- --- a/device-lineage.mk
- +++ b/device-lineage.mk
- @@ -7,6 +7,9 @@
- # Overlays
- DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay-lineage
- +# AudioFX
- +TARGET_EXCLUDES_AUDIOFX := true
- +
- # ANGLE - Almost Native Graphics Layer Engine
- PRODUCT_PACKAGES += \
- ANGLE
- @@ -27,6 +30,9 @@ include hardware/google/pixel/powershare/device.mk
- # wireless_charger HAL service
- include device/google/gs-common/wireless_charger/wireless_charger.mk
- +# PixelParts
- +include packages/apps/PixelParts/device.mk
- +
- # Build necessary packages for vendor
- # Audio
- diff --git a/device-panther.mk b/device-panther.mk
- index 39c3a54..382d374 100644
- --- a/device-panther.mk
- +++ b/device-panther.mk
- @@ -404,7 +404,3 @@ PRODUCT_VENDOR_PROPERTIES += \
- PRODUCT_PRODUCT_PROPERTIES += \
- ro.quick_start.oem_id=00e0 \
- ro.quick_start.device_id=panther
- -
- -# HBM
- -PRODUCT_PACKAGES += \
- - HbmSVManagerOverlayPanther
- diff --git a/lineage_cheetah.mk b/lineage_cheetah.mk
- index 203eed3..cd75bfc 100644
- --- a/lineage_cheetah.mk
- +++ b/lineage_cheetah.mk
- @@ -19,9 +19,15 @@ PRODUCT_BRAND := google
- PRODUCT_MODEL := Pixel 7 Pro
- PRODUCT_NAME := lineage_cheetah
- -# Boot animation
- -TARGET_SCREEN_HEIGHT := 3120
- -TARGET_SCREEN_WIDTH := 1440
- +# Crdroid Extra Stuffs
- +TARGET_SUPPORTS_QUICK_TAP := true
- +TARGET_IS_PIXEL := true
- +TARGET_IS_PIXEL_7 := true
- +TARGET_PIXEL_STAND_SUPPORTED := true
- +WITH_GAPPS := true
- +TARGET_HAS_UDFPS := true
- +TARGET_BOOT_ANIMATION_RES := 1080
- +EXTRA_UDFPS_ANIMATIONS := true
- PRODUCT_BUILD_PROP_OVERRIDES += \
- TARGET_PRODUCT=cheetah \
- diff --git a/lineage_panther.mk b/lineage_panther.mk
- index 1265b97..ec6068b 100644
- --- a/lineage_panther.mk
- +++ b/lineage_panther.mk
- @@ -19,9 +19,16 @@ PRODUCT_BRAND := google
- PRODUCT_MODEL := Pixel 7
- PRODUCT_NAME := lineage_panther
- -# Boot animation
- -TARGET_SCREEN_HEIGHT := 2400
- -TARGET_SCREEN_WIDTH := 1080
- +# Crdroid Extra Stuffs
- +TARGET_SUPPORTS_QUICK_TAP := true
- +TARGET_IS_PIXEL := true
- +TARGET_IS_PIXEL_7 := true
- +TARGET_PIXEL_STAND_SUPPORTED := true
- +WITH_GAPPS := true
- +TARGET_HAS_UDFPS := true
- +TARGET_BOOT_ANIMATION_RES := 1080
- +EXTRA_UDFPS_ANIMATIONS := true
- +
- PRODUCT_BUILD_PROP_OVERRIDES += \
- TARGET_PRODUCT=panther \
- diff --git a/overlay-lineage/frameworks/base/packages/SystemUI/res/values/config.xml b/overlay-lineage/frameworks/base/packages/SystemUI/res/values/config.xml
- new file mode 100644
- index 0000000..eea642c
- --- /dev/null
- +++ b/overlay-lineage/frameworks/base/packages/SystemUI/res/values/config.xml
- @@ -0,0 +1,12 @@
- +<?xml version="1.0" encoding="utf-8"?>
- +<!--
- + Copyright (C) 2023 The LineageOS Project
- + SPDX-License-Identifier: Apache-2.0
- +-->
- +<resources>
- + <!-- Preferred max refresh rate at AOD & Ambient Display, if supported by the display. -->
- + <integer name="config_aodMaxRefreshRate">60</integer>
- +
- + <!-- Whether show refresh rate QS tile -->
- + <bool name="config_showRefreshRateQsTile">true</bool>
- +</resources>
- diff --git a/overlay-lineage/packages/apps/Settings/res/values/config.xml b/overlay-lineage/packages/apps/Settings/res/values/config.xml
- index fa7193f..1a17755 100644
- --- a/overlay-lineage/packages/apps/Settings/res/values/config.xml
- +++ b/overlay-lineage/packages/apps/Settings/res/values/config.xml
- @@ -17,4 +17,10 @@
- <resources>
- <!-- Whether to show Smooth Display feature in Settings Options -->
- <bool name="config_show_smooth_display">true</bool>
- +
- + <!-- Whether to show peak refresh rate in display settings -->
- + <bool name="config_show_peak_refresh_rate_switch">true</bool>
- +
- + <!-- Whether to show min refresh rate in display settings -->
- + <bool name="config_show_min_refresh_rate_switch">true</bool>
- </resources>
- diff --git a/panther/proprietary-files.txt b/panther/proprietary-files.txt
- index 87e7902..3981aa2 100644
- --- a/panther/proprietary-files.txt
- +++ b/panther/proprietary-files.txt
- @@ -98,10 +98,6 @@ system_ext/lib64/com.google.edgetpu_app_service-V2-ndk.so
- system_ext/lib64/com.google.edgetpu_vendor_service-V2-ndk.so
- system_ext/lib64/libedgetpu_dba.google.so
- -# HBM
- -system_ext/lib64/libhbmsvmanager_jni.so
- -system_ext/priv-app/HbmSVManager/HbmSVManager.apk
- -
- # Hotword
- system_ext/etc/permissions/com.android.hotwordenrollment.common.util.xml
- system_ext/framework/com.android.hotwordenrollment.common.util.jar
- diff --git a/panther/rro_overlays/HbmSVManagerOverlay/Android.bp b/panther/rro_overlays/HbmSVManagerOverlay/Android.bp
- deleted file mode 100644
- index 698c8e4..0000000
- --- a/panther/rro_overlays/HbmSVManagerOverlay/Android.bp
- +++ /dev/null
- @@ -1,8 +0,0 @@
- -package {
- - default_applicable_licenses: ["Android-Apache-2.0"],
- -}
- -
- -runtime_resource_overlay {
- - name: "HbmSVManagerOverlayPanther",
- - vendor: true
- -}
- diff --git a/panther/rro_overlays/HbmSVManagerOverlay/AndroidManifest.xml b/panther/rro_overlays/HbmSVManagerOverlay/AndroidManifest.xml
- deleted file mode 100644
- index b8e8d1f..0000000
- --- a/panther/rro_overlays/HbmSVManagerOverlay/AndroidManifest.xml
- +++ /dev/null
- @@ -1,9 +0,0 @@
- -<?xml version="1.0" encoding="utf-8"?>
- -<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- - package="com.android.hbmsvmanager.overlay">
- -
- - <overlay
- - android:isStatic="true"
- - android:priority="0"
- - android:targetPackage="com.android.hbmsvmanager" />
- -</manifest>
- diff --git a/panther/rro_overlays/HbmSVManagerOverlay/res/drawable/SCI_0_cal0.png b/panther/rro_overlays/HbmSVManagerOverlay/res/drawable/SCI_0_cal0.png
- deleted file mode 100644
- index 2ab2090..0000000
- Binary files a/panther/rro_overlays/HbmSVManagerOverlay/res/drawable/SCI_0_cal0.png and /dev/null differ
- diff --git a/panther/rro_overlays/HbmSVManagerOverlay/res/drawable/SCI_1_cal0.png b/panther/rro_overlays/HbmSVManagerOverlay/res/drawable/SCI_1_cal0.png
- deleted file mode 100644
- index bb923b2..0000000
- Binary files a/panther/rro_overlays/HbmSVManagerOverlay/res/drawable/SCI_1_cal0.png and /dev/null differ
- diff --git a/panther/rro_overlays/HbmSVManagerOverlay/res/drawable/SCI_2_cal0.png b/panther/rro_overlays/HbmSVManagerOverlay/res/drawable/SCI_2_cal0.png
- deleted file mode 100644
- index afe092e..0000000
- Binary files a/panther/rro_overlays/HbmSVManagerOverlay/res/drawable/SCI_2_cal0.png and /dev/null differ
- diff --git a/panther/rro_overlays/HbmSVManagerOverlay/res/drawable/SCI_3_cal0.png b/panther/rro_overlays/HbmSVManagerOverlay/res/drawable/SCI_3_cal0.png
- deleted file mode 100644
- index 32efd29..0000000
- Binary files a/panther/rro_overlays/HbmSVManagerOverlay/res/drawable/SCI_3_cal0.png and /dev/null differ
- diff --git a/panther/rro_overlays/HbmSVManagerOverlay/res/drawable/SCI_4_cal0.png b/panther/rro_overlays/HbmSVManagerOverlay/res/drawable/SCI_4_cal0.png
- deleted file mode 100644
- index 6869ec0..0000000
- Binary files a/panther/rro_overlays/HbmSVManagerOverlay/res/drawable/SCI_4_cal0.png and /dev/null differ
- diff --git a/panther/rro_overlays/HbmSVManagerOverlay/res/drawable/SCI_5_cal0.png b/panther/rro_overlays/HbmSVManagerOverlay/res/drawable/SCI_5_cal0.png
- deleted file mode 100644
- index 8df33eb..0000000
- Binary files a/panther/rro_overlays/HbmSVManagerOverlay/res/drawable/SCI_5_cal0.png and /dev/null differ
- diff --git a/panther/rro_overlays/HbmSVManagerOverlay/res/values/config.xml b/panther/rro_overlays/HbmSVManagerOverlay/res/values/config.xml
- deleted file mode 100644
- index 27fcc0e..0000000
- --- a/panther/rro_overlays/HbmSVManagerOverlay/res/values/config.xml
- +++ /dev/null
- @@ -1,47 +0,0 @@
- -<?xml version="1.0" encoding="utf-8"?>
- -<!--
- -/*
- -** Copyright 2020, The Android Open Source Project
- -**
- -** Licensed under the Apache License, Version 2.0 (the "License");
- -** you may not use this file except in compliance with the License.
- -** You may obtain a copy of the License at
- -**
- -** http://www.apache.org/licenses/LICENSE-2.0
- -**
- -** Unless required by applicable law or agreed to in writing, software
- -** distributed under the License is distributed on an "AS IS" BASIS,
- -** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- -** See the License for the specific language governing permissions and
- -** limitations under the License.
- -*/
- --->
- -
- -<resources>
- - <string-array name="config_calibrated_compensation_images">
- - <item>SCI_0_cal0.png</item>
- - <item>SCI_1_cal0.png</item>
- - <item>SCI_2_cal0.png</item>
- - <item>SCI_3_cal0.png</item>
- - <item>SCI_4_cal0.png</item>
- - <item>SCI_5_cal0.png</item>
- - </string-array>
- - <array name="config_compensation_images">
- - <item>@drawable/SCI_0_cal0</item>
- - <item>@drawable/SCI_1_cal0</item>
- - <item>@drawable/SCI_2_cal0</item>
- - <item>@drawable/SCI_3_cal0</item>
- - <item>@drawable/SCI_4_cal0</item>
- - <item>@drawable/SCI_5_cal0</item>
- - </array>
- - <integer name="config_compensation_filter_horizon">1500</integer>
- - <dimen name="config_compensation_filter_intercept">10.0</dimen>
- - <array name="config_compensation_thresholds">
- - <item>10000.0</item>
- - <item>20000.0</item>
- - <item>40000.0</item>
- - <item>60000.0</item>
- - <item>80000.0</item>
- - <item>100000.0</item>
- - </array>
- -</resources>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement