| 8 May 2024 |
K900 | Waydroid is not going to happen on WSL realistically | 14:04:56 |
K900 | It requires a custom kernel and graphics acceleration | 14:05:07 |
K900 | Which is possible but non-trivial | 14:05:20 |
K900 | And will probably break something or other in the WSL stack anyway because it does some pretty arcane magic to make things work at all | 14:05:50 |
K900 | For VSCode, the easiest workaround is probably https://github.com/K900/vscode-remote-workaround/blob/main/vscode.nix | 14:07:35 |
balanced_design | WSA(windows subsystem for android) works though?
WSA is just being depricate in a year, so I was finding an alternative which is decently performant. And WSL is a hypervisor that gets harware access and all apps ive checked have x86 apk versions.
As for it breaking other things, I have 2 NixOS installations. The intention was for 1 to only be for waydroid. | 14:09:33 |
K900 | WSA works | 14:10:10 |
K900 | But it's not just WSL | 14:10:14 |
K900 | It's Hyper-V + a lot of custom Microsoft proprietary glue | 14:10:23 |
K900 | It's not WSL running Waydroid, or WSL running anything resembling "normal" Android | 14:10:42 |
K900 | (and WSL can't run "normal" Android anyway, because "normal" Android has surprisingly little in common with desktop Linux) | 14:11:13 |
balanced_design | Any info on how to save my changes to the configuration.nix file without getting the "read only file system" error? | 14:12:03 |
K900 | You should edit it as root | 14:12:14 |
balanced_design | sudo nano configuration.nix then editing the config then ctrl + O then enter
results in the same read only error.
| 14:15:30 |
balanced_design | I assume I dont understand something | 14:15:45 |
K900 | That sounds wrong | 14:17:16 |
K900 | What file are you editing? | 14:17:24 |
balanced_design |
- I have installed nixos. Its on wsl version 2. Its set to default.
- I open it using wsl -d <distro name>
- I cd into /mnt/wslg/distro/etc/nixos/
- I try to edit the file using "sudo nano configuration.nix" (I use nano since I didnt know which editor and using nano appears here https://wiki.nixos.org/wiki/Nixos-rebuild.)
| 14:19:33 |
K900 | Yeah that's the wrong place | 14:19:55 |
K900 | You want to just cd /etc/nixos | 14:20:01 |
balanced_design | Thank you for the help. I appreciate it alot. | 14:22:22 |
balanced_design | Since you seem to know a decent bit about android and WSL. Do you have any ideas on a way to get android on windows with good performance? | 14:24:59 |
balanced_design | I am happy to research them myself, you dont need to write everything about them for me | 14:25:25 |
K900 | The official Android emulator seems OK for me? | 14:25:35 |
balanced_design | Just asking for any ideas. | 14:25:36 |
K900 | I don't really use Android apps though | 14:25:47 |
balanced_design | Thanks for answering. Sadly in the past I've tried the android studio emulator (which is what I assume you mean), aswell as nox a long time ago, and I'm using WSA now.
If waydroid on WSL doesnt work out I'll google if theres some other "official android emulator" that you could have been refering to. | 14:32:51 |
balanced_design | Thanks again | 14:33:34 |
K900 | I do mean the Android Studio emulator | 14:34:04 |
nzbr (they/it) | In my experience that one is really slow though (especially compared to WSA)
Some time ago I used Genymotion Desktop, but I have no idea how good their free version is now. And if you can stand adware, BlueStacks had really good performance last time I used it; it's just really annoying (at least they don't seem to make you download random apps to be allowed to continue using it anymore) | 14:41:30 |