!UUYziobKGGxpovWyAN:nixos.org

Robotnix

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

Load older messages


SenderMessageTime
6 Sep 2021
@kranzes:matrix.orgkranzesI can try building through ssh on my phone 20:04:14
@danielrf:matrix.orgdanielrf dsx: Hmm, that's unfortunate. I've switched the default for redfin to use kernel.enable = false for now in https://github.com/danielfullmer/robotnix/commit/eb2bb398270639bda9c6fc43be5951b4c4025452 20:10:02
@danielrf:matrix.orgdanielrf dsx: We have an open issue to build kernels in the way recommended by upstream, which might fix the issue. But that will require some work: https://github.com/danielfullmer/robotnix/issues/116 20:11:14
@kranzes:matrix.orgkranzesScreenshot_20210906-231400748 (1).jpg
Download Screenshot_20210906-231400748 (1).jpg
20:14:23
@kranzes:matrix.orgkranzesWhat about these20:14:32
@danielrf:matrix.orgdanielrfYep, let's comment out the "vendor/lineage" section20:15:05
@danielrf:matrix.orgdanielrfbut not "system/extras". That was a necessary fix for lineageos to work with our python from nixpkgs20:15:30
@kranzes:matrix.orgkranzesWhat about kernelsNeedFix?20:15:47
@kranzes:matrix.orgkranzesAnd patchKernelDir20:16:09
@kranzes:matrix.orgkranzesOr is this part of reproducabilityfixes?20:18:23
@danielrf:matrix.orgdanielrfyeah its applied if you enable useReproducibilityFixes20:21:07
@kranzes:matrix.orgkranzeshttps://github.com/Kranzes/robotnix-forklineageos/commit/e04021c606a021ca4f3d8fc1a96b531e8d403b0d20:24:08
@kranzes:matrix.orgkranzesHow does this look?20:24:14
@kranzes:matrix.orgkranzesDid i miss anything?20:24:56
@danielrf:matrix.orgdanielrfLooks good to me!20:26:41
@kranzes:matrix.orgkranzes danielrf you told me before that you ran a boringssl test on the image that worked, could you explain to me how you did that? 22:23:06
@danielrf:matrix.orgdanielrf I was just messing around, and I'm not sure it proves anything, but I extracted the filesystem from the system.img, and ran a command like qemu-aarch64 system/apex/com.android.runtime/bin/linker64 $(pwd)/system/bin/boringssl_self_test64 22:27:16
@danielrf:matrix.orgdanielrfI also had to set LD_LIBRARY_PATH to include some other libs so the dynamic linker would work22:27:54
@kranzes:matrix.orgkranzes
In reply to @danielrf:matrix.org
I was just messing around, and I'm not sure it proves anything, but I extracted the filesystem from the system.img, and ran a command like qemu-aarch64 system/apex/com.android.runtime/bin/linker64 $(pwd)/system/bin/boringssl_self_test64
Could you try running that on one of the failed zips?
22:31:05
@kranzes:matrix.orgkranzesTo see if the test passes on images that boot and if it fails on images that don't boot22:31:40
@danielrf:matrix.orgdanielrfI already tried that, and I didn't get any obvious error on either of them22:33:20
@kranzes:matrix.orgkranzesSo the results are meaningless right 22:44:00
@kranzes:matrix.orgkranzesScreenshot_20210907-014426936.jpg
Download Screenshot_20210907-014426936.jpg
22:44:38
@kranzes:matrix.orgkranzesStill building 22:44:40
@kranzes:matrix.orgkranzes88%22:44:45
7 Sep 2021
@kranzes:matrix.orgkranzes danielrf Booted correctly 00:41:20
@kranzes:matrix.orgkranzesCurrently using it00:41:33
@kranzes:matrix.orgkranzesWhat do you think it is?00:41:55
@danielrf:matrix.orgdanielrfwow! It still seems surprising that any of the things you'd commented out could cause that00:41:59
@kranzes:matrix.orgkranzesYup00:42:11

Show newer messages


Back to Room ListRoom Version: 6