Skip to content

Commit

Permalink
Bringup for Reloaded
Browse files Browse the repository at this point in the history
  • Loading branch information
ShantanuSingh555 committed Apr 22, 2019
1 parent d79366b commit 6f4f7f4
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 4 deletions.
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)/aosp_vince.mk
$(LOCAL_DIR)/reloaded_vince.mk
4 changes: 2 additions & 2 deletions BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
-include vendor/xiaomi/msm8953-common/BoardConfigVendor.mk
55 changes: 55 additions & 0 deletions reloaded_vince.mk
Original file line number Diff line number Diff line change
@@ -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"


2 changes: 1 addition & 1 deletion vendorsetup.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
add_lunch_combo aosp_vince-userdebug
add_lunch_combo reloaded_vince-userdebug

0 comments on commit 6f4f7f4

Please sign in to comment.