Update README.md

This commit is contained in:
Lucas Verney 2020-12-10 23:06:53 +01:00
parent bb27dc8dc1
commit 841c2d17d7

View File

@ -1,6 +1,53 @@
Building Android (Lineage 17.1 / `/e/`) for LG G6 (h870) Building Android (Lineage 17.1 or `/e/`) for LG G6 (h870)
======================================================== ========================================================
Lots of RAM (12GB is short!) / good CPU required! Building Android requires lots of RAM (at least 16GB) and a good CPU required.
Here are a set of helper scripts to build ROMs for the LG G6, leveraging the
OVH Public Cloud infrastructure.
Typical build time (from scratch) for a ROM is about 3 hours, which is about
1€ with the current hourly prices (2020).
## Details
This repository is made of three components:
* The main `build_android.sh` bash script which handles the actual build of
the ROM (for the h870 device).
* A small Python module (`ovh_orchestrator`) responsible for spawning and
purging instances in OVH Public Cloud.
* The main entrypoint `run.sh` which spawns an instance, runs the build on it
copy back the built files and clean everything afterwards.
## Installation
```
cp ovh_orchestrator/config.example.py ovh_orchestrator/config.py
$EDITOR ovh_orchestrator/config.py # Edit according to your own credentials / needs
```
## Usage
```
./run.sh
```
## License
Code is published under an MIT license.
```
Copyright 2020 Phyks
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
```
## Thanks
Many thanks to BernardoBas for his initial [unofficial
build](https://forum.xda-developers.com/t/rom-a10-h870-h870ds-h872-us997-lineageos-17-1-for-lg-g6-unofficial.4137809/)
and his help reproducing.