Build SkyHawk Recovery Project in CircleCI and Release onto Device Tree itself. Attach the .CircleCI.config.yml file as ".circleci/config.yml" in DT and set some ENV Vars. Trigger the build and voilà, You get the built zip as-well-as recovery.img for safekeeping.
This file contains hidden or 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
| version: 2.1 | |
| jobs: | |
| build: | |
| docker: | |
| # Use this New Image for Starting things up | |
| - image: fr3akyphantom/droid-runner:latest # DO Not Change | |
| environment: | |
| MANIFEST_BRANCH: "android-10.0" | |
| VERSION: "2.9.1" # Change as necessary | |
| VENDOR: "" # Mandatory |
This file contains hidden or 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
| #!/bin/bash | |
| set -eo pipefail | |
| # SANITY CHECKS | |
| if [[ -z $GitHubMail ]]; then echo -e "You haven't configured GitHub E-Mail Address." && exit 1; fi | |
| if [[ -z $GitHubName ]]; then echo -e "You haven't configured GitHub Username." && exit 1; fi | |
| if [[ -z $GITHUB_TOKEN ]]; then echo -e "You haven't configured GitHub Token.\nWithout it, recovery can't be published." && exit 1; fi | |
| if [[ -z $MANIFEST_BRANCH ]]; then echo -e "You haven't configured PitchBlack Recovery Project Manifest Branch." && exit 1; fi | |
| if [[ -z $VENDOR ]]; then echo -e "You haven't configured Vendor name." && exit 1; fi | |
| if [[ -z $CODENAME ]]; then echo -e "You haven't configured Device Codename." && exit 1; fi |
This file contains hidden or 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
| #!/bin/bash | |
| echo $$ > /tmp/keepalive.pid # keep this so that it can be killed from other command | |
| while true; do | |
| printf ".\n" && sleep 300 | |
| done |
This file contains hidden or 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
| #!/bin/bash | |
| # SANITY CHECKS | |
| if [[ -z $GitHubMail ]]; then echo -e "You haven't configured GitHub E-Mail Address." && exit 1; fi | |
| if [[ -z $GitHubName ]]; then echo -e "You haven't configured GitHub Username." && exit 1; fi | |
| if [[ -z $GITHUB_TOKEN ]]; then echo -e "You haven't configured GitHub Token.\nWithout it, recovery can't be published." && exit 1; fi | |
| if [[ -z $MANIFEST_BRANCH ]]; then echo -e "You haven't configured PitchBlack Recovery Project Manifest Branch." && exit 1; fi | |
| if [[ -z $VENDOR ]]; then echo -e "You haven't configured Vendor name." && exit 1; fi | |
| if [[ -z $CODENAME ]]; then echo -e "You haven't configured Device Codename." && exit 1; fi | |
| if [[ -z $BUILD_LUNCH && -z $FLAVOR ]]; then echo -e "Set at least one variable. BUILD_LUNCH or FLAVOR." && exit 1; fi |
This file contains hidden or 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
| # Notes: | |
| # - Minimal appveyor.yml file is an empty file. All sections are optional. | |
| # - Indent each level of configuration with 2 spaces. Do not use tabs! | |
| # - All section names are case-sensitive. | |
| # - Section names should be unique on each level. | |
| #---------------------------------# | |
| # general configuration # | |
| #---------------------------------# |
This file contains hidden or 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
| #!/bin/bash | |
| ### | |
| # | |
| # Semi-AIO Script for Building PitchBlack Recovery in CircleCI | |
| # | |
| # Copyright (C) 2019-2020, Rokib Hasan Sagar <[email protected]> | |
| # PitchBlack Recovery Project <[email protected]> | |
| # | |
| # This program is free software: you can redistribute it and/or modify |
This file contains hidden or 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
| #!/bin/bash | |
| username=rokibhasansagar | |
| url="gerrit.omnirom.org" | |
| port="29418" | |
| branch="android-6.0" | |
| ref="android-6.0.1_r81" | |
| wget -q https://github.com/omnirom/android_vendor_omni/raw/android-6.0/utils/aosp-forked-list |
This file contains hidden or 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
| from telethon import TelegramClient | |
| from telethon.tl.functions.channels import EditBannedRequest | |
| from telethon.tl.types import ChatBannedRights | |
| import asyncio | |
| import datetime | |
| api_id = 1234 # Your API_ID | |
| api_hash = "1a2b3c456" # Your APP_ID | |
This file contains hidden or 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
| #!/bin/bash | |
| # | |
| # Copyright (C) 2016 OmniROM 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 | |
| # |