Changes for January 2022, syncing up to v400.h

This commit is contained in:
Andy CrossGate Yan
2022-01-13 14:32:50 +00:00
parent 463b837c1b
commit d4c58201c8
98 changed files with 2429 additions and 751 deletions

View File

@@ -1,4 +1,4 @@
From 52882c890900516ce50dcd09d8f5de9d672191df Mon Sep 17 00:00:00 2001
From d18f52a69d550666acab021aa3d6261c83cf9299 Mon Sep 17 00:00:00 2001
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
Date: Tue, 22 Jun 2021 13:38:31 +0000
Subject: [PATCH 1/4] Add Meizu 18 vibrator support
@@ -27,12 +27,12 @@ Change-Id: Iecf12cd814e8773abfd78a19f98e31125a73761a
create mode 100644 hal/meizu-vibrator/service.cpp
diff --git a/base.mk b/base.mk
index 0bd6bf0..409bb1d 100644
index a372603..a537411 100644
--- a/base.mk
+++ b/base.mk
@@ -209,4 +209,7 @@ PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += \
oplus-alert-slider
@@ -218,4 +218,7 @@ PRODUCT_COPY_FILES += \
device/phh/treble/proprietary-files/gome/fs16xx_01s_right.preset:system/phh/gome/fs16xx_01s_right.preset \
device/phh/treble/proprietary-files/umidigi/fs16xx_01s_mono.preset:system/phh/umidigi/fs16xx_01s_mono.preset
+PRODUCT_PACKAGES += \
+ android.hardware.vibrator@1.3-service.meizu

View File

@@ -1,4 +1,4 @@
From fd5e5139356c792a17328692a90abc6b2c40677e Mon Sep 17 00:00:00 2001
From 0cca559de53a92eac0e6810ebed31967d70d4ca0 Mon Sep 17 00:00:00 2001
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
Date: Sun, 27 Jun 2021 05:21:38 +0000
Subject: [PATCH 2/4] Only use meizu-vibrator on Meizu 18
@@ -76,10 +76,10 @@ index 0000000..b34a10b
+<manifest version="1.0" type="framework">
+</manifest>
diff --git a/rw-system.sh b/rw-system.sh
index a49e8f5..434be7c 100644
index ee4df70..3ed1cdd 100644
--- a/rw-system.sh
+++ b/rw-system.sh
@@ -325,6 +325,12 @@ if [ "$foundFingerprint" = false ];then
@@ -356,6 +356,12 @@ if [ "$foundFingerprint" = false ];then
mount -o bind system/phh/empty /system/etc/permissions/android.hardware.fingerprint.xml
fi
@@ -92,7 +92,7 @@ index a49e8f5..434be7c 100644
if ! grep android.hardware.bluetooth /vendor/manifest.xml && ! grep android.hardware.bluetooth /vendor/etc/vintf/manifest.xml; then
mount -o bind system/phh/empty /system/etc/permissions/android.hardware.bluetooth.xml
mount -o bind system/phh/empty /system/etc/permissions/android.hardware.bluetooth_le.xml
@@ -396,7 +402,7 @@ if getprop ro.build.overlay.deviceid |grep -q -e CPH1859 -e CPH1861 -e RMX1811 -
@@ -427,7 +433,7 @@ if getprop ro.build.overlay.deviceid |grep -q -e CPH1859 -e CPH1861 -e RMX1811 -
setprop persist.sys.qcom-brightness "$(cat /sys/class/leds/lcd-backlight/max_brightness)"
fi
@@ -101,7 +101,7 @@ index a49e8f5..434be7c 100644
setprop persist.sys.qcom-brightness 2047
setprop persist.sys.overlay.devinputjack true
setprop persist.sys.phh.fingerprint.nocleanup true
@@ -891,7 +897,7 @@ if getprop ro.build.overlay.deviceid |grep -qiE -e '^RMX' -e '^CPH';then
@@ -940,7 +946,7 @@ if (getprop ro.vendor.build.fingerprint;getprop ro.odm.build.fingerprint) |grep
setprop persist.sys.phh.fod.bbk true
fi

View File

@@ -1,4 +1,4 @@
From dd31f491d59f77fe6451de89882d17d432cacdaf Mon Sep 17 00:00:00 2001
From 0ff36ed6acdc7addbc61fff048b6f2b028f615c0 Mon Sep 17 00:00:00 2001
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
Date: Thu, 28 Oct 2021 01:51:27 +0000
Subject: [PATCH 3/4] Revert "Include sim toolkit app"
@@ -11,10 +11,10 @@ Change-Id: I1eb7f4bb070eea649b4cea6280299e629d1edb3d
1 file changed, 3 deletions(-)
diff --git a/base.mk b/base.mk
index 409bb1d..b8b078e 100644
index a537411..bc5ba37 100644
--- a/base.mk
+++ b/base.mk
@@ -156,9 +156,6 @@ PRODUCT_PACKAGES += \
@@ -157,9 +157,6 @@ PRODUCT_PACKAGES += \
xiaomi-motor \
oneplus-motor

View File

@@ -1,4 +1,4 @@
From 45739cc78ffe6af2124211ef108fef17bdc56baa Mon Sep 17 00:00:00 2001
From dfb80c5cb89c33b2be845fec1cca084399a7f71f Mon Sep 17 00:00:00 2001
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
Date: Sun, 8 Aug 2021 09:31:01 +0000
Subject: [PATCH 4/4] Revert "treble: Set BOARD_EXT4_SHARE_DUP_BLOCKS