This repository has been archived by the owner on Mar 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
- Loading branch information
0 parents
commit 5c4598f
Showing
10 changed files
with
233 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# | ||
# Copyright (C) 2020 The LineageOS 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. | ||
# | ||
|
||
# | ||
# This contains the module build definitions for the hardware-specific | ||
# components for this device. | ||
# | ||
# As much as possible, those components should be built unconditionally, | ||
# with device-specific names to avoid collisions, to avoid device-specific | ||
# bitrot and build breakages. Building a component unconditionally does | ||
# *not* include it on all devices, so it is safe even with hardware-specific | ||
# components. | ||
# | ||
|
||
LOCAL_PATH := $(call my-dir) | ||
|
||
ifeq ($(TARGET_DEVICE),begoniain) | ||
include $(call all-makefiles-under,$(LOCAL_PATH)) | ||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# | ||
# Copyright (C) 2020 The LineageOS 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. | ||
# | ||
|
||
PRODUCT_MAKEFILES := \ | ||
$(LOCAL_DIR)/lineage_begoniain.mk | ||
|
||
COMMON_LUNCH_CHOICES := \ | ||
lineage_begoniain-user \ | ||
lineage_begoniain-userdebug \ | ||
lineage_begoniain-eng |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# | ||
# Copyright (C) 2019 The LineageOS 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. | ||
# | ||
|
||
DEVICE_PATH := device/xiaomi/begoniain | ||
|
||
# Inherit from common tree | ||
-include device/xiaomi/mt6785-common/BoardConfigCommon.mk | ||
|
||
# Get non-open-source specific aspects | ||
-include vendor/xiaomi/begoniain/BoardConfigVendor.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Device Tree for Redmi Note 8 Pro (begoniain) | ||
========================================== | ||
|
||
The Redmi Note 8 Pro (codenamed _"begoniain"_) is a high-end, mid-range smartphone from Xiaomi. | ||
It was released in September 2019. | ||
|
||
| Basic | Spec Sheet | | ||
| -----------------------:|:------------------------------------------------------------------------------------------------------------------------------ | | ||
| CPU | Octa-core | | ||
| Chipset | Mediatek Helio G90T | | ||
| GPU | Mali-G76 MC4 | | ||
| Memory | 6/8 GB RAM | | ||
| Shipped Android Version | 9.0 | | ||
| Storage | 64/128/256 GB | | ||
| Battery | Non-removable Li-Po 4500 mAh battery | | ||
| Display | 1080 x 2340 pixels, 19.5:9 ratio (~395 ppi density) | | ||
| Camera (Back)(Main) | 64 MP, f/1.9, 26mm (wide), 1/1.7", 0.8µm, PDAF | | ||
| Camera (Front) | 20 MP, f/2.0, 0.9µm | | ||
|
||
## Device picture | ||
![begonia](https://fdn2.gsmarena.com/vv/pics/xiaomi/xiaomi-redmi-note-8-pro-01.jpg) | ||
|
||
**Copyright 2020 The The LineageOS Project** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# | ||
# Copyright (C) 2020 The LineageOS 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. | ||
|
||
DEVICE_PATH := device/xiaomi/begoniain | ||
|
||
# Set Shipping API level | ||
$(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_p.mk) | ||
|
||
# Inherit from common device makefile | ||
$(call inherit-product, device/xiaomi/mt6785-common/mt6785.mk) | ||
|
||
# Get non-open-source specific aspects | ||
$(call inherit-product, vendor/xiaomi/begoniain/begoniain-vendor.mk) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/bash | ||
# | ||
# Copyright (C) 2019 The LineageOS 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. | ||
|
||
set -e | ||
|
||
export DEVICE=begoniain | ||
export DEVICE_COMMON=mt6785-common | ||
export VENDOR=xiaomi | ||
export DEVICE_BRINGUP_YEAR=2019 | ||
|
||
./../../$VENDOR/$DEVICE_COMMON/extract-files.sh $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[ | ||
{ | ||
"repository": "android_device_xiaomi_mt6785-common", | ||
"target_path": "device/xiaomi/mt6785-common" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# | ||
# Copyright (C) 2020 The LineageOS 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. | ||
# | ||
|
||
# Release name | ||
PRODUCT_RELEASE_NAME := begoniain | ||
|
||
# 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 device makefile | ||
$(call inherit-product, device/xiaomi/begoniain/device.mk) | ||
|
||
# Inherit from our custom product configuration | ||
$(call inherit-product, vendor/lineage/config/common_full_phone.mk) | ||
|
||
# Screen density | ||
PRODUCT_AAPT_CONFIG := normal | ||
PRODUCT_AAPT_PREF_CONFIG := xxhdpi | ||
|
||
# Boot Animation | ||
TARGET_SCREEN_HEIGHT := 2340 | ||
TARGET_SCREEN_WIDTH := 1080 | ||
|
||
## Device identifier. This must come after all inclusions | ||
PRODUCT_DEVICE := begoniain | ||
PRODUCT_NAME := lineage_begoniain | ||
PRODUCT_BRAND := Redmi | ||
PRODUCT_MODEL := Redmi Note 8 Pro | ||
PRODUCT_MANUFACTURER := Xiaomi | ||
|
||
BUILD_FINGERPRINT := "Redmi/begoniain/begoniain:10/QP1A.190711.020/V11.0.2.0.QGGINXM:user/release-keys" | ||
|
||
PRODUCT_BUILD_PROP_OVERRIDES += \ | ||
PRIVATE_BUILD_DESC="begoniain-user 10 QP1A.190711.020 V11.0.2.0.QGGINXM release-keys" \ | ||
PRODUCT_NAME="begoniain" | ||
|
||
PRODUCT_GMS_CLIENTID_BASE := android-xiaomi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Dummpy proprietary-files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/bash | ||
# | ||
# Copyright (C) 2019 The LineageOS 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. | ||
|
||
set -e | ||
|
||
# Required! | ||
export DEVICE=begoniain | ||
export DEVICE_COMMON=mt6785-common | ||
export VENDOR=xiaomi | ||
export DEVICE_BRINGUP_YEAR=2019 | ||
|
||
./../../$VENDOR/$DEVICE_COMMON/setup-makefiles.sh $@ |