This error occurs when the device unexpectedly loses its USB connection with iTunes. This can occur if you manually disconnect the device during the restore process. You can resolve this issue by using USB troubleshooting, using a different Dock Connector or Lightning Connector to USB cable, trying another USB port, restoring on another computer, or by eliminating conflicts from third-party security software.
"my iphone5 7.04 got error9" - do you mean iTunes error 9 when trying to update or restore? If so, this is usually due to security software on your computer. See this:
Configure your security software
Related errors: 2, 4, 6, 9, 1000, 1611, 9006, 9807, 9844. Sometimes as a result of this issue, a device might stop responding during the restore process.
Check your security software and settings, which can block ports and prevent connection to Apple servers during update and restore.