Mike,
Did you figure out why you got stuck at the second 'adb shell'? I am having the same issue. After the reset, the device does not connect back, so I am not able to finished the command sequence. I have read a lot of forums about it, but most just suggest using Z4root instead, which I...