Initial commit
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
ifeq ($(TARGET_DEVICE),austin)
|
||||
|
||||
ifneq ($(TARGET_SIMULATOR),true)
|
||||
include $(call first-makefiles-under,$(LOCAL_PATH))
|
||||
endif
|
||||
|
||||
endif
|
||||
@@ -0,0 +1,2 @@
|
||||
PRODUCT_MAKEFILES := \
|
||||
$(LOCAL_DIR)/full_austin.mk
|
||||
Executable
+17
@@ -0,0 +1,17 @@
|
||||
# Kernel
|
||||
TARGET_KERNEL_CONFIG := austin_defconfig
|
||||
BOARD_KERNEL_CMDLINE := androidboot.selinux=permissive
|
||||
|
||||
# inherit from common mt8127
|
||||
-include device/amazon/mt8127-common/BoardConfigCommon.mk
|
||||
|
||||
# inherit from the proprietary version
|
||||
-include vendor/amazon/mt8127-common/BoardConfigVendor.mk
|
||||
|
||||
# Assert
|
||||
TARGET_OTA_ASSERT_DEVICE := austin
|
||||
|
||||
TARGET_BOOTLOADER_BOARD_NAME := austin
|
||||
|
||||
# TWRP
|
||||
DEVICE_RESOLUTION := 600x1024
|
||||
@@ -0,0 +1,13 @@
|
||||
# Inherit device configuration for mt8127-common
|
||||
$(call inherit-product, device/amazon/mt8127-common/cm.mk)
|
||||
|
||||
# Inherit device configuration
|
||||
$(call inherit-product, device/amazon/austin/full_austin.mk)
|
||||
|
||||
PRODUCT_CHARACTERISTICS := tablet
|
||||
|
||||
TARGET_SCREEN_WIDTH := 600
|
||||
TARGET_SCREEN_HEIGHT := 1024
|
||||
|
||||
PRODUCT_NAME := cm_austin
|
||||
PRODUCT_RELEASE_NAME := austin
|
||||
@@ -0,0 +1,9 @@
|
||||
$(call inherit-product, device/amazon/mt8127-common/mt8127-common.mk)
|
||||
|
||||
$(call inherit-product-if-exists, vendor/amazon/austin/austin-vendor.mk)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Executable
+56
@@ -0,0 +1,56 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Copyright (C) 2018 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.
|
||||
|
||||
set -e
|
||||
|
||||
VENDOR=amazon
|
||||
DEVICE_COMMON=austin
|
||||
|
||||
# Load extractutils and do some sanity checks
|
||||
MY_DIR="${BASH_SOURCE%/*}"
|
||||
if [[ ! -d "$MY_DIR" ]]; then MY_DIR="$PWD"; fi
|
||||
|
||||
LINEAGE_ROOT="$MY_DIR"/../../..
|
||||
|
||||
HELPER="$LINEAGE_ROOT"/vendor/cm/build/tools/extract_utils.sh
|
||||
if [ ! -f "$HELPER" ]; then
|
||||
echo "Unable to find helper script at $HELPER"
|
||||
exit 1
|
||||
fi
|
||||
. "$HELPER"
|
||||
|
||||
if [ $# -eq 0 ]; then
|
||||
SRC=adb
|
||||
else
|
||||
if [ $# -eq 1 ]; then
|
||||
SRC=$1
|
||||
else
|
||||
echo "$0: bad number of arguments"
|
||||
echo ""
|
||||
echo "usage: $0 [PATH_TO_EXPANDED_ROM]"
|
||||
echo ""
|
||||
echo "If PATH_TO_EXPANDED_ROM is not specified, blobs will be extracted from"
|
||||
echo "the device using adb pull."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
# Initialize the helper
|
||||
setup_vendor "$DEVICE_COMMON" "$VENDOR" "$LINEAGE_ROOT" true
|
||||
|
||||
extract "$MY_DIR"/proprietary-files.txt "$SRC"
|
||||
|
||||
"$MY_DIR"/setup-makefiles.sh
|
||||
@@ -0,0 +1,13 @@
|
||||
# Inherit from hardware-specific part of the product configuration
|
||||
$(call inherit-product, device/amazon/austin/device.mk)
|
||||
|
||||
# Inherit from the common Open Source product configuration
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)
|
||||
|
||||
PRODUCT_DEVICE := austin
|
||||
PRODUCT_NAME := full_austin
|
||||
PRODUCT_BRAND := google
|
||||
PRODUCT_MODEL := Fire
|
||||
PRODUCT_MANUFACTURER := amzn
|
||||
PRODUCT_RESTRICT_VENDOR_FILES := false
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
etc/.tp/thermal.policy.conf
|
||||
lib/libasp.so
|
||||
lib/libcjson.so
|
||||
vendor/etc/audio-algorithms/AFE.cfg
|
||||
vendor/etc/audio-algorithms/coefs_FilterBank.cfg
|
||||
vendor/etc/audio-algorithms/EQ_2048.cfg
|
||||
vendor/etc/audio-algorithms/MBCL.cfg
|
||||
vendor/smartvolume/austin/anlg_dock_headset.csv
|
||||
vendor/smartvolume/austin/aux_digital.csv
|
||||
vendor/smartvolume/austin/bt_a2dp_headphones.csv
|
||||
vendor/smartvolume/austin/bt_a2dp_speaker.csv
|
||||
vendor/smartvolume/austin/bt_a2dp.csv
|
||||
vendor/smartvolume/austin/bt_sco_carkit.csv
|
||||
vendor/smartvolume/austin/bt_sco_headset.csv
|
||||
vendor/smartvolume/austin/bt_sco.csv
|
||||
vendor/smartvolume/austin/default.csv
|
||||
vendor/smartvolume/austin/dgtl_dock_headeset.csv
|
||||
vendor/smartvolume/austin/speaker.csv
|
||||
vendor/smartvolume/austin/wired_headphone.csv
|
||||
vendor/smartvolume/austin/wired_headset.csv
|
||||
@@ -0,0 +1,12 @@
|
||||
# mount point fstype device [device2]
|
||||
|
||||
/dev/block/platform/mtk-msdc.0/by-name/boot /boot emmc defaults defaults
|
||||
/dev/block/platform/mtk-msdc.0/by-name/UBOOT /UBOOT emmc defaults defaults
|
||||
/dev/block/platform/mtk-msdc.0/by-name/TEE1 /TEE1 emmc defaults defaults
|
||||
/dev/block/platform/mtk-msdc.0/by-name/cache /cache ext4 defaults defaults
|
||||
/dev/block/platform/mtk-msdc.0/by-name/userdata /data ext4 defaults defaults,length=-16385
|
||||
/dev/block/platform/mtk-msdc.0/by-name/MISC /misc emmc defaults defaults
|
||||
/dev/block/platform/mtk-msdc.0/by-name/recovery /recovery emmc defaults defaults
|
||||
/dev/block/mmcblk0boot0 /boot0 emmc defaults defaults
|
||||
/dev/block/platform/mtk-msdc.0/by-name/system /system ext4 defaults defaults
|
||||
|
||||
Executable
+44
@@ -0,0 +1,44 @@
|
||||
#!/bin/bash
|
||||
# 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.
|
||||
|
||||
set -e
|
||||
|
||||
VENDOR=amazon
|
||||
DEVICE_COMMON=austin
|
||||
|
||||
# Load extractutils and do some sanity checks
|
||||
MY_DIR="${BASH_SOURCE%/*}"
|
||||
if [[ ! -d "$MY_DIR" ]]; then MY_DIR="$PWD"; fi
|
||||
|
||||
LINEAGE_ROOT="$MY_DIR"/../../..
|
||||
|
||||
HELPER="$LINEAGE_ROOT"/vendor/cm/build/tools/extract_utils.sh
|
||||
if [ ! -f "$HELPER" ]; then
|
||||
echo "Unable to find helper script at $HELPER"
|
||||
exit 1
|
||||
fi
|
||||
. "$HELPER"
|
||||
|
||||
# Initialize the helper
|
||||
setup_vendor "$DEVICE_COMMON" "$VENDOR" "$LINEAGE_ROOT" true
|
||||
|
||||
# Copyright headers and guards
|
||||
write_headers "austin"
|
||||
|
||||
# The standard blobs
|
||||
write_makefiles "$MY_DIR"/proprietary-files.txt
|
||||
|
||||
# Done
|
||||
write_footers
|
||||
+71
@@ -0,0 +1,71 @@
|
||||
ro.sf.lcd_density=160
|
||||
|
||||
#ADB on recovery
|
||||
service.adb.root=1
|
||||
|
||||
#support opengles 2.0 3.0 is 196608
|
||||
ro.opengles.version=131072
|
||||
|
||||
ro.audio.silent=0
|
||||
|
||||
# MTK, Infinity, 20090720 {
|
||||
wifi.interface=wlan0
|
||||
# MTK, Infinity, 20090720 }
|
||||
|
||||
# MTK, mtk03034, 20101210 {
|
||||
ro.mediatek.wlan.wsc=1
|
||||
# MTK, mtk03034 20101210}
|
||||
# MTK, mtk03034, 20110318 {
|
||||
ro.mediatek.wlan.p2p=1
|
||||
# MTK, mtk03034 20110318}
|
||||
|
||||
# MTK, mtk03034, 20101213 {
|
||||
mediatek.wlan.ctia=0
|
||||
# MTK, mtk03034 20101213}
|
||||
|
||||
#
|
||||
wifi.tethering.interface=ap0
|
||||
#
|
||||
|
||||
wifi.direct.interface=p2p0
|
||||
|
||||
# Switching Menu of Mass storage and MTP
|
||||
ro.sys.usb.storage.type=mtp,mass_storage
|
||||
|
||||
# USB BICR function
|
||||
ro.sys.usb.bicr=yes
|
||||
|
||||
# USB Charge only function
|
||||
ro.sys.usb.charging.only=yes
|
||||
|
||||
# smartvolume
|
||||
ro.smartvolume.config=/system/vendor/smartvolume/austin/
|
||||
ro.config.notification_sound=Verso.ogg
|
||||
|
||||
ro.sf.hwrotation=0
|
||||
|
||||
# maximum backup size for factory reset whitelist in kB
|
||||
ro.recovery.wl.maxstore=524288
|
||||
|
||||
# uart kernel log
|
||||
persist.sys.uart.klog.enable=n
|
||||
|
||||
# Audio Rotation
|
||||
ro.audio.monitorRotation=true
|
||||
|
||||
# wifi rssi->bar thresholds
|
||||
persist.wifi.rssi.thresholds=-92,-77,-68,-63
|
||||
|
||||
# no RIL
|
||||
keyguard.no_require_sim=1
|
||||
ro.radio.use-ppp=no
|
||||
ro.config.nocheckin=yes
|
||||
ro.radio.noril=1
|
||||
ro.carrier=wifi-only
|
||||
persist.radio.noril=1
|
||||
|
||||
# set default USB configuration
|
||||
persist.sys.usb.config=mtp,adb
|
||||
|
||||
# add support for USB storage type
|
||||
persist.sys.isUsbOtgEnabled=1
|
||||
@@ -0,0 +1 @@
|
||||
add_lunch_combo cm_austin-userdebug
|
||||
Reference in New Issue
Block a user