From 93b7265ed412f8163735c62dad81e6bdd387406f Mon Sep 17 00:00:00 2001 From: Nolen Johnson Date: Fri, 29 Apr 2022 15:40:18 -0400 Subject: [PATCH] extra: Import TP1803 magic camera library * Just for my device lol. * Thx $redacted. Change-Id: I63da1482fca117a1adb7fbfdaa630a8fd9ee3ea0 --- device-specific/Android.mk | 16 ++++++++++++++++ device-specific/TP1803/testsig-0x7b401d7c.so | Bin 0 -> 24784 bytes product.mk | 7 +++++++ 3 files changed, 23 insertions(+) create mode 100644 device-specific/Android.mk create mode 100644 device-specific/TP1803/testsig-0x7b401d7c.so diff --git a/device-specific/Android.mk b/device-specific/Android.mk new file mode 100644 index 0000000..745c961 --- /dev/null +++ b/device-specific/Android.mk @@ -0,0 +1,16 @@ +LOCAL_PATH := $(call my-dir) + +ifneq ($(filter TP1803,$(TARGET_DEVICE)),) + +include $(CLEAR_VARS) +LOCAL_MODULE := testsig-tp1803 +LOCAL_MODULE_OWNER := nubia +LOCAL_SRC_FILES := TP1803/testsig-0x7b401d7c.so +LOCAL_MODULE_CLASS := SHARED_LIBRARIES +LOCAL_MODULE_TAGS := optional +LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/lib/rfsa/adsp +LOCAL_MODULE_SUFFIX := .so +LOCAL_VENDOR_MODULE := true +include $(BUILD_PREBUILT) + +endif diff --git a/device-specific/TP1803/testsig-0x7b401d7c.so b/device-specific/TP1803/testsig-0x7b401d7c.so new file mode 100644 index 0000000000000000000000000000000000000000..ff431e955f9d5ddde0900fc4fb507dd188b4bf20 GIT binary patch literal 24784 zcmeI4dpuNI`@r{HXb^^xOQcDhRAP@?R2X-YYYj>#jlm3R%rN5`6)F@el{le@)5X#C zoFtu?!XaJI)70I{lbjdV|_B(_!VOq@nd z0G8h^BX*-jIi~)wVQln~%@3`zdb_V&v&hXgx0-Vy$-!~4NgZ^{x9dlDGg4T-<*jSB zjj31d)?LgqZF?S|^iglYX5}s$W*+{C(Ov2?jd^ueZ7$DZw{|T3otF7TN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C;^nf_XvFVgB!F1C4dq@ z37`c2kpwpUP5ys61%f8>|D{0w{}f1BlE42Mjc?}fgFJgA*Z#Zt`()5JE)%)?;@o>M z2BaN85DbJWkrq%PjbG&NgZ}U3?<4+_fG7h|0-^xq-zl==#xkIm12P$iJP<`7z`bvm z@eZ8iDFyNK6Nn)WJT-w7;irCrSQo!`aE61BRY0MNk3g5KPWYrF9zf8QPdefSD7KOc z2RstDfcZI~Ng1p^MbafcA`HTivvGSOG$>jORAfGcw-Oi)-eL$3bfgf$`T#XFu|5$H zSP68*e+N)2Lj))g)GbtS00o&Z8aerFekY(J&yOJUDVQ4pdSl-?@*>p#lWSh*tyh5{v^wA|}3n5H$V23z7PzX#`jdS^HmjbyDg8 literal 0 HcmV?d00001 diff --git a/product.mk b/product.mk index fdb94b9..b8659d1 100644 --- a/product.mk +++ b/product.mk @@ -10,6 +10,13 @@ PRODUCT_COPY_FILES += \ PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \ persist.sys.adb.shell=/system/xbin/bash +## Device-specific +ifneq ($(filter %TP1803,$(TARGET_PRODUCT)),) +# TP1803 Camera Additions +PRODUCT_PACKAGES += \ + testsig-tp1803 +endif + ## fastbootd PRODUCT_PACKAGES += fastbootd PRODUCT_SYSTEM_PROPERTY_OVERRIDES += ro.fastbootd.available=true