In order for a device to be officially supported by crDroid, 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.
<manufacturer id="Manufacturer">
<DeviceCode>
<maintainer>MaintainerName</maintainer>
<devicename>DeviceName</devicename>
<filename>FileName</filename>
<buildtype>BuildType</buildtype>
<download>DownloadLink</download>
<changelog>ChangelogLink</changelog>
<gapps>GappsLink</gapps>
<forum>ForumLink</forum>
<firmware>FirmwareLink</firmware>
<modem>ModemLink</modem>
<bootloader>BootloaderLink</bootloader>
<recovery>RecoveryLink</recovery>
<paypal>PaypalLink</paypal>
<telegram>TelegramLink</telegram>
</DeviceCode>
</manufacturer>
- Manufacturer - Add under existing manufacturer (create manufacturer if required)
- DeviceCode - Device code name
- MaintainerName - Maintainer name followed by prefered name in parenthesis
- DeviceName - Device name (not code name)
- FileName - Latest crdroid build name (OTA code parses date to check for new version - don't include file extension .zip)
- BuildType - Nightly/Weekly/Final
- DownloadLink - Official download folder url (from AFH) masked by bit.ly shortlinks
- ChangelogLink - Changelog url (GitHub)
- GappsLink - Google apps url (preferred: opengapps url)
- ForumLink - Forum url for discussions and support (preferred: xda url)
All mandatory XML tags need to be there. Please leave blank in case some do not apply to you.
- FirmwareLink - link for needed firmware
- ModemLink - link for needed modem
- BootloaderLink - link for needed bootloader
- RecoveryLink - link for recommended recovery
- PaypalLink - paypal url (for donations)
- TelegramLink - telegram url (if you offer support via telegram - can be a group link or telegram.me link)
- Check if manufacturer is already existing
- Check if published link is official
- Check if XML is intact
- Check if no extra / missing spaces
After you contacted Gabriel on Telegram, and have the approval, follow the below steps.
- Fork this repo to your own GitHub
- Make proper changes accoring to the XML structure
- 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/crdroidandroid/android_vendor_crDroidOTA -b 9.0
Change to the directory where you cloned this repo (android_vendor_crDroidOTA) and fetch updates from repo.
cd android_vendor_crDroidOTA
git fetch --all
git pull
- Open file named update.xml and make changes based on the XML structure. You can also add your changelog_<device_codename>.txt file if you have 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
Due to the fact the XML does not accept "&" in tags, there is a need to shortlink your download links