Tutorial: Here's how to get root access ("jailbreak") on iPhone 4 running iOS 7 (Video)

[youtube]http://youtu.be/jTU-Ovryc1w[/youtube]

  At the moment there is no solution to do jailbreak any terminal iPhone running iOS 7, but with the help of a not very long tutorial you can get root access to the terminal iPhone 4 and that's it. access root allows you to modify the internal files of the device as you like, and if a version of the Cydia compatible with iOS 7 will be launched, then you will be able to install it in your terminal, although I don't know how much it would help you. The jailbreak offers you the same thing, but for the solutions of jailbreak exist Cydia and compatible packages, and for iOS 7 at the moment there is absolutely nothing available.

  Following the steps below you should get root access to your terminals, but before starting the process it would be good to make a backup of your device to be sure that in the event of a failure you will be able to recover the data. Unfortunately, no other iDevice is compatible with this process, so don't try in vain. The video clip above explains the entire procedure, but if it is not enough, then you can follow the steps below.

1. Download SSH RAMDisk tool, Cyberduck or WinSCP, TextWrangler(for OS X), TinyUmbrella si iFunBox. Make sure you have Java 6 update 35 32 bit on Windows 32-bit or Java 7 64-bit on 64-bit OSes. If you have other versions, uninstall them and install them.

2. Open the SSH RAMDisk tool, follow the instructions on the screen, then enter the iPhone in DFU Mode following the instructions below.

  • hold down the power button for 3 seconds;
  • without letting go of the power button, press the Home button for 10 seconds;
  • after the 10 seconds pass, release the Power button and the phone should already be in DFU Mode and redsn0w will start implementing the exploit.

3. Open CyberDuck or WinSCP, connect to ip 127.0.0.1 (or localhost if you have the option) on port 2022, as username enter root, and as the password Alpine.

4. Open a console window in one of the two programs and run the command mount.sh. If you ran everything correctly, then you should see the following message on the screen:

Mounting /dev/disk0s1s1 on /mnt1
Mounting /dev/disk0s1s2 on /mnt2

5. Close the console window, and using the program's file browser, navigate to /mnt1/etc, where you will look for a file called fstab. Copy that file to your computer, and give the original file another name that you know.

6. Using an advanced text editor, open the fsbtab file copied to the computer, and in the first line of code modify the entry /dev/disk0s1s1 / hfs ro 0 1 in /dev/disk0s1s1 / hfs rw 0 1. After modification, copy the file back to the location from which you downloaded it and set its permissions to 0644.

7. Inside the iPhone 4 system files navigate to /mnt1/System/Library/Lockdown and copy Services.plist in your computer. Change the name of the original file to another that you recognize.

8. Open the Services.plist file from the computer and add inside it, immediately after the entry com.apple.afc the lines of code below, then save it.

com.apple.afc2

AllowUnactivatedService

Labelle
com.apple.afc2
ProgramArguments

/usr/libexec/afcd
-lockdown
d
/

9. Now copy the file to the location from which you downloaded it and set its permissions to 0644.

10. Using the program with which you connected to the terminal, open a new console window and enter the command halt. After running it, the terminal will close and automatically enter Recovery Mode, but if it does not start by itself, you will have to start it yourself.

11. Open TinyUmbrella, select the terminal from the menu on the left and choose the Exit Recovery option, and then the terminal will have to boot iOS 7.

  After the terminal boots, open iFunbox, and if your device is displayed on the right side without the name Jailed to its right, then the process has worked.