Showing posts with label mdb08i. Show all posts
Showing posts with label mdb08i. Show all posts

Saturday, 24 October 2015

Solved Boot Loop After Factory Flash Build mdb08i in fastboot on my Nexus 5X



Hi guys,

I was getting boot loop every time I tried to factory flash mdb08i from https://developers.google.com/androi...s/images?hl=en on my Nexus 5X. I flashed this build more than 5 times and let the device run 20+ minutes during boot animation.

I generally used method 2 from Nexus 5 tutorial since that was the tutorial I used on my Nexus 5:


Code:


fastboot flash bootloader C:\image-hammerhead-krt16m\bootloader.img
fastboot reboot-bootloader
fastboot flash radio C:\image-hammerhead-krt16m\radio.img
fastboot reboot-bootloader
fastboot flash system C:\image-hammerhead-krt16m\system.img
fastboot flash userdata C:\image-hammerhead-krt16m\userdata.img
(Note: this command will wipe your device (including \sdcard), EVEN if your bootloader is already unlocked.)
fastboot flash boot C:\image-hammerhead-krt16m\boot.img
fastboot flash recovery C:\image-hammerhead-krt16m\recovery.img
fastboot erase cache
fastboot flash cache C:\androidimage\cache.img


However, the missing piece that solved my boot loop was to also run this command at the very end

Code:


fastboot flash vendor vendor.img

I normally have a batch script that runs all the commands for me.

How I found out about flashing vendor.img:
I found this issue only after I factory flashed mdb08i that I accidentally immediately flashed chainfire's modified mdb08i boot image for enabling root. After flashing chainfire's modified mdb08i, my Nexus 5X passed the boot animation but gave "Internal device error". So I looked up the error and found this thread: http://forum.xda-developers.com/nexu...xus-9-t3112827

I also tried other methods as mentioned in this thread but no luck with it on my end but perhaps will help others: http://forum.xda-developers.com/nexu...image-t2527382

Hope this help others who are also stuck on boot loop after flashing mdb08i on their Nexus 5X.