We are now using i.mx8MQ with android 8.1 for testing CTS-GSI.
When we flash the system.img and vbmeta.img to the machine, the machine will automatically reboot before entering the operating system.
What can we do to stop the reboot and enter to the operating system.
Please let us know if there is any solution about this situation.
once you disable the verity by "adb disable-verity", please dont reflash the vbmeta.img. Once you reflash the vbmeta.img, it will re-enable the dm-verity. Or you can flash the vbmeta.img by fastboot as "fastboot flash --disable-verity vbmeta your_vbmeta.img", which will disable the dm-verity also.
Dear G.Y:
We try the solution you provide to us.
Neither the board from NXP nor the board from our side could boot to the system by using the GSI image.
Is there any other solutions for this situation?
Thank you
try with below patch.
/vendor/nxp-opensource/kernel_imx$ git diff
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8mq-evk.dts b/arch/arm64/boot/dts/freescale/fsl-imx8mq-evk.dts
index 44155d7..1f3d93e 100644
--- a/arch/arm64/boot/dts/freescale/fsl-imx8mq-evk.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-imx8mq-evk.dts
@@ -29,6 +29,7 @@
dev_sd = "/dev/block/platform/30b50000.usdhc/by-name/vendor";
/* emmc node which used if androidboot.storage_type=emmc */
dev_emmc = "/dev/block/platform/30b40000.usdhc/by-name/vendor";
+ dev = "/dev/block/platform/30b40000.usdhc/by-name/vendor";
type = "ext4";
mnt_flags = "ro,barrier=1,inode_readahead_blks=8";
fsmgr_flags = "wait,slotselect,avb";
you need to disable dm-verity before boot. "fastboot flash --disable-verity vbmeta vbmeta-imx8mq.img" or "adb disable-verity && adb reboot"
Hi,
I restore the operating system back to the original one which can access to the OS normally. Then I use the command as below.
adb root
adb disable-verity
adb reboot
After rebooting the system, I use the mfgtool to download the system.img and vbmeta.img. After that the system begins to reboot again and again. Is there any wrong on the procedure I do?
Thank you
I got information that:
As for GSI, currently our release has not tested GSI yet.