Skip to content

Commit

Permalink
Revert "Created changes for nx511j builds"
Browse files Browse the repository at this point in the history
This reverts commit efda6e9.
  • Loading branch information
Tet35 committed Feb 16, 2019
1 parent 1ad22c6 commit 8987ab4
Show file tree
Hide file tree
Showing 24 changed files with 521 additions and 35 deletions.
2 changes: 1 addition & 1 deletion Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

LOCAL_PATH := $(call my-dir)

ifneq ($(filter nx511j,$(TARGET_DEVICE)),)
ifneq ($(filter nx512j,$(TARGET_DEVICE)),)

include $(call all-makefiles-under,$(LOCAL_PATH))

Expand Down
2 changes: 1 addition & 1 deletion AndroidProducts.mk
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
# limitations under the License.

PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/full_nx511j.mk
$(LOCAL_DIR)/full_nx512j.mk
8 changes: 4 additions & 4 deletions BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
# limitations under the License.

# Properties
TARGET_OTA_ASSERT_DEVICE := NX511J,nx511j
TARGET_OTA_ASSERT_DEVICE := NX512J,nx512j

VENDOR_PATH := device/nubia/nx511j
include device/nubia/nx511j/board/*.mk
VENDOR_PATH := device/nubia/nx512j
include device/nubia/nx512j/board/*.mk

# Inherit from proprietary files
-include vendor/nubia/nx511j/BoardConfigVendor.mk
-include vendor/nubia/nx512j/BoardConfigVendor.mk
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@

Resurrection Remix 6.0 (Android 8.1 Oreo)
device configuration for
ZTE Nubia Z9 Mini NX511J
ZTE Nubia Z9 Max NX512J
=====================================

Basic | Spec Sheet
-------:|:-------------------------
Processor | Qualcomm® Snapdragon™ 615 processor(MSM8939) Quad-core ARM® Cortex™ A53, Quad-core ARM® Cortex™ A53, 64 bit
GPU | Adreno 405 graphic processor,550MHz
RAM | 2GB 64-bit dual channel LPDDR4 1600MHz 2x32 (25.6GBps)
Shipped Android Version | 5.1
Shipped Android Version | 5.0.1
Storage | 16 GB eMMC 5.0
MicroSD | Up to 128 GB
Battery | 3000 mAh (non-removable)
Display | 1080 x 1920 pixels, 5.0" SHARP IPS
Battery | 2900 mAh (non-removable)
Display | 1080 x 1920 pixels, 5.5"
Rear Camera | 16.0 MP, LED flash, Sony® IMAX234 Exmor RS™ stacked image sensor, 1080P HD video recording
Front Camera | 8.0 MP, Sony ®IMAX179 Exmor R™ back-illuminated image, Sapphire glass IR filter
Release Date | March 2015

![ZTE Nubia Z9 Mini](http://static.nubia.cn/product/max/images/params/params_z9max02.jpg "ZTE Nubia Z9 Mini")
![ZTE Nubia Z9 Max](http://static.nubia.cn/product/max/images/params/params_z9max02.jpg "ZTE Nubia Z9 Max")

P.S. After "lunch", check the availability of repositories in your work directory, specified in rr.dependencies, and add them manually, if they are missing.
2 changes: 1 addition & 1 deletion bluetooth/bdroid_buildcfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#ifndef _BDROID_BUILDCFG_H
#define _BDROID_BUILDCFG_H

#define BTM_DEF_LOCAL_NAME "Nubia Z9 mini"
#define BTM_DEF_LOCAL_NAME "Z9MAX"
#define BLUETOOTH_QTI_SW TRUE
#define BLE_VND_INCLUDED TRUE
#endif
2 changes: 1 addition & 1 deletion board/bluetooth.mk
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Bluetooth
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/nubia/nx511j/bluetooth
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/nubia/nx512j/bluetooth
4 changes: 2 additions & 2 deletions board/kernel.mk
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ BOARD_KERNEL_PAGESIZE := 2048
BOARD_KERNEL_SEPARATED_DT := true
BOARD_KERNEL_TAGS_OFFSET := 0x01E00000
BOARD_RAMDISK_OFFSET := 0x02000000
TARGET_KERNEL_SOURCE := kernel/nubia/nx511j
TARGET_KERNEL_SOURCE := kernel/nubia/nx512j
ENABLE_CPUSETS := true
BOARD_KERNEL_IMAGE_NAME := Image-dtb
TARGET_KERNEL_CONFIG := lineageos_nx511j_defconfig
TARGET_KERNEL_CONFIG := lineageos_nx512j_defconfig
LZMA_RAMDISK_TARGETS := recovery
2 changes: 1 addition & 1 deletion board/qcom-sepolicy.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ include device/qcom/sepolicy/sepolicy.mk
include device/qcom/sepolicy/legacy-sepolicy.mk

BOARD_SEPOLICY_DIRS += \
device/nubia/nx511j/sepolicy
device/nubia/nx512j/sepolicy

2 changes: 1 addition & 1 deletion board/recovery.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Recovery
TARGET_RECOVERY_DENSITY := xxhdpi
TARGET_RECOVERY_FSTAB := device/nubia/nx511j/rootdir/etc/fstab.full
TARGET_RECOVERY_FSTAB := device/nubia/nx512j/rootdir/etc/fstab.full
TARGET_RECOVERY_PIXEL_FORMAT := ABGR_8888
TARGET_RECOVERY_UPDATER_LIBS := librecovery_updater_cm
39 changes: 39 additions & 0 deletions configs/nfc/libnfc-brcm-20795a10.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
###############################################################################
# Firmware patch file
# If the value is not set then patch download is disabled.
FW_PATCH="/vendor/firmware/BCM20795A1_001.002.012.0003.0104_Generic_I2C_NCD_Unsigned_configdata.ncd"

###############################################################################
# Firmware pre-patch file (sent before the above patch file)
# If the value is not set then pre-patch is not used.
FW_PRE_PATCH=""

###############################################################################
# LPTD mode configuration
LPTD_CFG={66:B9:64:01:00:FF:FF:50:00:8B:13:00:10:00:5C:00:00:00:00:00:FF:00:00:00:FF:0C:00:04:00:00:00:00:03:00:00:00:03:00:0C:00:00:0D:00:00:00:00:00:00:00:00:00:00:33:23:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:03:00:02:53:3B:0F:00:00:00:00:00:00:00:00:00:00:00:00:04:00:00:00:00:00:00:00}

###############################################################################
# Startup Configuration (256 bytes maximum)
# Baseline
#NFA_DM_START_UP_CFG={B0:80:01:01:A0:02:08:00:B0:05:01:03:03:03:08:C9:0D:24:00:00:00:01:00:BB:00:E4:00:0A:01:02:CA:20:00:00:00:00:08:E8:03:00:00:90:01:00:00:FF:FF:00:00:03:02:00:00:00:00:00:00:00:59:59:01:04:59:59:D6:0D:20:02:02:00:00:00:00:01:00:01:6C:00:8A:B2:02:B8:0B:C8:1E:06:1F:00:0A:04:30:00:04:24:00:1C:00:75:00:77:00:76:00:1C:00:03:00:0A:00:5B:01:00:00:40:04:DD:3C:06:00:00:16:18:08:08:06:04:03:02:00:0D:12:0A:67:38:FF:59:20:00:00:00:01:85:00:00:32:1F:E3:E3:14:16:04:00:02:55:55:55:55:55:55:55:55:55:55:55:55:55:1E:A8:77:97:82:42:8C:8C:0F:0F:00}

# Add C2:02:07:00
#NFA_DM_START_UP_CFG={B4:80:01:01:A0:02:08:00:B0:05:01:03:03:03:08:C9:0D:24:00:00:00:01:00:BB:00:E4:00:0A:01:02:CA:20:00:00:00:00:08:E8:03:00:00:90:01:00:00:FF:FF:00:00:03:02:00:00:00:00:00:00:00:59:59:01:04:59:59:D6:0D:20:02:02:00:00:00:00:01:00:01:6C:00:8A:B2:02:B8:0B:C8:1E:06:1F:00:0A:04:30:00:04:24:00:1C:00:75:00:77:00:76:00:1C:00:03:00:0A:00:5B:01:00:00:40:04:DD:3C:06:00:00:16:18:08:08:06:04:03:02:00:0D:12:0A:67:38:FF:59:20:00:00:00:01:85:00:00:32:1F:E3:E3:14:16:04:00:02:55:55:55:55:55:55:55:55:55:55:55:55:55:1E:A8:77:97:82:42:8C:8C:0F:0F:00:C2:02:07:00}

# Tuned by HW
NFA_DM_START_UP_CFG={B4:80:01:01:A0:02:08:00:B0:05:01:03:03:03:08:C9:0D:24:00:00:00:01:00:BB:00:E4:00:0A:01:02:CA:20:00:00:00:00:08:E8:03:00:00:90:01:00:00:FF:FF:00:00:03:02:00:00:00:00:00:00:00:60:60:09:04:60:60:D6:0D:20:02:02:00:00:00:00:01:00:01:5E:00:97:B2:02:B8:0B:C8:1E:06:1F:00:0A:04:30:00:04:24:00:1C:00:75:00:77:00:76:00:1C:00:03:00:0A:00:5B:01:00:00:40:04:DD:3C:06:00:00:22:22:08:08:06:04:03:02:00:12:12:0A:6D:20:FF:67:20:00:00:00:01:85:00:00:32:1F:E3:E3:14:14:04:00:02:55:55:55:55:55:55:55:55:55:55:55:55:55:1E:A8:77:97:82:42:8C:8C:6F:0F:00:C2:02:05:00}

###############################################################################
# Pre-Discovery Startup Configuration (256 bytes maximum)
#NFA_DM_PRE_DISCOVERY_CFG={0A:C2:08:01:00:C3:04:40:4B:4C:00}
#NFA_DM_PRE_DISCOVERY_CFG={0A:C2:08:05:00:C3:04:40:4B:4C:00}

###############################################################################
# Snooze Mode Settings
SNOOZE_MODE_CFG={08:00:00:00:01}

###############################################################################
# Choose the presence-check algorithm for type-4 tag.
PRESENCE_CHECK_ALGORITHM=1


Loading

0 comments on commit 8987ab4

Please sign in to comment.