Skip to content

Commit 95a24bd

Browse files
author
GauthamAsir
committed
initial trees
0 parents  commit 95a24bd

File tree

9 files changed

+205
-0
lines changed

9 files changed

+205
-0
lines changed

Android.mk

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#
2+
# Copyright (C) 2018 The TwrpBuilder Open-Source Project
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
17+
ifneq ($(filter c160_tsl_111,$(TARGET_DEVICE)),)
18+
19+
LOCAL_PATH := device/itel/c160_tsl_111/
20+
21+
include $(call all-makefiles-under,$(LOCAL_PATH))
22+
23+
endif

AndroidProducts.mk

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#
2+
# Copyright (C) 2018 The TwrpBuilder Open-Source Project
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
17+
LOCAL_PATH := device/itel/c160_tsl_111/
18+
19+
PRODUCT_MAKEFILES := $(LOCAL_PATH)/omni_c160_tsl_111.mk

BoardConfig.mk

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
#
2+
# Copyright (C) 2018 The TwrpBuilder Open-Source Project
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
17+
LOCAL_PATH := device/itel/c160_tsl_111
18+
19+
TARGET_BOARD_PLATFORM := sc8830
20+
TARGET_BOOTLOADER_BOARD_NAME := c160_tsl_111
21+
22+
# Recovery
23+
TARGET_USERIMAGES_USE_EXT4 := true
24+
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 12582912
25+
BOARD_FLASH_BLOCK_SIZE := 0
26+
BOARD_HAS_NO_REAL_SDCARD := true
27+
BOARD_SUPPRESS_SECURE_ERASE := true
28+
BOARD_HAS_NO_MISC_PARTITION := true
29+
BOARD_RECOVERY_SWIPE := true
30+
BOARD_USES_MMCUTILS := true
31+
BOARD_SUPPRESS_EMMC_WIPE := true
32+
TW_INPUT_BLACKLIST := "hbtp_vm"
33+
include $(LOCAL_PATH)/kernel.mk
34+
include device/generic/twrpbuilder/BoardConfig32.mk
35+

dt.img

54 KB
Binary file not shown.

kernel

7.58 MB
Binary file not shown.

kernel.mk

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#
2+
# Copyright (C) 2018 The TwrpBuilder Open-Source Project
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
17+
# Kernel
18+
TARGET_PREBUILT_KERNEL := $(LOCAL_PATH)/kernel
19+
BOARD_KERNEL_CMDLINE := console=ttyS1,115200n8 androidboot.selinux=permissive
20+
BOARD_KERNEL_BASE := 0x00000000
21+
BOARD_KERNEL_PAGESIZE := 2048
22+
BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x01000000 --tags_offset 0x00000100 --dt $(LOCAL_PATH)/dt.img

omni_c160_tsl_111.mk

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#
2+
# Copyright (C) 2018 The TwrpBuilder Open-Source Project
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
17+
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)
18+
PRODUCT_DEVICE := c160_tsl_111
19+
PRODUCT_NAME := omni_c160_tsl_111
20+
PRODUCT_BRAND := itel
21+
PRODUCT_MODEL := itel it1508
22+
PRODUCT_MANUFACTURER := itel

recovery.fstab

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#
2+
# Copyright (C) 2018 The TwrpBuilder Open-Source Project
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
17+
/boot emmc /dev/block/platform/sdio_emmc/by-name/boot
18+
/data ext4 /dev/block/platform/sdio_emmc/by-name/userdata
19+
/system ext4 /dev/block/platform/sdio_emmc/by-name/system
20+
/cache ext4 /dev/block/platform/sdio_emmc/by-name/cache
21+
/misc emmc /dev/block/platform/sdio_emmc/by-name/misc
22+
/recovery emmc /dev/block/platform/sdio_emmc/by-name/recovery
23+
/external_sd vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1 flags=display="Micro SDcard";storage;wipeingui;removable
24+

stock/recovery.fstab

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
/dev/block/platform/sdio_sd/mmcblk1p1 /storage/sdcard0 vfat defaults defaults
2+
3+
/dev/block/platform/sdio_emmc/by-name/system /system ext4 defaults defaults
4+
/dev/block/platform/sdio_emmc/by-name/userdata /data ext4 defaults encryptable=footer
5+
/dev/block/platform/sdio_emmc/by-name/cache /cache ext4 defaults defaults
6+
/dev/block/platform/sdio_emmc/by-name/misc /misc emmc defaults defaults
7+
/dev/block/platform/sdio_emmc/by-name/boot /boot emmc defaults defaults
8+
/dev/block/platform/sdio_emmc/by-name/recovery /recovery emmc defaults defaults
9+
10+
/dev/block/platform/sdio_emmc/by-name/tdmodem /tdmodem emmc defaults defaults
11+
/dev/block/platform/sdio_emmc/by-name/tddsp /tddsp emmc defaults defaults
12+
/dev/block/platform/sdio_emmc/by-name/tdfixnv1 /tdfixnv1 emmc defaults defaults
13+
/dev/block/platform/sdio_emmc/by-name/tdfixnv2 /tdfixnv2 emmc defaults defaults
14+
/dev/block/platform/sdio_emmc/by-name/tdruntimenv1 /tdruntimenv1 emmc defaults defaults
15+
/dev/block/platform/sdio_emmc/by-name/tdruntimenv2 /tdruntimenv2 emmc defaults defaults
16+
17+
/dev/block/platform/sdio_emmc/by-name/l_modem /ltemodem emmc defaults defaults
18+
/dev/block/platform/sdio_emmc/by-name/l_ldsp /ltedsp emmc defaults defaults
19+
/dev/block/platform/sdio_emmc/by-name/l_fixnv1 /ltefixnv1 emmc defaults defaults
20+
/dev/block/platform/sdio_emmc/by-name/l_fixnv2 /ltefixnv2 emmc defaults defaults
21+
/dev/block/platform/sdio_emmc/by-name/l_runtimenv1 /lteruntimenv1 emmc defaults defaults
22+
/dev/block/platform/sdio_emmc/by-name/l_runtimenv2 /lteruntimenv2 emmc defaults defaults
23+
24+
/dev/block/platform/sdio_emmc/by-name/lf_modem /lfmodem emmc defaults defaults
25+
/dev/block/platform/sdio_emmc/by-name/lf_warm /lfwarm emmc defaults defaults
26+
/dev/block/platform/sdio_emmc/by-name/lf_gdsp /lfgdsp emmc defaults defaults
27+
/dev/block/platform/sdio_emmc/by-name/lf_ldsp /lfldsp emmc defaults defaults
28+
/dev/block/platform/sdio_emmc/by-name/lf_fixnv1 /lffixnv1 emmc defaults defaults
29+
/dev/block/platform/sdio_emmc/by-name/lf_fixnv2 /lffixnv2 emmc defaults defaults
30+
/dev/block/platform/sdio_emmc/by-name/lf_runtimenv1 /lfruntimenv1 emmc defaults defaults
31+
/dev/block/platform/sdio_emmc/by-name/lf_runtimenv2 /lfruntimenv2 emmc defaults defaults
32+
33+
/dev/block/platform/sdio_emmc/by-name/tl_modem /tlmodem emmc defaults defaults
34+
/dev/block/platform/sdio_emmc/by-name/tl_tdsp /tltdsp emmc defaults defaults
35+
/dev/block/platform/sdio_emmc/by-name/tl_ldsp /tlldsp emmc defaults defaults
36+
/dev/block/platform/sdio_emmc/by-name/tl_fixnv1 /tlfixnv1 emmc defaults defaults
37+
/dev/block/platform/sdio_emmc/by-name/tl_fixnv2 /tlfixnv2 emmc defaults defaults
38+
/dev/block/platform/sdio_emmc/by-name/tl_runtimenv1 /tlruntimenv1 emmc defaults defaults
39+
/dev/block/platform/sdio_emmc/by-name/tl_runtimenv2 /tlruntimenv2 emmc defaults defaults
40+
41+
/dev/block/platform/sdio_emmc/by-name/wmodem /wmodem emmc defaults defaults
42+
/dev/block/platform/sdio_emmc/by-name/wdsp /wdsp emmc defaults defaults
43+
/dev/block/platform/sdio_emmc/by-name/wfixnv1 /wfixnv1 emmc defaults defaults
44+
/dev/block/platform/sdio_emmc/by-name/wfixnv2 /wfixnv2 emmc defaults defaults
45+
/dev/block/platform/sdio_emmc/by-name/wruntimenv1 /wruntimenv1 emmc defaults defaults
46+
/dev/block/platform/sdio_emmc/by-name/wruntimenv2 /wruntimenv2 emmc defaults defaults
47+
48+
/dev/block/platform/sdio_emmc/by-name/wcnfixnv1 /wcnfixnv1 emmc defaults defaults
49+
/dev/block/platform/sdio_emmc/by-name/wcnfixnv2 /wcnfixnv2 emmc defaults defaults
50+
/dev/block/platform/sdio_emmc/by-name/wcnruntimenv1 /wcnruntimenv1 emmc defaults defaults
51+
/dev/block/platform/sdio_emmc/by-name/wcnruntimenv2 /wcnruntimenv2 emmc defaults defaults
52+
/dev/block/platform/sdio_emmc/by-name/wcnmodem /wcnmodem emmc defaults defaults
53+
54+
/dev/block/platform/sdio_emmc/by-name/prodnv /productinfo ext4 defaults defaults
55+
/dev/block/platform/sdio_emmc/by-name/oem /oem ext4 defaults defaults
56+
/dev/block/platform/sdio_emmc/by-name/logo /logo emmc defaults defaults
57+
/dev/block/platform/sdio_emmc/by-name/fbootlogo /fbootlogo emmc defaults defaults
58+
/dev/block/platform/sdio_emmc/by-name/sysinfo /systeminfo ext4 defaults defaults
59+
/dev/block/mmcblk0boot1 /uboot emmc defaults defaults
60+
/dev/block/mmcblk0boot0 /spl emmc defaults defaults

0 commit comments

Comments
 (0)