A few days ago I tried to update firmware on my Vigica C90T Android TV Box, something went wrong and I bricked it somehow. It dind't boot up anymore, I could enter the recovery menu from micro SD card with stock firmware on it, but it was impossible to flash the firmware, I got always the same errors, something like:E:failed to mount /data (Invalid argument)can't mount '/data' (Invalid argument)E:failed to mount /data (Invalid argument)E:Can't mount /data/log/recovery_log.txt

The easiest way to solve this, without need of short circuit of the NAND pins, is to use Amlogic BootcardMaker to make a bootable micro SD card with your device stock firmware, in my case I needed Vigica C90T 20150211 FW.

So download Amlogic BootcardMaker, download your device stock firmware, launch the application with administrator rights, select your micro SD card as removable disk to be used, tick 'To partition and Format', then Click 'Open' and choose u-boot.bin from your device stock firmware package. Now press 'Make' button and when it's done just copy all the firmware files to micro SD card (aml_autoscript, factory_update_param.aml, firmware.zip, recovery.img, u-boot.bin, unlock_autoscript). Now insert the micro SD card in your Amlogic device and power on. You will be able to enter into recovery and the firmware will be flashed automatically. When the TV BOX reboots, remove the micro SD Card, this step is very important, wait 4-5 minutes and the update will completed. Next, follow the regular procedure and flash back to your stock firmware if this was from another Amlogic device, everything should be back to normal now.Mentions:- You can simply use this method also just to update your Amlogic device firmware. - Download Amlogic S802 firmwares from here.- Download Amlogic S805 firmwares from here.