The easiest way of getting ADB to work:
If it doesn't show anything then do the following:
- Turn your phone OFF (Yes, off)
- Connect it to your pc and wait for windows to finish "installing the drivers"
- Try ADBing by going to ure fastboot folder (assuming it has the ADB executable inside the folder as well).
- You could check if your device was recognized by firing
Code:
adb devices
If it doesn't show anything then do the following:
- Grab the appropriate pc drivers from here: http://www.android-advice.com/2012/how-to-root-the-htc-one-x-and-htc-one-s/
- Extract the drivers
- Now go to Start menu and right click on my computer and then click manage.
- Now go to device manager and there you should see your connected One X listed as being without a driver.
- Right click on that entry and select 'update driver'
- Now tell it that you have the driver on local disk and then browse to the folder you extracted.
- Update your driver.
- Disconnect and reconnect the device and try ADBing again.
- Should work.