Comments
durrandi t1_j05rqs8 wrote
Interesting! How does it fair for R&D? I have a few old devices I'd like to try porting to lineageOS. But they don't have any official support.
antonyjr0 OP t1_j05se50 wrote
Really good, you can use the tool with -k arg to keep the server even if the build fails, the stdout is saved in the server on /tmp, you inspect it to see what went wrong. Run ham clean to destroy all server and rerun. You give the tool a regular git repo URL or local dir. The entire git repo or local dir will be available on the server at /ham-recipe so you can put your patches and everything at the git repo itself. Run with ham get -k <user>@gh/<repo>
Make sure to run ham clean to destroy all build servers.
See my recipe for ref: https://github.com/ham-community/enchilada-los19.1
ham converts the ~ to the ham community username, but you can give any valid github username.
jogai-san t1_j06e4n8 wrote
Why is this tied to one cloud provider? It would be awesome if this could be done with a container so it would run anywhere.
Btw, the referral link is broken
antonyjr0 OP t1_j06f76s wrote
The reason is that, Hetzner is the safest and has clear pricing, also very Cheap. If the server runs for month by mistake it will only cost 50 euros at the worst case. Running ham clean will prevent this, and the builder will prevent this, I'm talking about the worst worst case.. Other cloud providers are not predictable like this, in the worst case you might end up with 1000 dollar bill.. Also hetzner gives 20TB bandwidth, no other provider gives that for this cheap. Also for GDPR since hetzner is a German company.
I will look into the broken link... There are containers for LOS builds, you can use docker too, just install and run in docker if you like in the recipe..
The recipe runs everything in tty terminal, so its just bare vps with all the los build tools installed automatically.
jogai-san t1_j06j3jx wrote
Contabo/liteserver both offer more bandwith and comparable prices and are hosted in europe. That being set, if its running anywhere where a terminal is available it doesnt matter as much. Nice work!
antonyjr0 OP t1_j06jcz5 wrote
Will see about integrating both in the future..
The documentation is still incomplete, I will fill in the details on how this works to better understand it. And Why we are primarily using Hetzner.
[deleted] t1_j0lefbs wrote
[removed]
antonyjr0 OP t1_j03vnvx wrote
Cool Github Project: https://github.com/antony-jr/ham
Website: https://antonyjr.in/ham
​
For now only has recipe for Enchilada (aka. OnePlus 6, not 6T). It can build LineageOS 19.1 using a Android Signing Provided by You (See https://wiki.lineageos.org/signing_builds). The special thing about this build is that, the output of this build can be flashed and you can lock your bootloader for extra security. (Only available for OP6).
See https://forum.xda-developers.com/t/guide-re-locking-the-bootloader-on-the-oneplus-6t-with-a-self-signed-build-of-los.4113743/ for more info.
More instructions to follow in the website soonish. Looking for feedback and potential users.