A very simple OTA checker with Android Settings look and feel. Inspired from RR OTA method, fork of ResurrectionOTA
It parses the OTA xml file that you put in your file hosting and compares the version number with the local one. If the version is newer, it notifies the user for a new ROM update.
- Prepare the OTA xml file. Use this template.
- Upload it to your file hosting and create a hot link of it
- Copy the ota_conf template to the root of where your bootleg source are synced, as a text file called "ota_conf" (without the quotes)
- Template is also in https://raw.githubusercontent.com/BootleggersROM/packages_apps_BootlegOTA/oreo.1/ota_conf
- Replace the "ota_url" with your OTA xml hot link
- Check the xml template, and make your own, on your github, and place the resultant link to the raw file in the ota_conf
- If using the given samples, ota_conf is all setup! Else you will have to setup the version checking, etc.
Define how BootlegOTA should know about the "version". The version must be parseable to a date. Usually, the version is a part of a build name. For example, the 20150426 in the BootleggersROM-Oreo4surnia.2.0-BETA.Unshishufied-20180210-2320. Adjust the OTA configuration according to your build name on how should BootlegOTA parse the version Find a key in build.prop that represents the BootleggersROM-Oreo4surnia.2.0-BETA.Unshishufied-20180210-2320.zip and set it in the "version_name" Set the delimiter in "version_delimiter" to "-" Set the date format in "version_format" to "yyyyMMdd" Set the position in "version_position" to "3" (zero based) Find a key in build.prop that represents your device name and set it in the "device_name" BootlegOTA will search this device name in the OTA xml file
- SlimRoms team
- For the original idea of the SlimCenter and app icon
- CommonsWare Android Components
- For the wakeful intent service that is used in this app
- ResurrectionRemix team
- For keeping the source always up to date :)