[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Linux is your friend, if your drivers are not working the chances of getting them working again without the phone booting are slim. But Linux doesn't need drivers to talk to your device.

go here http://www.pendrivelinux.com/ and download Universal USB Installer – Easy as 1 2 3

Then go here http://releases.ubuntu.com/12.04/ and download Ubuntu from the first link at the top that says PC (Intel x86) desktop CD

Then use these to create a bootable Linux usb drive with at least a 2gb persistent file for storing files. You'll also probably need to change your boot settings in the computers bios to boot from usb.

Moving your files to Ubuntu

Once booted you should be at a screen with options to "Try Ubuntu " or "Install Ubuntu". We don’t need to Install anything so just choose "Try Ubuntu" and the computer will boot to the Ubuntu Desktop (If you get a popup saying "system has encountered an error" or something similar just cancel and ignore it, it should have no effect on what we need to do as it is due to missing Linux OS updates we don’t need). On the left of the screen you'll see the Dock. Open the orange folder icon near the top This is the Home folder. Its where we need to put any files we need to work with such as rom.zip you want to push to the device or recovery.img files for flashing.

To get your files here is a simple drag and drop process. In the top left of the Home folder you'll see the drive structure of you pc under devices. Choose your PCs hard drive and Right-Click then" Open in a new window". Locate your .zip or .img files and drag them into the home folder. Now wait for copy process to complete and rename them for easier typeing later. e.g rom.zip firmware.zip or recovery.img etc.

Using adb and fastboot

First you need to install adb fastboot this is easy just 3 commands in the terminal. Thanks to Webupd8 team.

sudo add-apt-repository ppa:nilarimogard/webupd8

sudo apt-get update

sudo apt-get install android-tools-adb android-tools-fastboot

Make sure your connected to the internet and press Ctrl+Alt+T to open the terminal then type or copy and paste the above commands one at a time waiting for each to complete there out put. It may seem to have stopped at times but be patient when the prompt returns to normal enter the next command and when there all done your ready to use adb and fastboot.

Once you've moved all the files you need to the home folder that’s it your ready to go. Close everything down on the desktop (optional) and press Ctrl+Alt+T this will open the terminal now connect your phone with the USB cable. adb should work basically the same as on windows. But with fastboot all commands need to have the "sudo" prefix added at the start. e.g

fastboot flash recovery recovery.img becomes sudo fastboot flash recovery recovery.img

fastboot devices becomes sudo fastboot devices

If you do have problems with normal adb commands adding sudo can help here as well.

If you get "no permissions ?????????" when trying to use adb type

killall adb

Disconnect the phone for a few seconds reconnect and type

sudo adb devices

adb should now work as normal without the sudo prefix