| 6 Sep 2021 |
kranzes | {
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 | with this flake | 09:54:26 |
kranzes | https://github.com/Kranzes/robotnix-forklineageos/commit/c5f6e34f1e400f158b276bf5d25f69cf55c08695 | 09:54:45 |
kranzes | and these changes | 09:54:47 |
jack | In reply to @danielrf:matrix.org Also, tagged and pushed grapheneos-2021090401. Tested working on crosshatch. Working on redfin. | 16:02:52 |
kranzes | danielrf which other stuff are there to try? | 19:11:15 |
kranzes | Now that we know that it's not the webview/chromium | 19:11:31 |
danielrf | Redacted or Malformed Event | 19:56:59 |
danielrf | 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 | ah, and also add useReproducibilityFixes = false; to your configuration | 19:59:16 |
danielrf | But tbh, it'd be surprising to me if one of those fixed it--but we've already tried the obvious things | 19:59:37 |
kranzes | Why would i need to remove the target flos? I guess its uneeded because it's already set by default | 19:59:49 |
danielrf | I don't know what the TARGET_FLOS option is | 20:00:22 |
kranzes | It's something for forklneageos | 20:00:46 |
kranzes | That chooses if you want gms included or not | 20:00:50 |
kranzes | Target_flos=true is for without gms | 20:01:09 |
kranzes | "vanilla" which is the default | 20:01:20 |
danielrf | hmm, 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 now | 20:01:24 |
kranzes | So it's uneeded | 20:01:26 |
danielrf | * 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 now | 20:01:36 |
kranzes | 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 | Or do i remove them one by one | 20:02:14 |
kranzes | Each rebuild | 20:02:23 |
danielrf | I'd probably try to remove them all now and add them back on each rebuild | 20:02:32 |
kranzes | Same with the reprofucibility fixes | 20:02:46 |
kranzes | ? | 20:02:53 |
danielrf | yep. Let's try to get your builds working before we start adding stuff back in | 20:03:07 |
danielrf | pie_: 2x my 1hr? what did I report as 1hr? | 20:03:33 |
kranzes | Well im not home and only have my phone so it can be quite hard | 20:03:36 |
kranzes | I won't be home till uhh in 2 days maybe | 20:03:51 |