May 2017
Beginner to intermediate
470 pages
10h 49m
English
For the x86vbox device, we need to change the Makefiles device first. Since we inherited x86vbox from the common Android-x86 device, we have only the following Makefiles:
$ ls *.mkAndroidProducts.mk BoardConfig.mk x86vbox.mk
AndroidProducts.mk is the entry of the Android build system, which includes our x86vbox.mk Makefile. In x86vbox.mk, we add the following recovery related files:
PRODUCT_COPY_FILES += \ ... device/generic/x86vbox/recovery.fstab:recovery/root/etc/recovery.fstab \ device/generic/x86vbox/recovery/root/init.recovery.x86vbox.rc:root/init.recovery.x86vbox.rc \ device/generic/x86vbox/recovery/root/sbin/network_start.sh:recovery/root/sbin/network_start.sh \ device/generic/x86vbox/recovery/root/sbin/create_partitions.sh:recovery/root/sbin/create_partitions.sh ...
Read now
Unlock full access