In order for a device to be officially supported by SpiceOS, OTA information needs to be added. Please refer to the following "Readme" to get started
In order for a device to be OTA compliant, there are a few things to know.
{
"response": [
{
"maintainer": "Name (nickname)",
"oem": "OEM",
"device": "Device Name",
"filename": "SpiceOS-v<version>-<buildtype>-<date>-<device codename>-<tag>.zip",
"download": "https://sourceforge.net/projects/spiceos/files/11/<device codename>/SpiceOS-v<version>-<buildtype>-<date>-<device codename>-<tag>.zip/download",
"timestamp": 0000000000,
"md5": "abcdefg123456",
"size": 123456789,
"version": "<version>",
"buildtype": "Testing/Alpha/Beta/Stable",
"forum": "https://forum link",
"gapps": "https://gapps link",
"firmware": "https://firmware link",
"modem": "https://modem link",
"bootloader": "https://bootloader link",
"recovery": "https://recovery link",
"paypal": "https://donation link",
"telegram": "https://telegram link"
}
]
}
Highlights & Device Specific Changes:
Build type: Testing/Alpha/Beta/Stable
Device: Device name (<device codename>)
Device maintainer: Name (nickname)
Required firmware: add if any else remove this line
===== <date> =====
- change 1
- change 2
- change 3
- Check if manufacturer is already existing
- Check if published link is official
- Check if JSON is intact with help of online validator tools like https://jsonformatter.curiousconcept.com or https://jsonformatter.org
- Check if no extra / missing spaces
For following below description, replace codename with your device codename.
After you contacted althafvly on Telegram or Anush Madathumkara on Telegram, and have the approval, follow the below steps.
- Fork this repo to your own GitHub
- Create a copy jasmine_sprout.json for your codename.json and fill needed stuff
- Create a file named changelog_codename.txt and add your changelog in it.
- Submit a pull request to this repo (this way we validate that you understood the requirements and if all is good you'll be granted direct push access to this repo)
- Clone this repo locally
git clone https://github.com/SpiceOS/android_packages_apps_Updater_Db.git -b 11
- Change to the directory where you cloned this repo (android_packages_apps_Updater_Db) and fetch updates from repo.
cd android_packages_apps_Updater_Db
git fetch --all
git pull
- Copy codename.json file from out dir (where your SpiceOS zip is compiled) over to this repo folder (android_packages_apps_Updater_Db).
- Make changes to changelog_codename.txt and save it.
- Now with the files updated, commit your update to this repo.
git add .
git commit #(this opens up your prefered text editor, so write a nice description like "<device codename>: update build")
git push #you may be prompted for your github username and password