I replaced a modified build.prop which contains ro.kernel.qemu=0
to the system.img with yaffey, but it did not work. When the emulator restarted, ro.kernel.qemu=1
still exists in the output of adb shell getprop
.
EDIT:
I also tried:
ro.kernel.qemu=0
in default.prop in ramdisk.imgsetprop ro.kernel.qemu 0
in init.goldfish.rc in ramdisk.imgBut all these did not work. When I start the emulator with modified ramdisk.img, ro.kernel.qemu
is still 1 in the output of adb shell getprop
.
I am now trying to rebuild the kernel to set it to 0, but I did not find where ro.kernel.qemu
is set in the kernel source code.
Appreciated for any advices.
You need to modify ramdisk.img which contains /init and the initial property files. system.img is mounted later, so any changes there will not affect the boot.
Also, init might need to be modified, because it might set the ro.kernel.xxxxx variables from the kernel command-line before parsing the boot property config file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With