Copyright (c) 2017 The LineageOS Project
Copyright (c) 2018-2021 AOSiP
- Add your device to devices.json, sorted alphanumerically by codename. Fields are documented below.
- Submit your changes as a pull request.
devices.json is an array of objects, each with several fields:
codename
: The codename of the device - exampleberyllium
device
: The full name - examplePocophone F1
maintainer
: Your namexda
: URL to XDA thread of your device
- Setup a virtualenv -
python3 -m venv ./venv
- Activate it -
source venv/bin/activate
- Install requirements with
pip install -r requirements.txt
- Configure your environment appropriately - see the beginning of
app.py
for some variables you may need to modify - Run with
./app.py
Obtaining rom list for a device:
GET /<device>/<romtype>
<device>
- Codename of device. Example: beryllium
<romtype>
- Buildtype of rom. Example: official