Skip to content

lukmanshaikh/packages_apps_BootlegOTA

 
 

Repository files navigation

BootlegOTA

A very simple OTA checker with Android Settings look and feel. Inspired from RR OTA method, fork of ResurrectionOTA

How it works

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.

How to use

  • 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.

Most guys can skip the below part

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

Credits

About

OTA app based on RR OTA app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 98.6%
  • Makefile 1.4%