Restore BQ Aquaris X / X PRO using BQ firmware flash tool 3.0.4 from Ubuntu 16.04/18.04 (only if mobile phone turns on and without .json file to unlock the bootloader)

****NEWS: If you are on Ubuntu 18.04 you don't need to do anything of this, the packages that system installs works perfectly, so you only have to follow the bq tutorial steps. As in the last Ubuntu version flash tool from bq is not compatible, I have fixed it to make it functional in 18.04/Linux Mint 19: Download (It's the same for both phones) Hello, as Im using linux and saw we couldn't do the hard reset without the .json file (because fastboot in ubuntu from official repositories is an old versión and doesn't allow the fastboot flashing unlock/lock_critical command) I found the way to update the programs and use the bq firmware flash tool as done in windows. 1. Install the Ubuntu version of BQ firmware flash tool from the original website: You can download it from here using the first option: https://www.bq.com/en/support/aquaris-x/support-sheet *Install the .deb as you want, in my case i used GDebi, but you can use the Ubuntu Software Center or the termina...