iusmac / rova_builder

How to build Android 11+ based ROM for Xiaomi Redmi 4A/5A (rolex/riva)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to build Android 11+ based ROM for Xiaomi Redmi 4A/5A (rolex/riva)

Set up the builder

This script is a simple wrapper around ContainerizedAndroidBuilder.

  1. Clone this repo

    git clone --recursive https://github.com/iusmac/rova_builder.git -b 14-stable

    (!) Pay attention to the --recursive option. It's required so that submodules are included as well.

  2. Enter into it

    cd rova_builder
  3. Make the builder.sh executable

    chmod +x builder.sh
  4. Install Docker on your system

    curl -fsSL https://get.docker.com | sudo sh -
  5. (Optional) Open the builder.sh file and make appropriate changes for --repo-url, --ccache-size, etc.

    Discover more about customizations and how to speed the build on ContainerizedAndroidBuilder.

Prepare sources

  1. Run the builder
    ./builder.sh
  2. To init repo navigate to Sources > Init (this should be done once)
  3. To download source code navigate to Sources > Sync All

Build

  1. Run the builder:
    ./builder.sh
  2. To start build navigate to Build > Build ROM

Keep it up to date

Don't forget to get latest builder updates using Self-update option in the main menu or:

git pull --recurse-submodules

About

How to build Android 11+ based ROM for Xiaomi Redmi 4A/5A (rolex/riva)


Languages

Language:Shell 100.0%