diff --git a/AndroidProducts.mk b/AndroidProducts.mk index 443b16c..d9c7930 100644 --- a/AndroidProducts.mk +++ b/AndroidProducts.mk @@ -14,4 +14,4 @@ # limitations under the License. PRODUCT_MAKEFILES := \ - $(LOCAL_DIR)/aosp_vince.mk + $(LOCAL_DIR)/reloaded_vince.mk diff --git a/BoardConfig.mk b/BoardConfig.mk index fc5787f..9d5ee43 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -44,7 +44,7 @@ BOARD_KERNEL_IMAGE_NAME := Image.gz-dtb BOARD_KERNEL_PAGESIZE := 2048 BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x01000000 --tags_offset 0x00000100 TARGET_KERNEL_CONFIG := vince_defconfig -TARGET_KERNEL_SOURCE := kernel/xiaomi/vince +TARGET_KERNEL_SOURCE := kernel/xiaomi/msm8953 TARGET_KERNEL_VERSION := 4.9 # ANT @@ -245,4 +245,4 @@ WPA_SUPPLICANT_VERSION := VER_0_8_X # inherit from the proprietary version -include vendor/xiaomi/vince/BoardConfigVendor.mk --include vendor/xiaomi/msm8953-common/BoardConfigVendor.mk \ No newline at end of file +-include vendor/xiaomi/msm8953-common/BoardConfigVendor.mk diff --git a/reloaded_vince.mk b/reloaded_vince.mk new file mode 100644 index 0000000..2950f79 --- /dev/null +++ b/reloaded_vince.mk @@ -0,0 +1,55 @@ +# +# Copyright (C) 2017 The aospOS Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +# Inherit from those products. Most specific first. +$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) +$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk) + +# Inherit from vince device +$(call inherit-product, device/xiaomi/vince/device.mk) +$(call inherit-product, device/qcom/qssi/base.mk) + +#all +TARGET_INCLUDE_STOCK_ARCORE := true +$(call inherit-product, vendor/MiuiCamera/config.mk) + +#(PE-CAF) +$(call inherit-product, vendor/reloaded/common.mk) + +# Inherit from our common CAF device tree. +include device/qcom/qssi/common.mk + +TARGET_BOOT_ANIMATION_RES := 1080 +TARGET_GAPPS_ARCH := arm64 +TARGET_MINIMAL_APPS := false +CUSTOM_BUILD_TYPE := OFFICIAL + +#Device identifier. This must come after all inclusions +PRODUCT_DEVICE := vince +PRODUCT_NAME := reloaded_vince +PRODUCT_BRAND := Xiaomi +PRODUCT_MODEL := Redmi 5 Plus +PRODUCT_MANUFACTURER := Xiaomi +TARGET_VENDOR := Xiaomi +BOARD_VENDOR := Xiaomi + +PRODUCT_GMS_CLIENTID_BASE := android-xiaomi + +PRODUCT_BUILD_PROP_OVERRIDES += \ + PRODUCT_NAME="vince" \ + TARGET_DEVICE="vince" + + diff --git a/vendorsetup.sh b/vendorsetup.sh index 17c5e37..77f4d14 100644 --- a/vendorsetup.sh +++ b/vendorsetup.sh @@ -1 +1 @@ -add_lunch_combo aosp_vince-userdebug \ No newline at end of file +add_lunch_combo reloaded_vince-userdebug