In order to get familiar with AOSP, I'm aiming at building an image and running it on an emulator, following the official documentation.
After setting up an Ubuntu 16.04 VM, I use the following commands:
repo init -u https://android.googlesource.com/platform/manifest
repo sync
source build/envsetup.sh
lunch full-eng
make -j8
emulator
Compilation works fine, the emulator starts but its screen remains blank. No particular error trace in the console.
I tried it without any proprietary binaries, and also with Nexus 5 binaries, but it didn't change anything.
I also tried with lunch aosp_arm-eng
but same result.
What am I missing?
I can successfully shell
into the emulator. In dmesg
output I noticed the following error traces:
[ 23.952504] init: Failed to bind socket 'pdx/system/vr/display/client': No such file or directory
[ 23.954517] init: Failed to bind socket 'pdx/system/vr/display/manager': No such file or directory
[ 23.956460] init: Failed to bind socket 'pdx/system/vr/display/vsync': No such file or directory
And the output of service list
command is:
generic:/ # service list
Found 10 services:
0 media.resource_manager: []
1 media.player: []
2 media.camera: []
3 media.sound_trigger_hw: []
4 media.radio: []
5 media.aaudio: []
6 media.audio_policy: []
7 netd: []
8 media.audio_flinger: []
9 batteryproperties: [android.os.IBatteryPropertiesRegistrar]