Add files via upload

This commit is contained in:
RunningMango 2019-02-08 11:21:31 +05:00 committed by GitHub
commit 21fe927e6f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 148 additions and 0 deletions

10
Android.mk Normal file
View file

@ -0,0 +1,10 @@
# Copyright (C) 2018 The LineageOS Project
# SPDX-License-Identifier: Apache-2.0
LOCAL_PATH := $(call my-dir)
ifneq ($(filter on5xelte, $(TARGET_DEVICE)),)
include $(call all-makefiles-under,$(LOCAL_PATH))
endif

18
BoardConfig.mk Normal file
View file

@ -0,0 +1,18 @@
# Copyright (C) 2018 The LineageOS Project
# SPDX-License-Identifier: Apache-2.0
DEVICE_PATH := device/samsung/on5xelte
# Assert
TARGET_OTA_ASSERT_DEVICE := on5xeltexx,on5xelteks,on5xelte
# Kernel
TARGET_KERNEL_CONFIG := on5xelte_00_defconfig
TARGET_KERNEL_CUSTOM_TOOLCHAIN := /home/nick/android/lineage/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-
BOARD_KERNEL_CMDLINE += androidboot.selinux=permissive
# Bluetooth
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(DEVICE_PATH)/bluetooth
# Inherit common board flags
include device/samsung/universal7570-common/BoardConfigCommon.mk

1
README Normal file
View file

@ -0,0 +1 @@
Samsung Galaxy J5 Prime Device Tree.

2
README.md Normal file
View file

@ -0,0 +1,2 @@
# adroid_device_on5xelte_lineage
# adroid_device_on5xelte_lineage

View file

@ -0,0 +1,8 @@
#ifndef _BDROID_BUILDCFG_H
#define _BDROID_BUILDCFG_H
#define BTM_DEF_LOCAL_NAME "Galaxy J5 Prime"
#define BLE_VND_INCLUDED TRUE
#endif

10
device.mk Normal file
View file

@ -0,0 +1,10 @@
# Copyright (C) 2018 The LineageOS Project
# SPDX-License-Identifier: Apache-2.0
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
# Property overrides
-include $(LOCAL_PATH)/system_prop.mk
# Inherit common device configuration
$(call inherit-product, device/samsung/universal7570-common/universal7570-common.mk)

18
full_on5xelte.mk Normal file
View file

@ -0,0 +1,18 @@
# Copyright (C) 2018 The LineageOS Project
# SPDX-License-Identifier: Apache-2.0
# Inherit from those products. Most specific first.
$(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_o.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
# Inherit device configuration
$(call inherit-product, device/samsung/on5xelte/device.mk)
# Device identifier. This must come after all inclusions
PRODUCT_DEVICE := on5xelte
PRODUCT_NAME := full_on5xelte
PRODUCT_MODEL := SM-G570F
PRODUCT_BRAND := samsung
PRODUCT_MANUFACTURER := samsung
PRODUCT_GMS_CLIENTID_BASE := android-samsung

9
lineage.mk Normal file
View file

@ -0,0 +1,9 @@
# Copyright (C) 2018 The LineageOS Project
# SPDX-License-Identifier: Apache-2.0
$(call inherit-product, device/samsung/on5xelte/full_on5xelte.mk)
# Inherit some common Lineage stuff.
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
PRODUCT_NAME := lineage_on5xelte

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright (C) 2018 The LineageOS Project
* SPDX-License-Identifier: Apache-2.0
-->
<resources>
<string name="wifi_tether_configure_ssid_default" translatable="false">Galaxy J5 Prime</string>
</resources>

View file

@ -0,0 +1,56 @@
<?xml version="1.0" encoding="utf-8"?>
<device name="Android">
<item name="none">0</item>
<item name="screen.on">59</item>
<item name="screen.full">195</item>
<item name="bluetooth.on">0.8</item>
<item name="bluetooth.active">97</item>
<item name="wifi.on">0.2</item>
<item name="wifi.scan">181</item>
<item name="wifi.active">368</item>
<item name="gps.on">38</item>
<array name="radio.on">
<value>6</value>
<value>6</value>
</array>
<item name="radio.scanning">75</item>
<item name="radio.active">157</item>
<item name="battery.capacity">2400</item>
<item name="cpu.idle">3.9</item>
<item name="cpu.awake">10</item>
<array name="cpu.speeds">
<value>1430000</value>
<value>1378000</value>
<value>1274000</value>
<value>1144000</value>
<value>1040000</value>
<value>962000</value>
<value>829000</value>
<value>757000</value>
<value>676000</value>
<value>546000</value>
</array>
<array name="cpu.active">
<value>74</value>
<value>69</value>
<value>62</value>
<value>52</value>
<value>46</value>
<value>42</value>
<value>40</value>
<value>38</value>
<value>31</value>
<value>28</value>
</array>
<item name="dsp.audio">40</item>
<item name="dsp.video">170</item>
<array name="wifi.batchedscan">
<value>.0002</value>
<value>.002</value>
<value>.02</value>
<value>.2</value>
<value>2</value>
</array>
<item name="camera.avg">431</item>
<item name="camera.flashlight">110</item>
</device>

6
system_prop.mk Normal file
View file

@ -0,0 +1,6 @@
# Copyright (C) 2018 The LineageOS Project
# SPDX-License-Identifier: Apache-2.0
# Device specific property overrides
PRODUCT_PROPERTY_OVERRIDES += \
ro.sf.lcd_density=320

2
vendorsetup.sh Normal file
View file

@ -0,0 +1,2 @@
add_lunch_combo lineage_on5xelte-eng
add_lunch_combo lineage_on5xelte-userdebug