@Galaxia Thanks for a long reply! I tried to flash on ubuntu 16.04(in Vbox) this morning, and found that USB port name changed after rebooting into ubports. In tab "USB Setting" of Vbox, it was "LGE Nexus 5[0232]" after normal booting and "Google Android [0100]" in fastboot mode while "LGE Hammerhead on Ubports [0232]" after rebooting into Ubports during flashing. My solution is adding a new filter rule about Ubports in "USB Setting" of Vbox, ending up with a successful flashing.
However, I have no idea about the root cause of this failure too. Maybe OS does mastter?! Up to now, I have played around with UT from stable
and devel_stable
channel, both of which suffers several problems. I will switch to devel_rc-proposed
at ur advice