| 27 Jan 2025 |
Atemu | Yup | 09:33:11 |
autra | The rest of the tree is somewhere else? In cachix? | 09:33:35 |
Atemu | The rest of what tree? | 09:33:52 |
Atemu | The cachix contains nothing of interest FWIW | 09:36:44 |
autra | ok I'm just suprised by what you said (new devices only need the device dir update), because my experience with android build is that you need the whole lineage os tree to build, but I guess I'll see all these downloads later ;-) | 09:53:01 |
Atemu | The updater really is just thatz an updater | 09:53:53 |
Atemu | * | 09:54:00 |
Atemu | The sources for the build are fetched via nix | 09:54:18 |
Atemu | The updaters just generate lockfiles | 09:54:34 |
autra | ok thanks! So I've launched the nix-build comamnd and my config evaluates correctly now, and indeed, it seems that I'm now downloading the entire internet ;-) | 10:06:24 |
Atemu | Yeah it's a ~70GiB download | 10:34:07 |
Atemu | That's much preferable to the couple hundred gigs you'd normally have to download though | 10:34:48 |
Atemu | Make sure you've set the correct androidVersion | 10:34:58 |
autra | yep, currently on 14 just to check if everything is ok, then I'll switch to 15 | 10:38:48 |
autra | ouch I thought that with 32Gb of ram, it'll be enough to build, but no :-( | 11:11:00 |
Atemu | You need 3-4GiB per thread | 15:45:01 |
Atemu | And your tmpdir must be on large enough persistent storage | 15:45:30 |
Atemu | I don't know the exact size off the top of my head for new versions of AOSP but it should be around 30-50GiB | 15:46:29 |
Atemu | * | 15:47:01 |
autra | It peaked around 25-30, but I solved it by adding a temporary swap file ;-) It was enough to avoid the oom killer | 20:43:26 |
autra | the build worked like a charm :-) | 20:43:40 |
Atemu | Neat :) | 20:43:49 |
autra | on "https://docs.robotnix.org/installation.html", step 5, it mentions a ./flash-all.sh, but I don't have this file. A sideload is ok right? | 20:44:25 |
Atemu | I usually just flash ota | 20:44:52 |
autra | ota works whichever os I was on, provided it's the same major version? | 20:45:34 |
Atemu | Your SPL needs to be the same or higher | 20:47:08 |
Atemu | But if you're not wiping data, you need to run a migration script | 20:47:21 |
Atemu | And it needs to have been LOS before I think | 20:47:37 |
Atemu | cyclopentane ⭔: figured out that you can relatively easily skip SPL checks by modifying the OTA zip's META-INF/android/something/metadata* files | 20:48:26 |
Atemu | And changing the SPL level | 20:48:34 |