27 Jan 2025 |
autra | yep, currently on 14 just to check if everything is ok, then I'll switch to 15 | 10:38:48 |
autra | ouch I thought that with 32Gb of ram, it'll be enough to build, but no :-( | 11:11:00 |
Atemu | You need 3-4GiB per thread | 15:45:01 |
Atemu | And your tmpdir must be on large enough persistent storage | 15:45:30 |
Atemu | I don't know the exact size off the top of my head for new versions of AOSP but it should be around 30-50GiB | 15:46:29 |
Atemu | * | 15:47:01 |
autra | It peaked around 25-30, but I solved it by adding a temporary swap file ;-) It was enough to avoid the oom killer | 20:43:26 |
autra | the build worked like a charm :-) | 20:43:40 |
Atemu | Neat :) | 20:43:49 |
autra | on "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 |
Atemu | I usually just flash ota | 20:44:52 |
autra | ota works whichever os I was on, provided it's the same major version? | 20:45:34 |
Atemu | Your SPL needs to be the same or higher | 20:47:08 |
Atemu | But if you're not wiping data, you need to run a migration script | 20:47:21 |
Atemu | And it needs to have been LOS before I think | 20:47:37 |
Atemu | 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 |
Atemu | And changing the SPL level | 20:48:34 |
pentane ⭔ | (META-INF/com/android/metadata and META-INF/com/android/metadata.pb respectively) | 20:49:24 |
pentane ⭔ | best to use a hex editor on the latter one | 20:49:40 |
Atemu | Yeah emacs was complaining about encoding when I did it yesterday but I managed to make it work by selecting raw | 20:50:16 |
pentane ⭔ | But that shouldn't matter rn since our only supported distribution is LineageOS anyway, and our LineageOS SPL is up to date | 20:51:15 |
autra | SPL is secondary program loader, right? How do you check the version? | 20:51:54 |
pentane ⭔ | Security patch level | 20:52:06 |
Atemu | It's your current build number | 20:52:08 |
autra | ah! | 20:52:11 |
pentane ⭔ | it's a date of the format YYYY-MM-DD | 20:52:22 |
autra | I was very very off :lauging: | 20:52:22 |
autra | yes | 20:52:25 |
pentane ⭔ | 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 zip | 20:53:08 |
pentane ⭔ | If that's the case you need to manually edit the SPL in these two files to match the SPL of your currently installed system | 20:53:40 |