Earlier today we told you that the command line interface (CLI) version of the iPhone 4S Untethered Jailbreak was released for Windows. While most Jailbreaking solutions onwards from 2010 have generally been released with a GUI (graphical user interface), the initial release of the Windows A5 Untethered Jailbreak will require you to use the Windows command prompt. This is partly because the iPhone 4S and iPad 2 Untethered Jailbreak has proved to be one of the most complicated Jailbreaks ever developed, and at this time the Dream Team are still trying to port Absinthe to Windows.
If you are not skilled with the Windows command prompt then you will be glad to know that in this how to guide from iJailbreak.com, you will learn how to Jailbreak your iPhone 4S / iPad 2 on the iOS 5.0 or iOS 5.0.1 firmwares (9A405 and 9A406) using CLI on the Windows operating system.
CLI Windows iPhone 4S / iPad 2 Jailbreak Guide
Perquisites: The very first thing you need to do before starting this how to guide is make sure your iPhone 4S is backed up. As the CLI Jailbreaking tool for Windows was just released, there is a good chance that you may experience an error Jailbreaking it. Thus, it is always a good idea to make sure all your content on your iPhone 4S, iPad 2 is backed up. Additionally, if you iPhone 4S has a passcode lock you must disable it, and furthermore you will need to disable any current VPN’s setup on your iPhone 4S, iPad 2.
Recommendation: It is our personal recommendation that you simply restore your iPhone 4S or iPad 2 to factory settings on the iOS 5.0.1 firmware (if you do not require an unlock) or the iOS 5.0 firmware (if you do require an unlock). This will dramatically reduce the chance you have of experiencing an error while Jailbreaking it with CLI for Windows.
Step 1: The first thing you will need to do is download the latest version of CLI from the iJailbreak Downloads Section.
Note: Before moving on to step 2 please make sure your iPhone 4S/iPad 2 is plugged into your computer via your USB cable.
Step 2: The next you will need to simply unzip the cinject_0.4.3 folder into your system directory (C:/).
Step 3: Now you will need to search for CMD through your start menu, right click on it, and then click the Run as administrator option.
Step 4: With the Windows command prompt interface now open you will need to type in the following command to get into the proper folder.
CD C:\cinject_0.4.3
Step 5: After going into the proper folder through command prompt you will now need to type in another command as shown in the quoted area below.
cinject -i payloads/jailbreak.mobileconfig
Step 6: Once you have typed the above command you will notice an install profile window appears on your iPhone 4S, iPad 2. You will need to simply tap the install button, ignore the password screen and simply tap next button on your iPhone 4S, iPad 2 to install this special Jailbreak profile.
Step 7: After the profile has been installed you will need to type in another command into Windows command prompt.
cinject -j payloads
Step 8: You now need to execute yet another command through Windows command prompt.
cinject -w
Step 9: Now go into the Settings.app on your iPhone/iPad into the General Tab, then into the Network Tab, and finally you should see a VPN toggle. You will simply need to toggle VPN to the ON position and then you should notice you receive an error “A configuration error occurred.” Tap the OK button and your iPhone 4S should reboot.
Step 10: Once it has rebooted you will notice Cydia on your SpringBoard (homescreen). This means the Jailbreak worked and you now have a Jailbroken iPhone 4S/iPad 2 running the iOS 5.0 or iOS 5.0.1 firmware. Congratulations!
If you have any questions or thoughts related to this tutorial leave them in the comments section below…
Update #1: A GUI version of CLI has been released in the form of Absinthe v0.2.
same for ipad?
got an error in the step cinject -j payloads “FATAL:Assertion failed : got == sizeof 1266”
what can i do to fix this?
I can find CDM
Yes, but see iPad 2 tutorial on front page.
Just did it on my iPhone4s 5.0.1 and it worked flawlessly after doing a restore first. =D
Goto start, run or search, then type cmd
Everything worked perfectly until step 9. It won’t reboot, i turned it off and back on but no Cydia
Just wanted to chime in. These instructions worked perfectly for me.
iOS 5.0.1B (9A406)
Windows 7 Ultimate (64-bit)
Thanks so much to the scene and the author of this write-up!
Stupid question but by restore you mean reset correct? On the iphone itself Settings > General > Reset > Reset All Settings
It works just follow instructions step by step
got that error:
c:cinject_0.4.3>cinject -i payloads/jailbreak.mobileconfig
Couldn’t load C:Program Files (x86)Common FilesAppleMobile Device SupportMobileDevice.dll(null
)
Restore your phone.
I got the same error then I did a full restore (Settings > General > Restore > Restore all settings) and applied my last backup from the cloud and then I tried the method again successfully.
Still getting the error after restore :(
Guess I’m going to have to do an entire restore on my computer, because its not working the way you explain it by restoring from the phone.
How long should step 8 take? So far mine has gone for 30 minutes +, still not done.
Correct
Everything on the jailbreak went fine on my iPhone 4S on iOS 5.0.1 except once my phone rebooted for the final time the App Icon for Messages is just a blank one, no little animation. Anyone have any ideas on what’s wrong and how to repair this?
I got this ,
“8241 files backed up
adding custom com.apple.ipsec.plist to backup
restoring…
recv: Bad file descriptor
FATAL(_LINE_): Assertion failed (1226): got ==sizeof(size)
1266”
What do i do!?
how come it wont reboot when i hit ok?
ok….i did this and i have cydia….but everytime i open it, it IMMEDIATELY closes….how can i fix this?
This worked flawlessly. Typing in CMD is a little more work than using the GUI tool, but it gets the job done nonetheless. And for the impatient such as myself, it’s all the same :) Cydia now running on my iPhone. Pro modes.
If you all are getting errors, try this (though it might not be anything special and could be something else entirely):
When extracting cinject, select Extract Files… and select C: Local Disk. It could be nothing, but this is what I did and things worked fine. It could just be a coincidence, however.
Also, make sure to do every step the way it is show. Spaces where needed. Don’t space when needed, etc. It’s all very simple. Good luck on the jailbreak fellas :)
im getting hung up at “allow special port forwarding for test fixtures”. how long is this part of the jb supposed to take?
i still get an assertion failure even after i use the settings reset erase all data and settings
complete wipe and restore from back up.
Any ideas
it actually is very easy to miss the end of the script as the CMD interface shows you everything that is going on. whether you’re locking/unlocking the phone opening settings, it will all be showing on the CMD screen. If it looks like it hasn’t moved in a while just move on to the VPN step and it will continue. DO NOT CLOSE CMD before this step.
Anyone get it to work but after reboot see no Cydia icon?
yo u have to wipe your phone for those of you having the error at the backup. my problem is it wont restore the photos on my phone. 3000 pics gone :(
i’m stuck there as well
I get the “A configuration error occurred.” but when I click ok my phone doesnt restart. What should i do?
That is my next option.
Currently downloading but ill have to pause and head to town for faster internet.
mine is faster than some but now a days it seems to be slower and slower than the average internet.
They say that my internet is as fast as it can be because of the distance from the central hub (mind drew a complete blank on what i should call it)
I had to reset my iphone to factory settings because of the cinject /payloads command. I also had to tell the phone that it was a new device instead of restoring from backup. Now I have the phone jailbroken however none of my contacts ect. are on it. Can I safely run a restore from last backup in itunes and have my current jailbroken state saved? or will i loose the jailbreak?
now im getting the error:
send 1: result too large
Any ideas on why?
step nine should work if you go to vpn settings and just change the toggle to on. after that it will go through some funky stuff and the phone will dim and come back up. i ran the command and watched it and it came up with error looking text on my computer screen. But you just need to toggle and that is it. it is basically waiting for you to do the toggle before it can move on.
i get the error but then nothing happens.
i would also like to know this…
U need to restore, i just finished FULL restore and its just jailbreaking :D
did you get past step 7 without it stopping with an error about size?
I AM SO HAPPY. MY 4S IS JAILBROKEN :D :D :D ;D ;D ;D ;D. THANKS SO MUCH TO ALL THE GUYS WHO MADE THIS POSSIBLE AND WELL DONE TO POD 2G WHO FOUND THE EXPLOIT ;D ;D ;D ;D ;D
the error on step 7 which made me reset my phone back to factory was – cinject -j payloads “FATAL:Assertion failed : got == sizeof 1266
I was able to get past that with resetting everything on the phone. And also I was unable to get past it with restoring the phone before I ran the command. I had to run the command in a virgin state before it worked.
i always get stuck when i have to type “cinject -i payloads/jailbreak.mobileconfig” it always says ” ‘cinject’ is not recognized as an internal or external command, operable program, or batch file. ”
any way to fix this?
so i got passed the send 1 problem but now when i do
cinject -j payloads
it says:
finding slide…
failed
error
any idea
Disconnect your USB cable and reconnect again. Worked for me!
So it worked perfectly the first time. Out of nowhere it kicks me from Cydia and the app has disappeared from my springboard. I tried resetting and repeating the process, but it didn’t work. Looks like I’m SOL.
the answer is , no u do not lose the jailbreak !
what is supposed to happen at step 7 i just get an error:
cinject -j payloads
finding slide…
failed
error
C:cinject_0.4.3:_
What am i doing wrong? I have profile installed and everything works to this point
i try to continue like normal but then the phone wont restart at step 9
i dont know. i really dont understand this step at all, can you explain it to me?
In order to jailbreak, you first must do a complete restore
Errors appear on 5.0 so best to update and do it on 5.0.1
When the window pops up on your iPhone and tells you that a configuration error occurred, DON’T touch anything. Let it hang on that window for a while. It SHOULD reboot on it’s own. If not, you need to restore your phone in iTunes and try again.
Also, be sure that cinject -i payloads/jailbreak.mobileconfig doesn’t end in an error. If it does, you need to restore your iPhone from iTunes and start over (or wipe your phone and start over).
Mine won’t restart either. I’ve wiped it two times now.
Did the whole thing and rebooted. Didn’t install cydia. Didn’t work.
go into settings > reset >reset all
run cinject -j payloads agian
then cinject -w
after turning VPN on, if it doesnt reboot the first time try several times mine took several.
cydia should show up
once Its jailbroken as a new iphone how I reinstall all my settings and documents…?
Are you sure you are in the cinject directory when you type that command?
This is what I had to do as well.
100% works if you do it from update 5.0.1 gtd !!
THIS JAILBREAK ONLY WORKS IF YOUR IPHONE VERSION IS 5.0.1
Great job. Easy jb.
keep getting the same error message in step 5 :( have reseted the iphone over 4 times and nothing what im doing wrong
Finished???
It´s repeating “Unable to cancel system wake…” What´s that – Ehat to do?
?
it works thanks a lot :D
but please tell me is the Simlock automatickly gone or do I have some settings? please helpp
im stuck on step 6 can someone pleae help
no “install profile window” shows up on my iphone what am i doing wrong
does itunes have to be opened while doing these steps?
im stuck here too please help
ive restored my phone from itunes and completely started over and i still get the error. first it says “entry point not found” “The procedure entry point xmlTextReaderConstName could not be located in the dynamic link library libxml2.dll” i click ok and it says “cinject.exe has stopped working” this happens every time and i dont know what im doing wrong
from start to finish, how long is this process supposed to really take? ive been running this for nearly 2 hours… it hang up at ‘comcenter 17 scheduling pdp tear down timer current time …’
i got a “entry point not found” window
stating tt the procedure entry point sqlite3_wal_checkpoint could not be located in the dynamic link library SQlite3.dll
any ideas guys
update to iOS 5.0.1. i had the same trouble and it helped
so how>>??
step 9 error my phone wont reboot pressing ok on vpn error
search for the file it’s in one of the apple files and copy it to the C
:cinject_0.4.3 folder should work then
how long should the creating backup take in the cmd window ?? it’s been going about a hour now was all work good up to this stage. should i reboot or does it take some time.
Excelent tuto, work at 100%. Thanks
mine is stuck on creating backup… what do i do??
I would like to know the same as i have been hanging on creating backup for bout 35 mins!!
How long should i be on step 7 creating backup?
My iphone 4s 5.0.1 is stuck on the creating backup phase. i completely restored it and set it up as new, so there is literally nothing on it. it has been like this for 40min now…. what should i do? i do have teamviewer if anyone is feeling extremely generous.
I cant get past step nine it worked perfect toggle vpn still dosnt reboot plz helP
hi there, i got error with below output:
C:cinject_0.4.3>cinject -i payloads/jailbreak.mobileconfig
C:cinject_0.4.3>cinject -j payloads
Finding slide…
Generating ROP…
ROP was generated
Uploaded corona/payload
Uploaded corona/payload-vars
Uploaded corona/racoon-exploit.conf
Uploaded corona/vnimage.clean
Uploaded corona/vnimage.overflow
Uploaded corona/vnimage.payload
Uploaded corona/corona.tgz
Uploaded corona/cleanup
Uploaded corona/com.apple.ipsec.plist
Uploaded corona/Cydia.tgz
Uploaded corona/filemover
Uploaded corona/filemover.plist
Uploaded corona/gzip
Uploaded corona/jailbreak
Uploaded corona/jailbreak.mobileconfig
Uploaded corona/jb.plist
Uploaded corona/racoon-exploit-bootstrap.conf
Uploaded corona/tar
Creating backup…
1633 files backed up
Adding custom com.apple.ipsec.plist to backup
Restoring…
recv: Bad file descriptor
FATAL(__LINE__): Assertion failed (1266): got == sizeof(size)
1266
please help…
Jailbroken, with brown Cydia icon, but cannot start Cydia. I click, it flashes for a second, and back to the icons. If I double click the home button, Cydia is running, but I can’t get it to open. Anyone have a solution?
it worked! i tried the second time
Pls be specific thx
Sorry sqlite3.dll file
Hi, after step 9, my phone wont reboot automaticly. But now I have Cydia anyway…a strange thing though, my safari logo is blank now even after rebooting the phone, anyone know how to fix this?
This jailbreak worked perfectly on my 4S on 5.0.1, but the phone is still locked to Orange. I thought the phone should now accept a SIM card from any carrier/mobile network?
Same exact error here. any ideas?
Those whose stuck at
cinject -i payloads/jailbreak.mobileconfig
Copy libxml2.dll and SQLite3.dll from C:Program FilesCommon FilesAppleApple Application Support into C:cinject_0.4.3
then try again.. Worked on my iPad 2, took me lot of time just to troubleshoot the problem.
HELP PLEASE!
I’m stuck on creating backup for about 2 hours
can i disconnect the iphone? or will it erase my data??
it wont let me install the profile
Had a issue but i figured it out. ( might help someone) Make sure that after you erase all your settings and the iphone/ipad resets, to go through the whole setting up ipad/iphone as a new device and once your on your homescreen attempt to do the jailbreak. ( jailbreak would not work untill i did this)
it works very well. you need to restore you iphone 4s as a new phone
for some reason I am not getting the option to “run as administrator”. everytime i try to open the file it just opens then immediately closes. i am running XP. any suggestions?
I keep get stuck at VPN unsigned or install for
My iPhone 4s
After running cinject -j payloads, i always get the same error message:
Creating backup…
1120 files backed up
adding custom com.apple.ipsec.plist to backup
restoring…
recv: Bad File Descriptor
FATAL (_LINE_): Assertion failed (1266) : got == sizeof(size) 1266
C;cinject_0.4.3
anysuggestions??
im stuck on step 9, i tried it a couple of times… no error message, just when it says can’t find VPN, i click on ok and nothing happens, or if i leave it there, nothing happens either…
well done! worked like a charm! Thank you!
does this method work for an unactivated iphone 4s?
hello all, I getting the fowling error on step 7
C:cinject_0.4.3>cinject -j payloadsFinding slide…FailedError
Somebody can help me pls ?
thank you
in step 9 it says
recv: Bad file descriptor
FATAL(___LINE___) : Assertion failed (1266): got == sizeof(size)
1266