Help needed, installing stock firmware on a LG / Google Nexus 5X (bullhead)”

We did modify (line 4) in .bashrc (if @Catrine saved the changes) but not in .profile

.

I think i have catched something :
Samsung devices don’t charge in download mode, if it is the same (as i trust) for a gogol phone in fastboot mode, turn it off and let it charge all the night is a encouraging way :
then reboot to recovery, or redo flash_all and reboot to recovery