Jump to content

Theos - What’s wrong with my tweak.xm?


Go to solution Solved by Fadexz,

15 posts in this topic

Recommended Posts

Posted (edited)

What mistake did I make?

#import <substrate.h>
#import <Foundation/Foundation.h>

%hook OTDeviceSafetyUseCase

-(BOOL) isDeviceSafeToUse {
return TRUE;
}
%end

LwpLTFG.jpg

It’s been a while since I’ve created a tweak.

Updated by Fadexz
Marked as solved.
Posted
1 minute ago, Joka said:

You forgot to add "Made by Joka"

Oh of course, how could I forget.  -_-

Posted

Theos things you wrote Return with a capital letter. remove that return line & type it again (no copy pasting)

 

return TRUE;

Posted
26 minutes ago, Ted2 said:

Theos things you wrote Return with a capital letter. remove that return line & type it again (no copy pasting)

 

return TRUE;

I did type it in lowercase, it just shows like that for some reason in theos.

I also tried rewriting it but that seemed to not fix it.

Posted (edited)

It didn't do anything.

#import <substrate.h>
#import <Foundation/Foundation.h>

string Return = "return";

%hook OTDeviceSafetyUseCase

-(BOOL) isDeviceSafeToUse {
Return TRUE;
}
%end

Here's my makefile if there's anything that needs to be added. I removed ARCHS ...

include $(THEOS)/makefiles/common.mk

TWEAK_NAME = OpalDisableJailbreakCheck
OpalDisableJailbreakCheck_FILES = Tweak.xm

include $(THEOS_MAKE_PATH)/tweak.mk
Updated by Fadexz
Posted
12 hours ago, Archangel04 said:

does it work in flex?

Yes, i'm just trying to turn it into a tweak.

I was thinking about creating a new project but re-writing it.

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

    • Zombies Clicker v20.1.10 [+4 Jailed Cheats]
      Modded/Hacked App: Zombies Clicker By EDENAP d.o.o.
      Bundle ID: com.edenap.a3
      App Store Link: https://apps.apple.com/us/app/zombies-clicker/id6746955704?uo=4


      🤩 Hack Features

      - Add Currency
      - Add Prestige
      - Never Die
      - One Hit Kill
      • 2 replies
    • Zombies Clicker v20.1.10 [+4 Cheats]
      Modded/Hacked App: Zombies Clicker By EDENAP d.o.o.
      Bundle ID: com.edenap.a3
      App Store Link: https://apps.apple.com/us/app/zombies-clicker/id6746955704?uo=4



      🤩 Hack Features

      - Add Currency
      - Add Prestige
      - Never Die
      - One Hit Kill
      • 4 replies
    • Heroes Crew: Strategy Defense v1.1.0 [+6 Cheats]
      Modded/Hacked App: Heroes Crew: Strategy Defense By AlohaFactory
      Bundle ID: com.overdogs.heroes
      App Store Link: https://apps.apple.com/us/app/heroes-crew-strategy-defense/id6744350078?uo=4



      🤩 Hack Features

      - Add Currency
      - Unlimited Items
      - Unlimited Property (Heroes, Relic etc)
      - Activate VVip (Use after tutorial and only in main menu)
      - Activate Premium Hunt Pass (Use after tutorial and only in main menu)
      - Unlimited Battle Currency (Always Will Increase)
      • 11 replies
    • Heroes Crew: Strategy Defense v1.1.0 [+6 Jailed Cheats]
      Modded/Hacked App: Heroes Crew: Strategy Defense By AlohaFactory
      Bundle ID: com.overdogs.heroes
      App Store Link: https://apps.apple.com/us/app/heroes-crew-strategy-defense/id6744350078?uo=4



      🤩 Hack Features

      - Add Currency
      - Unlimited Items
      - Unlimited Property (Heroes, Relic etc)
      - Activate VVip (Use after tutorial and only in main menu)
      - Activate Premium Hunt Pass (Use after tutorial and only in main menu)
      - Unlimited Battle Currency (Always Will Increase)
      • 12 replies
    • Robot Breaker v0.2.3 [+4 Cheats]
      Modded/Hacked App: Robot Breaker By Charged Monkey s.r.o.
      Bundle ID: com.chargedmonkey.robotbreaker
      App Store Link: https://apps.apple.com/us/app/robot-breaker/id6742655817?uo=4



      🤩 Hack Features

      - Increase Tool Level
      - Set No Ads (Not Rewarded)
      - Skip Current Quest
      - Unlimited Resources 
      • 4 replies
    • Robot Breaker v0.2.3 [+4 Jailed Cheats]
      Modded/Hacked App: Robot Breaker By Charged Monkey s.r.o.
      Bundle ID: com.chargedmonkey.robotbreaker
      App Store Link: https://apps.apple.com/us/app/robot-breaker/id6742655817?uo=4



      🤩 Hack Features

      - Increase Tool Level
      - Set No Ads (Not Rewarded)
      - Skip Current Quest
      - Unlimited Resources 
      • 13 replies
    • Dice Dreams™ V1.93.1 [ +9 Cheats ] Currency Max
      Modded/Hacked App: Dice Dreams™ By SuperPlay LTD
      Bundle ID: com.superplaystudios.dicedreams
      iTunes Store Link: https://apps.apple.com/us/app/dice-dreams/id1484468651?uo=4


      Hack Features:
      - Coins Max [ Disable Coins When Use Bet Multiplier ]

      - Rolls Unlimited 

      - Crowns [ Only For Card Upgrade ]

      - Shield [ Get Unlimited Rolls ]

      - Bet Multiplier [ Coins + Rewards ]

      - All Task Score + Rewards [ Linked Bet Multiplier ]

      - Next Kingdom [ Build One ]

      - Build Cost [ 0 ]

      - Premium Dreams Pass

      Warning:- Don't Blame Me Banned  Some Time Freeze Reopen Then Works


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      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
      • 90 replies
    • Dice Dreams™ V1.93.1 [ +9 Jailed ] Currency Max
      Modded/Hacked App: Dice Dreams™ By SuperPlay LTD
      Bundle ID: com.superplaystudios.dicedreams
      iTunes Store Link: https://apps.apple.com/us/app/dice-dreams/id1484468651?uo=4


      Hack Features:

      - Coins Max [ Disable Coins When Use Bet Multiplier ]

      - Rolls Unlimited 

      - Crowns [ Only For Card Upgrade ]

      - Shield [ Get Unlimited Rolls ]

      - Bet Multiplier [ Coins + Rewards ]

      - All Task Score + Rewards [ Linked Bet Multiplier ]

      - Next Kingdom [ Build One ]

      - Build Cost [ 0 ]

      - Premium Dreams Pass

      Warning:- Don't Blame Me Banned  Some Time Freeze Reopen Then Works

       
      Jailbreak required hack(s): https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Agree
        • Like
      • 59 replies
    • Survivor Kingdoms V3.26 [ +11 Jailed ] Easy Win
      Modded/Hacked App: Survivor Kingdoms By Gamee Joint Stock Company
      Bundle ID: com.gamee.kingdoms.survivor.io
      iTunes Store Link: https://apps.apple.com/us/app/survivor-kingdoms/id6444824577?uo=4

       

      🚀 Hack Features

      - IAP Free [ Buy Anything ]

      - Health

      - Damage

      - Skill CD Slow

      - Skill CD Fast [ Maybe Game Slow ]

      - Skill Size Big

      - Shooting Speed Fast

      - Movement Speed

      - Auto Revive Unlimited [ Never Die ]

      - Ultimate Power CD

      - Avatar & Frame 


      🍏 Jailbreak iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 34 replies
    • Survivor Kingdoms V3.26 [ +11 Cheats ] Easy Win
      Modded/Hacked App: Survivor Kingdoms By Gamee Joint Stock Company
      Bundle ID: com.gamee.kingdoms.survivor.io
      iTunes Store Link: https://apps.apple.com/us/app/survivor-kingdoms/id6444824577?uo=4


      Hack Features:
      - IAP Free [ Buy Anything ]

      - Health

      - Damage

      - Skill CD Slow

      - Skill CD Fast [ Maybe Game Slow ]

      - Skill Size Big

      - Shooting Speed Fast

      - Movement Speed

      - Auto Revive Unlimited [ Never Die ]

      - Ultimate Power CD

      - Avatar & Frame 


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 44 replies
    • Squishmallows Match v0.7.8 [ +2 Cheats ] Auto Win
      Modded/Hacked App: Squishmallows Match By East Side Games Inc
      Bundle ID: com.eastsidegames.squishmallows
      App Store Link: https://apps.apple.com/ph/app/squishmallows-match/id6450057167?uo=4

       

      🤩 Hack Features

      - Auto Win
      - Lives [ 0 Play Unlimited ]

      • 6 replies
    • Squishmallows Match v0.7.8 [ +2 Jailed ] Auto Win
      Modded/Hacked App: Squishmallows Match By East Side Games Inc
      Bundle ID: com.eastsidegames.squishmallows
      App Store Link: https://apps.apple.com/ph/app/squishmallows-match/id6450057167?uo=4
       

      🤩 Hack Features

      - Auto Win
      - Lives [ 0 Play Unlimited ]

      • 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