Git Product home page Git Product logo

ota-generator's Introduction

ota-generator

Introduction

ota-generator is a web interface for ota_from_target_files. Currently, it can only run locally.

ota_from_target_files is Android's standard tool for building OTA packages. It's source is available in aosp. Binaries of ota_from_target_files is available in ci.android.com. For documentation about ota_from_target_files , click on the aosp link.

OTAGUI use VUE.js as a frontend and python as a backend interface to ota_from_target_files.

Usage

Download otatools.zip

  1. Goto https://ci.android.com/builds/branches/aosp-master/grid
  2. Click on any of the green squares in aosp_cf_x86_64_phone column
  3. Goto artifacts tab and download otatools.zip, put it in the same folder with this README.md

Use npm build to install the dependencies.

Create a target directory to store the target files and a output directory to store the output files:

mkdir target
mkdir output

Finally, run the python http-server and vue.js server:

python3 web_server.py &
npm run serve

Run with Docker

  1. Build the image docker build -t $USER/ota-generator .

  2. Run: docker run -it -p 8000:8000 -v target:/app/target -v output:/app/output $USER/ota-generator

ota-generator's People

Contributors

ayandebnath avatar pulkit077 avatar zhangxp1998 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  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.