Try restore using 3uTools, I once had an iPad with same error code 9 and that software fixed the problem.
open