tree: 1ccdc3bf6928d82e32df55d1a32519789ff65686 [path history] [tgz]
  1. public/
  2. src/
  3. .eslintignore
  4. .eslintrc.json
  5. .gitignore
  6. .prettierrc.js
  7. babel.config.js
  8. ota_interface.py
  9. package-lock.json
  10. package.json
  11. README.md
  12. target_lib.py
  13. web_server.py
tools/otagui/README.md

OTAGUI

Introduction

OTAGUI is a web interface for ota_from_target_files. Currently, it can only run locally.

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

Usage

First, download the AOSP codebase and set up the environment variable in the root directory:

source build/envsetup.sh
lunch 17

In this case we use lunch 17 as an example (aosp-x86_64-cf), you can choose whatever suitable for you.

Then, in this directory, please 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