extra: Import TP1803 magic camera library

* Just for my device lol.
* Thx $redacted.

Change-Id: I63da1482fca117a1adb7fbfdaa630a8fd9ee3ea0
lineage-19.1
Nolen Johnson 3 years ago
parent 3d87231c2f
commit 93b7265ed4
  1. 16
      device-specific/Android.mk
  2. BIN
      device-specific/TP1803/testsig-0x7b401d7c.so
  3. 7
      product.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

@ -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

Loading…
Cancel
Save