!UUYziobKGGxpovWyAN:nixos.org

Robotnix

205 Members
Build Android (AOSP) using Nix | https://github.com/nix-community/robotnix65 Servers

Load older messages


SenderMessageTime
27 Jan 2025
@autra:trancart.euautrayep, currently on 14 just to check if everything is ok, then I'll switch to 1510:38:48
@autra:trancart.euautraouch I thought that with 32Gb of ram, it'll be enough to build, but no :-(11:11:00
@atemu12:matrix.orgAtemuYou need 3-4GiB per thread15:45:01
@atemu12:matrix.orgAtemuAnd your tmpdir must be on large enough persistent storage15:45:30
@atemu12:matrix.orgAtemuI don't know the exact size off the top of my head for new versions of AOSP but it should be around 30-50GiB15:46:29
@atemu12:matrix.orgAtemu * 15:47:01
@autra:trancart.euautraIt peaked around 25-30, but I solved it by adding a temporary swap file ;-) It was enough to avoid the oom killer20:43:26
@autra:trancart.euautrathe build worked like a charm :-)20:43:40
@atemu12:matrix.orgAtemuNeat :)20:43:49
@autra:trancart.euautraon "https://docs.robotnix.org/installation.html", step 5, it mentions a ./flash-all.sh, but I don't have this file. A sideload is ok right?20:44:25
@atemu12:matrix.orgAtemuI usually just flash ota20:44:52
@autra:trancart.euautraota works whichever os I was on, provided it's the same major version?20:45:34
@atemu12:matrix.orgAtemuYour SPL needs to be the same or higher20:47:08
@atemu12:matrix.orgAtemuBut if you're not wiping data, you need to run a migration script20:47:21
@atemu12:matrix.orgAtemuAnd it needs to have been LOS before I think20:47:37
@atemu12:matrix.orgAtemu cyclopentane ⭔: figured out that you can relatively easily skip SPL checks by modifying the OTA zip's META-INF/android/something/metadata* files 20:48:26
@atemu12:matrix.orgAtemuAnd changing the SPL level20:48:34
@cyclopentane:aidoskyneen.eupentane ⭔ (META-INF/com/android/metadata and META-INF/com/android/metadata.pb respectively) 20:49:24
@cyclopentane:aidoskyneen.eupentane ⭔best to use a hex editor on the latter one20:49:40
@atemu12:matrix.orgAtemu Yeah emacs was complaining about encoding when I did it yesterday but I managed to make it work by selecting raw 20:50:16
@cyclopentane:aidoskyneen.eupentane ⭔But that shouldn't matter rn since our only supported distribution is LineageOS anyway, and our LineageOS SPL is up to date20:51:15
@autra:trancart.euautraSPL is secondary program loader, right? How do you check the version?20:51:54
@cyclopentane:aidoskyneen.eupentane ⭔Security patch level20:52:06
@atemu12:matrix.orgAtemuIt's your current build number20:52:08
@autra:trancart.euautraah!20:52:11
@cyclopentane:aidoskyneen.eupentane ⭔it's a date of the format YYYY-MM-DD20:52:22
@autra:trancart.euautraI was very very off :lauging:20:52:22
@autra:trancart.euautrayes20:52:25
@cyclopentane:aidoskyneen.eupentane ⭔If you try to sideload an OTA zip via the recovery which has a lower (i.e. earlier) SPL than your currently installed system, it will refuse to flash the OTA zip20:53:08
@cyclopentane:aidoskyneen.eupentane ⭔If that's the case you need to manually edit the SPL in these two files to match the SPL of your currently installed system20:53:40

Show newer messages


Back to Room ListRoom Version: 6