Skip to content

Instantly share code, notes, and snippets.

@lindwurm
Last active August 14, 2020 13:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lindwurm/2827d004bcbd712479c02711b1013c5e to your computer and use it in GitHub Desktop.
Save lindwurm/2827d004bcbd712479c02711b1013c5e to your computer and use it in GitHub Desktop.

How to test FlokoROM OTA

  1. Fork https://github.com/FlokoROM/OTA and https://github.com/FlokoROM/packages_apps_Updater
  2. Modify updater_server_url to your Updater repo, in packages_apps_Updater/res/values/strings.xml
  3. 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>
  1. Build
  2. Run OTA/release.sh to generate JSON
  3. Modify OTA/devices/{codename}.json
    • change download url to downloadable link
  4. git push in OTA repo
  5. launch Updater from FlokoSettings, check it
    • note: download will be enabled in NEXT build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment