sanders: potter -> sanders
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
ifneq ($(filter potter,$(TARGET_DEVICE)),)
|
ifneq ($(filter sanders,$(TARGET_DEVICE)),)
|
||||||
|
|
||||||
LOCAL_PATH := $(call my-dir)
|
LOCAL_PATH := $(call my-dir)
|
||||||
|
|
||||||
@@ -100,4 +100,4 @@ ALL_DEFAULT_INSTALLED_MODULES += $(FIRMWARE_WIDEVINE_SYMLINKS)
|
|||||||
|
|
||||||
include $(call all-makefiles-under,$(LOCAL_PATH))
|
include $(call all-makefiles-under,$(LOCAL_PATH))
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|||||||
@@ -14,9 +14,9 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
-include vendor/motorola/potter/BoardConfigVendor.mk
|
-include vendor/motorola/sanders/BoardConfigVendor.mk
|
||||||
|
|
||||||
DEVICE_PATH := device/motorola/potter
|
DEVICE_PATH := device/motorola/sanders
|
||||||
|
|
||||||
BOARD_VENDOR := motorola-qcom
|
BOARD_VENDOR := motorola-qcom
|
||||||
|
|
||||||
@@ -38,11 +38,11 @@ TARGET_CPU_ABI2 := armeabi
|
|||||||
TARGET_CPU_VARIANT := cortex-a53
|
TARGET_CPU_VARIANT := cortex-a53
|
||||||
|
|
||||||
# Asserts
|
# Asserts
|
||||||
TARGET_OTA_ASSERT_DEVICE := potter,potter_retail
|
TARGET_OTA_ASSERT_DEVICE := sanders,sanders_retail
|
||||||
|
|
||||||
# Init
|
# Init
|
||||||
TARGET_INIT_VENDOR_LIB := libinit_potter
|
TARGET_INIT_VENDOR_LIB := libinit_sanders
|
||||||
TARGET_RECOVERY_DEVICE_MODULES := libinit_potter
|
TARGET_RECOVERY_DEVICE_MODULES := libinit_sanders
|
||||||
|
|
||||||
# Kernel
|
# Kernel
|
||||||
BOARD_KERNEL_CMDLINE := console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=qcom user_debug=30 msm_rtb.filter=0x237
|
BOARD_KERNEL_CMDLINE := console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=qcom user_debug=30 msm_rtb.filter=0x237
|
||||||
@@ -54,7 +54,7 @@ TARGET_CUSTOM_DTBTOOL := dtbTool_custom
|
|||||||
BOARD_DTBTOOL_ARGS := --force-v3 --motorola 1
|
BOARD_DTBTOOL_ARGS := --force-v3 --motorola 1
|
||||||
BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x01000000 --tags_offset 0x00000100
|
BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x01000000 --tags_offset 0x00000100
|
||||||
TARGET_KERNEL_ARCH := arm
|
TARGET_KERNEL_ARCH := arm
|
||||||
TARGET_KERNEL_CONFIG := potter_defconfig
|
TARGET_KERNEL_CONFIG := sanders_defconfig
|
||||||
TARGET_KERNEL_SOURCE := kernel/motorola/msm8953
|
TARGET_KERNEL_SOURCE := kernel/motorola/msm8953
|
||||||
|
|
||||||
# Audio
|
# Audio
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
Device Tree for Moto G5 Plus (potter)
|
Device Tree for Moto G5S Plus (sanders)
|
||||||
===========================================
|
===========================================
|
||||||
|
|
||||||
The Motorola Moto G5 Plus (codenamed _"potter"_) is a mid-range smartphone from Motorola mobility.
|
The Motorola Moto G5S Plus (codenamed _"sanders"_) is a mid-range smartphone from Motorola mobility.
|
||||||
It was announced on February 2017.
|
It was announced on February 2017.
|
||||||
|
|
||||||
Basic | Spec Sheet
|
Basic | Spec Sheet
|
||||||
@@ -19,4 +19,4 @@ Camera | 12 MP, 2150 x 1440 pixels, laser focus, dual flash LED
|
|||||||
|
|
||||||
Copyright 2017 - The LineageOS Project.
|
Copyright 2017 - The LineageOS Project.
|
||||||
|
|
||||||

|

|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
DEVICE=potter
|
DEVICE=sanders
|
||||||
VENDOR=motorola
|
VENDOR=motorola
|
||||||
|
|
||||||
# Load extractutils and do some sanity checks
|
# Load extractutils and do some sanity checks
|
||||||
@@ -54,4 +54,4 @@ setup_vendor "$DEVICE" "$VENDOR" "$CM_ROOT"
|
|||||||
|
|
||||||
extract "$MY_DIR"/proprietary-files.txt "$SRC"
|
extract "$MY_DIR"/proprietary-files.txt "$SRC"
|
||||||
|
|
||||||
"$MY_DIR"/setup-makefiles.sh
|
"$MY_DIR"/setup-makefiles.sh
|
||||||
|
|||||||
@@ -15,8 +15,8 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
# Inherit from potter device
|
# Inherit from potter device
|
||||||
$(call inherit-product, device/motorola/potter/device.mk)
|
$(call inherit-product, device/motorola/sanders/device.mk)
|
||||||
|
|
||||||
# Device identifier. This must come after all inclusions
|
# Device identifier. This must come after all inclusions
|
||||||
PRODUCT_DEVICE := potter
|
PRODUCT_DEVICE := sanders
|
||||||
PRODUCT_NAME := full_potter
|
PRODUCT_NAME := full_sanders
|
||||||
@@ -5,8 +5,8 @@ include $(CLEAR_VARS)
|
|||||||
LOCAL_MODULE_TAGS := optional
|
LOCAL_MODULE_TAGS := optional
|
||||||
LOCAL_C_INCLUDES := system/core/init
|
LOCAL_C_INCLUDES := system/core/init
|
||||||
LOCAL_CPPFLAGS := -Wall -DANDROID_TARGET=\"$(TARGET_BOARD_PLATFORM)\"
|
LOCAL_CPPFLAGS := -Wall -DANDROID_TARGET=\"$(TARGET_BOARD_PLATFORM)\"
|
||||||
LOCAL_SRC_FILES := init_potter.cpp
|
LOCAL_SRC_FILES := init_sanders.cpp
|
||||||
LOCAL_MODULE := libinit_potter
|
LOCAL_MODULE := libinit_sanders
|
||||||
LOCAL_STATIC_LIBRARIES := \
|
LOCAL_STATIC_LIBRARIES := \
|
||||||
libbase
|
libbase
|
||||||
|
|
||||||
|
|||||||
@@ -77,17 +77,4 @@ void vendor_load_properties()
|
|||||||
property_set("ro.hw.fps", "true");
|
property_set("ro.hw.fps", "true");
|
||||||
|
|
||||||
num_sims();
|
num_sims();
|
||||||
|
|
||||||
if (sku == "XT1687") {
|
|
||||||
property_set("ro.hw.ecompass", "true");
|
|
||||||
property_set("ro.hw.nfc", "false");
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
property_set("ro.hw.ecompass", "false");
|
|
||||||
property_set("ro.hw.nfc", "true");
|
|
||||||
}
|
|
||||||
|
|
||||||
if (sku == "XT1683") {
|
|
||||||
property_set("ro.hw.dtv", "true");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
14
lineage.mk
14
lineage.mk
@@ -16,11 +16,11 @@
|
|||||||
|
|
||||||
|
|
||||||
# Inherit from those products. Most specific first.
|
# Inherit from those products. Most specific first.
|
||||||
$(call inherit-product, device/motorola/potter/full_potter.mk)
|
$(call inherit-product, device/motorola/sanders/full_potter.mk)
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
|
||||||
|
|
||||||
# for specific
|
# for specific
|
||||||
$(call inherit-product, vendor/motorola/potter/potter-vendor.mk)
|
$(call inherit-product, vendor/motorola/sanders/potter-vendor.mk)
|
||||||
|
|
||||||
# Inherit some common CM stuff.
|
# Inherit some common CM stuff.
|
||||||
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
|
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
|
||||||
@@ -30,14 +30,14 @@ TARGET_SCREEN_WIDTH := 1080
|
|||||||
TARGET_SCREEN_HEIGHT := 1920
|
TARGET_SCREEN_HEIGHT := 1920
|
||||||
|
|
||||||
## Device identifier. This must come after all inclusions
|
## Device identifier. This must come after all inclusions
|
||||||
PRODUCT_DEVICE := potter
|
PRODUCT_DEVICE := sanders
|
||||||
PRODUCT_NAME := lineage_potter
|
PRODUCT_NAME := lineage_sanders
|
||||||
PRODUCT_BRAND := motorola
|
PRODUCT_BRAND := motorola
|
||||||
PRODUCT_MANUFACTURER := motorola
|
PRODUCT_MANUFACTURER := motorola
|
||||||
|
|
||||||
PRODUCT_SYSTEM_PROPERTY_BLACKLIST := ro.product.model
|
PRODUCT_SYSTEM_PROPERTY_BLACKLIST := ro.product.model
|
||||||
|
|
||||||
PRODUCT_BUILD_PROP_OVERRIDES += \
|
PRODUCT_BUILD_PROP_OVERRIDES += \
|
||||||
BUILD_FINGERPRINT=motorola/potter/potter:7.0/NPN25.137-67/75:user/release-keys \
|
BUILD_FINGERPRINT=motorola/sanders/sanders:7.1.1/NPS26.116-26/30:user/release-keys \
|
||||||
PRIVATE_BUILD_DESC="potter-7.0/NPN25.137-67/75:user/release-keys" \
|
PRIVATE_BUILD_DESC="sanders-7.1.1/NPS26.116-26/30:user/release-keys" \
|
||||||
PRODUCT_NAME="Moto G5 Plus"
|
PRODUCT_NAME="Moto G5S Plus"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Proprietary files for potter
|
# Proprietary files for sanders
|
||||||
|
|
||||||
-app/datastatusnotification/datastatusnotification.apk
|
-app/datastatusnotification/datastatusnotification.apk
|
||||||
-app/embms/embms.apk
|
-app/embms/embms.apk
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Required!
|
# Required!
|
||||||
DEVICE=potter
|
DEVICE=sanders
|
||||||
VENDOR=motorola
|
VENDOR=motorola
|
||||||
|
|
||||||
# Load extractutils and do some sanity checks
|
# Load extractutils and do some sanity checks
|
||||||
@@ -44,4 +44,4 @@ write_headers
|
|||||||
write_makefiles "$MY_DIR"/proprietary-files.txt
|
write_makefiles "$MY_DIR"/proprietary-files.txt
|
||||||
|
|
||||||
# We are done!
|
# We are done!
|
||||||
write_footers
|
write_footers
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# system.prop for potter
|
# system.prop for sanders
|
||||||
#
|
#
|
||||||
|
|
||||||
# Android Run Time
|
# Android Run Time
|
||||||
|
|||||||
Reference in New Issue
Block a user