You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hmz007 36ed224bac
Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
1 year ago
..
public Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
src Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
test Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
.dockerignore Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
.env.development Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
.env.production Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
.eslintignore Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
.eslintrc.json Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
.gitignore Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
.prettierrc.js Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
Dockerfile Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
README.md Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
babel.config.js Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
build_zip.bash Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
jest.config.js Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
ota_interface.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
package-lock.json Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
package.json Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
target_lib.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
test_ota_interface.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
test_suite.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
test_target_lib.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
vue.config.js Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
web_server.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago

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

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