Jump to content

Theos tweaks on non-jailbroken device with developer account


Go to solution Solved by Arizona94,

12 posts in this topic

Recommended Posts

Posted

Hello,

 

I am very new to coding and developing tweaks, so bear with me if I make myself out to be a moron. I have a jailbroken iPhone 6 (8.4), a non-jailbroken iPhone 5 (9.1 beta), and a developer account. I successfully converted a few of my Flex tweaks using theos that work on my jailbroken device. Now I want to see if it's possible to get them onto my non-jailbroken device. 

 

I found a fork of theos for non-jailbroken devices (https://github.com/BishopFox/theos-jailed) but I don't have the knowledge/experience to use it.

 

Is there anyone with the patience to help me out here? I can add your devices' UDIDs to my account so you can test it out and get future betas the easy way.  :D

 

Thanks!

Posted

Hello there,

 

I will actually look into this myself. And it is possible but I'm not sure up to where it is. You can probably install things that only affect the IPA. Which is good enough. :p

Posted

Update: I have been able to get this working for me!! The tweak.xm file contains code for cycript and it works fine if I leave it unedited. When I deleted it and inserted my own code, the app crashes on launch. I've posted the tweak.xm code here. Where can I insert my own code? 

/*
	Bishop Fox - Theos for jailed iOS devices
*/
#import <dlfcn.h>
#include <pthread.h>
#include <errno.h>
#include <objc/message.h>
#import "Cycript.framework/headers/cycript.h"
#include "fishhook/fishhook.h"
#include "iSpy.class.h"
#include "iSpy.common.h"
#include "iSpy.instance.h"
#include "iSpy.msgSend.common.h"

#define CYCRIPT_PORT 31337

/*
 * Constructor
 */
%ctor {
	NSLog(@"[BF] Constructor entry");
	
	// initialize and cache the iSpy sharedInstance. 
	NSLog(@"[BF] Activating iSpy");
	[iSpy sharedInstance]; // do nothing with the return value, just force iSpy to initialize
	
	// Start Cycript
	ispy_nslog("[BF] Starting Cycript. Connect by running \"cycript -r <yourIOSDeviceIP>:%d\" on your MacBook.", CYCRIPT_PORT);
	CYListenServer(CYCRIPT_PORT);

    /* 
     *	The objc_msgSend tracing feature uses a whitelist to determine which methods/classes
     *	should be monitored and logged. By default the whitelist contains all of the methods in all 
     *	of the the classes defined by the target app. 
     *	You can add/remove individual methods and/or entire classes to/from the whitelist.
     *	This is good for removing animations, CPU hogs, and other uninteresting crap.
     */
    //ispy_nslog("[BF] Removing unwanted classes from msgSend whitelist");
    //[mySpy msgSend_whitelistRemoveClass:@"ClassWeDoNotCareAbout"];

    // Remove an individual method from the whitelist
    //[mySpy msgSend_whitelistRemoveMethod:@"testMethod" fromClass:@"FooClass"];

    // Add a method to the whitelist
    //[mySpy msgSend_whitelistAddMethod:@"setHTTPBody:" forClass:@"NSMutableURLRequest"];

    // Add all the methods in a single class
	//[mySpy msgSend_whitelistAddClass:@"NSURLConnection"];
	    
	/*
	 *	Turn on objc_msgSend tracing.
	 *	You can also turn it on/off in Cycript using: 
	 *		[[iSpy sharedInstance] msgSend_enableLogging]
	 *		[[iSpy sharedInstance] msgSend_disableLogging]
	 */
	//ispy_nslog("[BF] Enabling msgSend logging to %s/Documents/.iSpy/*.log", [[mySpy appPath] UTF8String]);
	//[mySpy msgSend_enableLogging];

	/*
	 *	Bypass SSL pinning. Uses a combination of:
	 *		- TrustMe SecTrustEvaluate() bypass
	 *		- BF's custom AFNetworking bypasses
	 *	This is disabled by default and you must enable it manually here or
	 *	in Cycript, by using: [[iSpy sharedInstance] SSLPinning_enableBypass]
	 */
	//ispy_nslog("[BF] Enabling SSL Pinning bypasses");
	//[mySpy SSLPinning_enableBypass];
	
	/*
	 *	By default the instance tracker is off. Turn it on.
	 */
	ispy_nslog("[BF] Enabling instance tracker");
	[[[iSpy sharedInstance] instanceTracker] start];
	
	/*
	 *	Now we continue with the normal load process, passing control to the app's main() function.
	 */
	ispy_nslog("[BF] All done, continuing dyld load sequence.");
}

Posted

Hi could you guys please help me? I'm trying to inject my dylib into my ipa but everytime it starts signing and fails and says failed to inject dylib. I replaced my certificates I started all over again with the ipa and so but nothing works please help?

Regards Bas

Posted

Hi could you guys please help me? I'm trying to inject my dylib into my ipa but everytime it starts signing and fails and says failed to inject dylib. I replaced my certificates I started all over again with the ipa and so but nothing works please help?

Regards Bas

 

Hi guys. I have the same problem: "Failed to inject *.dylib" using Theos-jailed... Has anyone found a solution?

Posted

Already found the solution: when you place optool in the bin folder that you had to create to make patchapp.sh work you don't need an extra optool folder just after the Mach-o folder place the optool inside it do not create a folder called optool. That was my problem hope it helps????

Posted

Already found the solution: when you place optool in the bin folder that you had to create to make patchapp.sh work you don't need an extra optool folder just after the Mach-o folder place the optool inside it do not create a folder called optool. That was my problem hope it helps

 

so you downloaded optool? and place it where? theos-jailed/bin folder?  and where is this mach-o folder?

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

    • Kain Cobra v1.0 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Kain Cobra By 67 BITS DESIGN LTDA
      Bundle ID: com.sixtysevenbits.kaincobra
      App Store Link: https://apps.apple.com/us/app/kain-cobra/id6739786001?uo=4

      🤩 Hack Features

      - Gems Freeze
      - Coins Freeze
      - Energy Freeze
      • 0 replies
    • Kain Cobra v1.0 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Kain Cobra By 67 BITS DESIGN LTDA
      Bundle ID: com.sixtysevenbits.kaincobra
      App Store Link: https://apps.apple.com/us/app/kain-cobra/id6739786001?uo=4

      🤩 Hack Features

      - Gems Freeze
      - Coins Freeze
      - Energy Freeze
        • Agree
      • 1 reply
    • Mech Assemble v1.6.37 Jailed Cheats +5
      Modded/Hacked App: Mech Assemble By ONEMT PTE. LTD.
      Bundle ID: com.ios.mecharogue.online
      App Store Link: https://apps.apple.com/us/app/mech-assemble/id6739125107?uo=4



      🤩 Hack Features

      - High Defense
      - No Reload
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 129 replies
    • FATE: Reawakened v1.0.7 +5 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: FATE: Reawakened By gamigo Publishing GmbH
      Bundle ID: com.gamigo.fatemobile
      App Store Link: https://apps.apple.com/us/app/fate-reawakened/id6742834644?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Unlimited Gold -> Will increase instead of decrease.
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 29 replies
    • Heroes & Gear? Yoink! v3.4 +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Heroes & Gear? Yoink! By Highbrow
      Bundle ID: com.highbrow.games.mnf
      App Store Link: https://apps.apple.com/us/app/heroes-gear-yoink/id6745557169?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
        • Informative
        • Thanks
        • Winner
        • Like
      • 18 replies
    • Red Bull Playgrounds v1.2.0 +1 Jailed Cheat [ Score Multiplier ]
      Modded/Hacked App: Red Bull Playgrounds By Red Bull Media House GmbH
      Bundle ID: com.red.bull.playgrounds
      App Store Link: https://apps.apple.com/us/app/red-bull-playgrounds/id6737554653?uo=4

       


      🤩 Hack Features

      - Score Multiplier
        • Like
      • 7 replies
    • Oh my Anne : Match & Renovate v5.6.0 +4 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Oh my Anne : Match & Renovate By NEOWIZ Corporation
      Bundle ID: com.neowiz.game.anne
      iTunes Store Link: https://apps.apple.com/us/app/oh-my-anne-match-renovate/id1615927264?uo=4


      Hack Features:
      - Unlimited Coins -> Earn or spend some.
      - Unlimited Dandelion Seeds -> Earn or spend some.
      - Unlimited Lives -> Earn or spend some.
      - Unlimited Moves -> Will not decrease.


      Jailbreak required hack(s): [Mod Menu Hack] Oh my Anne : Match & Renovate v3.1.2 +5 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
        • Thanks
        • Like
      • 27 replies
    • Dynasty Warriors ( 真・三國無双 覇 ) v1.0.22 +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: 真・三國無双 覇 By SUPERNOVA OVERSEAS LIMITED
      Bundle ID: com.supernova.ssgms.jp.ios
      App Store Link: https://apps.apple.com/jp/app/%E7%9C%9F-%E4%B8%89%E5%9C%8B%E7%84%A1%E5%8F%8C-%E8%A6%87/id6461309538?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
        • Thanks
        • Like
      • 10 replies
    • Wanderland: Angel Hunters RPG v2025.12.24 +4 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Wanderland: Angel Hunters RPG By ELEMENT6 TECHNOLOGIES COMPANY LIMITED
      Bundle ID: tech.element6.rpg
      App Store Link: https://apps.apple.com/us/app/wanderland-angel-hunters-rpg/id6742121766?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
        • Winner
      • 2 replies
    • My Stories: Choose Romance v2.6.7 +6 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: My Stories: Choose Romance By Bitfun Limited
      Bundle ID: com.bitfungame.destiny
      iTunes Store Link: https://apps.apple.com/us/app/my-stories-choose-romance/id1599241056?uo=4

       
       

      🤩 Hack Features

      - Free Premium Choices
      - Freeze Tickets

      VIP
      - Unlimited Coins -> Head over to Profile, scroll down and tap on Messages.
      - Unlimited Tickets -> Head over to Profile, scroll down and tap on Gift Code.
      - Unlimited Gems -> Head over to Profile, scroll down and tap on My Comments.
      - VIP Pass Enabled
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 13 replies
    • Bloons Card Storm v6.2 +4 Jailed Cheats [ Unlimited Cards ]
      Modded/Hacked App: Bloons Card Storm By Ninja Kiwi Limited
      Bundle ID: com.ninjakiwi.bloonscardstorm
      iTunes Store Link: https://apps.apple.com/us/app/bloons-card-storm/id6478193271?uo=4


      Hack Features:
      - Unlimited Cards
      - Unlock All Cards
      - Unlock All Cosmetics -> Avatars, Card Backs etc.
      - Unlock All Heroes


      Jailbreak required hack(s): [Mod Menu Hack] Bloons Card Storm v1.00 +4 Cheats [ Unlimited Cards ] - 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
      • 33 replies
    • Vampire Survivors v1.14.109 +4 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Vampire Survivors By Poncle
      Bundle ID: com.poncle.VampireSurvivors
      iTunes Store Link: https://apps.apple.com/us/app/vampire-survivors/id6444525702
       

      Hack Features:
      - Damage Multiplier
      - Defence Multiplier
      - All Weapons Unlocked -> Head over to Options and toggle the Sounds button.


      Jailbreak required hack(s): [Mod Menu Hack] Vampire Survivors v1.6.104 +5 Cheats [ Damage & Defence ] - 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
      • 145 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