In order for a device to be officially supported by PixelDust, 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.
{
"filename":"PixelDust-Tartufo-caf-<device codename>-<build target>-<build date>.zip",
"filehash":"abcdefg123456",
"size":123456789,
"datetime":0000000000,
"url":"https://download.pixeldust-project.com/PixelDust-Tartufo-caf-<device codename>-<build target>-<build date>.zip",
"version":"<aosp version>",
"maintainer":"Name (nickname)",
"maintainer_url":"https://forum.xda-developers.com/m/0000000",
"donate_url":"https://donation link",
"forum_url":"https://forum link",
"website_url":"https://pixeldust-project.com",
"news_url":"https://t.me/pixeldustproject"
}
Highlights & Device Specific Changes:
Build type: Testing/Alpha/Beta/Weekly/Monthly
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 Matthias on Telegram, and have the approval, follow the below steps.
- Fork this repo to your own GitHub.
- A file named codename.json is created in OUT dir after you built.
- Copy it to where this repo was cloned.
- Open the file and modify needed entries (see 1.1).
- Create a file named changelog_codename.txt based on changelog structure from point 1.2, 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/pixeldust-project-caf/android_vendor_PixeldustOTA -b tartufo
- Change to the directory where you cloned this repo (android_vendor_crDroidOTA) and fetch updates from repo.
cd android_vendor_PixeldustOTA
git fetch --all
git pull
- Copy codename.json file from OUT dir over to this repo).
- Make changes to changelog_codename.txt.
- 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