| 8 Apr 2023 |
gooberpatrol66 | In reply to @atemu12:matrix.org gooberpatrol66: Set your nix-daemon's TMPDIR to somewhere else Thanks, that worked | 20:10:33 |
gooberpatrol66 | 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". | 20:16:18 |
gooberpatrol66 | Is "dre" the wrong thing to call this device? https://wiki.lineageos.org/devices/dre/ | 20:16:29 |
| 10 Apr 2023 |
silent_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 |
silent_water | pog, 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 |
silent_water | one 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 |
silent_water | vanadium works! had to install the multilib variants of the apks. | 03:01:06 |
| 15 Apr 2023 |
| @nahfe:nahfe.xyz left the room. | 20:52:36 |
| 16 Apr 2023 |
| ian luo joined the room. | 02:27:26 |
| 19 Apr 2023 |
silent_water | does 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 | therivercass: I've tried updating F-droid and got similarly stuck | 15:26:14 |
| 20 Apr 2023 |
| Nyte joined the room. | 22:41:27 |
| 22 Apr 2023 |
| Jan Tojnar joined the room. | 02:06:28 |
samueldr | Jan Tojnar: about running unofficial LineageOS devices | 19:08:14 |
samueldr | https://github.com/samueldr-android-shenanigans/configuration/blob/dev/lineageos-begonia.nix | 19:08:16 |
samueldr | this is my config for begonia | 19:08:25 |
samueldr | I'm borrowing-overlaying only the minimum set of repos needed for it on top of a normal LineageOS build | 19:08:49 |
samueldr | though I'll note that I keep using LineageOS 18 (Android 11), but the theory should work elsewhere too | 19:09:06 |
samueldr | 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 |
Jan Tojnar | oh, nice, thanks, that will come in very handy | 19:10:45 |
samueldr | oh, misrembered it partially: it was broken but in-progress at LineageOS, but still the main idea applies | 19:10:47 |
samueldr | similar work here https://github.com/samueldr-android-shenanigans/configuration/blob/wip/surfna/lineageos-surfna.nix | 19:11:05 |
samueldr | it doesn't actually work correctly entirely, but it's not because of Robotnix | 19:11:21 |
samueldr | there is/was literally no community for that one | 19:11:33 |
samueldr | still, more hints | 19:11:38 |
samueldr | you'll have to start from here to gather knowledge for your device:
- https://github.com/kamikaonashi/android_device_xiaomi_mido
| 19:12:33 |
Jan Tojnar | I decided to start by adding LineageOS 16 since that had official support, hoping it will just work | 19:13:15 |
samueldr | I think it might have issues building | 19:13:32 |
samueldr | like, overall | 19:13:38 |
samueldr | so don't dwell too much on it if it doesn't seem trivial to get going | 19:13:48 |