- Fork https://github.com/FlokoROM/OTA and https://github.com/FlokoROM/packages_apps_Updater
- Modify
updater_server_url
to your Updater repo, inpackages_apps_Updater/res/values/strings.xml
- https://github.com/FlokoROM/packages_apps_Updater/blob/10.0/res/values/strings.xml#L33
- DO NOT modify filename from
{device}.json
(it will be automatically replaced in system), just change link to your repo.
- add this in your local_manifests to enable Updater
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project path="packages/apps/Updater" name="{YOUR_GITHUB_USER_NAME}/packages_apps_Updater" remote="github" revision="10.0" />
</manifest>
- Build
- Run
OTA/release.sh
to generate JSON- if you are testing, please comment out Line 25 to avoid unnecessary upload https://github.com/FlokoROM/OTA/blob/10.0/release.sh#L25
- Modify
OTA/devices/{codename}.json
- change
download
url to downloadable link
- change
git push
inOTA
repo- launch Updater from FlokoSettings, check it
- note: download will be enabled in NEXT build