Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f8449226 authored by Andreas Schneider's avatar Andreas Schneider
Browse files

Big bang!

parents
Loading
Loading
Loading
Loading

Android.mk

0 → 100644
+21 −0
Original line number Diff line number Diff line
#
# Copyright (C) 2017 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.
#

LOCAL_PATH := $(call my-dir)

ifneq ($(filter lilac, $(TARGET_DEVICE)),)
include $(call all-subdir-makefiles,$(LOCAL_PATH))
endif

BoardConfig.mk

0 → 100644
+44 −0
Original line number Diff line number Diff line
#
# Copyright (C) 2017 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.

### INHERIT FROM YOSHIRO
-include device/sony/yoshino/BoardConfigPlatform.mk

LOCAL_PATH := device/sony/lilac

### BOOTLOADER
TARGET_BOOTLOADER_BOARD_NAME := G8441

### KERNEL
TARGET_KERNEL_CONFIG := lineage-msm8998-lilac_defconfig

BOARD_KERNEL_CMDLINE += androidboot.hardware=lilac

### PARTITIONS
# See also /proc/partitions on the device
BOARD_BOOTIMAGE_PARTITION_SIZE := 67108864
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 67108864
BOARD_CACHEIMAGE_PARTITION_SIZE := 398458880
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 5242880000
BOARD_FLASH_BLOCK_SIZE := 131072 # (BOARD_KERNEL_PAGESIZE * 64)
# Reserve space for data encryption (23753875456-16384)
BOARD_USERDATAIMAGE_PARTITION_SIZE := 23753859072

### BOOTANIMATION
# vendor/cm/config/common_full_phone.mk
TARGET_SCREEN_HEIGHT := 1280
TARGET_SCREEN_WIDTH := 720
# vendor/cm/config/common.mk
TARGET_BOOTANIMATION_HALF_RES := true

device.mk

0 → 100644
+7 −0
Original line number Diff line number Diff line
LOCAL_PATH := device/sony/lilac

### DEVICE INIT
PRODUCT_PACKAGES += \
    init.recovery.lilac \
    init.lilac \
    ueventd.lilac

lineage.mk

0 → 100644
+20 −0
Original line number Diff line number Diff line
# Inherit device configuration
$(call inherit-product, device/sony/yoshino/platform.mk)
$(call inherit-product, device/sony/lilac/device.mk)

$(call inherit-product, frameworks/native/build/phone-xhdpi-2048-dalvik-heap.mk)
# Inherit some common Lineage stuff.
$(call inherit-product, vendor/cm/config/common_full_phone.mk)

# Build for a phone
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)

## Device identifier. This must come after all inclusions
PRODUCT_NAME := lineage_lilac
PRODUCT_DEVICE := lilac
PRODUCT_BRAND := sony
PRODUCT_MODEL := G8441
PRODUCT_MANUFACTURER := sony

PRODUCT_BUILD_PROP_OVERRIDES += \
    PRODUCT_NAME=lilac

system.prop

0 → 100644
+1 −0
Original line number Diff line number Diff line
# system prop for lilac