!UUYziobKGGxpovWyAN:nixos.org

Robotnix

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

Load older messages


SenderMessageTime
27 Jan 2025
@atemu12:matrix.orgatemu12Yeah it's a ~70GiB download10:34:07
@atemu12:matrix.orgatemu12That's much preferable to the couple hundred gigs you'd normally have to download though10:34:48
@atemu12:matrix.orgatemu12Make sure you've set the correct androidVersion10:34:58
@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.orgatemu12You need 3-4GiB per thread15:45:01
@atemu12:matrix.orgatemu12And your tmpdir must be on large enough persistent storage15:45:30
@atemu12:matrix.orgatemu12I 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.orgatemu12 * 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.orgatemu12Neat :)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.orgatemu12I 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.orgatemu12Your SPL needs to be the same or higher20:47:08
@atemu12:matrix.orgatemu12But if you're not wiping data, you need to run a migration script20:47:21
@atemu12:matrix.orgatemu12And it needs to have been LOS before I think20:47:37
@atemu12:matrix.orgatemu12 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.orgatemu12And 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.orgatemu12 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.orgatemu12It'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

Show newer messages


Back to Room ListRoom Version: 6