menuentry "6.0.1 (DEBUG mode)" {
search --set=root --file /64/kernel
linux /64/kernel root=/dev/ram0 mnt=e09579e5-87f6-416b-991c-4ac562bdddce system= DATA= SRC=6.0.1 Manufacturer=\"Google Inc\" Model=\"Pixel C\" intel_idle.max_cstate=0 DEBUG=1
initrd /initrd.img
}
menuentry "6.0.1 (DEBUG mode)" {
search --set=root --file /64/kernel
linux /64/kernel root=/dev/ram0 mnt=mmcblk1p9 system= DATA= SRC=6.0.1 Manufacturer=\"Google Inc\" Model=\"Pixel C\" intel_idle.max_cstate=0 DEBUG=2
initrd /initrd.img
}
[ "$SETUPWIZARD" = "0" ] && echo "ro.setupwizard.mode=DISABLED" >> default.prop
[ -n "$Manufacturer" ] && echo "ro.product.manufacturer=`echo $Manufacturer | cut -d '\' -f2 | cut -d '"' -f2`" >> default.prop
[ -n "$Model" ] && echo "ro.product.model=`echo $Model | cut -d '\' -f2 | cut -d '"' -f2`" >> default.prop
[ -n "$DEBUG" ] && SWITCH=${SWITCH:-chroot}
keyboard,Alt+f2,cp /tmp/log /mnt/log.txt,my boot log.txt