!UUYziobKGGxpovWyAN:nixos.org

Robotnix

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

Load older messages


SenderMessageTime
26 Mar 2024
@eyjhb:eyjhb.dkeyJhbWeird... But you're running lineageos built with robotnix now, and it works?10:25:07
@atemu12:matrix.orgatemu12Sure am10:25:14
@atemu12:matrix.orgatemu12Been doing so for a few years10:25:24
@eyjhb:eyjhb.dkeyJhb
In reply to @atemu12:matrix.org
Make sure you've allowed the ccache dir out of the sandbox; it really helps a ton
I read this https://docs.robotnix.org/modules/other.html?highlight=cca#ccache , but then it didn't describe HOW to add it as a sandbox exception. So I quickly moved away from it again :/
10:25:41
@atemu12:matrix.orgatemu12
In reply to @atemu12:matrix.org
I only know that it started working again after I wiped data, flashed an image via fastboot and then OTA again
A hunch I have is that it might be connected to the way we build the OTA package being out of date or something; it hasn't been updated in years
10:26:35
@atemu12:matrix.orgatemu12
In reply to @eyjhb:eyjhb.dk
I read this https://docs.robotnix.org/modules/other.html?highlight=cca#ccache , but then it didn't describe HOW to add it as a sandbox exception. So I quickly moved away from it again :/
https://github.com/Atemu/nixos-config/blob/42ccafda97446cc4633b208504dd6d1d8c613fcf/configs/HEPHAISTOS/storage.nix#L29-L31
10:26:48
@eyjhb:eyjhb.dkeyJhb
In reply to @atemu12:matrix.org
https://github.com/Atemu/nixos-config/blob/42ccafda97446cc4633b208504dd6d1d8c613fcf/configs/HEPHAISTOS/storage.nix#L29-L31
Cool, thanks! Do you only use the ccache for robotnix?
10:27:32
@atemu12:matrix.orgatemu12Yeah10:27:38
@atemu12:matrix.orgatemu12Speeds up rebuilds by 2x usually10:27:57
@eyjhb:eyjhb.dkeyJhb
In reply to @atemu12:matrix.org
A hunch I have is that it might be connected to the way we build the OTA package being out of date or something; it hasn't been updated in years
And I guess it's a hassle to update?
10:28:08
@atemu12:matrix.orgatemu12No idea10:28:15
@atemu12:matrix.orgatemu12Theoretically, it shouldn't be too hard10:28:29
@atemu12:matrix.orgatemu12It's just a package for a tool that transforms the image files the main android drv spits out into a flashable zip10:28:54
@atemu12:matrix.orgatemu12You'll have to figure out which project is the go-to option for that nowadays though10:29:16
@eyjhb:eyjhb.dkeyJhb
In reply to @atemu12:matrix.org
You'll have to figure out which project is the go-to option for that nowadays though
Oh, fun, easter egg hunt but for Android :D
10:30:07
@atemu12:matrix.orgatemu12Hehe10:30:14
@eyjhb:eyjhb.dkeyJhbCould be cool to investigate, but at the same time, anything Android use a huge undertaking10:30:24
@eyjhb:eyjhb.dkeyJhb Wait, do you actually use OTA updates from your server to your phone? With signing and everything Atemu ? 10:32:46
@atemu12:matrix.orgatemu12Nope10:32:54
@atemu12:matrix.orgatemu12It's just the format you flash in recovery10:33:14
@atemu12:matrix.orgatemu12What you're describing is how to receive the updates10:33:41
@eyjhb:eyjhb.dkeyJhbAh true :)10:34:23
@eyjhb:eyjhb.dkeyJhbI guess this is not the part you mean should maybe be updated ? https://github.com/nix-community/robotnix/blob/master/modules/release.nix#L55-L6010:36:41
@atemu12:matrix.orgatemu12That's just the invocation10:37:29
@atemu12:matrix.orgatemu12If a project with different CLI interface is used, that part would have to be updated, yes10:37:46
@ajs124:ajs124.deajs124
In reply to @eyjhb:eyjhb.dk
Wait, do you actually use OTA updates from your server to your phone? With signing and everything Atemu ?
I used to have a setup like that
10:38:04
@atemu12:matrix.orgatemu12 We need a new/different ota_from_target_files 10:38:08
@atemu12:matrix.orgatemu12 o/ ajs124 10:38:22
@ajs124:ajs124.deajs124it was this https://github.com/ajs124/robotnix-hydra and some nixos config. but I had to reformat my device at some point (forgot how to unlock it and didn't have it written down anywhere), so I switched to regular grapheneos.10:40:04
@eyjhb:eyjhb.dkeyJhb
In reply to @atemu12:matrix.org
We need a new/different ota_from_target_files
Is the current one just pinned? I thought it just followed the "general" updates.
10:42:03

Show newer messages


Back to Room ListRoom Version: 6