Tuesday, February 19, 2013

How to Jailbreak A5 iDevices using Command line in Windows


A5 jailbreak Absinthe now officially released for windows but still some geek users likes to Jailbreak their devices using Command Line Interface (CLI) method.

Step 1:
---------
Make sure your iDevice is backed up using iTunes & Passcode is deactivated

Step 2:
---------
Download Absinthe CLI files (Cinject) from here

http://www.mediafire.com/?5mywppfndm5dpja

Step 3:
---------
Connect your iDevice to your PC

Step 4:
---------
Extract the downloaded zip file to any folder.
(I extracted it to my user folder C:\users\yourusername & renamed that folder to cinject for easy typing)

Step 5:
---------
Launch Command line (CMD) on your windows machine.
Press Win key + R & type “CMD” & press enter

Step 6:
---------
Now CD Command line to “cinject” folder
Type
CD C:\users\yourusername\cinject
And press enter

Step 7:
---------
Now type cinject & press enter to make sure that “cinject” is in the selected folder and working

Step 8:
---------
Your command line will look like this

C:\Users\Amish-PC\cinject>cinject
Usage: cinject [ options ]
Corona injector CLI v0.4.3
Copyright (C) 2011-2012 by iPhone Dev. Team
With exploit work by: @pod2g, @planetbeing, @saurik, @pimskeks, @p0sixninja, @Mu
scleNerd, and @xvolks

Options:

Configuration profiles:
-l List current profiles
-i Install profile
-r [] Remove all profiles, or profiles matching pattern

AFC transfers:
-a Alternative afc service to use (2 is available after jailbreak)
-u … Upload file(s) via afc (add final “dir=dirname” to specify which afc directory)
-d [] Show list of files in afc directory
-X Delete afc directory or file

ROP assistance:
-s Compute slide
-e Erase existing crash logs
-g Get diagnostics

Backups and restores:

-B Create backup
-R Restore from backup
-L List contents of an MBDB file
-M Modify the ipsec.plist on device
-p Modify the preferences.plist (requires -f too)
-f File to use with -p
-H Hide media files
-U Unhide media files

Chained operations:
-j Jailbreak device using given payloads directory (ADVANCED use only!)

Other:
-w Watch syslog
-v Debug verbosity level
-h This help message

C:\Users\Shyam\cinject>

Step 9:
---------
Now type the following command without quotes & press enter
“cinject -i payloads/jailbreak.mobileconfig”
This will install an profile in your iDevice.

Step 10:
----------
Now you will see dialog like this in your iDevice.
Now select “Install”


Now select “Install Now” and Install the Profile.

Step 11:
-----------
Now select next without entering any password.

now VPN profile for jailbreak will be installed & you can close settings & return to command line

Step 12:
----------
Now enter the following command without quotes in CMD
“cinject -j payloads”
Your CMD will look like this

C:\Users\Shyam\cinject>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…

72 files backed up

Adding custom com.apple.ipsec.plist to backup

Restoring…

1 files restored

Now use “cinject -w” to start watching the syslog.

Then toggle VPN on and look for the “pod2g is in da house!” syslog message.

This actually takes an backup of your .plist files and modify some values and restore it plus inject some files for jailbreak.

Some users will stuck in backup those users “Erase All Content and Settings” setup like new iPad & after jailbreak restore backup with iTunes

Step 13:
-----------
Now enter following code in command line without quotes
“cinject -w”
Now your command line will look like matrix wallpaper, ignore everything.

Step 14:
----------
At the end when it stops, Go to VPN Settings in your iDevice and toggle VPN ON and look for syslog message “pod2g is in da house!“. After that your iDevice will restart and you will see cydia on screen. Launch Cydia and enjoy your Jailbroken iPhone 4S &and iPad 2.


For Advanced Users:
-------------------------
cinject -i payloads/jailbreak.mobileconfig
cinject -j payloads
cinject -w
toggle VPN on
 
 

Photo: How to Jailbreak A5 iDevices using Command line in Windows 
========================================

A5 jailbreak Absinthe now officially released for windows but still some geek users likes to Jailbreak their devices using Command Line Interface (CLI) method.

Step 1:
---------
Make sure your iDevice is backed up using iTunes & Passcode is deactivated

Step 2:
---------
Download Absinthe CLI files (Cinject) from here

http://www.mediafire.com/?5mywppfndm5dpja

Step 3:
---------
Connect your iDevice to your PC

Step 4:
---------
Extract the downloaded zip file to any folder.
(I extracted it to my user folder C:\users\yourusername & renamed that folder to cinject for easy typing)

Step 5:
---------
Launch Command line (CMD) on your windows machine.
Press Win key + R & type “CMD” & press enter

Step 6:
---------
Now CD Command line to “cinject” folder
Type
CD C:\users\yourusername\cinject
And press enter

Step 7:
---------
Now type cinject & press enter to make sure that “cinject” is in the selected folder and working

Step 8:
---------
Your command line will look like this

     C:\Users\Amish-PC\cinject>cinject
    Usage: cinject [ options ]
    Corona injector CLI v0.4.3
    Copyright (C) 2011-2012 by iPhone Dev. Team
    With exploit work by: @pod2g, @planetbeing, @saurik, @pimskeks, @p0sixninja, @Mu
    scleNerd, and @xvolks

    Options:

    Configuration profiles:
    -l           List current profiles
    -i           Install profile
    -r          [] Remove all profiles, or profiles matching pattern

    AFC transfers:
    -a         Alternative afc service to use (2 is available after jailbreak)
    -u …    Upload file(s) via afc (add final “dir=dirname” to specify which afc directory)
    -d []     Show list of files in afc directory
    -X        Delete afc directory or file

    ROP assistance:
    -s          Compute slide
    -e          Erase existing crash logs
    -g          Get diagnostics

    Backups and restores:

    -B         Create backup
    -R         Restore from backup
    -L         List contents of an MBDB file
    -M        Modify the ipsec.plist on device
    -p         Modify the preferences.plist (requires -f too)
    -f          File to use with -p
    -H        Hide media files
    -U        Unhide media files

    Chained operations:
    -j         Jailbreak device using given payloads directory (ADVANCED use only!)

    Other:
    -w        Watch syslog
    -v         Debug verbosity level
    -h         This help message

    C:\Users\Shyam\cinject>

Step 9:
---------
Now type the following command without quotes & press enter
“cinject -i payloads/jailbreak.mobileconfig”
This will install an profile in your iDevice.

Step 10:
----------
Now  you will see dialog like this in your iDevice.
Now select “Install”


Now select “Install Now” and Install the Profile.

Step 11:
-----------
Now select next without entering any password.

now VPN profile for jailbreak will be installed & you can close settings & return to command line

Step 12:
----------
Now enter the following command without quotes in CMD
“cinject -j payloads”
Your CMD will look like this

     C:\Users\Shyam\cinject>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…

    72 files backed up

    Adding custom com.apple.ipsec.plist to backup

    Restoring…

    1 files restored

    Now use “cinject -w” to start watching the syslog.

    Then toggle VPN on and look for the “pod2g is in da house!” syslog message.

This actually takes an backup of your .plist files and modify some values and restore it plus inject some files for jailbreak.

Some users will stuck in backup those users “Erase All Content and Settings” setup like new iPad & after jailbreak restore backup with iTunes

Step 13:
-----------
Now enter following code in command line without quotes
“cinject -w”
Now your command line will look like matrix wallpaper, ignore everything.

Step 14:
----------
At the end when it stops, Go to VPN Settings in your iDevice and toggle VPN ON and look for syslog message “pod2g is in da house!“. After that your iDevice will restart and  you will see cydia on screen. Launch Cydia and enjoy your Jailbroken iPhone 4S &and iPad 2.


For Advanced Users:
-------------------------
    cinject -i payloads/jailbreak.mobileconfig
    cinject -j payloads
    cinject -w
    toggle VPN on

No comments:

Post a Comment