!UUYziobKGGxpovWyAN:nixos.org

Robotnix

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

Load older messages


SenderMessageTime
25 Nov 2025
@waltmck:matrix.orgwaltmck * 00:19:06
@atemu12:matrix.orgAtemuSomething like the 7a would be ideal and it should build01:32:33
@atemu12:matrix.orgAtemuWhat's the error? Do you have enough RAM?01:33:00
26 Nov 2025
@Cornu:matrix.orgcornu

hi, have a similar error building lineage for bluejay (pixel 6a). Graphene flavor and other lineage builds (e.g. FP4) build without error.
``´

Running phase: unpackPhase
> Running phase: patchPhase
> Running phase: updateAutotoolsGnuConfigScriptsPhase
> Running phase: buildPhase
> Trying dependencies-only mode on a non-existing device tree?
> Kernel source /build/out-kernel/google/gs-6.1 is missing, preparing folder structure
> cp: cannot stat '/build/.repo/repo': No such file or directory

´´´

16:47:12
@Cornu:matrix.orgcornu *

hi, have a similar error building lineage for bluejay (pixel 6a). Graphene flavor and other lineage builds (e.g. FP4) build without error.

Running phase: unpackPhase
> Running phase: patchPhase
> Running phase: updateAutotoolsGnuConfigScriptsPhase
> Running phase: buildPhase
> Trying dependencies-only mode on a non-existing device tree?
> Kernel source /build/out-kernel/google/gs-6.1 is missing, preparing folder structure
> cp: cannot stat '/build/.repo/repo': No such file or directory

´´´

16:47:39
30 Nov 2025
@oak:universumi.fioak 🏳️‍🌈♥️Btw did Google remove all the kernel sources for old versions as well? I know Google removed kernel sources and device tree sources at least for the new Pixel phones, which is the reason Pixels are not recommended for Custom ROm usage anymore12:35:49
29 Nov 2025
@luelista:fachschaften.orgluelista

oh that might be the same problem i ran into with lineage for pixel 9a

it seems that at some point google switched to using bazel for building the kernel (https://android.googlesource.com/kernel/build/+/refs/heads/main/kleaf/README.md)

I've tried various things to get it to work, but without success so far:

  • downloading necessary kernel source repos before running bazel: https://github.com/nix-community/robotnix/compare/master...luelista:robotnix:lineage-tegu (problem: bazel still wants to fetch more things from the internet during build, e. g. precompiled kernel image)
  • turning off downloading precompiled images (takes way longer to build, and i think it still didn't work, not sure any more)
  • building kernel with buildBazelPackage from nixpkgs (prebuilt images disabled)
  • downloading prebuilt kernel images as fixed output derivation using buildBazelPackage
21:14:50
30 Nov 2025
@oak:universumi.fioak 🏳️‍🌈♥️* Btw did Google remove all the kernel sources for old versions as well? I know Google removed kernel sources and device tree sources at least for the new Pixel phones, which is the reason Pixels are not recommended for Custom ROM usage anymore12:36:00
29 Nov 2025
@luelista:fachschaften.orgluelista *

oh that might be the same problem i ran into with lineage for pixel 9a

it seems that at some point google switched to using bazel for building the kernel (https://android.googlesource.com/kernel/build/+/refs/heads/main/kleaf/README.md)

I've tried various things to get it to work, but without success so far:

21:15:21
30 Nov 2025
@oak:universumi.fioak 🏳️‍🌈♥️It's strange my custom built LineageOS started to offer me a system update yesterday, even though I haven't build a new version and uploaded it to webserver12:38:12
@oak:universumi.fioak 🏳️‍🌈♥️My OnePlus 8 Pro phone has started to say IN2025_13.1.0.591(EX01) would be available and the more alarming thing is that it would try to update itself during night time automatically. This is strange as I have configured my own custom updater server during the Robotnix builds, and I have also signed the builds with my own keys so it shouldn't even try to install anything else12:40:39
@oak:universumi.fioak 🏳️‍🌈♥️I wonder if there's some second system level updater process running on the background12:40:57
@oak:universumi.fioak 🏳️‍🌈♥️https://www.reddit.com/r/oneplus/comments/1p8swor/i_thought_that_oneplus_8_updates_ended_last_summer/ it is clearly this thing, OnePlus 8 Pro update is showing later on the thread. However if I'm running my LineageOS built through Robotnix, how does it even try to get this update?18:27:05
@oak:universumi.fioak 🏳️‍🌈♥️And is my device vulnerable or not if I'm running my own LineageOS?18:27:22
@oak:universumi.fioak 🏳️‍🌈♥️https://www.rapid7.com/blog/post/cve-2025-10184-oneplus-oxygenos-telephony-provider-permission-bypass-not-fixed/ It is likely this one. But shouldn't LineageOS build their own TelephonyProvider and not use any binary provided by OnePlus?18:33:46
1 Dec 2025
@oak:universumi.fioak 🏳️‍🌈♥️Screenshot_20251201-172227_Google Play services.png
Download Screenshot_20251201-172227_Google Play services.png
15:23:16
@oak:universumi.fioak 🏳️‍🌈♥️Now it showed again. How can I get rid of this?15:23:37
@roadroller01:matrix.org@roadroller01:matrix.orgHello, I am now trying to add support for building trebledroid/gsi image, Have anyone done anything?15:31:54
@roadroller01:matrix.org@roadroller01:matrix.orgFollowing this tutorial: https://github.com/TrebleDroid/treble_experimentations/wiki/How-to-build-a-GSI It seems that i just need to add https://github.com/TrebleDroid/treble_manifest/tree/android-15.0 to repo2nix.localManifests for lineage-22.115:34:24
@roadroller01:matrix.org@roadroller01:matrix.org

But idk how to access repo2nix.localManifests within:

robotnix.lib.robotnixSystem {
            flavor = "lineageos";

            # device codename - FP4 for Fairphone 4 in this case.
            # Supported devices are listed under https://wiki.lineageos.org/devices/
            device = "FP4";

            # LineageOS branch.
            # You can check the supported branches for your device under
            # https://wiki.lineageos.org/devices/<device codename>
            # Leave out to choose the official default branch for the device.
            flavorVersion = "22.2";

            apps.fdroid.enable = true;
            microg.enable = true;

            # Enables ccache for the build process. Remember to add /var/cache/ccache as
            # an additional sandbox path to your Nix config.
            ccache.enable = true;
        };

15:35:38
@roadroller01:matrix.org@roadroller01:matrix.org *

But idk how to access repo2nix.localManifests within:

robotnix.lib.robotnixSystem {
            flavor = "lineageos";

            # device codename - FP4 for Fairphone 4 in this case.
            # Supported devices are listed under https://wiki.lineageos.org/devices/
            device = "FP4";

            # LineageOS branch.
            # You can check the supported branches for your device under
            # https://wiki.lineageos.org/devices/<device codename>
            # Leave out to choose the official default branch for the device.
            flavorVersion = "22.2";

            apps.fdroid.enable = true;
            microg.enable = true;

            # Enables ccache for the build process. Remember to add /var/cache/ccache as
            # an additional sandbox path to your Nix config.
            ccache.enable = true;
        };

15:35:53
@roadroller01:matrix.org@roadroller01:matrix.org *

Hello,

I am now trying to add support for building trebledroid/gsi image, Have anyone done anything?

15:36:04
@roadroller01:matrix.org@roadroller01:matrix.org * Following this tutorial:
https://github.com/TrebleDroid/treble_experimentations/wiki/How-to-build-a-GSI
It seems that i just need to add https://github.com/TrebleDroid/treble_manifest/tree/android-15.0 to repo2nix.localManifests for lineage-22.1
15:36:25
@roadroller01:matrix.org@roadroller01:matrix.org

Doesn't robotnix support aarch64-linux?!

I have just ran

nix flake show
git+file:///home/road/aosp/robotnix?ref=refs/heads/master&rev=0b67d10e140555a319d0d91d3369a5e6c73dae58
├───devShells
│   └───x86_64-linux
│       ├───default omitted (use '--all-systems' to show)
│       └───repo2nix omitted (use '--all-systems' to show)
├───examples: unknown
├───lib: unknown
├───nixosModule: NixOS module
├───nixosModules
│   └───attestation-server: NixOS module
├───packages
│   └───x86_64-linux
│       ├───gitRepo omitted (use '--all-systems' to show)
│       └───manual omitted (use '--all-systems' to show)
└───templates
    └───default: template: A basic robotnix configuration flake
16:17:12
@roadroller01:matrix.org@roadroller01:matrix.org *

Doesn't robotnix support aarch64-linux?!

I have just ran

>nix flake show
git+file:///home/road/aosp/robotnix?ref=refs/heads/master&rev=0b67d10e140555a319d0d91d3369a5e6c73dae58
├───devShells
│   └───x86_64-linux
│       ├───default omitted (use '--all-systems' to show)
│       └───repo2nix omitted (use '--all-systems' to show)
├───examples: unknown
├───lib: unknown
├───nixosModule: NixOS module
├───nixosModules
│   └───attestation-server: NixOS module
├───packages
│   └───x86_64-linux
│       ├───gitRepo omitted (use '--all-systems' to show)
│       └───manual omitted (use '--all-systems' to show)
└───templates
    └───default: template: A basic robotnix configuration flake
16:17:34
@roadroller01:matrix.org@roadroller01:matrix.org *

Doesn't robotnix support aarch64-linux?!

I have just ran

>nix flake show
git+file:///home/road/aosp/robotnix?ref=refs/heads/master&rev=0b67d10e140555a319d0d91d3369a5e6c73dae58
├───devShells
│   └───x86_64-linux
│       ├───default omitted (use '--all-systems' to show)
│       └───repo2nix omitted (use '--all-systems' to show)
├───examples: unknown
├───lib: unknown
├───nixosModule: NixOS module
├───nixosModules
│   └───attestation-server: NixOS module
├───packages
│   └───x86_64-linux
│       ├───gitRepo omitted (use '--all-systems' to show)
│       └───manual omitted (use '--all-systems' to show)
└───templates
    └───default: template: A basic robotnix configuration flake
16:17:43
@roadroller01:matrix.org@roadroller01:matrix.org *

Doesn't robotnix support aarch64-linux?!

I have just ran

>nix flake show
git+file:///home/road/aosp/robotnix?ref=refs/heads/master&rev=0b67d10e140555a319d0d91d3369a5e6c73dae58
├───devShells
│   └───x86_64-linux
│       ├───default omitted (use '--all-systems' to show)
│       └───repo2nix omitted (use '--all-systems' to show)
├───examples: unknown
├───lib: unknown
├───nixosModule: NixOS module
├───nixosModules
│   └───attestation-server: NixOS module
├───packages
│   └───x86_64-linux
│       ├───gitRepo omitted (use '--all-systems' to show)
│       └───manual omitted (use '--all-systems' to show)
└───templates
    └───default: template: A basic robotnix configuration flake
16:17:53
@roadroller01:matrix.org@roadroller01:matrix.org *

Doesn't robotnix support aarch64-linux?!

I have just ran

>nix flake show
git+file:///path/to/robotnix?ref=refs/heads/master&rev=0b67d10e140555a319d0d91d3369a5e6c73dae58
├───devShells
│   └───x86_64-linux
│       ├───default omitted (use '--all-systems' to show)
│       └───repo2nix omitted (use '--all-systems' to show)
├───examples: unknown
├───lib: unknown
├───nixosModule: NixOS module
├───nixosModules
│   └───attestation-server: NixOS module
├───packages
│   └───x86_64-linux
│       ├───gitRepo omitted (use '--all-systems' to show)
│       └───manual omitted (use '--all-systems' to show)
└───templates
    └───default: template: A basic robotnix configuration flake
16:18:34
@roadroller01:matrix.org@roadroller01:matrix.org *

Doesn't robotnix support aarch64-linux?!

I have just ran

nix flake show
git+file:///path/to/robotnix?ref=refs/heads/master&rev=0b67d10e140555a319d0d91d3369a5e6c73dae58
├───devShells
│   └───x86_64-linux
│       ├───default omitted (use '--all-systems' to show)
│       └───repo2nix omitted (use '--all-systems' to show)
├───examples: unknown
├───lib: unknown
├───nixosModule: NixOS module
├───nixosModules
│   └───attestation-server: NixOS module
├───packages
│   └───x86_64-linux
│       ├───gitRepo omitted (use '--all-systems' to show)
│       └───manual omitted (use '--all-systems' to show)
└───templates
    └───default: template: A basic robotnix configuration flake
16:19:08
@roadroller01:matrix.org@roadroller01:matrix.org *

Doesn't robotnix support aarch64-linux?!

I have just ran

nix flake show --all-system
git+file:///path/to/robotnix?ref=refs/heads/master&rev=0b67d10e140555a319d0d91d3369a5e6c73dae58
├───devShells
│   └───x86_64-linux
│       ├───default omitted (use '--all-systems' to show)
│       └───repo2nix omitted (use '--all-systems' to show)
├───examples: unknown
├───lib: unknown
├───nixosModule: NixOS module
├───nixosModules
│   └───attestation-server: NixOS module
├───packages
│   └───x86_64-linux
│       ├───gitRepo omitted (use '--all-systems' to show)
│       └───manual omitted (use '--all-systems' to show)
└───templates
    └───default: template: A basic robotnix configuration flake
16:21:14

Show newer messages


Back to Room ListRoom Version: 6