Jump to content

How to build jailbreak packages for iOS on Windows


9 posts in this topic

Recommended Posts

Updated (edited)

Want to develop jailbreak packages, but don’t have a Mac? You could easily download a toolchain on your iPhone and build packages on there, but if you have a Windows computer, you could instead use the extra speed that a desktop CPU provides, thanks to coolstar’s fork of theos and toolchain for Windows. At least Windows XP is required for this.

Cygwin

Screen-Shot-2013-12-13-at-4.10.16-pm-102

The toolchain requires Cygwin, an awesome piece of software that provides a Unix environment on Windows. Grab the appropriate setup program for your system architecture from cygwin.com/install.html and run it. You’ll be greeted by the standard setup welcome page, followed by a request for where to download packages from. You’ll want to stick with the default “Install from Internet”. Next your way through until you get a list of sources – you can pick any of them; preferably one closer to you. After downloading a list of packages, the setup maximizes to show you a full list of available packages:

Screen-Shot-2013-12-19-at-1.12.51-am.png

Here’s what you’ll need to search for and install:

  • git (under Devel)
  • ca-certificates (under Net)
  • make (under Devel)
  • perl (under Perl)
  • python (under Python)
  • openssh (under Net)

Hit next two more times and let these packages, and the core Cygwin packages, install.

Toolchain

If you allowed it, the setup program dropped a shortcut to Cygwin Terminal on your desktop and/or Start menu. (If not, you can manually launch C:\cygwin\bin\mintty.exe.) Launch either one and you’ll be greeted with a command line (bash):

Screen-Shot-2013-12-19-at-1.27.03-am.png

(I’ve customised mine – yours will have a different font and size.)

From here, we’ll create the directory where theos will live in, and clone it from coolstar’s fork:

1
2
3 mkdir -p /opt
cd /opt
git clone -b windows git://github.com/coolstar/theos.git

Next up is the toolchain itself, which will take a while…

1 git clone -b x86_64 git://github.com/coolstar/iOSToolchain4Win.git theos/toolchain/windows/iphone

If your copy of Windows is not 64-bit, replace x86_64 with master.

SDK

Once that’s done, you’ll need to download an SDK. Legally, you can only do this by downloading an Xcode DMG image from Apple, so head to their developer downloads page (login required) and download an Xcode version of your choice – try Xcode 5 for the iOS 7 SDK and 4.6.3 for iOS 6.1. Meanwhile, you’ll need to download and install TransMac so that you can extract files from the DMG.

Once the download is done, open the file. From there, click the DMG name in the sidebar, then navigate your way through to Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs. Right clickiPhoneOS6.1.sdk and choose “Copy To”.

Screen-Shot-2013-12-24-at-6.53.11-pm.png

(I’m using Xcode 4.4.1, but the instructions will always be the same.)

Here, you’ll want to enter the path to Cygwin (unless you changed it, that’s C:\cygwin on 32-bit Windows, orC:\cygwin64 on 64-bit Windows), followed by the path to theos’ SDK directory, and the directory name:opt\theos\sdks\iPhoneOS6.1.sdk. Hit OK and wait for the magic to happen.

Try it out!

Everything should work as you expect it to now. Let’s try building a test tweak. Before you do, though, you should add theos environment variables to your .bash_profile (or equivalent for your shell). OpenC:\cygwin\home\...username...\.bash_profile in your favorite editor and add this on the very last line, replacing the device name with your own device’s, replacing spaces with dashes, or its IP address:

1
2 export THEOS=/opt/theos
export THEOS_DEVICE_IP=kirbpad.local THEOS_DEVICE_PORT=22

Load this into the shell with . ~/.bash_profile, or close the terminal window and launch a new one. cd to where you would like to store your theos projects (note that your C: drive lives at /cygdrive/c under Cygwin), or just create a new directory for that under your cygwin home directory:

1
2
3 cd
mkdir projects
cd projects

Now run $THEOS/bin/nic.pl to summon the NIC. Select a tweak and provide the rest of the info. Now open Tweak.xm and paste in:

1
2
3 %ctor {
NSLog(@"It works!");
}

Get ready to watch your syslog, and run make package install inside the project directory. If all goes well, you’ll see this somewhere among the other messages in the syslog:

1
2 Dec 19 00:33:20 kirbpad SpringBoard[52026] <Notice>: MS:Notice: Loading: /Library/MobileSubstrate/DynamicLibraries/TestTweak.dylib
Dec 19 00:33:20 kirbpad SpringBoard[52026] <Warning>: It works!

Have fun – and don’t forget to thank coolstar for being awesome.

 

(http://sharedinstance.net/2013/12/build-on-windows)

Updated by lamapple
Posted

how do i run the nic.pl?

Type in terminal the full location where nic.pl is:

 

/var/theos/bin/nic.pl or /home/user/theos/bin/nic.pl

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Our picks

    • Loot Heroes v1.6.9 +10 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Loot Heroes: Fantasy RPG Games By BoomBit, Inc.
      Bundle ID: com.bbp.lootheroes
      iTunes Store Link: https://apps.apple.com/us/app/loot-heroes-fantasy-rpg-games/id6642699678?uo=4


      Hack Features:
      - Freeze Currencies
      - God Mode -> Traps still cause damage.
      - One-Hit Kill
      - All Heroes Unlocked
      - All Skins Unlocked
      - No Skill Cooldown
      - No Ads

      VIP
      - Unlimited Currencies -> Earn some.
      - Auto Win
      - Battle Pass Unlocked
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 114 replies
    • Loot Heroes v1.6.9 +10 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Loot Heroes By BoomBit, Inc.
      Bundle ID: com.bbp.lootheroes
      iTunes Store Link: https://apps.apple.com/us/app/loot-heroes/id6642699678?uo=4


      Hack Features:
      - Freeze Currencies
      - God Mode -> Traps still cause damage.
      - One-Hit Kill
      - All Heroes Unlocked
      - All Skins Unlocked
      - No Skill Cooldown
      - No Ads

      VIP
      - Unlimited Currencies -> Earn some.
      - Auto Win
      - Battle Pass Unlocked
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 256 replies
    • Nightfall: Kingdom Frontier TD v1.0.404 +8 Jailed Cheats [ Currencies ]
      Modded/Hacked App: Nightfall: Kingdom Frontier TD By Fansipan Limited
      Bundle ID: com.fansipan.nightfall.tower.simulation.strategy.td.game
      iTunes Store Link: https://apps.apple.com/us/app/nightfall-kingdom-frontier-td/id6621272416?uo=4


      Hack Features:
      - God Mode
      - Unlimited In-Game Coins -> Will increase instead of decrease.
      - Unlimited Currencies -> Will increase instead of decrease.
      - No Ads
      - Add 1K Currency -> Head over to Settings and toggle the Discord button. [ VIP ]
      - Unlock All Features -> Head over to Settings and toggle the Discord button. [ VIP ]
      - Unlock All / Everything ->  Head over to Settings and toggle the Discord button. [ VIP ]
      - Complete Tutorial -> Head over to Settings and toggle the Discord button. [ VIP ]


      Jailbreak required hack(s): [Mod Menu Hack] Nightfall: Kingdom Frontier TD v1.0.41 +8 Cheats [ Unlimited Currencies ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 95 replies
    • Dawn of Ages: Medieval Games v2.0.5 +5 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Dawn of Ages: total war battle By BoomBit, Inc.
      Bundle ID: com.stratospheregames.dawnofages
      App Store Link: https://apps.apple.com/us/app/dawn-of-ages-total-war-battle/id6477473268?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Dumb Enemy
      - Premium Enabled
        • Agree
        • Like
      • 54 replies
    • Dawn of Ages: Medieval Games v2.0.5 +5 Cheats [ Damage & Defence ]
      Modded/Hacked App: Dawn of Ages: total war battle By BoomBit, Inc.
      Bundle ID: com.stratospheregames.dawnofages
      App Store Link: https://apps.apple.com/us/app/dawn-of-ages-total-war-battle/id6477473268?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Dumb Enemy
      - Premium Enabled
        • Thanks
        • Winner
        • Like
      • 32 replies
    • Goblins Wood: Tycoon Idle Sim v2.49.1 +1++ Jailed Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Goblins Wood: Tycoon Idle Sim By ProGamesLab LTD
      Bundle ID: idle.goblins.wood.tycoon
      iTunes Store Link: https://apps.apple.com/us/app/goblins-wood-tycoon-idle-sim/id6446766326?uo=4


      Hack Features:
      - Unlimited Currencies -> Will increase instead of decrease.


      Jailbreak required hack(s): [Mod Menu Hack] Goblins Wood: Tycoon Idle Sim v2.42.0 +1++ Cheat [ Unlimited Currencies ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Agree
        • Thanks
        • Winner
        • Like
      • 26 replies
    • Goblins Wood: Tycoon Idle Sim v2.49.1 +1++ Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Goblins Wood: Tycoon Idle Sim By ProGamesLab LTD
      Bundle ID: idle.goblins.wood.tycoon
      iTunes Store Link: https://apps.apple.com/us/app/goblins-wood-tycoon-idle-sim/id6446766326?uo=4


      Hack Features:
      - Unlimited Currencies -> Will increase instead of decrease.


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] Goblins Wood: Tycoon Idle Sim v2.42.0 +1++ Jailed Cheat [ Unlimited Currencies ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Agree
        • Winner
        • Like
      • 33 replies
    • Nightfall: Kingdom Frontier TD v1.0.404 +8 Cheats [ Currencies ]
      Modded/Hacked App: Nightfall: Kingdom Frontier TD By Fansipan Limited
      Bundle ID: com.fansipan.nightfall.tower.simulation.strategy.td.game
      iTunes Store Link: https://apps.apple.com/us/app/nightfall-kingdom-frontier-td/id6621272416?uo=4


      Hack Features:
      - God Mode
      - Unlimited In-Game Coins -> Will increase instead of decrease.
      - Unlimited Currencies -> Will increase instead of decrease.
      - No Ads
      - Add 1K Currency -> Head over to Settings and toggle the Discord button. [ VIP ]
      - Unlock All Features -> Head over to Settings and toggle the Discord button. [ VIP ]
      - Unlock All / Everything ->  Head over to Settings and toggle the Discord button. [ VIP ]
      - Complete Tutorial -> Head over to Settings and toggle the Discord button. [ VIP ]


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] Nightfall: Kingdom Frontier TD v1.0.41 +8 Jailed Cheats [ Unlimited Currencies ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 106 replies
    • Hitman: Blood Money — Reprisal v1.3 +5++ Jailed Cheats [ Cheats Menu ]
      Modded/Hacked App: Hitman: Blood Money — Reprisal By Feral Interactive Ltd
      Bundle ID: com.feralinteractive.hitmanbloodmoney-ios
      App Store Link: https://apps.apple.com/us/app/hitman-blood-money-reprisal/id1631331207?uo=4

       


      🤩 Hack Features

      - Freeze Ammo
      - Freeze Reserve Ammo
      - Insane Fire Rate
      - Unlimited Cash -> Earn or spend some.
      - Cheats Menu -> Pause in-game and scroll to the bottom. See picture below for more!

      Full Game unlock isn't possible. I've tried, trust me. Either pay or not, it's up to you.
        • Like
      • 0 replies
    • Hitman: Blood Money — Reprisal v1.3 +5++ Cheats [ Cheats Menu ]
      Modded/Hacked App: Hitman: Blood Money — Reprisal By Feral Interactive Ltd
      Bundle ID: com.feralinteractive.hitmanbloodmoney-ios
      App Store Link: https://apps.apple.com/us/app/hitman-blood-money-reprisal/id1631331207?uo=4

       
       

      🤩 Hack Features

      - Freeze Ammo
      - Freeze Reserve Ammo
      - Insane Fire Rate
      - Unlimited Cash -> Earn or spend some.
      - Cheats Menu -> Pause in-game and scroll to the bottom. See picture below for more!

      Full Game unlock isn't possible. I've tried, trust me. Either pay or not, it's up to you.
        • Like
      • 0 replies
    • Final Outpost v2.3.18 [+3 Jailed Cheats]
      Modded/Hacked App: Final Outpost By Exabyte Games Ltd
      Bundle ID: com.samclothier.DEADfense
      iTunes Store Link: https://apps.apple.com/us/app/final-outpost/id1425444801?uo=4



      🤩 Hack Features

      -  Always Enough Resources
      -  Always Attain Skill
      -  No Food Consume
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 18 replies
    • Final Outpost v2.3.18 [+3 Cheats]
      Modded/Hacked App: Final Outpost By Exabyte Games Ltd
      Bundle ID: com.samclothier.DEADfense
      iTunes Store Link: https://apps.apple.com/us/app/final-outpost/id1425444801?uo=4

       

      🤩 Hack Features

      -  Always Enough Resources
      -  Always Attain Skill
      -  No Food Consume
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 14 replies
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines