!UUYziobKGGxpovWyAN:nixos.org

Robotnix

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

Load older messages


SenderMessageTime
23 Aug 2021
@danielrf:matrix.orgdanielrf pie_: Hey, that's great! Just let me know any questions you may have, either about the current organization of the robotnix modules, or if you'd like me to elaborate more on particular github issues. 19:07:29
@jcie74:matrix.orgpie_Sure thanks, the next thing for me is trying to get a beefy machine from somewhere - a teammate has offered one up, we'll see how that goes.19:10:26
@jcie74:matrix.orgpie_ danielrf: if you have any recommendations for how i should start learning my way around the project that would be cool i guess 19:30:35
@danielrf:matrix.orgdanielrf assuming you're familiar with the nixos module system (see the NixOS docs if not), the entrypoint default.nix includes all the modules/flavors. Probably the three most "core" modules are modules/base.nix, modules/source.nix, and modules/release.nix 19:32:59
@danielrf:matrix.orgdanielrfThe source module is one I'd love to see made generic (https://github.com/danielfullmer/robotnix/issues/115). It'll be useful for fetching kernel sources using the "repo manifest"19:35:28
@danielrf:matrix.orgdanielrf The giant build step is build.android, specified under modules/base.nix, it uses a slightly more generic mkAndroid function defined in the same file 19:36:29
@danielrf:matrix.orgdanielrf and then modules/release.nix is in charge of the final steps (signing target files, generating img / ota files) 19:37:00
@danielrf:matrix.orgdanielrfWalking through those files (plus maybe a flavor so see how certain options are set) should hopefully be enough to understand how it builds end-to-end.19:38:41
@danielrf:matrix.orgdanielrfAnd of course, reading any relevant docs you see (e.g. https://source.android.com/setup/build/building).19:41:48
25 Aug 2021
@danielrf:matrix.orgdanielrf Tagged and pushed grapheneos-2021082501. Tested on crosshatch 21:37:03
@mjolnir:nixos.orgmjolnir banned @matthewcroughan:defenestrate.itmatthewcroughan - nix.zone (<no reason supplied>).22:03:11
27 Aug 2021
@duairc:matrix.orgduairc joined the room.13:10:21
29 Aug 2021
@vika:matrix.nice.sampler.fivika (she/her) 🏳️‍⚧️ joined the room.09:46:15
@schnecfk:ruhr-uni-bochum.deCRTified joined the room.23:02:24
1 Sep 2021
@hmenke:matrix.orghmenkeI've switched to sandboxed Google Play Services to test it out. My conclusion: 5/10.06:58:10
@hmenke:matrix.orghmenkeActually microg has the much better UX because it has a nice GUI overview of which applications use Google Play Services.06:58:55
@hmenke:matrix.orghmenkeThe downside is that microg requires signature spoofing which is a security risk.06:59:18
@hmenke:matrix.orghmenkeAlso when switching from microg to sandboxed Google Play Services, most apps that use Play Services have to be reinstalled because they fail to request a new FCM token.07:00:15
@hmenke:matrix.orghmenkeThis way I also found out that Seedvault + Nextcloud is major garbage. Seedvault doesn't do incremental backups and when a backup has failed and is restarted Nextcloud just deletes everything that's already on the server.07:01:49
@volfyd:matrix.orgvolfydWow good to know re: nextcloud14:56:55
@andreas.schraegle:helsinki-systems.deajs124Nextcloud being a POS in general is sadly nothing new, but good to know that you can't even store files in it properly -.-15:00:01
@cdesai:matrix.orgcdefwiw seedvault does do incremental backups15:21:33
@cdesai:matrix.orgcdethere's two types of android backups - 'full' and 'kv' kv = key value, those are entirely incremental15:21:47
@cdesai:matrix.orgcdeseedvault takes the backup data android gives it (i.e. the os / framework), encrypts it and passes it to the chosen storage location.15:22:33
@cdesai:matrix.orgcdebut nextcloud has definitely had issues, there have been many reports and I've seen that too. We've tried to fix some of those bugs, it works a lot better now than it used to when it was initially added.15:23:11
@cdesai:matrix.orgcde
In reply to @hmenke:matrix.org
This way I also found out that Seedvault + Nextcloud is major garbage. Seedvault doesn't do incremental backups and when a backup has failed and is restarted Nextcloud just deletes everything that's already on the server.
this is bad and shouldn't happen normally, would you mind filing a bug with some more details?
15:24:06
@hmenke:matrix.orghmenkeYou're right, Seedvault does incremental backups, I used the wrong term. What I meant was that Seedvault doesn't do snapshots, so I can't go back to older backup.15:27:32
@cdesai:matrix.orgcdeah yes. that's still an open issue.15:32:33
@hmenke:matrix.orghmenke * This way I also found out that Seedvault + Nextcloud is major garbage. Seedvault doesn't do ~~incremental backups~~ snapshots and when a backup has failed and is restarted Nextcloud just deletes everything that's already on the server.15:51:59
@hmenke:matrix.orghmenke * This way I also found out that Seedvault + Nextcloud is major garbage. Seedvault doesn't do incremental backups snapshots and when a backup has failed and is restarted Nextcloud just deletes everything that's already on the server. 15:52:18

Show newer messages


Back to Room ListRoom Version: 6