unplugged-system/development/tools/otagui
2025-10-06 13:59:42 +00:00
..
public Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
src Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
test Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
.dockerignore Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
.env.development Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
.env.production Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
.eslintignore Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
.eslintrc.json Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
.prettierrc.js Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
babel.config.js Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
build_zip.bash Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
Dockerfile Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
jest.config.js Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
ota_interface.py Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
package-lock.json Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
package.json Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
README.md Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
target_lib.py Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
test_ota_interface.py Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
test_suite.py Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
test_target_lib.py Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
vue.config.js Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
web_server.py Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00

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

Run with Docker

  1. Build the image docker build -t zhangxp1998/test .

  2. Run: docker run -it -p 8000:8000 -v target:/app/target -v output:/app/output zhangxp1998/test:latest