hiphi: Introduce device and model spoofing

Co-authored-by: Zinadin Zidan <zidan44@pixelexperience.org>
Co-authored-by: TTTT555 <albukerko@gmail.com>
Co-authored-by: Sebastiano Barezzi <barezzisebastiano@gmail.com>
Co-authored-by: luk1337 <priv.luk@gmail.com>
Co-authored-by: sekaiacg <sekaiacg@gmail.com>
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
This commit is contained in:
7Soldier 2022-10-31 01:11:36 +03:00
commit ecce8592ee
3 changed files with 122 additions and 0 deletions

View file

@ -45,6 +45,10 @@ TARGET_NO_BOOTLOADER := true
# Display
TARGET_SCREEN_DENSITY := 400
# Init
TARGET_INIT_VENDOR_LIB := //$(DEVICE_PATH):libinit_hiphi
TARGET_RECOVERY_DEVICE_MODULES := libinit_hiphi
# Kernel
BOARD_BOOTIMG_HEADER_VERSION := 4
BOARD_MKBOOTIMG_ARGS += --header_version $(BOARD_BOOTIMG_HEADER_VERSION)