mirror of
https://github.com/Evolution-X-Devices/device_google_taimen
synced 2026-01-28 17:12:52 +00:00
taimen: setup initial build targeting mtp8998
Test: built and flashed by hand Change-Id: I02a0b803c2e8d769fe07d7db78d260527f486614 Signed-off-by: John Dias <joaodias@google.com>
This commit is contained in:
19
Android.mk
Normal file
19
Android.mk
Normal file
@@ -0,0 +1,19 @@
|
||||
#
|
||||
# Copyright 2017 The Android Open Source 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.
|
||||
#
|
||||
|
||||
ifneq ($(filter taimen, $(TARGET_DEVICE)),)
|
||||
include $(call first-makefiles-under, device/qcom/msmcobalt)
|
||||
endif
|
||||
18
AndroidProducts.mk
Normal file
18
AndroidProducts.mk
Normal file
@@ -0,0 +1,18 @@
|
||||
#
|
||||
# Copyright 2017 The Android Open Source 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.
|
||||
#
|
||||
|
||||
PRODUCT_MAKEFILES := \
|
||||
$(LOCAL_DIR)/aosp_taimen.mk \
|
||||
20
BoardConfig.mk
Normal file
20
BoardConfig.mk
Normal file
@@ -0,0 +1,20 @@
|
||||
#
|
||||
# Copyright (C) 2017 The Android Open-Source 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.
|
||||
#
|
||||
|
||||
TARGET_BOOTLOADER_BOARD_NAME := taimen
|
||||
DEFAULT_LOW_PERSISTENCE_MODE_BRIGHTNESS := 0x00000056
|
||||
|
||||
include device/qcom/msmcobalt/CommonBoardConfig.mk
|
||||
40
android_filesystem_config.h
Normal file
40
android_filesystem_config.h
Normal file
@@ -0,0 +1,40 @@
|
||||
/*
|
||||
* Copyright (C) 2017 The Android Open Source 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.
|
||||
*/
|
||||
|
||||
/* This file is used to define the properties of the filesystem
|
||||
** images generated by build tools (mkbootfs and mkyaffs2image) and
|
||||
** by the device side of adb.
|
||||
*/
|
||||
|
||||
#include <private/android_filesystem_config.h>
|
||||
|
||||
static const struct fs_path_config android_device_dirs[] = {
|
||||
{ 00771, AID_SYSTEM, AID_SYSTEM, 0, "bt_firmware"},
|
||||
};
|
||||
|
||||
/* Rules for files.
|
||||
** These rules are applied based on "first match", so they
|
||||
** should start with the most specific path and work their
|
||||
** way up to the root. Prefixes ending in * denotes wildcard
|
||||
** and will allow partial matches.
|
||||
*/
|
||||
static const struct fs_path_config android_device_files[] = {
|
||||
{ 00755, AID_SYSTEM, AID_SYSTEM, (1ULL << CAP_NET_BIND_SERVICE), "system/vendor/bin/pm-service" },
|
||||
{ 00755, AID_SYSTEM, AID_SYSTEM, (1ULL << CAP_NET_BIND_SERVICE), "system/vendor/bin/cnss-daemon"},
|
||||
#ifdef NO_ANDROID_FILESYSTEM_CONFIG_DEVICE_DIRS
|
||||
{ 00000, AID_ROOT, AID_ROOT, 0, "system/etc/fs_config_dirs" },
|
||||
#endif
|
||||
};
|
||||
33
aosp_taimen.mk
Normal file
33
aosp_taimen.mk
Normal file
@@ -0,0 +1,33 @@
|
||||
#
|
||||
# Copyright 2017 The Android Open Source 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 the common Open Source product configuration
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk)
|
||||
|
||||
PRODUCT_NAME := aosp_taimen
|
||||
PRODUCT_DEVICE := taimen
|
||||
PRODUCT_BRAND := Android
|
||||
PRODUCT_MODEL := AOSP on taimen
|
||||
PRODUCT_MANUFACTURER := Google
|
||||
PRODUCT_RESTRICT_VENDOR_FILES := all
|
||||
|
||||
$(call inherit-product, device/qcom/msmcobalt/utils.mk)
|
||||
$(call inherit-product, device/google/taimen/device.mk)
|
||||
$(call inherit-product-if-exists, vendor/qcom/msmcobalt/device-vendor.mk)
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
Launcher3
|
||||
31
device.mk
Normal file
31
device.mk
Normal file
@@ -0,0 +1,31 @@
|
||||
#
|
||||
# Copyright 2017 The Android Open Source 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.
|
||||
#
|
||||
|
||||
PRODUCT_AAPT_CONFIG := normal
|
||||
PRODUCT_AAPT_PREF_CONFIG := 560dpi
|
||||
PRODUCT_AAPT_PREBUILT_DPI := xxxhdpi xxhdpi xhdpi hdpi
|
||||
|
||||
PRODUCT_HARDWARE := taimen
|
||||
|
||||
include device/qcom/msmcobalt/device-common.mk
|
||||
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.sf.lcd_density=560 \
|
||||
|
||||
# Thermal packages
|
||||
PRODUCT_PACKAGES += \
|
||||
thermal.default
|
||||
|
||||
96
system.prop
Normal file
96
system.prop
Normal file
@@ -0,0 +1,96 @@
|
||||
|
||||
persist.rild.nitz_plmn=
|
||||
persist.rild.nitz_long_ons_0=
|
||||
persist.rild.nitz_long_ons_1=
|
||||
persist.rild.nitz_long_ons_2=
|
||||
persist.rild.nitz_long_ons_3=
|
||||
persist.rild.nitz_short_ons_0=
|
||||
persist.rild.nitz_short_ons_1=
|
||||
persist.rild.nitz_short_ons_2=
|
||||
persist.rild.nitz_short_ons_3=
|
||||
ril.subscription.types=NV,RUIM
|
||||
DEVICE_PROVISIONED=1
|
||||
# Set network mode to (T/L/G/W/1X/EVDO, T/G/W/L) for 7+5 mode device on DSDS mode
|
||||
ro.telephony.default_network=22,20
|
||||
|
||||
debug.sf.hw=1
|
||||
debug.gralloc.enable_fb_ubwc=1
|
||||
|
||||
# system props for the cne module
|
||||
persist.cne.feature=1
|
||||
|
||||
# system props for the MM modules
|
||||
media.stagefright.enable-player=true
|
||||
media.stagefright.enable-http=true
|
||||
media.stagefright.enable-aac=true
|
||||
media.stagefright.enable-qcp=true
|
||||
media.stagefright.enable-scan=true
|
||||
mmp.enable.3g2=true
|
||||
media.aac_51_output_enabled=true
|
||||
mm.enable.smoothstreaming=true
|
||||
#13631487 is decimal sum of supported codecs in AAL
|
||||
#codecs:(PARSER_)AAC AC3 AMR_NB AMR_WB ASF AVI DTS FLV 3GP 3G2 MKV MP2PS MP2TS MP3 OGG QCP WAV FLAC AIFF APE DSD
|
||||
mm.enable.qcom_parser=13631487
|
||||
persist.mm.enable.prefetch=true
|
||||
|
||||
# Additional buffers shared between Camera and Video
|
||||
vidc.enc.dcvs.extra-buff-count=2
|
||||
|
||||
# system props for the data netmgrd
|
||||
persist.data.netmgrd.qos.enable=true
|
||||
persist.data.mode=concurrent
|
||||
|
||||
# system props for time-services
|
||||
persist.timed.enable=true
|
||||
|
||||
# System prop to turn on CdmaLTEPhone always
|
||||
telephony.lteOnCdmaDevice=1
|
||||
|
||||
# Simulate sdcard on /data/media
|
||||
persist.fuse_sdcard=true
|
||||
|
||||
# system prop for Bluetooth SOC type
|
||||
qcom.bluetooth.soc=cherokee
|
||||
|
||||
# system prop for A4WP profile support
|
||||
ro.bluetooth.a4wp=false
|
||||
|
||||
# system prop for wipower support
|
||||
ro.bluetooth.wipower=true
|
||||
|
||||
# settings to enable PMD and Device Orientation Sensors
|
||||
ro.qti.sensors.dev_ori=true
|
||||
ro.qti.sensors.pmd=true
|
||||
ro.qti.sensors.sta_detect=true
|
||||
ro.qti.sensors.mot_detect=true
|
||||
|
||||
#system prop for RmNet Data
|
||||
persist.rmnet.data.enable=true
|
||||
persist.data.wda.enable=true
|
||||
persist.data.df.dl_mode=5
|
||||
persist.data.df.ul_mode=5
|
||||
persist.data.df.agg.dl_pkt=10
|
||||
persist.data.df.agg.dl_size=4096
|
||||
persist.data.df.mux_count=8
|
||||
persist.data.df.iwlan_mux=9
|
||||
persist.data.df.dev_name=rmnet_usb0
|
||||
|
||||
#
|
||||
## system props for the data modules
|
||||
#
|
||||
#ro.use_data_netmgrd=true
|
||||
persist.data.netmgrd.qos.enable=true
|
||||
persist.data.mode=concurrent
|
||||
|
||||
#system prop for Bluetooth SOC type
|
||||
qcom.bluetooth.soc=cherokee
|
||||
|
||||
#system prop for A4WP profile support
|
||||
ro.bluetooth.a4wp=false
|
||||
|
||||
#system prop for wipower support
|
||||
ro.bluetooth.emb_wp_mode=true
|
||||
ro.bluetooth.wipower=true
|
||||
|
||||
# Property for loading BDA from bdaddress module in kernel
|
||||
ro.bt.bdaddr_path=/sys/module/bdaddress/parameters/bdaddress
|
||||
Reference in New Issue
Block a user