!UUYziobKGGxpovWyAN:nixos.org

Robotnix

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

Load older messages


SenderMessageTime
30 Oct 2023
@atemu12:matrix.orgatemu12If you want, you can try to add support though08:42:37
@atemu12:matrix.orgatemu12No idea how hard it'd be to add it to the current devices but it shouldn't be witchcraft. You will be stuck with a very old version though.08:43:12
@atemu12:matrix.orgatemu12Ah, wait. Forgot about this: https://github.com/nix-community/robotnix/pull/20308:43:40
6 Nov 2023
@marius851000:mariusdavid.frMarius changed their profile picture.19:16:25
8 Nov 2023
@atemu12:matrix.orgatemu12So I just found out my LineageOS repo mirror was using some rather old manifest because it tracked the master branch rather than main of the mirror repo17:16:07
@atemu12:matrix.orgatemu12And that was causing a kernel repo to be missing in my mirror17:17:24
9 Nov 2023
@atemu12:matrix.orgatemu12If anyone has attempted to update robotnix' nixpkgs and/or remove python2 before, please contribute any WIP patches you might have had.08:35:38
@atemu12:matrix.orgatemu12https://github.com/nix-community/robotnix/issues/21808:35:40
@atemu12:matrix.orgatemu12https://github.com/nix-community/robotnix/issues/21908:35:45
10 Nov 2023
@eyjhb:eyjhb.dkeyJhb joined the room.12:06:28
@eyjhb:eyjhb.dkeyJhb

I'm reading this https://github.com/nix-community/robotnix/blob/master/docs/src/development.md#emulator , which states that one can run

$ nix-build ./default.nix --arg configuration '{device="x86_64"; flavor="vanilla";}' -A emulator
$ ./result

To run a emulator. However, I am getting

eyjhb@jhbws01 ~/s/robotnix (master)> ./result                                                                                                                                                                                                                  
INFO    | Android emulator version 31.1.4.0 (build_id 7920983) (CL:N/A)
ERROR   | This AVD's configuration is missing a kernel file! Please ensure the file "kernel-ranchu" is in the same location as your system image.
ERROR   | ANDROID_SDK_ROOT is defined (/nix/store/k8kadzfbjw93zcg1hyq6ib29kv9rzcif-fake-sdk) but cannot find kernel file in /nix/store/k8kadzfbjw93zcg1hyq6ib29kv9rzcif-fake-sdk/system-images/ sub directories
12:07:27
@eyjhb:eyjhb.dkeyJhbAm I missing something?12:07:35
@atemu12:matrix.orgatemu12This used to work with LineageOS ~3 years ago for me IIRC12:32:29
@atemu12:matrix.orgatemu12Perhaps try that12:32:38
@atemu12:matrix.orgatemu12 sdk_phone_x86_64 12:39:21
@atemu12:matrix.orgatemu12Is the device name12:39:26
@atemu12:matrix.orgatemu12I'll see if it builds12:39:31
@atemu12:matrix.orgatemu12Nope.12:42:21
@atemu12:matrix.orgatemu12It appears to do some copies that regular device builds don't do; requiring a few more patches12:43:21
@atemu12:matrix.orgatemu12 eyJhb: 19.1 appears to work; it'd fail earlier than my build has come 12:54:39
@eyjhb:eyjhb.dkeyJhb
In reply to @atemu12:matrix.org
eyJhb: 19.1 appears to work; it'd fail earlier than my build has come
How are you calling this?
13:02:23
@atemu12:matrix.orgatemu12 { device = "sdk_phone_x86_64"; flavor = "lineageos", androidVersion = 12; } should do it 13:03:20
@eyjhb:eyjhb.dkeyJhbTrying to fire that off13:07:33
@atemu12:matrix.orgatemu12Seems to run but crash in swiftshader14:54:59
@atemu12:matrix.orgatemu12Might be a mesa issue; it's impure14:55:14
13 Nov 2023
@raboof:matrix.org@raboof:matrix.org left the room.08:51:28
15 Nov 2023
@grahamc:nixos.org@grahamc:nixos.orgchanged room power levels.16:15:58
@philipp:xndr.dephilipp left the room.16:21:44
@grahamc:nixos.org@grahamc:nixos.org 16:38:40
@grahamc:nixos.org@grahamc:nixos.org 16:39:30

Show newer messages


Back to Room ListRoom Version: 6