Code Monkey home page Code Monkey logo

rom-builder1's Introduction

AOSP Builder

Build aosp project in docker with Ubuntu 20.04 via ci environments (by Apon77), edited

Thanks Cirrus CI for their awesome service!

I tried to explian every steps by comments! Try to read those throughly!

[ You can use your own creativity for this whole process, what i did is used the normal process, collected the cache, redownloaded and reused it, and for overcoming time limit first build was done with a timeout from our side to get ccache uploaded. You can do these processes manually too! But I like ci! Let's a ci be ci, hehe. ]

Steps:

  1. Fork this repo

  2. Go to https://github.com/marketplace/cirrus-ci

  3. Pricing and setup > Public Repositories > Install it for free

  4. In next page click Complete order and begin installation

  5. In next page select All repositories or only selected repository (select aosp-builder) > Install

  6. In next page give password and Confirm password

  7. Setup is done for cirrus ci in your account! You can close the tab now!

  8. Now use "ccache" branch to generate ccache: edit only "sync" and "build", place your rom sync and device sauce and edit build instructions respectively

  9. Build should start on cirrus, after 2 hrs, ccache will complete(build will be incomplete, only ccache generated) now mirror that ccahce in any gdrive mirror group with the extension .tar.gz example: ccache1.tar.gz

  10. Now use "build" branch and edit "build" and "sync" again (with your device sauce and rom manifest), this time also edit "ccache_upload" branch and place your download link and edit the extract name respectively(depending on what name you've given while mirroring) Build should be done, if time remains, even new ccache can be uploaded(not needed tho)

  11. optional: If your build fails due to kernel issues, then use prebuilt kernel

  12. see "example" branch to see how stuff is done, if you know what youre doing, you can edit other vaules too

rom-builder1's People

Contributors

sarthakroy2002 avatar

Watchers

 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.