Add bash OTA

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
Hưng Phan
2021-02-18 20:57:37 +07:00
parent c1c70d4a88
commit af0fe6dbcd
2 changed files with 49 additions and 0 deletions

14
README.md Normal file
View File

@@ -0,0 +1,14 @@
Read This Before Proceeding :-
Clone the OTA repo in your ROM directory.
To generate json and push OTA,
```bash
bash OTA/support/ota.sh <device_codename> <rom_folder> <maintainer_name> <maintainer_url> <forum_url>
e.g.
bash OTA/support/ota.sh wayne pex "Christian de la Cruz" https://t.me/chdelacr https://forum.xda-developers.com/
```
NOTES:
- ROM directory will look for *home/<os_username>/<rom_folder>*.
- Use double quotes for parameters with more than a single word, like maintainer name in the example above.
- All parameters are mandatory.