Loading BoardConfig.mk 0 → 100644 +55 −0 Original line number Diff line number Diff line # # Copyright (C) 2019 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 LOCAL_PATH := device/lenovo/k5fpr # Build seperate vendor img TARGET_COPY_OUT_VENDOR := vendor # Inherit common boardconfig -include device/lenovo/mt6753-common/BoardConfigCommon.mk ####################################################################### # Kernel TARGET_KERNEL_SOURCE := kernel/lenovo/k5fpr TARGET_KERNEL_CONFIG := k5fpr_defconfig BOARD_NAME := A7010 # OTA assert TARGET_OTA_ASSERT_DEVICE := A7010a48,LENOVO,k5fpr,a7010a48 # Bluetooth BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(LOCAL_PATH)/bluetooth # Partitions informations BOARD_BOOTIMAGE_PARTITION_SIZE := 16777216 BOARD_RECOVERYIMAGE_PARTITION_SIZE := 16777216 BOARD_CACHEIMAGE_PARTITION_SIZE := 409600000 BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4 BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2621440000 BOARD_USERDATAIMAGE_PARTITION_SIZE := 26725888000 BOARD_VENDORIMAGE_PARTITION_SIZE := 526848000 BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4 BOARD_FLASH_BLOCK_SIZE := 131072 # Partitions types TARGET_USERIMAGES_USE_EXT4 := true TARGET_USERIMAGES_USE_F2FS := true # DT2W POWER_FEATURE_DOUBLE_TAP_TO_WAKE := "/sys/lenovo_tp_gestures/tpd_suspend_status" device_k5fpr.mk 0 → 100644 +27 −0 Original line number Diff line number Diff line # # Copyright (C) 2015-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. # LOCAL_PATH := device/lenovo/k5fpr # Hardware-specific permissions PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.audio.low_latency.xml:system/etc/permissions/android.hardware.audio.low_latency.xml \ frameworks/native/data/etc/android.hardware.fingerprint.xml:system/etc/permissions/android.hardware.fingerprint.xml # Vendor $(call inherit-product, vendor/lenovo/k5fpr/k5fpr-vendor.mk) # Common $(call inherit-product, device/lenovo/mt6753-common/mt6753.mk) lineage_k5fpr.mk 0 → 100644 +35 −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 A7010 device $(call inherit-product, device/lenovo/k5fpr/device_k5fpr.mk) # Inherit some common LOS stuff. $(call inherit-product, vendor/lineage/config/common_full_phone.mk) PRODUCT_GMS_CLIENTID_BASE := android-lenovo PRODUCT_DEVICE := k5fpr PRODUCT_NAME := lineage_k5fpr PRODUCT_BRAND := Lenovo PRODUCT_MANUFACTURER := Lenovo PRODUCT_MODEL := Lenovo A7010a48 PRODUCT_RELEASE_NAME := k5fpr PRODUCT_BUILD_PROP_OVERRIDES += \ PRODUCT_NAME=k5fpr \ PRIVATE_BUILD_DESC="k5fpr-user 6.0 MRA58K A7010a48_S232_161227_ROW release-keys" BUILD_FINGERPRINT := Lenovo/k5fpr/A7010a48:6.0/MRA58K/RA7010a48_S232_161227_ROW.12271429:user/release-keys \ Loading
BoardConfig.mk 0 → 100644 +55 −0 Original line number Diff line number Diff line # # Copyright (C) 2019 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 LOCAL_PATH := device/lenovo/k5fpr # Build seperate vendor img TARGET_COPY_OUT_VENDOR := vendor # Inherit common boardconfig -include device/lenovo/mt6753-common/BoardConfigCommon.mk ####################################################################### # Kernel TARGET_KERNEL_SOURCE := kernel/lenovo/k5fpr TARGET_KERNEL_CONFIG := k5fpr_defconfig BOARD_NAME := A7010 # OTA assert TARGET_OTA_ASSERT_DEVICE := A7010a48,LENOVO,k5fpr,a7010a48 # Bluetooth BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(LOCAL_PATH)/bluetooth # Partitions informations BOARD_BOOTIMAGE_PARTITION_SIZE := 16777216 BOARD_RECOVERYIMAGE_PARTITION_SIZE := 16777216 BOARD_CACHEIMAGE_PARTITION_SIZE := 409600000 BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4 BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2621440000 BOARD_USERDATAIMAGE_PARTITION_SIZE := 26725888000 BOARD_VENDORIMAGE_PARTITION_SIZE := 526848000 BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4 BOARD_FLASH_BLOCK_SIZE := 131072 # Partitions types TARGET_USERIMAGES_USE_EXT4 := true TARGET_USERIMAGES_USE_F2FS := true # DT2W POWER_FEATURE_DOUBLE_TAP_TO_WAKE := "/sys/lenovo_tp_gestures/tpd_suspend_status"
device_k5fpr.mk 0 → 100644 +27 −0 Original line number Diff line number Diff line # # Copyright (C) 2015-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. # LOCAL_PATH := device/lenovo/k5fpr # Hardware-specific permissions PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.audio.low_latency.xml:system/etc/permissions/android.hardware.audio.low_latency.xml \ frameworks/native/data/etc/android.hardware.fingerprint.xml:system/etc/permissions/android.hardware.fingerprint.xml # Vendor $(call inherit-product, vendor/lenovo/k5fpr/k5fpr-vendor.mk) # Common $(call inherit-product, device/lenovo/mt6753-common/mt6753.mk)
lineage_k5fpr.mk 0 → 100644 +35 −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 A7010 device $(call inherit-product, device/lenovo/k5fpr/device_k5fpr.mk) # Inherit some common LOS stuff. $(call inherit-product, vendor/lineage/config/common_full_phone.mk) PRODUCT_GMS_CLIENTID_BASE := android-lenovo PRODUCT_DEVICE := k5fpr PRODUCT_NAME := lineage_k5fpr PRODUCT_BRAND := Lenovo PRODUCT_MANUFACTURER := Lenovo PRODUCT_MODEL := Lenovo A7010a48 PRODUCT_RELEASE_NAME := k5fpr PRODUCT_BUILD_PROP_OVERRIDES += \ PRODUCT_NAME=k5fpr \ PRIVATE_BUILD_DESC="k5fpr-user 6.0 MRA58K A7010a48_S232_161227_ROW release-keys" BUILD_FINGERPRINT := Lenovo/k5fpr/A7010a48:6.0/MRA58K/RA7010a48_S232_161227_ROW.12271429:user/release-keys \