!UUYziobKGGxpovWyAN:nixos.org

Robotnix

240 Members
Build Android (AOSP) using Nix | https://github.com/danielfullmer/robotnix74 Servers

Load older messages


SenderMessageTime
27 Jan 2025
@atemu12:matrix.orgatemu12No the entire step09:32:55
@autra:trancart.euautraI've commented the call to mk_repo_file.py entirely09:33:05
@atemu12:matrix.orgatemu12Yup09:33:11
@autra:trancart.euautraThe rest of the tree is somewhere else? In cachix?09:33:35
@atemu12:matrix.orgatemu12The rest of what tree?09:33:52
@atemu12:matrix.orgatemu12The cachix contains nothing of interest FWIW09:36:44
@autra:trancart.euautraok 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
@atemu12:matrix.orgatemu12The updater really is just thatz an updater09:53:53
@atemu12:matrix.orgatemu12 * 09:54:00
@atemu12:matrix.orgatemu12The sources for the build are fetched via nix09:54:18
@atemu12:matrix.orgatemu12The updaters just generate lockfiles09:54:34
@autra:trancart.euautra 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
@atemu12:matrix.orgatemu12Yeah it's a ~70GiB download10:34:07
@atemu12:matrix.orgatemu12That's much preferable to the couple hundred gigs you'd normally have to download though10:34:48
@atemu12:matrix.orgatemu12Make sure you've set the correct androidVersion10:34:58
@autra:trancart.euautrayep, currently on 14 just to check if everything is ok, then I'll switch to 1510:38:48
@autra:trancart.euautraouch I thought that with 32Gb of ram, it'll be enough to build, but no :-(11:11:00
@atemu12:matrix.orgatemu12You need 3-4GiB per thread15:45:01
@atemu12:matrix.orgatemu12And your tmpdir must be on large enough persistent storage15:45:30
@atemu12:matrix.orgatemu12I don't know the exact size off the top of my head for new versions of AOSP but it should be around 30-50GiB15:46:29
@atemu12:matrix.orgatemu12 * 15:47:01
@autra:trancart.euautraIt peaked around 25-30, but I solved it by adding a temporary swap file ;-) It was enough to avoid the oom killer20:43:26
@autra:trancart.euautrathe build worked like a charm :-)20:43:40
@atemu12:matrix.orgatemu12Neat :)20:43:49
@autra:trancart.euautraon "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
@atemu12:matrix.orgatemu12I usually just flash ota20:44:52
@autra:trancart.euautraota works whichever os I was on, provided it's the same major version?20:45:34
@atemu12:matrix.orgatemu12Your SPL needs to be the same or higher20:47:08
@atemu12:matrix.orgatemu12But if you're not wiping data, you need to run a migration script20:47:21
@atemu12:matrix.orgatemu12And it needs to have been LOS before I think20:47:37

Show newer messages


Back to Room ListRoom Version: 6