!UUYziobKGGxpovWyAN:nixos.org

Robotnix

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

Load older messages


SenderMessageTime
11 Jan 2025
@pandapip1:matrix.orgpandapip1 joined the room.21:22:49
15 Jan 2025
@ss:someonex.netSomeoneSerge (back on matrix) changed their display name from SomeoneSerge (utc+3) to SomeoneSerge.18:59:25
16 Jan 2025
@j4:matrix.orgj4m3s set their display name to j4m3s.10:27:50
@waltmck:matrix.orgwaltmck joined the room.13:16:15
@waltmck:matrix.orgwaltmck Hey, this is an awesome project and I'm looking at using it to work around some of the limitations of android. Has anyone had success generating an image that runs zerotier as root? I know this is possible to set up with magisk but I want to have to avoid setting it up again after each update 13:45:30
@atemu12:matrix.orgatemu12Generally, whatever you can bake into AOSP using the build process can be used in Robotnix too.17:25:36
@atemu12:matrix.orgatemu12You'd have to create a Makefile that installs the binary and daemon definition17:26:34
@atemu12:matrix.orgatemu12I know it's possible to do this but don't ask me how17:27:00
@atemu12:matrix.orgatemu12Perhaps look at how other daemons in AOSP are defined17:27:23
@atemu12:matrix.orgatemu12Basically none of this has to do with robotnix though; we "just" run the same build process inside a nix drv17:28:29
@atemu12:matrix.orgatemu12Robotnix would help you add that modification (once you built it) into the build process though17:29:59
17 Jan 2025
@waltmck:matrix.orgwaltmck

I'm trying to get a minimum build working with graphene using the example flake, but it fails with

trying https://github.com/GrapheneOS/Vanadium/archive/SP2A.220405.003.2022041600.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
^M  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0^M  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--   >
^M  0    14    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404
error: cannot download source from any mirror
23:01:47
@waltmck:matrix.orgwaltmckIs there a way to override the dependency on the source which no longer exists?23:02:44
@waltmck:matrix.orgwaltmckWhat is a minimal config that is known to actually build? I've been trying several flavors and device targets but they all fail for one reason or another23:46:27
18 Jan 2025
@atemu12:matrix.orgatemu12LineageOS is the only "supported" one10:14:12
@atemu12:matrix.orgatemu12Version 13, 14 or 1510:14:29
19 Jan 2025
@waltmck:matrix.orgwaltmck ah I think I found the problem, the example config didn't set androidVersion which defaults to 12 22:39:34
@waltmck:matrix.orgwaltmck I will try it with androidVersion=15 22:39:45
@atemu12:matrix.orgatemu12Oh yeah we should up that probably22:39:54
@waltmck:matrix.orgwaltmck

Where can I find the supported devices for lineageos? I tried to build for lynx (which as far as I can tell is supported upstream):

  device = "lynx";
  flavor = "lineageos";
  androidVersion = 15;

but this config fails with error: Cannot locate config makefile for product "lineage_lynx"

23:10:06
@atemu12:matrix.orgatemu12https://github.com/nix-community/robotnix/blob/master/flavors/lineageos/supported_devices.toml23:10:31
@atemu12:matrix.orgatemu12You need to add yours, hope that it follows a convention we can follow and run the device dir updater23:11:04
@atemu12:matrix.orgatemu12A better device dir updater is currently in the works, maybe we'll have something to publish next week ;)23:12:06
21 Jan 2025
@oak:universumi.fioak 🏳️‍🌈♥️ changed their profile picture.22:36:01
@oak:universumi.fioak 🏳️‍🌈♥️ changed their profile picture.22:37:29
22 Jan 2025
@waltmck:matrix.orgwaltmck

The following config still fails to build:

  device = "cheeseburger";
  flavor = "lineageos";
  androidVersion = 15;
02:59:15
@waltmck:matrix.orgwaltmck

build logs

03:10:06
@atemu12:matrix.orgatemu12Without having looked at the logs because I'm on the phone, are you running OOM?03:16:31
@atemu12:matrix.orgatemu12Cheeseburger builds fine for me03:16:45
@atemu12:matrix.orgatemu12You need like 3-4GiB per thread at peak03:17:13

Show newer messages


Back to Room ListRoom Version: 6