-
Notifications
You must be signed in to change notification settings - Fork 1
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
0 parents
commit a84d575
Showing
9 changed files
with
221 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,34 @@ | ||
sudo: required | ||
services: | ||
- docker | ||
before_install: | ||
- docker pull yshalsager/cyanogenmod:latest | ||
before_script: | ||
- cd $HOME && mkdir twrp | ||
- wget -q https://github.com/TwrpBuilder/twrp-sources/releases/download/omni_twrp-5.1.1-20180211/omni_twrp-5.1.1-20180211-norepo.tar.xz | ||
-O $HOME/twrp.tar.xz | ||
- tar -xJf twrp.tar.xz --directory $HOME/twrp/ && rm twrp.tar.xz | ||
script: | ||
- cd $HOME/twrp/ && git clone https://github.com/TwrpBuilder/android_device_Symphony_rs631.git device/Symphony/rs631 | ||
- git clone https://github.com/TwrpBuilder/device_generic_twrpbuilder.git device/generic/twrpbuilder | ||
- rm -rf bootable/recovery && git clone https://github.com/omnirom/android_bootable_recovery.git bootable/recovery | ||
- | | ||
docker run --rm -i -e USER_ID=$(id -u) -e GROUP_ID=$(id -g) -v "$(pwd):/home/cmbuild/twrp/:rw,z" yshalsager/cyanogenmod bash << EOF | ||
cd /home/cmbuild/twrp/ | ||
source build/envsetup.sh && lunch omni_rs631-eng && make -j16 recoveryimage | ||
exit | ||
EOF | ||
after_success: | ||
- export version=$(cat bootable/recovery/variables.h | grep "define TW_MAIN_VERSION_STR" | cut -d '"' -f2) | ||
- cp $HOME/twrp/out/target/product/rs631/recovery.img $HOME/twrp/TWRP-$version-rs631-$(date +"%Y%m%d").img | ||
|
||
deploy: | ||
skip_cleanup: true | ||
provider: releases | ||
api_key: "$GIT_OAUTH_TOKEN_TB" | ||
file_glob: true | ||
file: $HOME/twrp/*.img | ||
on: | ||
tags: false | ||
repo: TwrpBuilder/android_device_Symphony_rs631 | ||
branch: master |
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 rs631,$(TARGET_DEVICE)),) | ||
|
||
LOCAL_PATH := device/Symphony/rs631 | ||
|
||
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/Symphony/rs631 | ||
|
||
PRODUCT_MAKEFILES := $(LOCAL_PATH)/omni_rs631.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,37 @@ | ||
# | ||
# 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/Symphony/rs631 | ||
|
||
TARGET_BOARD_PLATFORM := mt6580 | ||
TARGET_BOOTLOADER_BOARD_NAME := rs631 | ||
|
||
# Recovery | ||
TARGET_USERIMAGES_USE_EXT4 := true | ||
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 20493952 | ||
BOARD_FLASH_BLOCK_SIZE := 0 | ||
BOARD_HAS_NO_REAL_SDCARD := true | ||
BOARD_HAS_NO_SELECT_BUTTON := 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_EXCLUDE_SUPERSU := true | ||
TW_INPUT_BLACKLIST := "hbtp_vm" | ||
include $(LOCAL_PATH)/kernel.mk | ||
include device/generic/twrpbuilder/BoardConfig32.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 := device/Symphony/rs631/kernel | ||
BOARD_KERNEL_CMDLINE := bootopt=64S3,32S1,32S1 androidboot.selinux=permissive | ||
BOARD_KERNEL_BASE := 0x80000000 | ||
BOARD_KERNEL_PAGESIZE := 2048 | ||
BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x04000000 --tags_offset 0x0e000000 |
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,25 @@ | ||
# | ||
# 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_COPY_FILES += device/Symphony/rs631/kernel:kernel | ||
|
||
PRODUCT_DEVICE := rs631 | ||
PRODUCT_NAME := omni_rs631 | ||
PRODUCT_BRAND := Symphony | ||
PRODUCT_MODEL := V47 | ||
PRODUCT_MANUFACTURER := Symphony |
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,26 @@ | ||
# | ||
# 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/platform/mtk-msdc.0/by-name/boot | ||
/logo emmc /dev/block/platform/mtk-msdc.0/by-name/logo flags=display="Logo";backup=1 | ||
/system auto /dev/block/platform/mtk-msdc.0/by-name/system | ||
/cache ext4 /dev/block/platform/mtk-msdc.0/by-name/cache | ||
/data ext4 /dev/block/platform/mtk-msdc.0/by-name/userdata | ||
/nvdata ext4 /dev/block/platform/mtk-msdc.0/by-name/nvdata flags=display="Nvdata";backup=1 | ||
/nvram emmc /dev/block/platform/mtk-msdc.0/by-name/nvram flags=display="Nvram";backup=1 | ||
/recovery emmc /dev/block/platform/mtk-msdc.0/by-name/recovery flags=display="Recovery";backup=1; | ||
/external_sd vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1 flags=display="Micro-SD";storage;wipeingui;removable | ||
/usb_otg auto /dev/block/sda1 /dev/block/sda flags=display="USB-OTG";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,35 @@ | ||
/dev/block/platform/mtk-msdc.0/11120000.msdc0/by-name/system /system ext4 ro wait | ||
|
||
|
||
|
||
/dev/block/platform/mtk-msdc.0/11120000.msdc0/by-name/userdata /data ext4 noatime,nosuid,nodev,noauto_da_alloc,discard wait,check,resize,encryptable=/dev/block/platform/mtk-msdc.0/11120000.msdc0/by-name/metadata, | ||
|
||
/dev/block/platform/mtk-msdc.0/11120000.msdc0/by-name/cache /cache ext4 noatime,nosuid,nodev,noauto_da_alloc,discard wait,check | ||
/dev/block/platform/mtk-msdc.0/11120000.msdc0/by-name/protect1 /protect_f ext4 noatime,nosuid,nodev,noauto_da_alloc,commit=1,nodelalloc wait,check,formattable | ||
/dev/block/platform/mtk-msdc.0/11120000.msdc0/by-name/protect2 /protect_s ext4 noatime,nosuid,nodev,noauto_da_alloc,commit=1,nodelalloc wait,check,formattable | ||
/dev/block/platform/mtk-msdc.0/11120000.msdc0/by-name/nvdata /nvdata ext4 noatime,nosuid,nodev,noauto_da_alloc,discard wait,check,formattable | ||
|
||
|
||
|
||
|
||
|
||
|
||
/devices/mtk-msdc.0/11120000.msdc0* auto vfat defaults voldmanaged=sdcard0:auto | ||
/devices/mtk-msdc.0/11130000.msdc1* auto auto defaults voldmanaged=sdcard1:auto,encryptable=userdata | ||
|
||
/dev/block/platform/mtk-msdc.0/11120000.msdc0/by-name/frp /persistent emmc defaults defaults | ||
|
||
/dev/block/platform/mtk-msdc.0/11120000.msdc0/by-name/nvram /nvram emmc defaults defaults | ||
/dev/block/platform/mtk-msdc.0/11120000.msdc0/by-name/proinfo /proinfo emmc defaults defaults | ||
/dev/block/platform/mtk-msdc.0/11120000.msdc0/by-name/lk /bootloader emmc defaults defaults | ||
/dev/block/platform/mtk-msdc.0/11120000.msdc0/by-name/para /misc emmc defaults defaults | ||
/dev/block/platform/mtk-msdc.0/11120000.msdc0/by-name/boot /boot emmc defaults defaults | ||
/dev/block/platform/mtk-msdc.0/11120000.msdc0/by-name/recovery /recovery emmc defaults defaults | ||
/dev/block/platform/mtk-msdc.0/11120000.msdc0/by-name/logo /logo emmc defaults defaults | ||
/dev/block/platform/mtk-msdc.0/11120000.msdc0/by-name/expdb /expdb emmc defaults defaults | ||
/dev/block/platform/mtk-msdc.0/11120000.msdc0/by-name/secro /secro emmc defaults defaults | ||
/dev/block/platform/mtk-msdc.0/11120000.msdc0/by-name/seccfg /seccfg emmc defaults defaults | ||
|
||
/dev/block/platform/mtk-msdc.0/11120000.msdc0/by-name/tee1 /tee1 emmc defaults defaults | ||
/dev/block/platform/mtk-msdc.0/11120000.msdc0/by-name/tee2 /tee2 emmc defaults defaults | ||
/devices/platform/mt_usb* auto vfat defaults voldmanaged=usbotg:auto |