• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM][X00TD][8.1.0] LineageOS 15.1 [UNOFFICIAL][20190105]

Vico100

Senior Member
Dec 25, 2007
324
47
0
The only difference between this rom and the official LineageOS build is working NFC. Tested on X00TDB ZB602KL (global model).
  • Compiled from the official LineageOS source.
  • If you do not require NFC, use the official LineageOS build.
  • If people are interested, I can keep this rom up to date from the official LineageOS upstream, please let me know.
Instructions:
  1. Download the latest build and (optional) GApps
  2. Reboot to recovery
  3. Flash the latest build and (optional) GApps
  4. Reboot
Download: Build link (Gdrive)
Gapps

XDA:DevDB Information
[ROM][X00TD] LineageOS 15.1 [OFFICIAL], ROM for the Asus ZenFone Max Pro M1
Kernel Source
Source Code: https://github.com/lineageos

XDA:DevDB Information
LineageOS 15.1 NFC, ROM for the Asus ZenFone Max Pro M1

Contributors
Vico100
Source Code: https://github.com/lineageos

ROM OS Version: 8.x Oreo
ROM Kernel: Linux 4.x
ROM Firmware Required: Latest firmware + Unlocked bootloader + TWRP
Based On: LineageOS

Version Information
Status: Stable
Current Stable Version: 15.1
Stable Release Date: 2019-01-05

Created 2018-10-07
Last Updated 2019-01-05
 
Last edited:

timjosten

Senior Member
Mar 25, 2014
70
61
0
@Vico100
Can you please post your NFC-enabled device tree on github so people can make their own custom builds with working NFC? Looks like it is not going to happen to the official build.
 

Vico100

Senior Member
Dec 25, 2007
324
47
0
Code:
project device/asus/X00TD/
diff --git a/BoardConfig.mk b/BoardConfig.mk
index eb880b0..680cf0a 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -207,7 +207,7 @@ TARGET_USES_MEDIA_EXTENSIONS := true
 BOARD_NFC_CHIPSET := pn553
 BOARD_NFC_HAL_SUFFIX := $(TARGET_BOARD_PLATFORM)
 NXP_CHIP_TYPE := 4
-TARGET_USES_NQ_NFC := true
+TARGET_USES_NQ_NFC := false

 # Partitions
 BOARD_FLASH_BLOCK_SIZE := 262144
diff --git a/device.mk b/device.mk
index d07a2db..ece6579 100644
--- a/device.mk
+++ b/device.mk
@@ -272,11 +272,6 @@ PRODUCT_PACKAGES += \
 PRODUCT_COPY_FILES += \
     $(LOCAL_PATH)/configs/qti_whitelist.xml:system/etc/sysconfig/qti_whitelist.xml

-# Manifest replacement for non NFC variant
-PRODUCT_COPY_FILES += \
-    $(LOCAL_PATH)/manifest_no_nfc.xml:$(TARGET_COPY_OUT_VENDOR)/manifest_no_nfc.xml \
-    $(LOCAL_PATH)/rootdir/bin/device_check.sh:install/bin/device_check.sh
-
 # Media
 PRODUCT_COPY_FILES += \
     $(LOCAL_PATH)/configs/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
@@ -315,13 +310,10 @@ PRODUCT_COPY_FILES += \

 PRODUCT_PACKAGES += \
     [email protected] \
+    [email protected] \
     com.android.nfc_extras \
-    com.nxp.nfc.nq \
-    com.nxp.nfc.nq.xml \
-    libnqnfc-nci \
-    libnqp61-jcop-kit \
-    nfc_nci.nqx.default \
-    NQNfcNci \
+    nfc_nci.sdm660 \
+    NfcNci \
     Tag \
     [email protected] \
     [email protected]
diff --git a/releasetools.py b/releasetools.py
index 01f04ac..4f2d397 100644
--- a/releasetools.py
+++ b/releasetools.py
@@ -38,6 +38,5 @@ def AddTrustZoneAssertion(info, input_zip):
 def FullOTA_InstallEnd(info):
     info.script.Mount("/system");
     info.script.Mount("/vendor");
-    info.script.AppendExtra('run_program("/sbin/sh", "/tmp/install/bin/device_check.sh");');
     info.script.Unmount("/system");
     info.script.Unmount("/vendor");
 
Last edited: