Skip to content

Instantly share code, notes, and snippets.

diff --git a/fod/FingerprintInscreen.cpp b/fod/FingerprintInscreen.cpp
index 6e92494..87263e2 100644
--- a/fod/FingerprintInscreen.cpp
+++ b/fod/FingerprintInscreen.cpp
@@ -40,12 +40,12 @@ Return<void> FingerprintInscreen::onFinishEnroll() {
}
Return<void> FingerprintInscreen::onPress() {
- this->mGoodixFingerprintDaemon->sendCommand(0x600, {}, {});
+ this->mGoodixFingerprintDaemon->sendCommand(0x600, {}, [](int, const hidl_vec<signed char> &) {});
diff --git a/fod/Android.bp b/fod/Android.bp
index dcd0550..3323679 100644
--- a/fod/Android.bp
+++ b/fod/Android.bp
@@ -29,5 +29,6 @@ cc_binary {
"libhwbinder",
"libutils",
"vendor.lineage.biometrics.fingerprint.inscreen@1.0",
+ "//device/asus/sm8250-common:vendor.goodix.hardware.biometrics.fingerprint@2.1",
],
diff --git a/device.mk b/device.mk
index 4023c2d..2428c00 100644
--- a/device.mk
+++ b/device.mk
@@ -22,6 +22,8 @@
# definition file).
#
+PRODUCT_TARGET_VNDK_VERSION := 29
+
From d5e59373e233ef9879ed6419a8fe0dc66b734ebc Mon Sep 17 00:00:00 2001
From: Luca Stefani <luca.stefani.ge1@gmail.com>
Date: Tue, 4 Aug 2020 18:01:47 +0200
Subject: [PATCH] kbuild: Roll required CLANG version to 10 for LTO
* ARM64 requires CLANG 11 to fix https://github.com/ClangBuiltLinux/linux/issues/510
Signed-off-by: Luca Stefani <luca.stefani.ge1@gmail.com>
---
arch/Kconfig | 2 +-
diff --git a/arch/Kconfig b/arch/Kconfig
index 694bfdc2073f..54f6a55180ca 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -595,7 +595,7 @@ config LTO_NONE
config LTO_CLANG
bool "Clang's Link Time Optimization (EXPERIMENTAL)"
# https://github.com/ClangBuiltLinux/linux/issues/510
- depends on CC_IS_CLANG && CLANG_VERSION >= 110000 && LD_IS_LLD
+ depends on CC_IS_CLANG && CLANG_VERSION >= 100000 && LD_IS_LLD
diff --git a/arch/Kconfig b/arch/Kconfig
index 694bfdc2073f..02857454a68b 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -595,7 +595,7 @@ config LTO_NONE
config LTO_CLANG
bool "Clang's Link Time Optimization (EXPERIMENTAL)"
# https://github.com/ClangBuiltLinux/linux/issues/510
- depends on CC_IS_CLANG && CLANG_VERSION >= 110000 && LD_IS_LLD
+ depends on CC_IS_CLANG && LD_IS_LLD
diff --git a/build/tasks/kernel.mk b/build/tasks/kernel.mk
index 9867a67d..286e92c4 100644
--- a/build/tasks/kernel.mk
+++ b/build/tasks/kernel.mk
@@ -276,16 +276,19 @@ alldefconfig: $(KERNEL_OUT)
env KCONFIG_NOTIMESTAMP=true \
$(call make-kernel-target,alldefconfig)
+dtbs: $(KERNEL_CONFIG)
+ @echo "Building dtbs"
# ANT+
-lib/libantradio.so
-lib64/libantradio.so
product/lib/com.qualcomm.qti.ant@1.0.so
product/lib64/com.qualcomm.qti.ant@1.0.so
# Bluetooth (aptX)
product/lib64/libaptX_encoder.so|df1c89d7af1bb35808d5fe3496b04ba066c10cbc
product/lib64/libaptXHD_encoder.so|e13fa70c97caaa24d061678bdee608eb8850a69e
# ANT+
product/lib64/com.qualcomm.qti.ant@1.0.so
# DPM
product/bin/dpmd
product/etc/dpm/dpm.conf
product/etc/init/dpmd.rc
product/etc/permissions/com.qti.dpmframework.xml
product/etc/permissions/dpmapi.xml
product/framework/com.qti.dpmframework.jar
From 411c82f3cdcc8338c3becca08b9b6da946b59ef2 Mon Sep 17 00:00:00 2001
From: Luca Stefani <luca.stefani.ge1@gmail.com>
Date: Thu, 30 Jul 2020 15:12:53 +0200
Subject: [PATCH] ANDROID: GKI: Enable CONFIG_CGROUP_DEVICE
* This isn't strictly used in Android, but
Halium ( used by Ubuntu Touch, Plasma Mobile, etc )
requires this option to control which processes
can create ( via mknod ) and/or access such devices