Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Device_k5fpr
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Android-smartphones
zte
blade-a610
work in progress
porting
RajatBillava - k5fpr
Device_k5fpr
Commits
b87422cd
Commit
b87422cd
authored
6 years ago
by
DidntRead
Browse files
Options
Downloads
Patches
Plain Diff
add device files
parent
dcb0ad69
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
BoardConfig.mk
+55
-0
55 additions, 0 deletions
BoardConfig.mk
device_k5fpr.mk
+27
-0
27 additions, 0 deletions
device_k5fpr.mk
lineage_k5fpr.mk
+35
-0
35 additions, 0 deletions
lineage_k5fpr.mk
with
117 additions
and
0 deletions
BoardConfig.mk
0 → 100644
+
55
−
0
View file @
b87422cd
#
# 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"
This diff is collapsed.
Click to expand it.
device_k5fpr.mk
0 → 100644
+
27
−
0
View file @
b87422cd
#
# 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
)
This diff is collapsed.
Click to expand it.
lineage_k5fpr.mk
0 → 100644
+
35
−
0
View file @
b87422cd
#
# 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
\
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment