gts210vewifi: Initial commit

This commit is contained in:
LuK1337 2017-01-17 16:17:39 +01:00
commit 5a72a99c1b
11 changed files with 217 additions and 0 deletions

26
Android.mk Normal file
View File

@ -0,0 +1,26 @@
#
# Copyright (C) 2016 The CyanogenMod 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.
# WARNING: Everything listed here will be built on ALL platforms,
# including x86, the emulator, and the SDK. Modules must be uniquely
# named (liblights.tuna), and must build everywhere, or limit themselves
# to only building on ARM if they include assembly. Individual makefiles
# are responsible for having their own logic, for fine-grained control.
LOCAL_PATH := $(call my-dir)
ifeq ($(TARGET_DEVICE),gts210vewifi)
include $(call all-makefiles-under,$(LOCAL_PATH))
endif

17
AndroidProducts.mk Normal file
View File

@ -0,0 +1,17 @@
#
# Copyright (C) 2016 The CyanogenMod 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)/full_gts210vewifi.mk

28
BoardConfig.mk Normal file
View File

@ -0,0 +1,28 @@
#
# Copyright (C) 2016 The CyanogenMod 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 common msm8976-common
-include device/samsung/msm8976-common/BoardConfigCommon.mk
DEVICE_PATH := device/samsung/gts210vewifi
# Assert
TARGET_OTA_ASSERT_DEVICE := gts210vewifi
# Kernel
TARGET_KERNEL_CONFIG := gts210vewifi_defconfig
# inherit from the proprietary version
-include vendor/samsung/gts210vewifi/BoardConfigVendor.mk

18
README.mkdn Normal file
View File

@ -0,0 +1,18 @@
Unified Device Tree for Asus Zenfone 2 Laser/Selfie/Zoom (1080p)
===========================================
Basic | Spec Sheet
-------:|:-------------------------
CPU | Quad-core 1.7 GHz Cortex-A53 & quad-core 1.0 GHz Cortex-A53
Chipset | Qualcomm MSM8939 Snapdragon 615
GPU | Adreno 405
Memory | 2/3GB RAM
Shipped Android Version | 5.0.2
Storage | 16/32 GB
MicroSD | Up to 128 GB
Battery | Li-Po 3000mAh battery
Display | 1080 x 1920 pixels, 5.5 inches (~401 ppi pixel density)
| 1080 x 1920 pixels, 6.0 inches (~367 ppi pixel density)
Camera | 13 MP, laser autofocus, dual-LED (dual tone) flash
Copyright 2016 - The CyanogenMod Project.

32
device.mk Normal file
View File

@ -0,0 +1,32 @@
#
# Copyright (C) 2016 The CyanogenMod 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.
#
# call the proprietary setup
$(call inherit-product-if-exists, vendor/samsung/gts210vewifi/gts210vewifi-vendor.mk)
# Overlay
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
# Screen density
PRODUCT_AAPT_CONFIG := normal large xlarge
PRODUCT_AAPT_PREF_CONFIG := xhdpi
# Boot animation
TARGET_SCREEN_HEIGHT := 2048
TARGET_SCREEN_WIDTH := 1536
# Inherit from msm8976-common
$(call inherit-product, device/samsung/msm8976-common/msm8976.mk)

25
extract-files.sh Executable file
View File

@ -0,0 +1,25 @@
#!/bin/bash
#
# Copyright (C) 2016 The CyanogenMod 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=gts210vewifi
export DEVICE_COMMON=msm8976-common
export VENDOR=samsung
./../../$VENDOR/$DEVICE_COMMON/extract-files.sh $@

29
full_gts210vewifi.mk Normal file
View File

@ -0,0 +1,29 @@
#
# Copyright (C) 2016 The CyanogenMod 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 gts210vewifi device
$(call inherit-product, device/samsung/gts210vewifi/device.mk)
# Device identifier. This must come after all inclusions
PRODUCT_DEVICE := gts210vewifi
PRODUCT_NAME := full_gts210vewifi
PRODUCT_BRAND := samsung
PRODUCT_MODEL := gts210vewifi
PRODUCT_MANUFACTURER := samsung

6
lineage.dependencies Normal file
View File

@ -0,0 +1,6 @@
[
{
"repository": "android_device_samsung_msm8976-common",
"target_path": "device/samsung/msm8976-common"
}
]

11
lineage.mk Normal file
View File

@ -0,0 +1,11 @@
$(call inherit-product, device/samsung/gts210vewifi/full_gts210vewifi.mk)
# Inherit some common Lineage stuff.
$(call inherit-product, vendor/cm/config/common_full_phone.mk)
PRODUCT_NAME := lineage_gts210vewifi
PRODUCT_BRAND := samsung
PRODUCT_MANUFACTURER := samsung
PRODUCT_DEVICE := gts210vewifi
PRODUCT_GMS_CLIENTID_BASE := android-samsung

0
proprietary-files.txt Normal file
View File

25
setup-makefiles.sh Executable file
View File

@ -0,0 +1,25 @@
#!/bin/bash
#
# Copyright (C) 2016 The CyanogenMod 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=gts210vewifi
export DEVICE_COMMON=msm8976-common
export VENDOR=samsung
./../../$VENDOR/$DEVICE_COMMON/setup-makefiles.sh $@