How to Fix 1266 Fatal error on Windows Jailbreak iPhone 4s on iOS 5.0.1 with Cinjict Jailbreak Windows Software.

Fix 1266 Fatal Error - Jailbreak iPhone 4s

Running into a problem. When I run the:
cinject -i payloads/jailbreak.mobileconfig
It goes through the script and then I get an error message at the bottom:
recv: Bad File Discriptor
FATAL(–LINE–): Assertion Failed (1266): got = = sizeof(Size)1266

If i continue and use the
cinject -j payloads
cinject -w
it runs through the rest of the script but never reboots and does not jailbreak…any suggestions.

Fix 1266 Fatal Error Answer:

I was initially getting error 1266 as a lot of people.
As suggested by other users, I backed my phone up using iTunes.
First Remove any Passcode for iPhone
Once that was done, I went to my phone Settings –> General –> Reset –> Erase All Content and Settings.

The phone reboots and you have to go through the activation etc, it’s basically a new phone. Connect it up to your PC using the USB and follow the steps to Jailbreak your device.
The backup created by the Jailbreak should take a few seconds (the phone has been reset and is therefore empty) and you should not encounter any errors.

Once that was done, I disconnected the USB cable and went and launched Cydia and let it do its initial setup.

I then launched iTunes, plugged in my iPhone and was prompted with the page of “Set up iPhone as new” or “Restore from backup.”

Select the backup you created earlier, let it restore, and you are now running a successfully Jailbroken iPhone with all of your content!  We hope you would be satisfied with this tutorial?