Skip to content

Instantly share code, notes, and snippets.

@skippydream
Last active April 6, 2018 12:32
Show Gist options
  • Save skippydream/dd373650b49ffd204b4d29e5c55f8edc to your computer and use it in GitHub Desktop.
Save skippydream/dd373650b49ffd204b4d29e5c55f8edc to your computer and use it in GitHub Desktop.
device/lge/h850 - Fixed PARTITION_SIZE values for h850
#
# Copyright (C) 2016 The CyanogenMod Project
# 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.
#
DEVICE_PATH := device/lge/h850
DEVICE_COMMON_PATH := device/lge/g5-common
# inherit from common msm8996
-include device/lge/msm8996-common/BoardConfigCommon.mk
# HIDL
DEVICE_MANIFEST_FILE += $(DEVICE_COMMON_PATH)/manifest.xml
# Lights
TARGET_PROVIDES_LIBLIGHT := true
# Partitions
BOARD_BOOTIMAGE_PARTITION_SIZE := 41943040
BOARD_CACHEIMAGE_PARTITION_SIZE := 536870912
BOARD_PERSISTIMAGE_PARTITION_SIZE := 33554432
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 41943040
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 4685037568
BOARD_USERDATAIMAGE_PARTITION_SIZE := 25832714240
# Treble
PRODUCT_SHIPPING_API_LEVEL := 23
# OTA
TARGET_OTA_ASSERT_DEVICE := g5,h1,h850
# Kernel
TARGET_KERNEL_CONFIG := lineageos_h850_defconfig
# Properties
TARGET_SYSTEM_PROP += $(DEVICE_PATH)/system.prop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment