- Supported builds:
- AICP by k2wl for i9192
- CM12.1 by F4K for i9190, i9192, i9195
- CM12 by F4K for i9190, i9195
- CM12 by k2wl for i9192
- RESURRECTION by lsdty for i9190, i9192, i9195
- SOKP by lsdty for i9190, i9192, i9195
- FlexOS by lsdty for i9190, i9192, i9195
- Team-UB by tioguda for i9190, i9192
- Blisspop by tioguda for i9190, i9192, i9195
If you enjoy nightly builds but find all the steps necessary to flash a burden like me, you would be glad that I have achieved OTA updates for UNOFFICIAL builds. I have put together an OTA script that checks every hour for latest build and passes that download link as JSON response to CM Updater OTA app in settings. Example response:
Code:
{"id":null,"result":[{"incremental":null,"api_level":"23","url":"https:\\...\cm-12.1-20150603-UNOFFICIAL serranodsxx.zip","timestamp":"1433289600","mdsum":"23dcbc0c2ba6474f64566adde9d1f6d5","changes":null,"channel":"nightly","filename":"cm-12.1-20150603-UNOFFICIAL-serranodsxx.zip"}],"error":null}
- Supports basketbuild and androidfilehost hosted builds.
- Is a free host, with 87% uptime.
- Does not host builds
- Does not build deltas
- Builds flashable zip for every ota supported
- You must have TWRP recovery for ota's to work. If you don't have it, you can get it from HERE.
If you don't want TWRP on your device, you can manual flash updates from sdcard0/cmupdater with CWM or Philz.
- Flash OTA zip for your device and build from http://ota.heliohost.org/zips/, you don't need to flash the zip again after an ota update as it is included in addon.d so it is restored after flash.
*files with _launcher add Updater to appdrawer (useful for non CM builds that don't have Updates in settings>About)
*files with _settings are CM stock
- Server changelog:
- new script. Once every 2 hours, generates response and zip for 10 builds in less than 30 seconds.
- removed ota limit.
- changed host.
set androidfilehost.com link limit to 5. [1/5 used]- added androidfilehost.com support.
changed build limit from 2 to 30. [7/30 used]- more optimization.
- initial release.
If you want to host your own server [only one build supported], you can find the lite script for basketbuild and androidfilehost in attachments. Just add at first line $raw_url="your build's folder url" . I've added all functions in one file to be easy to set up. Just upload index.php to a folder in your host and set the link to that folder with the options bellow.
There are two ways to route OTA app to your server.
- Open CMupdater.apk with hexeditor, search for https://download.cyanogenmod.org/api and replace it with the link to your server(Use Paste-Replace not Paste-Insert), then add that apk to OTA_template.zip from attachments in system/priv-app/CMUpdater.
- Add cm.updater.uri= 'your server link' on your own build.prop file.
Thank you:
- CyanogenMod for their work on OTA app.
- k2wl for integrating my server link in your source.
- All devs for keeping our devices updated.
- julianxhokaxhiu for the insight on how the CMUpdater works.
- Internet for php knowledge.
If you like my work, please consider donating.
Cheers !
Attachments
-
1.5 KB Views: 237
-
141.9 KB Views: 187
Last edited: