!UUYziobKGGxpovWyAN:nixos.org

Robotnix

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

Load older messages


SenderMessageTime
2 Jan 2025
@oak:universumi.fioak 🏳️‍🌈♥️* (In addition to Trichrome, you can just build either standalone Chromium or standalone Webview, or both separately as standalone, but that then takes more disk space)17:06:00
@atemu12:matrix.orgatemu12It claims to be a "webview" apk17:06:16
@oak:universumi.fioak 🏳️‍🌈♥️but yeah, about the CI and testing, I think proper testing would actually be to install the build into some device, and try to run some tests with that17:08:54
@atemu12:matrix.orgatemu12Emulator would be ideal17:09:25
@oak:universumi.fioak 🏳️‍🌈♥️but even checking that stuff builds successfully is usually a good start17:09:25
@atemu12:matrix.orgatemu12Yes although, at this point, if I can't verify that something works as intended or the author convinced me that they have done so sufficiently, I'm not merging it anyways17:10:47
@atemu12:matrix.orgatemu12CI would be most useful for catching stupid careless mistakes17:11:17
@atemu12:matrix.orgatemu12Or enforcing standards17:11:31
@oak:universumi.fioak 🏳️‍🌈♥️It's also useful for finding regressions, for example if you change something on LineageOS 21 builds, something might break on LOS 20 or AOSP build17:12:19
@oak:universumi.fioak 🏳️‍🌈♥️Currently the situation is a bit messy, we have documentation which claims all kinds of features, which don't currently work, but it's not stated anywhere which things work and which don't. And things that aren't actively tested on CI will get bit rot17:13:03
@oak:universumi.fioak 🏳️‍🌈♥️Actually there is Status list and I don't completely agree on stuff on subject to removal -column :D The OTA updater does work and I do use it17:17:23
@oak:universumi.fioak 🏳️‍🌈♥️It's not that useful though, because after running OTA update I still need to manually reinstall Magisk and MindTheGapps through Recovery17:18:03
@oak:universumi.fioak 🏳️‍🌈♥️I don't know could I already bake Magisk and MindTheGApps into the build17:18:26
@atemu12:matrix.orgatemu12Fair point17:19:20
@atemu12:matrix.orgatemu12Please send a PR :)17:19:30
@atemu12:matrix.orgatemu12I don't know about Google's spyware but Magisk: Yes17:20:08
@atemu12:matrix.orgatemu12https://github.com/nix-community/robotnix/pull/26617:20:23
@atemu12:matrix.orgatemu12https://github.com/nix-community/robotnix/issues/1417:20:33
@atemu12:matrix.orgatemu12(I think you'd know more about embedding gapps into AOSP than I do given you've worked in the industry :) )17:22:09
@oak:universumi.fioak 🏳️‍🌈♥️Yeah they did it in one project in the past but I don't have access to the project's Android tree anymore so I could check how it was done17:22:54
@oak:universumi.fioak 🏳️‍🌈♥️It looks like you just need to unzip the GApps bundle, and copy some files to right places during the build17:25:42
@oak:universumi.fioak 🏳️‍🌈♥️and remove few apps from the build if you don't want to have two Contacts, Calendar, etc. apps17:27:13
@atemu12:matrix.orgatemu12I'm sure there's a pre-made vendor/gapps module somewhere17:27:36
@countoren:matrix.orgcountorendo we have way right now to change init.rc on the device?18:50:42
@countoren:matrix.orgcountorenfrom a module in robotnix?18:50:58
@atemu12:matrix.orgatemu12I'm sure there is19:02:16
@atemu12:matrix.orgatemu12But not from robotnix itself19:02:32
@oak:universumi.fioak 🏳️‍🌈♥️You could patch how the init.rc is being built from the source files20:25:30
@oak:universumi.fioak 🏳️‍🌈♥️IIRC init.rc or at least some of those configuration files are generated by combining mulitple source files from Android source tree20:27:32
@atemu12:matrix.orgatemu12Generally with most of this stuff the answer is yes because all we really do is wrap the AOSP build process in a Nix drv20:28:11

Show newer messages


Back to Room ListRoom Version: 6