I'm a Linux Mint user, and I needed to flash back my Moto G 2014 with Motorola's Fastboot. As I haven't seen any topic regarding it here on this forum, I'm doing my job and posting it.
Download:
For Linux
For Mac OS X
Usage: Drop the file to somewhere - it's a good idea to drop on the same folder as the files you're going to flash.
Launch the terminal from where you downloaded it.
If you need, cd to the correct path.
First, turn it executable.
(keep it named as this so it doesn't conflict with the default fastboot)
And that's it.
The commands now are issued as they always have been. In my computer, however, it acted weirdly if I didn't use it with sudo. So I did.
Example:
And that's it.
Download:
For Linux
For Mac OS X
Usage: Drop the file to somewhere - it's a good idea to drop on the same folder as the files you're going to flash.
Launch the terminal from where you downloaded it.
If you need, cd to the correct path.
First, turn it executable.
Code:
chmod +x linux-fastboot
And that's it.
The commands now are issued as they always have been. In my computer, however, it acted weirdly if I didn't use it with sudo. So I did.
Example:
Code:
sudo ./linux-fastboot devices
sudo ./linux-fastboot flash boot boot.img
sudo ./linux-fastboot flash recovery recovery.img
And that's it.