Hello,
I'm trying to build emulator kernel with some changes and import it into 15.
After running:
ARCH=x86_64 common/build_virt.sh && ANDROID_BUILD_TOP=..../graphene ARCH=x86_64 common/update_virt_prebuilts.sh
and running lunch sdk_phone64_x86_64-ap3a-eng; make in OS dir, I get to the point where I can't start emulator (emulator -verbose -show-kernel -debug all -no-audio -no-boot-anim -qemu -s) because of virtio_blk.ko having incorrect signature, resulting in:
[ 4.529059] init: bool android::init::BlockDevInitializer::InitDevices(std::set<std::string>): partition(s) not found in /sys, waiting for their uevent(s): metadata, super, vbmeta
Are there any steps missing from build instruction?
I tried to actually disable signature verification in security.c, etc, but:
[ 4.501852] Loading of unsigned module is rejected, but not really
[ 4.502219] module virtio_blk: .gnu.linkonce.this_module section size must match the kernel's built struct module size at run time
[ 4.502912] init: Failed to insmod '/lib/modules/virtio_blk.ko' with args '': Exec format error
So it seems that make is not picking up updated .ko's properly?
Thanks.