Default ADB doesn't work w/ One M8 TmoUS on XP


I have T-Mobile HTC One M8 that is rooted.
I want to do the firewater S-off but ADB doesn't work. ADB does work when phone is off, but 1st command in instruction reboots the phone and then ADB doesn't work.
This is what I want to do.
adb reboot <–important!!!!
adb wait-for-device push firewater /data/local/tmp
adb shell
chmod 755 /data/local/tmp/firewater

Also I was able to root it and a toolkit for that worked. I used this to get root
When phone is off it shows up as android device in XP SP3 device manager, when it is on it shows up as HTC One M8 portable device.
I installed HTC Sync, uninstalled, to get HTC drivers. Installed ADB driver.
USB debugging is on.
PLease help.
T-Mobile HTC One M8

Fixed apps' access to external SD card issue: