A simple OTA REST Server for CyanogenMod OTA Updater System Application
cd /var/www/ && composer create-project julianxhokaxhiu/cyanogenmod-ota CyanogenModOTA
- Follow the rest of the tutorial on my personal blog post where I explain how to override the build server on your ROM.
- Optional. If just want to test if the REST Server is working, if you go to http://localhost/CyanogenModOTA you'll be redirected to the builds directory listing.
- Full builds should be uploaded to
builds/full
directory. - Delta builds will be automatically built on the
builds/delta
directory.
Yes, you can! I've implemented a simple script made for NodeJS that you clone and use it.
- First implementation of Memcached. Still have to try if it works.
- Fix some breaking changes that will not enable the REST server to work correctly.
- Excluded hiddens files and autogenerated ones by the OS (for example
.something
orThumbs.db
).
- Refactored the whole code.
- Now everything is PSR4 compliant.
- Introduced composer.json to make easier the installation of the project.
- Delta updates may or may not work. It's using Deltax3 to create them but it's just experimental. Use it at your own risk.
See LICENSE.
Enjoy :)