!UUYziobKGGxpovWyAN:nixos.org

Robotnix

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

Load older messages


SenderMessageTime
25 Nov 2024
@oak:universumi.fioak 🏳️‍🌈♥️Few weeks ago when I started looking at things, the first thing I tried to fix was the webview thing but then I just disabled it because I was told it is broken :D but then the errors I saw were related to something like when you upgrade nixpkgs and have too new versions of tools, for example the Python build scripts used features that were already removed from Python 3.1100:15:36
@oak:universumi.fioak 🏳️‍🌈♥️ * Few weeks ago when I started looking at things, the first thing I tried to fix was the webview thing but then I just disabled it because I was told it is broken :D but the errors I saw were related to something like when you upgrade nixpkgs and have too new versions of tools, for example the Python build scripts used features that were already removed from Python 3.1100:16:03
@oak:universumi.fioak 🏳️‍🌈♥️Okay, it looks like the build process and build scripts of the webview are even more complex than the Android itself :D00:38:43
@oak:universumi.fioak 🏳️‍🌈♥️ * Okay, it looks like the build process and build scripts of the webview are even more complex than the stuff for Android itself :D00:38:58
@oak:universumi.fioak 🏳️‍🌈♥️This seems to be another rabbit hole00:52:32
@oak:universumi.fioak 🏳️‍🌈♥️Apparently something has changed inside the Chromium build scripts because the mk-vendor-file.py script works for the old version but not for the newest version00:53:49
@atemu12:matrix.orgAtemuI really don't know, I've never ever touched that stuff01:25:13
@oak:universumi.fioak 🏳️‍🌈♥️Pain, they have added their own "vpython3" distirbution to the depot_tools of Chromium, I tried updating depot_tools since it was from 202002:54:36
@oak:universumi.fioak 🏳️‍🌈♥️Maybe it is possible to get it working if I autoPatchelf the binaries or something02:55:23
@oak:universumi.fioak 🏳️‍🌈♥️Or try to create similar Python environment with Nix and then patchShebangs02:57:30
@atemu12:matrix.orgAtemuI thought chromium was built inside of an FHS container?02:58:52
@atemu12:matrix.orgAtemuLike the android build?02:59:00
@oak:universumi.fioak 🏳️‍🌈♥️Can I use normal dynamic linking if I create FHS shell?02:59:33
@atemu12:matrix.orgAtemuYup02:59:52
@atemu12:matrix.orgAtemuThat's what it's for02:59:57
@oak:universumi.fioak 🏳️‍🌈♥️That's a thing to try tomorrow03:00:21
@oak:universumi.fioak 🏳️‍🌈♥️ This mk-vendor-file.py calls some depot_tools/gclient.py flatten --pin-all-deps tool, and it seems to use some bundled "vpython3" tool, which is a virtualenv + some version of Python3 I think 03:01:55
@oak:universumi.fioak 🏳️‍🌈♥️And they extensively do just call the process vpython3 everywhere03:02:41
@oak:universumi.fioak 🏳️‍🌈♥️They expect to find executable vpython3 in PATH03:03:10
@oak:universumi.fioak 🏳️‍🌈♥️They had repo tool, but then they had to write different tool for Chromium project03:04:05
@ryantrinkle:matrix.orgryantrinkleWhat's the smoothest phone and android to use with robotnix these days?16:58:52
@ryantrinkle:matrix.orgryantrinklelike, least likely to run into issues with building, updating, etc.16:59:16
@ryantrinkle:matrix.orgryantrinklei'm on graphene now, but haven't updated in a long time16:59:35
@samueldr:matrix.org@samueldr:matrix.orgif you read the past few days' chatter, those that got built for and installed are likely those that fit your criteria...17:12:26
@samueldr:matrix.org@samueldr:matrix.org ... but also I would presume that any that are currently well-supported by LineageOS in one of the supported release are almost just as likely to work well 17:13:00
@samueldr:matrix.org@samueldr:matrix.org(IIRC the previously mentioned phones were a fairphone, 4 IIRC? and oneplus 5?(T?))17:13:41
@samueldr:matrix.org@samueldr:matrix.org or uh... hmmm... lol https://github.com/nix-community/robotnix/blob/master/flavors/lineageos/supported_devices.toml 17:14:47
@samueldr:matrix.org@samueldr:matrix.org ah right, instantnoodle is oneplus 8 https://github.com/nix-community/robotnix/pull/258 17:15:27
@samueldr:matrix.org@samueldr:matrix.org *

ah right, instantnoodle is oneplus 8

17:15:38
@oak:universumi.fioak 🏳️‍🌈♥️Depends on what you want to run, I'd say if you want to run LineageOS then those devices supported by LineageOS are easy go21:00:13

Show newer messages


Back to Room ListRoom Version: 6