mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 11:55:31 -04:00
Init trees
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
This commit is contained in:
parent
db32bda202
commit
1dcddcc8ec
5 changed files with 121 additions and 0 deletions
7
Android.mk
Normal file
7
Android.mk
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
ifneq ($(filter m20lte, $(TARGET_DEVICE)),)
|
||||
|
||||
include $(call all-makefiles-under,$(LOCAL_PATH))
|
||||
|
||||
endif
|
||||
74
BoardConfigCommon.mk
Normal file
74
BoardConfigCommon.mk
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
COMMON_PATH := device/samsung/universal7885-common
|
||||
|
||||
BOARD_VENDOR := samsung
|
||||
|
||||
# Platform
|
||||
TARGET_BOARD_PLATFORM := exynos5
|
||||
TARGET_SOC := exynos7904
|
||||
TARGET_BOOTLOADER_BOARD_NAME := universal7885
|
||||
TARGET_NO_BOOTLOADER := true
|
||||
TARGET_NO_RADIOIMAGE := true
|
||||
|
||||
# Architecture
|
||||
TARGET_ARCH := arm64
|
||||
TARGET_ARCH_VARIANT := armv8-a
|
||||
TARGET_CPU_ABI := arm64-v8a
|
||||
TARGET_CPU_ABI2 :=
|
||||
TARGET_CPU_VARIANT := cortex-a53
|
||||
TARGET_CPU_SMP := true
|
||||
|
||||
TARGET_2ND_ARCH := arm
|
||||
TARGET_2ND_ARCH_VARIANT := armv7-a-neon
|
||||
TARGET_2ND_CPU_ABI := armeabi-v7a
|
||||
TARGET_2ND_CPU_ABI2 := armeabi
|
||||
TARGET_2ND_CPU_VARIANT := cortex-a53
|
||||
|
||||
# Audio
|
||||
USE_XML_AUDIO_POLICY_CONF := 1
|
||||
|
||||
# Dexpreopt
|
||||
ifeq ($(HOST_OS),linux)
|
||||
ifneq ($(TARGET_BUILD_VARIANT),eng)
|
||||
WITH_DEXPREOPT := true
|
||||
endif
|
||||
endif
|
||||
WITH_DEXPREOPT_BOOT_IMG_AND_SYSTEM_SERVER_ONLY := true
|
||||
|
||||
# Display
|
||||
TARGET_USES_HWC2 := true
|
||||
NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3
|
||||
|
||||
# Enable 64-bits binder
|
||||
TARGET_USES_64_BIT_BINDER := true
|
||||
|
||||
# Filesystem
|
||||
TARGET_USERIMAGES_USE_EXT4 := true
|
||||
TARGET_USES_MKE2FS := true
|
||||
|
||||
# Kernel
|
||||
BOARD_CUSTOM_BOOTIMG_MK := hardware/samsung/mkbootimg.mk
|
||||
BOARD_KERNEL_IMAGE_NAME := Image
|
||||
BOARD_KERNEL_SEPARATED_DT := true
|
||||
BOARD_KERNEL_BASE := 0x10000000
|
||||
BOARD_KERNEL_PAGESIZE := 2048
|
||||
BOARD_MKBOOTIMG_ARGS := --kernel_offset 0x00008000 --ramdisk_offset 0x01000000 --tags_offset 0x00000100
|
||||
|
||||
# Partitions
|
||||
BOARD_BOOTIMAGE_PARTITION_SIZE := 67108864
|
||||
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 5637144576
|
||||
BOARD_USERDATAIMAGE_PARTITION_SIZE := 53921955328
|
||||
BOARD_CACHEIMAGE_PARTITION_SIZE := 268435456
|
||||
BOARD_FLASH_BLOCK_SIZE := 131072
|
||||
|
||||
# Properties
|
||||
BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true
|
||||
|
||||
# Recovery
|
||||
TARGET_RECOVERY_FSTAB := $(COMMON_PATH)/rootdir/fstab.samsungexynos7885
|
||||
|
||||
# Vendor
|
||||
TARGET_COPY_OUT_VENDOR := vendor
|
||||
|
||||
# VNDK
|
||||
BOARD_VNDK_RUNTIME_DISABLE := true
|
||||
BOARD_VNDK_VERSION := current
|
||||
6
lineage.dependencies
Normal file
6
lineage.dependencies
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
[
|
||||
{
|
||||
"repository": "android_hardware_samsung",
|
||||
"target_path": "hardware/samsung"
|
||||
}
|
||||
]
|
||||
19
rootdir/fstab.samsungexynos7885
Normal file
19
rootdir/fstab.samsungexynos7885
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
|
||||
# Android fstab file.
|
||||
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
|
||||
# The filesystem that contains the filesystem checker binary (typically /system) cannot
|
||||
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
|
||||
|
||||
# system and vendor partition will be early-mounted by kernel
|
||||
/dev/block/platform/13500000.dwmmc0/by-name/SYSTEM /system ext4 ro,errors=panic wait
|
||||
/dev/block/platform/13500000.dwmmc0/by-name/VENDOR /vendor ext4 ro,errors=panic wait
|
||||
/dev/block/platform/13500000.dwmmc0/by-name/CACHE /cache ext4 noatime,nosuid,nodev,noauto_da_alloc,discard,journal_checksum,data=ordered,errors=panic wait,check
|
||||
/dev/block/platform/13500000.dwmmc0/by-name/USERDATA /data f2fs noatime,nosuid,nodev,discard,reserve_root=12800,reserve_core=10240,resgid=5555,usrquota,grpquota,fsync_mode=nobarrier wait,check,encryptable=footer
|
||||
/dev/block/platform/13500000.dwmmc0/by-name/EFS /efs ext4 noatime,nosuid,nodev,noauto_da_alloc,discard,journal_checksum,data=ordered,errors=panic wait,check
|
||||
/dev/block/platform/13500000.dwmmc0/by-name/CPEFS /cpefs ext4 noatime,nosuid,nodev,noauto_da_alloc,discard,journal_checksum,data=ordered,errors=panic wait,check,nofail
|
||||
/dev/block/platform/13500000.dwmmc0/by-name/MISC /misc emmc defaults defaults
|
||||
|
||||
# VOLD
|
||||
/dev/block/platform/13500000.dwmmc0/by-name/HIDDEN /preload ext4 defaults voldmanaged=preload:auto
|
||||
/devices/platform/13550000.dwmmc2/mmc_host/mmc1* auto vfat defaults voldmanaged=sdcard:auto
|
||||
/devices/platform/13600000.usb/13600000.dwc3* auto auto defaults voldmanaged=usb:auto
|
||||
15
universal7885-common.mk
Normal file
15
universal7885-common.mk
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# Screen density
|
||||
PRODUCT_AAPT_CONFIG := normal
|
||||
PRODUCT_AAPT_PREF_CONFIG := xxhdpi
|
||||
|
||||
# Bluetooth
|
||||
PRODUCT_PACKAGES += \
|
||||
audio.a2dp.default
|
||||
|
||||
# Boot animation
|
||||
TARGET_SCREEN_HEIGHT := 2340
|
||||
TARGET_SCREEN_WIDTH := 1080
|
||||
|
||||
# Net
|
||||
PRODUCT_PACKAGES += \
|
||||
netutils-wrapper-1.0
|
||||
Loading…
Reference in a new issue