Fix Failed to jailbreak (error code: c0000005)
“Failed to jailbreak (error code: c0000005)“, this error message will appear if you’re running Spirit jailbreak on Windows 7 or Windows Vista. To fix this problem, right click on Spirit.exe, choose Properties. Click Compatibility tab, click the checkbox “Run this program in compatibility mode for:“, and choose “Windows 98 / Windows Me“, then click OK.
Now, you can re-run Spirit.exe and jailbreak iPhone 3.1.3 firmware/ 3.1.2 firmware. It should be running smoothly now.