| 26 Mar 2024 |
eyJhb | Weird... But you're running lineageos built with robotnix now, and it works? | 10:25:07 |
atemu12 | Sure am | 10:25:14 |
atemu12 | Been doing so for a few years | 10:25:24 |
eyJhb | 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 | 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 | 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 | 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 | Yeah | 10:27:38 |
atemu12 | Speeds up rebuilds by 2x usually | 10:27:57 |
eyJhb | 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 | No idea | 10:28:15 |
atemu12 | Theoretically, it shouldn't be too hard | 10:28:29 |
atemu12 | It's just a package for a tool that transforms the image files the main android drv spits out into a flashable zip | 10:28:54 |
atemu12 | You'll have to figure out which project is the go-to option for that nowadays though | 10:29:16 |
eyJhb | 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 | Hehe | 10:30:14 |
eyJhb | Could be cool to investigate, but at the same time, anything Android use a huge undertaking | 10:30:24 |
eyJhb | Wait, do you actually use OTA updates from your server to your phone? With signing and everything Atemu ? | 10:32:46 |
atemu12 | Nope | 10:32:54 |
atemu12 | It's just the format you flash in recovery | 10:33:14 |
atemu12 | What you're describing is how to receive the updates | 10:33:41 |
eyJhb | Ah true :) | 10:34:23 |
eyJhb | I guess this is not the part you mean should maybe be updated ? https://github.com/nix-community/robotnix/blob/master/modules/release.nix#L55-L60 | 10:36:41 |
atemu12 | That's just the invocation | 10:37:29 |
atemu12 | If a project with different CLI interface is used, that part would have to be updated, yes | 10:37:46 |
ajs124 | 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 | We need a new/different ota_from_target_files | 10:38:08 |
atemu12 | o/ ajs124 | 10:38:22 |
ajs124 | it 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 | 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 |