Skip to content

Dualboot your iPhone 4 with iOS 4! I'd personally call it the MomoPhone Project iOS 4!

Notifications You must be signed in to change notification settings

codealize/iPhone4DualbootiOS4

 
 

Repository files navigation

4tify - v0.1_beta

iOS 4 Dualbooting Made Simple By @zzanehip and README.md edited by @codealize

About MomoPhone Project

4tify v1.0_beta is created by @zzanehip, the MomoPhone name comes from me, @codealize, it's just for a funny title for the project. This is an archive by me so I can access it easier and when I need it is right here in my profile. Anyways, I hope you enjoy the project that @zzanehip made!!! Don't forget. 4tify turns your iPhone 4 into a... MOMOPHONE PRO! (jk lol)

What's Supported

  • iPhone 4 (3,1)
    • iOS 4.3
  • Tested on Mac OS 10.13-10.15

This is by all means extremely limited right now. It's @zzanehip's goal to work on getting most what's soon to come done fairly quickly. This is still early stages, so stay tuned.

Every other text below you see is now @zzanehip's writing, except for line 16 and 4-8 (line 100 is ME too!)

Soon to Come (Probably in this Order)

  • iPhone 4 (3,1)
    • iOS 4.3.1 - 4.3.5
  • iPhone 4 (3,3)
    • iOS 4.2.5 - 4.2.8
  • iPod Touch 4g (4,1)
    • iOS 4.3 - 4.3.5
  • iPhone 3gs (2,1)
    • iOS 4.3 - 4.3.5
  • iPad 1 (1,1)
    • iOS 4.3 - 4.3.5
  • Possibly iPad 2 (2,1) and (2,2)
    • iOS 4.3 - 4.3.5
    • This is dependent on ssh ramdisk support for a5
  • More primary (7.x, 6.x, 5.x) OS support.

Instructions:

  • Before starting, ensure your phone is Jailbroken with a tfp0 exploit, and OpenSSH + Core Utilities + Core Utilities (/bin) Installed.
  • While conducting the process, keep your phone plugged into your computer (obviously).
  • Keep your root password as alpine throughout the process.
  • Lastly, don't be dismayed if you see errors with ipwndfu (USB Error 5, etc) when loading in to Ramdisk, just keep retrying, ipwndfu is really finicky.
  • As always, if one of the scripts refuses to run (permission denied) just run chmod +x on it.

1. Restore and Jailbreak:

We need to get our device onto a modified version of iOS 7.1.2 with lwvm patched out and replaced with GPT. Afterwards, we need to jailbreak it. Before you start, make sure you are jailbroken, have Core Utilities installed, and OpenSSH.

  1. First, build patched IPSW and grab blobs (of course, omit < > when entering):

./Create-Restore.sh <Decimal-ECID>

  1. Restore to IPSW (Enter root password, alpine, when asked. If the restore process doesn't start after e.g. fish: storing file 65536 (65536) just click your home button):

./Restore.sh <ip-address>

  1. Set up your device.
  2. We need to use SSH Ramdisk to Jailbreak, but as of right now the orginal tool doesn't wok on the latest versions of Mac OS. I managed to fix this by making my own version. Get into DFU and run (It might take a few tries to get this going, ipwndfu tends to error out.)*:

./Jailbreak.sh

  1. Done, you should see Cydia on your Springboard, open it, and let it do it's thing. Reopen, click upgrade essential (you might have to open and close a few times).

*Note, if you're doing this process on a version of Mac OS where @msft_guy's SSH Ramdisk does work, just launch the jar, let it do it's thing, and run Jailbreak-Old.sh. Once it's done, exit recovery mode with your tool of choice.

2. iOS 4 and the Second Partition:

Now, we'll partition our device, install iOS 4, and patch it. Once this is done, you'll be good to go!

  1. Fix Known_Host issues by running:

sudo rm ~/.ssh/known_hosts

  1. First, we'll partition the device (It will ask for your root password twice to confirm, as always, enter alpine):

./Partition.sh <ip-address>

  1. Next, we'll boot into SSH Ramdisk and perform patch our new partition (It might take a few tries to get this going, ipwndfu tends to error out.):*

./Patch-Partition.sh

  1. Lastly, we'll initalize our partition, build our filesystem, restore it, and patch it. This step generally takes about an hour, so just sit back and relax:

./ios4.sh <ip-address>

  1. That's it, your done, and your device will respring. To boot into iOS 4, lauch the 4tify app. Once your screen goes black wait a sec, then tap your homebutton, and should see your device start to verbose boot within 10-15 seconds.

  2. If you delete the 4tify app, or it doesn't seem to be working, you can always run:

./Reinstall-App.sh <ip-address>

*Same note as above, if @msft_guy's SSH Ramdisk does work, just launch the jar, let it do it's thing, and run Patch-Partition-Old.sh

Thanks to:

  • @Nyansatan for most of this proccess and the support. I merely modified their process and packed it into a (convienent) tool so that it could be utilized by more people.
  • @winocm and @xerub for kloader.
  • @ShadowLee19 for useful info.
  • @msft_guy for ssh ramdisk.
  • @axi0mx for ipwndfu.
  • @Billy-Ellis for runasroot.
  • @Tommymossss for entertaining me while I made this.

This is archived by @codealize for purposes of learning, and dualbooting iPhones.

About

Dualboot your iPhone 4 with iOS 4! I'd personally call it the MomoPhone Project iOS 4!

Topics

Resources

Stars

Watchers

Forks

Languages

  • Python 79.7%
  • Assembly 10.9%
  • Shell 8.8%
  • Makefile 0.6%