I run following sequence of commands to build android image on my remote ubuntu machine:
Then I moved all image files from out directory to my windows machine and replace those that are in android sdk under `sdk\system-images\android-29\default\x86\`, there are two system.img and system-qemy.img files produced from build and system-qemu.img has same size as system.img in sdk directory, so I assume I need to use this, though I've tried all combinations (replacing all img file, only system.img) - nothing worked.
To run this image in emulator via android studio I've created new virtual device for Android 10 (i.e. without google-apis) and when started - it stuck in black screen. When I use original image from sdk - everything works. From build.prop files that lay around in sdk directory I see that it was built using "userdebug" mode, but there is no such combo option, only "-eng" is available.
How can I understand why this image doesn't work? It looks totally fine from all perspectives (except userdebug vs eng maybe). Or how can I build "userdebug" version of "aosp_x86" combo?