Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4cbcb7d7 authored by Jonathan Klee's avatar Jonathan Klee
Browse files

Add ih8sn configurations for SafetyNet compatibility

Do not force security patch level with the build system
because it causes issues for deployment through OTA.

Instead use ih8sn to force security patch level later in the boot.

We also add the build fingerprint instead of shipping it with
GmsCore.
parent 6430d31e
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -17,3 +17,14 @@ VENDOR_PATH := vendor/eos
# Overlays
DEVICE_PACKAGE_OVERLAYS += \
    $(VENDOR_PATH)/overlay

# SafetyNet compatibility
PRODUCT_CONFIGURATION_FILE := vendor/eos/config/ih8sn/ih8sn_$(subst lineage_,,$(TARGET_PRODUCT)).conf

ifneq (eng,$(TARGET_BUILD_VARIANT))
  ifneq (,$(wildcard $(PRODUCT_CONFIGURATION_FILE)))
    PRODUCT_PACKAGES += ih8sn
    PRODUCT_COPY_FILES += \
        $(PRODUCT_CONFIGURATION_FILE):$(TARGET_COPY_OUT_SYSTEM)/etc/ih8sn.conf
  endif
endif
+3 −0
Original line number Diff line number Diff line
BUILD_SECURITY_PATCH_DATE=2022-01-05
BUILD_FINGERPRINT=Fairphone/FP3/FP3:10/8901.3.A.0135.20211222/gms-3e31ddee:user/release-keys
DEBUGGABLE=0
+3 −0
Original line number Diff line number Diff line
# Do not set BUILD_FINGERPRINT because it will make GS290 boot into recovery
BUILD_SECURITY_PATCH_DATE=2021-12-05
DEBUGGABLE=0
+3 −0
Original line number Diff line number Diff line
BUILD_FINGERPRINT=samsung/starltexx/starlte:10/QP1A.190711.020/G960FXXSHFUJ2:user/release-keys
BUILD_SECURITY_PATCH_DATE=2021-11-01
DEBUGGABLE=0