!UUYziobKGGxpovWyAN:nixos.org

Robotnix

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

Load older messages


SenderMessageTime
28 Jul 2024
@atemu12:matrix.orgatemu12You'd have to dig into it00:29:37
@samueldr:matrix.orgsamueldr
In reply to @matthewcroughan:defenestrate.it
Is anyone aware that you cannot add new devices to robotnix that aren't supported in upstream due to the logic in flavors/lineageos/default.nix only allowing usage of official lineage devices, without the ability to override this behavior?
explain how I'm building LineageOS for an unsupported device then?
00:30:36
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneI am also, an earlier version (11)00:30:49
@samueldr:matrix.orgsamueldr[but that might have broken with the changes since]00:30:50
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zonewhich changes the logic00:30:52
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneWhen using androidVersion 12 or 13 things get a bit weirder00:31:05
@samueldr:matrix.orgsamueldrandroidVersion 11 for my part00:31:19
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zonehttps://github.com/DoESLiverpool/nixcfgs/blob/master/hosts/admin-phone/default.nix00:34:37
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneHere's an example of my working build for 11 also00:34:43
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone

My attempt for androidVersion 13 with the current robotnix that fails like above, is here:

{ config, pkgs, ... }:

{
  # Enable F-Droid and the F-Droid privileged extension
  apps.fdroid.enable = true;

  # Disable the LineageOS Updater
  source.dirs."packages/apps/Updater".enable = false;

  source.dirs."device/samsung/hlte-common".src = pkgs.fetchgit {
    rev = "9a1bf8f7b8ca7f6dccc6462b76bf712893bd9d39";
    url = "https://github.com/html6405/android_device_samsung_hlte-common.git";
    sha256 = "";
  };

  source.dirs."device/samsung/hlte".src = pkgs.fetchgit {
    rev = "1ac57aea5ecfe0ef06f24f931e978151a2307731";
    url = "https://github.com/html6405/android_device_samsung_hlte.git";
    sha256 = "";
  };

  source.dirs."kernel/samsung/msm8974".src = pkgs.fetchgit {
    rev = "79c36b7a4b30e1216d9b1d071359f3d4a681d0b2";
    url = "https://github.com/html6405/android_kernel_samsung_msm8974.git";
    sha256 = "";
  };

  source.dirs."hardware/samsung".src = pkgs.fetchgit {
    rev = "05133e22669d90b1b844974b243861a5d8138f51";
    url = "https://github.com/html6405/android_hardware_samsung.git";
    sha256 = "";
  };

  device = "hlte";
  flavor = "lineageos";
  androidVersion = 13;
}
00:35:37
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zonehttps://github.com/nix-community/robotnix/blob/master/flavors/lineageos/lineage-18.1/device-dirs.json#L261000:36:22
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone hlte occurs in lineage-18.1 00:36:27
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneIt ceases to occur in 19.1..00:36:45
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneSo that explains that..00:36:52
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneI didn't think my other device (admin-phone) would occur in device-dirs.json, let me double check00:37:14
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone Yeah, it doesn't. This evaluation error doesn't occur there, despite dreamlte being absent from device-dirs.json (since it is officially unsupported) 00:37:53
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone It knows it's device/samsung for some reason just based on the name hlte despite setting androidVersion to 13, I wonder if it's using the wrong json file due to some faulty logic 00:42:34
@eyjhb:eyjhb.dkeyJhb
In reply to @samueldr:matrix.org
[but that might have broken with the changes since]
I don't think any logic has been changed, not intentionally at least
07:08:59
@phanirithvij:matrix.org@phanirithvij:matrix.org left the room.10:46:46
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone changed their display name from matthewcroughan to matthewcroughan - going to nix.camp.16:09:41
31 Jul 2024
@jonboh:matrix.orgJon Bosque joined the room.16:21:57
1 Aug 2024
@vika:fireburn.ruVika (she/her) changed their profile picture.11:50:26
3 Aug 2024
@knoopx:matrix.orgVíctor Martínez joined the room.10:35:22
4 Aug 2024
@izzie:transgirl.cafeHannah changed their profile picture.21:05:01
@izzie:transgirl.cafeHannah changed their display name from Void to Hannah.21:05:35
5 Aug 2024
@hdzki:hdzki.kozow.comhdzki ⚡️ set a profile picture.03:05:44
9 Aug 2024
@stas:mainframe.lv@stas:mainframe.lv left the room.10:07:10
10 Aug 2024
@rosscomputerguy:matrix.orgTristan Ross changed their profile picture.03:13:33
12 Aug 2024
@kyub:matrix.org@kyub:matrix.org left the room.16:59:14
21 Aug 2024
@digitalbayinc:matrix.orgFOSSadmin changed their profile picture.21:10:27

Show newer messages


Back to Room ListRoom Version: 6