@OutlawSanZhang I found a couple bugs and had a few ideas looking through the code. Would you prefer I make 5 different issues on your github, consolidate them all into a single issue or post them here, I just don't want to spam you.
The addition of a serial console is incredible (you are incredible lol), I genuinely cannot wait until this is upstreamed and honestly I am surprised google went with ttyd + a custom web ui instead of a serial console in the first place. The ominous loading wheel while the terminal boots tells me nothing about where it's hanging.
I read through the codebase and would love to contribute but I am not an android dev and building AOSP every time I make a small iteration sounds tedious. What is the process like and what are the build times after the initial build in your experience?
Also since you are supporting alternative distros/images there is a preexisting nixos image here that should probably work out of the box. https://github.com/nix-community/nixos-avf