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

    • Eatventure v1.39.0 Jailed Cheats +2
      Modded/Hacked App: Eatventure By Lessmore UG haftungsbeschraenkt
      Bundle ID: com.hwqgrhhjfd.idlefastfood
      iTunes Store Link: https://apps.apple.com/us/app/eatventure/id1600871388?uo=4


      Hack Features:
      - Freeze Currencies
      - Free iAP (Turn on inside iOSGods Mod Menu first)


      Jailbreak required hack(s): https://iosgods.com/topic/168170-eatventure-cheats-all-versions-1/


      iOS Hack Download IPA Link: https://iosgods.com/topic/168169-eatventure-v110-jailed-cheats-2/
      • 339 replies
    • Empire Heroes: Strategy Game v1.0.1 [+4 Jailed Cheats]
      Modded/Hacked App: Empire Heroes: Strategy Game By VIETNAM TAAP TECHNOLOGY COMPANY LIMITED
      Bundle ID: com.nature.empireheroes
      App Store Link: https://apps.apple.com/us/app/empire-heroes-strategy-game/id6742527014?uo=4


      🤩 Hack Features

      - Unlimited Coins
      - Unlimited Gems
      - Free IAP
      - Never Die
      • 1 reply
    • Empire Heroes: Strategy Game v1.0.1 [+4 Cheats]
      Modded/Hacked App: Empire Heroes: Strategy Game By VIETNAM TAAP TECHNOLOGY COMPANY LIMITED
      Bundle ID: com.nature.empireheroes
      App Store Link: https://apps.apple.com/us/app/empire-heroes-strategy-game/id6742527014?uo=4


       

      🤩 Hack Features

      - Unlimited Coins
      - Unlimited Gems
      - Free IAP
      - Never Die
      • 0 replies
    • Matching Story v1.42.04 [ +6 Cheats ] Auto Win
      Modded/Hacked App: Matching Story By VERTEX GAMES PTE. LTD.
      Bundle ID: matching.story
      iTunes Store Link: https://apps.apple.com/ph/app/matching-story/id1558803930?uo=4


      🤩 Hack Features

      - Auto Win

      - Coins

      - Diamonds [ Win Match Linked With Moves ]

      - Lives

      - Booster

      - Moves
      • 35 replies
    • Matching Story v1.42.04 [ +6 Jailed ] Auto Win
      Modded/Hacked App: Matching Story By VERTEX GAMES PTE. LTD.
      Bundle ID: matching.story
      iTunes Store Link: https://apps.apple.com/ph/app/matching-story/id1558803930?uo=4

       
      🤩 Hack Features

      - Auto Win

      - Coins

      - Diamonds [ Win Match Linked With Moves ]

      - Lives

      - Booster

      - Moves
        • Like
      • 45 replies
    • Shadow Fight 4: Arena Cheat v1.9.50 +4
      Modded/Hacked App: Shadow Fight 4: Arena By Nekki Limited
      Bundle ID: com.nekki.shadowfightarena
      iTunes Store Link: https://apps.apple.com/us/app/shadow-fight-4-arena/id1479050948?uo=4


      Hack Features:
      - Freeze Enemies

      ViP Features:
      - Multiply Attack
      - Multiply Defense
      - God Mode
       

      Non-Jailbroken & No Jailbreak required hack(s):  https://iosgods.com/topic/136035-shadow-fight-4-arena-v1920-jailed-cheat-4/


      iOS Hack Download Link: https://iosgods.com/topic/136014-shadow-fight-4-arena-cheat-v1920-4/
        • Like
      • 385 replies
    • [ ArKnights TW ] 明日方舟 v28.4.01 - [ x Player Damage & More ]
      Modded/Hacked App: 明日方舟 By GRYPH FRONTIER PTE. LTD.
      Bundle ID: tw.txwy.ios.arknights
      iTunes Store Link: https://apps.apple.com/tw/app/%E6%98%8E%E6%97%A5%E6%96%B9%E8%88%9F/id1490985322?uo=4

       

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Sileo, Cydia or Zebra).

       

      🤩 Hack Features

      - x Player Damage - x1 - 1000
      - x Player Defense - x1 - 1000
      - x Player Attack Speed - x1 - 10
      - Frozen Enemies
      - Instant - Kill
      - Instant - Win
      - Unlimited Skills
      - No Deploy Cost

       

      Non-Jailbroken Hack: https://iosgods.com/topic/129722-arknights-tw-%E6%98%8E%E6%97%A5%E6%96%B9%E8%88%9F-v26321-jailed-cheats-8/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/129583-arknights-tw-%E6%98%8E%E6%97%A5%E6%96%B9%E8%88%9F-v26321-x-player-damage-more/
      • 460 replies
    • Sneaky Sasquatch Cheats v2.0.6 +3
      Modded/Hacked App: Sneaky Sasquatch By RAC7 Games
      Bundle ID: com.rac7.SneakySasquatch
      iTunes Store Link: https://apps.apple.com/us/app/sneaky-sasquatch/id1098342019?uo=4


      Hack Features:
      - Infinite Gold
      - Unlock All
      - No Hunger


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/148262-sneaky-sasquatch-v172-jailed-cheats-3/


      iOS Hack Download Link: https://iosgods.com/topic/148261-sneaky-sasquatch-cheats-v172-3/
        • Like
      • 183 replies
    • Mini Militia - Doodle Army 2 Cheats v5.6.0 +8 [ God Mode & More ]
      Modded/Hacked App: Mini Militia - Doodle Army 2 By Miniclip SA
      Bundle ID: com.chadtowns.da2
      App Store Link: https://apps.apple.com/us/app/mini-militia-doodle-army-2/id405885221?uo=4

       

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Sileo, Cydia or Zebra).

       

      🤩 Hack Features

      - God Mode
      - One Hit Kill
      - Infinite Ammo
      - No Reload
      - Infinite Grenade
      - Infinite Jetpack Boost
      - Friendly Fire Enabled
      - Premium

       

      Free Non-Jailbroken Hack: https://iosgods.com/topic/178790-mini-militia-doodle-army-2-v560-jailed-cheats-5/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/96342-mini-militia-doodle-army-2-cheats-v560-8-god-mode-more/
      • 602 replies
    • Tower of God: NEW WORLD Cheats v2.12.00 +4
      Modded/Hacked App: Tower of God: NEW WORLD By Netmarble Corporation
      Bundle ID: com.netmarble.tog
      iTunes Store Link: https://apps.apple.com/us/app/tower-of-god-new-world/id1599435437?uo=4


      Hack Features:
      - Multiply Attack
      - Multiply Defense
      - Always Critical
      - Skip Battle Intro


      Non-Jailbroken & No Jailbreak required hack(s): 
       

      iOS Hack Download Link: https://iosgods.com/topic/186202-tower-of-god-new-world-cheats-v20101-4/
      • 96 replies
    • Merge Magic Academy v1.7.0 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Merge Magic Academy By ZYMobile
      Bundle ID: com.zymobile.magic.merge.ios
      App Store Link: https://apps.apple.com/us/app/merge-magic-academy/id6746467003?uo=4


      🤩 Hack Features

      - Gems
      - Energy
      - Stars
      • 1 reply
    • Merge Magic Academy v1.7.0 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Merge Magic Academy By ZYMobile
      Bundle ID: com.zymobile.magic.merge.ios
      App Store Link: https://apps.apple.com/us/app/merge-magic-academy/id6746467003?uo=4
       

      🤩 Hack Features

      - Gems
      - Energy
      - Stars
      • 1 reply
×
  • 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