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

    • Shadow Hunter: Premium v11.128.2 +9 Cheats
      Modded/Hacked App: Shadow Hunter: Premium By ENIGMA SOFTWARE JOINT STOCK COMPANY
      Bundle ID: com.enigma.shadowhunter.paid
      iTunes Store Link: https://apps.apple.com/us/app/shadow-hunter-premium/id1588843797?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia or Sileo).


      Hack Features:
      - Free Equipment Level Up*
      - Free Merchant Shop*
      - Free Mystic Store*
      - Free Fragment Shop*
      - Free Video Shop*
      - No Awaken Dust Cost
      - No Ascend Requirements
      - No Evolve Requirements
      - 1 Item = 100 Items

      Notes:
      * under one switch. Do not purchase stuff that cost diamond, or your game becomes invalid. So, save from time to time to revert back if anything happens.
        • Agree
        • Like
      • 670 replies
    • Shadow Hunter: Offline Games v10.128.2 +9 Cheats
      Modded/Hacked App: Shadow Hunter: Lost Worlds By ENIGMA SOFTWARE JOINT STOCK COMPANY
      Bundle ID: com.enigma.shadowhunter.free
      iTunes Store Link: https://apps.apple.com/us/app/shadow-hunter-lost-worlds/id1559150590?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia or Sileo).


      Hack Features:
      - Free Equipment Level Up*
      - Free Merchant Shop*
      - Free Mystic Store*
      - Free Fragment Shop*
      - Free Video Shop*
      - No Awaken Dust Cost
      - No Ascend Requirements
      - No Evolve Requirements
      - 1 Item = 100 Items

      Notes:
      * under one switch. Do not purchase stuff that cost diamond, or your game becomes invalid. So, save from time to time to revert back if anything happens.
        • Agree
        • Like
      • 820 replies
    • Fishing Hook2 v1.0.2 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Fishing Hook2 By MOBIRIX
      Bundle ID: com.mobirix.fishinghook2
      App Store Link: https://apps.apple.com/ph/app/fishing-hook2/id6751476015?uo=4


      🤩 Hack Features

      - Unlimited Gold / Sell Fish
      - Unlimited EXP / Sell Fish / Tested Not
      - Easy Catch
      • 6 replies
    • Fishing Hook2 v1.0.2 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Fishing Hook2 By MOBIRIX
      Bundle ID: com.mobirix.fishinghook2
      App Store Link: https://apps.apple.com/ph/app/fishing-hook2/id6751476015?uo=4
       

      🤩 Hack Features

      - Unlimited Gold / Sell Fish
      - Unlimited EXP / Sell Fish / Tested Not
      - Easy Catch
      • 5 replies
    • dropcult v1.3.4 +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: dropcult By SMOKESPOT GAMES, LLC
      Bundle ID: com.SmokeSpotGames.SkreetFigherzGame
      App Store Link: https://apps.apple.com/us/app/dropcult/id1550684098?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 35 replies
    • dropcult v1.3.4 +3 Cheats [ Damage & Defence ]
      Modded/Hacked App: dropcult By SMOKESPOT GAMES, LLC
      Bundle ID: com.SmokeSpotGames.SkreetFigherzGame
      App Store Link: https://apps.apple.com/us/app/dropcult/id1550684098?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 21 replies
    • Night Slashers: Remake v1.0.6 +4 Jailed Cheats [ God Mode + More ]
      Modded/Hacked App: Night Slashers: Remake By Forever Entertainment S.A.
      Bundle ID: com.forever-entertainment.NightSlashersRemake
      App Store Link: https://apps.apple.com/us/app/night-slashers-remake/id6739348927?uo=4

       


      🤩 Hack Features

      - God Mode
      - One-Hit Kill
      - Point Multiplier
      - Free In-App Purchases
      • 0 replies
    • Night Slashers: Remake v1.0.6 +4 Cheats [ God Mode + More ]
      Modded/Hacked App: Night Slashers: Remake By Forever Entertainment S.A.
      Bundle ID: com.forever-entertainment.NightSlashersRemake
      App Store Link: https://apps.apple.com/us/app/night-slashers-remake/id6739348927?uo=4

       
       

      🤩 Hack Features

      - God Mode
      - One-Hit Kill
      - Point Multiplier
      - Free In-App Purchases
      • 1 reply
    • Dead Impact: Survival MMORPG v1.09 +11 Jailed Cheats [ Unlimited Everything ]
      Modded/Hacked App: Dead Impact: Survival MMORPG By SYNTHEZ GAMES LIMITED
      Bundle ID: games.synthez.zombie.survival.multiplayer
      App Store Link: https://apps.apple.com/us/app/dead-impact-survival-mmorpg/id6444281832?uo=4

       
       

      🤩 Hack Features

      - Freeze Currencies
      - Freeze Items
      - 1 Stat Point Requirement
      - Level Threshold Modifier -> Amount of XP required to advance to the next level.
      - No Craft Item Requirement
      - Unlimited Durability
      - No Consumable Cooldown

      VIP
      - Unlimited Currencies -> Will increase instead of decrease.
      - Unlimited Items -> Will increase instead of decrease.
      - Unlock All
      - Unlock All Classes
      • 180 replies
    • Dead Impact: Survival MMORPG v1.09 +11 Cheats [ Unlimited Everything ]
      Modded/Hacked App: Dead Impact: Survival MMORPG By SYNTHEZ GAMES LIMITED
      Bundle ID: games.synthez.zombie.survival.multiplayer
      App Store Link: https://apps.apple.com/us/app/dead-impact-survival-mmorpg/id6444281832?uo=4

       


      🤩 Hack Features

      - Freeze Currencies
      - Freeze Items
      - 1 Stat Point Requirement
      - Level Threshold Modifier -> Amount of XP required to advance to the next level.
      - No Craft Item Requirement
      - Unlimited Durability
      - No Consumable Cooldown

      VIP
      - Unlimited Currencies -> Will increase instead of decrease.
      - Unlimited Items -> Will increase instead of decrease.
      - Unlock All
      - Unlock All Classes
      • 72 replies
    • Space Outpost: Drone War v0.4.8 [+2 Jailed Cheats]
      Modded/Hacked App: Space Outpost: Drone War By CYBERJOY LIMITED
      Bundle ID: com.cyberjoy.spaceoutpost
      App Store Link: https://apps.apple.com/us/app/space-outpost-drone-war/id6747959347?uo=4



      🤩 Hack Features

      - High Damage
      - Activate SVip
      • 0 replies
    • Space Outpost: Drone War v0.4.8 [+2 Cheats]
      Modded/Hacked App: Space Outpost: Drone War By CYBERJOY LIMITED
      Bundle ID: com.cyberjoy.spaceoutpost
      App Store Link: https://apps.apple.com/us/app/space-outpost-drone-war/id6747959347?uo=4



      🤩 Hack Features

      - High Damage
      - Activate SVip
       
      • 9 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