Git Product home page Git Product logo

buildbot's Introduction

Buildbot.sh

Android Building Script - Script that can build for multiple devices

Please read the whole README before forking this repo

DISCLAIMER

  • This script is only for Debian, Arch and Fedora Linux based operating systems.
  • DO NOT use this script if you never built Android before.
  • I am not responsible for anything that may happen to your PC/phone by building/flashing any custom ROMs using this script. (Bricked devices, dead SD cards, dead hard drives, CPU overheating, GPU burning, thermonuclear war, Seal mad or you getting fired because the alarm app failed…)
  • YOU are choosing to do these modifications, and you do it at your own risk. if you point the finger at me or anyone else for messing up your device, you haven't done what we told you to do.

NOTICE

This is the Android 14 branch, with support for release variant selection. To build A13 ROMs and prior, use the other branch

Prerequisites

  1. Fork this repository. (Recommended & Optional)

  2. Create a Telegram Bot. (Recommended & Optional)

  3. Make a GitHub token with proper permissions for uploading releases to your repositories. (If you choosing to upload to GitHub)

  4. Log in 1 time to normal sftp (sftp [email protected]) before running this script if you chose to upload to Sourceforge. (if you'll not log in once, it'll not upload it because you need to set "save fingerprint")

  5. Create local_manifests repo in Github and upload your manifest. (Required for MANIFEST_URL)

How To Use This Script

  1. Clone your fork of this repository.

  2. Run setup.sh even if you already built Android on your PC before.

  3. Make your changes in config.sh.

  4. Run config.sh to start the script.

How to create local_manifests

See https://github.com/Orel6505/local_manifests for guidance.

Configuration flags

ROM_NAME - Name of your ROM ( For example LineageOS)

ANDROID_VERSION - Android version of your ROM ( For example 11)

REPO_URL - URL link to the ROM manifest ( For example https://github.com/LineageOS/android)

REPO_BRANCH - Name of your ROM ( For example lineage-18.1)

MANIFEST_URL - URL link to your manifest ( For example https://github.com/Orel6505/local_manifests)

MANIFEST_BRANCH - Manifest branch

DEVICE_CODENAME - Device codename(s) (For example: "beyond1lte" for Samsung Galaxy S10, you can send more than 1 device (don't forget to include them in your manifest). for example: "beyond0lte beyond1lte beyond2lte")

LUNCH_NAME - ROM's custom lunch name (For example: lineage for lineage_beyond1lte-userdebug)

AUTO_BRINGUP - This feature will bring up your device tree from lineage_beyond1lte to aosp_beyond1lte automatically (Y to enable, N to disable)

BACON_NAME - ROM's custom bacon name (For example: most of the roms using bacon)

UPLOAD_TYPE -GD for Gdrive, SF for SourceForge, FTP for FTP, GH for Github and OFF to disable upload

UPLOAD_RECOVERY - Do you want to upload your recovery.img?

BUILD_TYPE - Describe for what purpose this build is (For example: Test)

SF_USER - Your SourceForge username (for example Orel6505)

SF_PASS - Your SourceForge password (not ssh)

SF_PROJECT - SourceForge project name you want to upload to (For example: orel6505-builds)

SF_PATH - (Optional, the default upload path orel6505-builds/(codename), leave blank if you want to upload to the default path) different upload path for sourceforge (For example: test for uploading to test folder)

GD_PATH - Gdrive upload path id (for example: 1-04oC14tCH6vPsaMd5_bRnfLWI9Te6hA, you can found it after the url https://drive.google.com/drive/folders/1-04oC14tCH6vPsaMd5_bRnfLWI9Te6hA. DO NOT set in to: for example "Test" it WONT WORK.)

GH_USERNAME - Your GitHub username (for example Orel6505)

GH_REPO - Your Github releases repo (you can use any repo for releases)

TG_TOKEN - Your Telegram bot token (for Example 123456:AbcDefGhi-JklMnoPrw)

TG_CHAT - Your Telegram group id (add @missrose_bot to your group and send /id to see your group id)

buildbot's People

Contributors

orel6505 avatar 306bobby-android avatar linux4 avatar keneankit01 avatar junedkh avatar phhusson avatar sirrgb avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.