!UUYziobKGGxpovWyAN:nixos.org

Robotnix

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

Load older messages


SenderMessageTime
8 Apr 2023
@gooberpatrol66:matrix.orggooberpatrol66
In reply to @atemu12:matrix.org
gooberpatrol66: Set your nix-daemon's TMPDIR to somewhere else
Thanks, that worked
20:10:33
@gooberpatrol66:matrix.orggooberpatrol66I tried to build an image with device = "dre"; flavor = "lineageos"; and it returned build/make/core/product_config.mk:160: error: Can not locate config makefile for product "lineage_dre".20:16:18
@gooberpatrol66:matrix.orggooberpatrol66Is "dre" the wrong thing to call this device? https://wiki.lineageos.org/devices/dre/20:16:29
10 Apr 2023
@therivercass:matrix.orgsilent_water
In reply to @gooberpatrol66:matrix.org
I tried to build an image with device = "dre"; flavor = "lineageos"; and it returned build/make/core/product_config.mk:160: error: Can not locate config makefile for product "lineage_dre".
I was having a similar problem until I got the vendor files loaded in properly. I'd double check that the dre device is defined/configured in the lineageos flavor module and that the vendor files for it are getting correctly picked up.
02:41:23
@therivercass:matrix.orgsilent_waterpog, finally got graphene to boot. I had to rework the kernel build to happen from inside an FHS environment -- realized it was an issue because I was getting a bootloop almost instantaneously, around the time the kernel should have been loading. I also updated the signing process to support sops encrypted keys. you can provide a private key via --extra-sandbox-paths and the keys get decrypted just in time to be used, in memory, and then cleaned up. I only have it supporting age and pgp for now. vanadium crashes on startup but so far everything else seems to work.03:08:05
@therivercass:matrix.orgsilent_waterone irritating thing - the target files package produced by the android 13 build has a .zip extension but it's actually a cpio archive that references files via relative path. the only way to make that archive survive the move into the nix store was to copy the unpacked target files into the nix store alongside it. you also have to interact with these zip files (target files and factory image) via bsdtar -- all other tools will throw errors, even cpio, because it's a multi-volume archive with signatures and other metadata written into the headers and footers of each partition. for anyone working on getting other flavors to work with android 13, I'd take a look at how I solved this problem in modules/base.nix and modules/release.nix.03:42:43
11 Apr 2023
@therivercass:matrix.orgsilent_watervanadium works! had to install the multilib variants of the apks.03:01:06
15 Apr 2023
@nahfe:nahfe.xyz@nahfe:nahfe.xyz left the room.20:52:36
16 Apr 2023
@ianluo001:matrix.orgian luo joined the room.02:27:26
19 Apr 2023
@therivercass:matrix.orgsilent_waterdoes anyone have thoughts on how to update the auditor app to the current release? gradle2nix hasn't been maintained in years and seems completely broken. auditor requires gradle 7.6 but that's much newer than the last supported update to gradle2nix.13:04:37
@atemu12:matrix.orgatemu12 therivercass: I've tried updating F-droid and got similarly stuck 15:26:14
20 Apr 2023
@realnyte:matrix.orgNyte joined the room.22:41:27
22 Apr 2023
@jtojnar:matrix.orgJan Tojnar joined the room.02:06:28
@samueldr:matrix.orgsamueldr Jan Tojnar: about running unofficial LineageOS devices 19:08:14
@samueldr:matrix.orgsamueldrhttps://github.com/samueldr-android-shenanigans/configuration/blob/dev/lineageos-begonia.nix19:08:16
@samueldr:matrix.orgsamueldrthis is my config for begonia19:08:25
@samueldr:matrix.orgsamueldrI'm borrowing-overlaying only the minimum set of repos needed for it on top of a normal LineageOS build19:08:49
@samueldr:matrix.orgsamueldrthough I'll note that I keep using LineageOS 18 (Android 11), but the theory should work elsewhere too19:09:06
@samueldr:matrix.orgsamueldr

if you want another set of hints, this diff removes the work that had been needed to support an unofficial LineageOS build that became official

  • https://github.com/samueldr-android-shenanigans/configuration/commit/c92e98c3ab0cfd7ddbff17e974b14ddb575fee24
19:09:45
@jtojnar:matrix.orgJan Tojnaroh, nice, thanks, that will come in very handy19:10:45
@samueldr:matrix.orgsamueldroh, misrembered it partially: it was broken but in-progress at LineageOS, but still the main idea applies19:10:47
@samueldr:matrix.orgsamueldrsimilar work here https://github.com/samueldr-android-shenanigans/configuration/blob/wip/surfna/lineageos-surfna.nix19:11:05
@samueldr:matrix.orgsamueldrit doesn't actually work correctly entirely, but it's not because of Robotnix19:11:21
@samueldr:matrix.orgsamueldrthere is/was literally no community for that one19:11:33
@samueldr:matrix.orgsamueldrstill, more hints19:11:38
@samueldr:matrix.orgsamueldr

you'll have to start from here to gather knowledge for your device:

  • https://github.com/kamikaonashi/android_device_xiaomi_mido
19:12:33
@jtojnar:matrix.orgJan TojnarI decided to start by adding LineageOS 16 since that had official support, hoping it will just work19:13:15
@samueldr:matrix.orgsamueldrI think it might have issues building19:13:32
@samueldr:matrix.orgsamueldrlike, overall19:13:38
@samueldr:matrix.orgsamueldrso don't dwell too much on it if it doesn't seem trivial to get going19:13:48

Show newer messages


Back to Room ListRoom Version: 6