!UUYziobKGGxpovWyAN:nixos.org

Robotnix

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

Load older messages


SenderMessageTime
1 Mar 2026
@osslate:envs.net@osslate:envs.net removed their profile picture.20:19:24
@osslate:envs.net@osslate:envs.net left the room.20:19:25
2 Mar 2026
@blazetalonshorns92646:matrix.orgMaren Horner joined the room.20:37:42
3 Mar 2026
@brittonr_:matrix.orgbrittonr joined the room.22:48:35
5 Mar 2026
@autra:trancart.euautra

Hi! when trying to sign my build with my keys, I have the following error:

Device AVB key in ./keys has wrong size (2048 bits), but 4096 bits were expected.
Either rotate your AVB signing key, or set `signing.avb.size = 2048;`.

How can I do that? (my flavor is Lineage OS)

14:39:26
@cyclopentane:aidoskyneen.eupentaneyou set the config option as described in the error message14:40:50
@cyclopentane:aidoskyneen.eupentane signing.avb.size = 2048; 14:41:12
@autra:trancart.euautrayeah, that'd be the simplest (and what I'll probably do right now), but what if I want to increase the size in the future?14:53:22
@autra:trancart.euautrawhat will work is probably to generate new keys and use the los migration script right?14:53:43
@cyclopentane:aidoskyneen.eupentaneYep, exactly14:53:50
@autra:trancart.euautraok! Just wanted to check if my intuition was correct :-)14:54:05
@cyclopentane:aidoskyneen.eupentaneyou'll have to manually patch the LOS migration script to work with your new keys tho, since they're hardcoded14:54:21
@cyclopentane:aidoskyneen.eupentaneOh and if you haven't locked your bootloader and if you're on stateVersion = 1, it'll suffice to delete and regenerate avb.pem and avb_pkmd.bin14:55:43
@cyclopentane:aidoskyneen.eupentane(The LOS key migration script is only needed for APK keys)14:56:33
@autra:trancart.euautraoh! And then no need to migrate anything?15:11:31
@autra:trancart.euautraYes I've done that initially when I migrated from the official LOS build to my own build15:11:32
@cyclopentane:aidoskyneen.eupentaneYes I think so17:26:33
@cyclopentane:aidoskyneen.eupentanecause the APK and APEX keys won't change17:26:46
* @autra:trancart.euautra is a bit afraid to try :-)17:38:01
@autra:trancart.euautrathanks ! 17:38:07
8 Mar 2026
@jonathanfishbein:matrix.orgJonathan FishbeinRedacted or Malformed Event22:47:59
@jonathanfishbein:matrix.orgJonathan FishbeinRedacted or Malformed Event22:48:02
@jonathanfishbein:matrix.orgJonathan Fishbeinhttps://github.com/jonathanfishbein1/robotnix22:50:12
@jonathanfishbein:matrix.orgJonathan Fishbein I have this to add calyxos to the repo. Its all claude code 22:50:35
@jonathanfishbein:matrix.orgJonathan Fishbeinbut I cant build it as of yet because I think 32g isnt enough22:51:07
@cyclopentane:aidoskyneen.eupentanedo what you want on your personal fork, but I will never accept slopcoded contributions like that into upstream22:55:25
@jonathanfishbein:matrix.orgJonathan FishbeinSorry to hear that. its true I dont know much about android building and really couldnt say one way or the other about the generated code atm22:58:06
@jonathanfishbein:matrix.orgJonathan Fishbein but claude is pretty capable whether we want to admit it or not. Im using it effectively for haskell development and it can implement pretty advanced concepts that I can verify 22:59:38
@cyclopentane:aidoskyneen.eupentaneneither did I a year ago, and yet I maintain robotnix now. come back once you are actually interested in learning and contributing by yourself23:01:02
@ss:someonex.netSomeoneSerge (matrix works sometimes) changed their display name from SomeoneSerge (back on matrix) to SomeoneSerge (matrix works sometimes).23:35:52

There are no newer messages yet.


Back to Room ListRoom Version: 6