Rooting has failed. I accidentally flashed a different version of init-boot.img. This is why I'm stuck in a logo loop. I can get into fastboot mode, but I can't flash the official ROM with miflash. It only shows success in 5 seconds, and I can't get out of the logo loop. By the way, this is a bootloader unlocked device.