/ota_provider

Backend for OTAs, Please use https://ivanmeler.github.io to grab latest release

Primary LanguageShell

Please use https://ivanmeler.github.io to grab latest release, this is just a backend

Simple automated LineageOS OTA provider Uses github releases for hosting and requires no extra server

to craft response and auto upload you will need

  • jq
  • gh
  • unzip
  • git

To upload rom and generate json simply run source release.sh ../path/to/lineageos.zip

if you want to host this on your own git you can change URL= value inside of release.sh

On device side changes either add overlay for updater_server_urlor add prop lineage.updater.uri that points to json e.g. lineage.updater.uri=https://raw.githubusercontent.com/ivanmeler/ota_provider/master/19.0/{device}.json

do note you can either hardcode {device} or leave it to updater to handle that tho in that case user might break otas by changing props