!UUYziobKGGxpovWyAN:nixos.org

Robotnix

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

Load older messages


SenderMessageTime
6 Sep 2021
@kranzes:matrix.orgkranzes
{
  description = "A basic robotnix configuration";

  inputs = {
    robotnix.url = "github:Kranzes/robotnix-forklineageos";

    device_xiaomi_miatoll = { url = "github:sairam1411/device_xiaomi_miatoll"; flake = false; };
    device_xiaomi_sm6250-common = { url = "github:sairam1411/device_xiaomi_sm6250-common"; flake = false; };
    vendor_xiaomi_miatoll = { url = "github:sairam1411/vendor_xiaomi_miatoll"; flake = false; };
    vendor_xiaomi_sm6250-common = { url = "github:sairam1411/vendor_xiaomi_sm6250-common"; flake = false; };
    kernel_xiaomi_sm6250 = { url = "github:sairam1411/kernel_xiaomi_sm6250"; flake = false; };
  };

  outputs = { self, robotnix, ... }@inputs: {
    robotnixConfigurations."miatoll" = robotnix.lib.robotnixSystem ({ config, pkgs, ... }: {
      device = "miatoll";
      flavor = "lineageos";
      androidVersion = 11;
      buildDateTime = 1630871265;

      #      signing.enable = true;
      #     signing.keyStorePath = "/home/1TB-HDD/Android/robotnix/keys";

      envVars.TARGET_FLOS = "true";

      source.dirs = {
        "device/xiaomi/miatoll".src = inputs.device_xiaomi_miatoll;
        "device/xiaomi/sm6250-common".src = inputs.device_xiaomi_sm6250-common;
        "vendor/xiaomi/miatoll".src = inputs.vendor_xiaomi_miatoll;
        "vendor/xiaomi/sm6250-common".src = inputs.vendor_xiaomi_sm6250-common;
        "kernel/xiaomi/sm6250".src = inputs.kernel_xiaomi_sm6250;
      };
    });
    defaultPackage.x86_64-linux = self.robotnixConfigurations."miatoll".ota;
  };
}

09:54:24
@kranzes:matrix.orgkranzeswith this flake09:54:26
@kranzes:matrix.orgkranzeshttps://github.com/Kranzes/robotnix-forklineageos/commit/c5f6e34f1e400f158b276bf5d25f69cf55c0869509:54:45
@kranzes:matrix.orgkranzesand these changes09:54:47
@jack:mudshark.orgjack
In reply to @danielrf:matrix.org
Also, tagged and pushed grapheneos-2021090401. Tested working on crosshatch.
Working on redfin.
16:02:52
@kranzes:matrix.orgkranzes danielrf which other stuff are there to try? 19:11:15
@kranzes:matrix.orgkranzesNow that we know that it's not the webview/chromium19:11:31
@danielrf:matrix.orgdanielrfRedacted or Malformed Event19:56:59
@danielrf:matrix.orgdanielrf kranzes: The configuration should already be quite close, but the next things to try would be to remove the TARGET_FLOS from your configuration, comment out envVars.RELEASE_TYPE, signing.apex.enable, and envVars.OVERRIDE_TARGET_FLATTEN_APEX from flavors/lineageos/default.nix 19:58:48
@danielrf:matrix.orgdanielrfah, and also add useReproducibilityFixes = false; to your configuration19:59:16
@danielrf:matrix.orgdanielrfBut tbh, it'd be surprising to me if one of those fixed it--but we've already tried the obvious things19:59:37
@kranzes:matrix.orgkranzesWhy would i need to remove the target flos? I guess its uneeded because it's already set by default 19:59:49
@danielrf:matrix.orgdanielrfI don't know what the TARGET_FLOS option is20:00:22
@kranzes:matrix.orgkranzesIt's something for forklneageos20:00:46
@kranzes:matrix.orgkranzesThat chooses if you want gms included or not20:00:50
@kranzes:matrix.orgkranzesTarget_flos=true is for without gms20:01:09
@kranzes:matrix.orgkranzes"vanilla" which is the default 20:01:20
@danielrf:matrix.orgdanielrfhmm, well I didn't include it the only robotnix configuration we've been able to make work so far, so I'd omit it for now20:01:24
@kranzes:matrix.orgkranzesSo it's uneeded20:01:26
@danielrf:matrix.orgdanielrf * hmm, well I didn't include it in the only robotnix configuration we've been able to make work so far, so I'd omit it for now20:01:36
@kranzes:matrix.orgkranzes
In reply to @danielrf:matrix.org
kranzes: The configuration should already be quite close, but the next things to try would be to remove the TARGET_FLOS from your configuration, comment out envVars.RELEASE_TYPE, signing.apex.enable, and envVars.OVERRIDE_TARGET_FLATTEN_APEX from flavors/lineageos/default.nix
Is that at once?
20:01:55
@kranzes:matrix.orgkranzesOr do i remove them one by one20:02:14
@kranzes:matrix.orgkranzesEach rebuild20:02:23
@danielrf:matrix.orgdanielrfI'd probably try to remove them all now and add them back on each rebuild20:02:32
@kranzes:matrix.orgkranzesSame with the reprofucibility fixes20:02:46
@kranzes:matrix.orgkranzes?20:02:53
@danielrf:matrix.orgdanielrfyep. Let's try to get your builds working before we start adding stuff back in20:03:07
@danielrf:matrix.orgdanielrf pie_: 2x my 1hr? what did I report as 1hr? 20:03:33
@kranzes:matrix.orgkranzesWell im not home and only have my phone so it can be quite hard 20:03:36
@kranzes:matrix.orgkranzesI won't be home till uhh in 2 days maybe 20:03:51

Show newer messages


Back to Room ListRoom Version: 6