Giter VIP home page Giter VIP logo

ota's Introduction

AlphaDroid OTA repo

In order for a device to be officially supported by AlphaDroid, OTA information needs to be added. Please refer to the following "Readme" to get started

1. Introduction

In order for a device to be OTA compliant, there are a few things to know.

1.1 JSON structure

{
  "response": [
    {
        "maintainer": "Name (nickname)",
        "oem": "OEM",
        "device": "Device Name",
        "filename": "AlphaDroidAndroid-13.0-<date>-<device codename>-v<alphaversion>.zip",
        "download": "https://sourceforge.net/projects/alphadroid-project/files/<device codename>/AlphaDroid-13.0-<date>-<device codename>-v<alphaversion>.zip/download",
        "timestamp": 0000000000,
        "md5": "abcdefg123456",
        "sha256": "abcdefg123456",
        "size": 123456789,
        "version": "<alphaversion>",
        "buildtype": "Testing/Alpha/Beta/Weekly/Monthly",
        "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",
        "dt": "https://github.com/alphadroid-project/device_<oem>_<device_codename>"
        "common-dt": "https://github.com/alphadroid-project/device_<orm>_<SOC>-common"
        "kernel": "https://github.com/alphadroid-project/kernel_<oem>_device_codename"
    }
  ]
}

1.2 changelog.txt structure

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

2 Guidelines

3. How to

For following below description, replace codename with your device codename.

3.1 Initial support

  1. Fork this repo to your own GitHub.
  2. A file named codename.json is created in OUT dir after you built.
  3. Copy it to where this repo was cloned.
  4. Open the file and modify needed entries (see 1.1 for mandatory entries).
  5. Create a file named changelog_codename.txt based on changelog structure from point 1.2, and add your changelog in it.
  6. 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)

3.2 Update build

  1. Clone this repo locally
git clone https://github.com/alphadroid-devices/OTA -b alpha-13
  1. Change to the directory where you cloned this repo and fetch updates from repo.
cd OTA
git fetch --all
git pull
  1. Copy codename.json file from OUT dir over to this repo).
  2. Make changes to changelog_codename.txt.
  3. 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

ota's People

Contributors

elpaablo avatar thestrechh avatar inside70 avatar alphadroid-exynos9820 avatar cristianlp2 avatar arsalan-zeus avatar jyrrc avatar kamikaonashi avatar helliscloser avatar drpto avatar ozankayaa avatar osm1019 avatar twinchin12 avatar onettboots avatar legendleo90 avatar maxx12211 avatar naokoshoto avatar pyrtle93 avatar mrtopia avatar rev3nt3ch avatar hefatss avatar dragonemperor9480 avatar wh0dat avatar chuspita avatar jaymistry258 avatar vansh-prjkts avatar unmoved21 avatar amritorock avatar boedhack99 avatar josexda avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.