!UUYziobKGGxpovWyAN:nixos.org

Robotnix

233 Members
Build Android (AOSP) using Nix | https://github.com/nix-community/robotnix70 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
11 Oct 2025
@cyclopentane:aidoskyneen.eupentanehuh20:24:39
@cyclopentane:aidoskyneen.eupentanethat shouldn't happen20:24:43
@cyclopentane:aidoskyneen.eupentanegonna try to reproduce20:24:47
@cyclopentane:aidoskyneen.eupentaneare you sure that it's not an OOM issue? That part of the build is quite RAM hungry (needs >30GiB)20:25:31
@Cornu:matrix.orgcornuah that's possible, i was trying with only 8gb, will try on another machine :+1:21:28:25
@cyclopentane:aidoskyneen.eupentaneahh yeah that's not enough ;)21:31:44
12 Oct 2025
@Cornu:matrix.orgcornuyeah it was the missing RAM, as it was so early it seemed like a missing dependency ... but more than 32GiB is just insane, some years ago it was possible to build android with 8GiB and some swap. Thank you for the quick help!19:21:31
@cyclopentane:aidoskyneen.eupentanehappy to hear that!19:21:45
@Cornu:matrix.orgcornuHas anyone tried to build the emulator (https://wiki.lineageos.org/emulator) and run it? (device: sdk_phone_x86_64)19:22:53
@cyclopentane:aidoskyneen.eupentaneOh yeah, supporting that is on my to-do list19:23:20
@cyclopentane:aidoskyneen.eupentane what happens if you just put in device = sdk_phone_x86_64? 19:23:33
@Cornu:matrix.orgcornuit's building ... will report back tomorrow ;)19:24:27
@cyclopentane:aidoskyneen.eupentanenice!19:33:52
@cyclopentane:aidoskyneen.eupentanewhich target are you building?19:33:57
@cyclopentane:aidoskyneen.eupentane * which nix derivation from config.build are you building? 19:34:12
@noob_tea:matrix.orgtea joined the room.20:36:09
14 Oct 2025
@hydm:matrix.orgvon joined the room.01:45:33
@atemu12:matrix.orgAtemu
In reply to @cyclopentane:aidoskyneen.eu
Oh yeah, supporting that is on my to-do list
I fixed it earlier this year, so I think it should work?
11:38:08
@atemu12:matrix.orgAtemuMight need to set the device arch though11:39:51
15 Oct 2025
@volth:matrix.orgvolth joined the room.01:15:13
@volth:matrix.orgvolth
nix-build -E "with (import ./default.nix {
 configuration = {
  flavor = "lineageos";
  flavorVersion = "22.2";
  device = "sdk_phone_x86_64";
 }
});  factoryImg'

built successfully.
the only question is how to run it :)
probably we need .iso or .qcow2 outputs akin to BlissRoms

14:38:33

Show newer messages


Back to Room ListRoom Version: 6