-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
colbycdev
committed
Mar 22, 2019
0 parents
commit efc7c0b
Showing
8 changed files
with
199 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# | ||
# Copyright (C) 2018 The TwrpBuilder 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 tg_l900s_00ww,$(TARGET_DEVICE)),) | ||
|
||
LOCAL_PATH := device/tgnco/tg_l900s_00ww/ | ||
|
||
include $(call all-makefiles-under,$(LOCAL_PATH)) | ||
|
||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# | ||
# Copyright (C) 2018 The TwrpBuilder 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. | ||
# | ||
|
||
LOCAL_PATH := device/tgnco/tg_l900s_00ww/ | ||
|
||
PRODUCT_MAKEFILES := $(LOCAL_PATH)/omni_tg_l900s_00ww.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# | ||
# Copyright (C) 2018 The TwrpBuilder 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. | ||
# | ||
|
||
LOCAL_PATH := device/tgnco/tg_l900s_00ww | ||
|
||
TARGET_BOARD_PLATFORM := MSM8974 | ||
TARGET_BOOTLOADER_BOARD_NAME := tg_l900s_00ww | ||
|
||
# Recovery | ||
TARGET_USERIMAGES_USE_EXT4 := true | ||
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 17593644 | ||
BOARD_FLASH_BLOCK_SIZE := 0 | ||
BOARD_HAS_NO_REAL_SDCARD := true | ||
BOARD_SUPPRESS_SECURE_ERASE := true | ||
BOARD_HAS_NO_MISC_PARTITION := true | ||
BOARD_RECOVERY_SWIPE := true | ||
BOARD_USES_MMCUTILS := true | ||
BOARD_SUPPRESS_EMMC_WIPE := true | ||
TW_INPUT_BLACKLIST := "hbtp_vm" | ||
include $(LOCAL_PATH)/kernel.mk | ||
include device/generic/twrpbuilder/BoardConfig64.mk | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# | ||
# Copyright (C) 2018 The TwrpBuilder 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. | ||
# | ||
|
||
# Kernel | ||
TARGET_PREBUILT_KERNEL := $(LOCAL_PATH)/kernel | ||
BOARD_KERNEL_CMDLINE := console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=qcom msm_rtb.filter=0x237 ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci lpm_levels.sleep_disabled=1 earlyprintk androidboot.selinux=permissive | ||
BOARD_KERNEL_BASE := 0x80000000 | ||
BOARD_KERNEL_PAGESIZE := 2048 | ||
BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x01000000 --tags_offset 0x00000100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# | ||
# Copyright (C) 2018 The TwrpBuilder 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. | ||
# | ||
|
||
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk) | ||
PRODUCT_DEVICE := tg_l900s_00ww | ||
PRODUCT_NAME := omni_tg_l900s_00ww | ||
PRODUCT_BRAND := tgnco | ||
PRODUCT_MODEL := TG-L900S | ||
PRODUCT_MANUFACTURER := tgnco |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# | ||
# Copyright (C) 2018 The TwrpBuilder 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. | ||
# | ||
|
||
/boot emmc /dev/block/bootdevice/by-name/boot | ||
/data ext4 /dev/block/bootdevice/by-name/userdata | ||
/system ext4 /dev/block/bootdevice/by-name/system | ||
/cache ext4 /dev/block/bootdevice/by-name/cache | ||
/misc emmc /dev/block/bootdevice/by-name/misc | ||
/recovery emmc /dev/block/bootdevice/by-name/recovery | ||
/external_sd vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1 flags=display="Micro SDcard";storage;wipeingui;removable | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# Copyright (c) 2012, The Linux Foundation. All rights reserved. | ||
# | ||
# Redistribution and use in source and binary forms, with or without | ||
# modification, are permitted provided that the following conditions are | ||
# met: | ||
# * Redistributions of source code must retain the above copyright | ||
# notice, this list of conditions and the following disclaimer. | ||
# * Redistributions in binary form must reproduce the above | ||
# copyright notice, this list of conditions and the following | ||
# disclaimer in the documentation and/or other materials provided | ||
# with the distribution. | ||
# * Neither the name of The Linux Foundation nor the names of its | ||
# contributors may be used to endorse or promote products derived | ||
# from this software without specific prior written permission. | ||
# | ||
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED | ||
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | ||
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT | ||
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS | ||
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | ||
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | ||
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR | ||
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, | ||
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE | ||
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN | ||
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
|
||
#device mount point fstype [device2] [length=] | ||
|
||
/dev/block/bootdevice/by-name/system /system ext4 ro,barrier=1 wait | ||
/dev/block/bootdevice/by-name/cache /cache ext4 noatime,nosuid,nodev,barrier=1,data=ordered wait,check | ||
/dev/block/bootdevice/by-name/userdata /data ext4 noatime,nosuid,nodev,barrier=1,data=ordered,noauto_da_alloc wait,check | ||
/dev/block/mmcblk1p1 /sdcard vfat noatime,nosuid,nodev wait | ||
/dev/block/bootdevice/by-name/boot /boot emmc defaults defaults | ||
/dev/block/bootdevice/by-name/recovery /recovery emmc defaults defaults | ||
/dev/block/bootdevice/by-name/misc /misc emmc defaults defaults | ||
/dev/block/bootdevice/by-name/sbl1 /sbl1 emmc defaults defaults | ||
/dev/block/bootdevice/by-name/aboot /aboot emmc defaults defaults | ||
/dev/block/bootdevice/by-name/rpm /rpm emmc defaults defaults | ||
/dev/block/bootdevice/by-name/tz /tz emmc defaults defaults | ||
/dev/block/bootdevice/by-name/modem /modem vfat defaults defaults | ||
/dev/block/bootdevice/by-name/persist /persist ext4 defaults defaults | ||
/dev/block/bootdevice/by-name/sdi /sdi emmc defaults defaults | ||
/dev/block/bootdevice/by-name/hidden /hidden ext4 defaults defaults | ||
/dev/block/bootdevice/by-name/cda /hidden/data ext4 defaults defaults | ||
/dev/block/bootdevice/by-name/systeminfo /systeminfo ext4 defaults defaults | ||
/dev/block/bootdevice/by-name/sutinfo /sutinfo emmc defaults defaults | ||
/dev/block/bootdevice/by-name/hwcfg /hwcfg emmc defaults defaults | ||
/dev/block/bootdevice/by-name/splash /splash emmc defaults defaults | ||
/dev/block/bootdevice/by-name/multi_splash /multi_splash emmc defaults defaults | ||
/dev/block/bootdevice/by-name/ftm /ftm emmc defaults defaults | ||
/dev/block/bootdevice/by-name/ftm_system /ftm_system ext4 defaults defaults | ||
/dev/block/bootdevice/by-name/cust_nv /cust_nv emmc defaults defaults | ||
|