Jump to content

[New 2024 - iOS 14/15/16] How To Install Theos & SDKs on your iOS Device!


151 posts in this topic

Recommended Posts

Posted

Thanks a lot for the great tutorial
However, and I don't know if the place is right, please feel free to redirect me, but after trying a first little tweak I got looooads of errors when compiling.
The first being that the include in the main.m was screwed, then I changed, in the MakeFile the line TweakTest1_FILES = main.m  to tweak.xm

content of tweak folder:

/var/mobile/tweakttest1 root# ls -la
total 16
drwxr-xr-x  9 root   mobile  288 May 19 19:36 .
drwx--x--x 15 mobile mobile  480 May 19 19:11 ..
drwxr-xr-x  4 root   mobile  128 May 19 19:18 .theos
-rw-r--r--  1 root   mobile  343 May 19 19:45 Makefile
drwxr-xr-x  5 root   mobile  160 May 19 19:11 client
drwxr-xr-x  4 root   mobile  128 May 19 19:11 layout
-rw-r--r--  1 root   mobile 1800 May 19 19:31 main.h
-rw-r--r--  1 root   mobile 1780 May 19 19:29 main.m
-rw-r--r--  1 root   mobile   68 May 19 19:18 tweak.xm

Makefile:

ARCHS = armv7 armv7s arm64
include /var/theos/makefiles/common.mk

TOOL_NAME = TweakTtest1

TweakTtest1_FILES = tweak.xm
TweakTtest1_CFLAGS = -fobjc-arc

include $(THEOS_MAKE_PATH)/tool.mk

after-TweakTtest1-stage::
        $(ECHO_NOTHING)$(FAKEROOT) chown root:wheel $(THEOS_STAGING_DIR)/Library/LaunchDaemons/com.wisbit.tweaktest1.plist$(ECHO_END)

tweak.xm:

%hook SBFolder
-(BOOL)shouldRemoveWhenEmpty {
return NO;
}
%end

 

Results :

/var/mobile/tweakttest1 root# make package install
> Making all for tool TweakTtest1…
==> Preprocessing tweak.xm…
==> Preprocessing tweak.xm…
==> Preprocessing tweak.xm…
==> Compiling tweak.xm (arm64)…
==> Linking tool TweakTtest1 (arm64)…
Undefined symbols for architecture arm64:
  "_MSHookMessageEx", referenced from:
      _logosLocalInit() in tweak.xm.b8ba8393.o
  "_main", referenced from:
     implicit entry/start for main executable
ld: symbol(s) not found for architecture arm64
clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [/var/theos/makefiles/instance/tool.mk:20: /var/mobile/tweakttest1/.theos/obj/debug/arm64/TweakTtest1] Error 1
make[2]: *** [/var/theos/makefiles/instance/tool.mk:20: /var/mobile/tweakttest1/.theos/obj/debug/arm64/TweakTtest1] Error 2
make[2]: *** Waiting for unfinished jobs....
==> Compiling tweak.xm (armv7)…
==> Compiling tweak.xm (armv7s)…
==> Linking tool TweakTtest1 (armv7)…
Undefined symbols for architecture armv7:
  "_MSHookMessageEx", referenced from:
      _logosLocalInit() in tweak.xm.1740f4d9.o
  "_main", referenced from:
     implicit entry/start for main executable
ld: symbol(s) not found for architecture armv7
clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [/var/theos/makefiles/instance/tool.mk:20: /var/mobile/tweakttest1/.theos/obj/debug/armv7/TweakTtest1] Error 1
==> Linking tool TweakTtest1 (armv7s)…
Undefined symbols for architecture armv7s:
  "_MSHookMessageEx", referenced from:
      _logosLocalInit() in tweak.xm.a48028c5.o
  "_main", referenced from:
     implicit entry/start for main executable
ld: symbol(s) not found for architecture armv7s
clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [/var/theos/makefiles/instance/tool.mk:20: /var/mobile/tweakttest1/.theos/obj/debug/armv7s/TweakTtest1] Error 1
rm /var/mobile/tweakttest1/.theos/obj/debug/armv7/tweak.xm.mmrm /var/mobile/tweakttest1/.theos/obj/debug/armv7s/tweak.xm.mm

make[2]: *** [/var/theos/makefiles/instance/tool.mk:20: /var/mobile/tweakttest1/.theos/obj/debug/armv7/TweakTtest1] Error 2
make[2]: *** [/var/theos/makefiles/instance/tool.mk:20: /var/mobile/tweakttest1/.theos/obj/debug/armv7s/TweakTtest1] Error 2
make[1]: *** [/var/theos/makefiles/instance/tool.mk:11: internal-tool-all_] Error 2
make: *** [/var/theos/makefiles/master/rules.mk:111: TweakTtest1.all.tool.variables] Error 2

 

 

I wondered if the issue was on the hook ...

Thanks a lot for any help. I am completely new at this. cheers.

Posted (edited)

or maybe ... just maybe ... when I chose an option from theos initial call, I selected the wrong option.

That being said, I now chose the right "tweak" option. but in the makefile there is a line

include $THEOS/tweak.mk (which I changed to have the absolute path /var/theos/tweak.mk stupidly, but still, it doesn't work

EDIT : I am a massive retard and needs to buy glasses 'it was theos_make_path, changed it completely wrong ...' such a moron

But there is no tweak.mk in theos folder, neither is there is the tweak folder ...

is that normal ?

Updated by wisbit
I am giant idiot
Posted

OK I got it all working, moved everything (theos, sdks, and tweak folders) out of var, changed my $THEOS
and compilation went ahead and I did my first very very sh!tty tweak, but still

VICTORY :D

Posted

Hi friends,

I have created an application with the template iphone / application_morden. Can i call API or connect server socket in it?

Thanks!

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

    • Ball in! Pinball Defense v1.0.5 [ +6 Jailed ] Currency Max
      Modded/Hacked App: Ball in! Pinball Defense By Neptune Company
      Bundle ID: com.nep.tr.hybrid.pinballdefense
      App Store Link: https://apps.apple.com/us/app/ball-in-pinball-defense/id6767486424?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Energy
      - Unlimited Card Exp
      - ATK MAX
      - Skill Active / 1 Hit
      • 0 replies
    • Ball in! Pinball Defense v1.0.5 [ +6 Cheats ] Currency Max
      Modded/Hacked App: Ball in! Pinball Defense By Neptune Company
      Bundle ID: com.nep.tr.hybrid.pinballdefense
      App Store Link: https://apps.apple.com/us/app/ball-in-pinball-defense/id6767486424?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Energy
      - Unlimited Card Exp
      - ATK MAX
      - Skill Active / 1 Hit
      • 0 replies
    • Brick Fight v2.1.7 [ +9 APK MOD ] Currency Max
      Mod APK Game Name: Brick Fight
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.yuyue.guardminingsite&hl=en

      🤩 Hack Features

      - Unlimited Skill Card Exp
      - Brick Freeze
      Talents Stats
      - ATK MAX
      - HP MAX
      - POWER MAX
      • 0 replies
    • Brick Fight v2.1.7 [ +9 Cheats ] Currency Max
      Modded/Hacked App: Brick Fight By Voodoo
      Bundle ID: com.yuyue.guardminingsite
      App Store Link: https://apps.apple.com/us/app/brick-fight/id6738034364?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Energy
      - Unlimited Keys +3
      - Unlimited Skill Card Exp
      - Brick Freeze
      Talents Stats
      - ATK MAX
      - HP MAX
      - POWER MAX
      • 1 reply
    • Brick Fight v2.1.7 [ +9 Jailed ] Currency Max
      Modded/Hacked App: Brick Fight By Voodoo
      Bundle ID: com.yuyue.guardminingsite
      App Store Link: https://apps.apple.com/us/app/brick-fight/id6738034364?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Energy
      - Unlimited Keys +3
      - Unlimited Skill Card Exp
      - Brick Freeze
      Talents Stats
      - ATK MAX
      - HP MAX
      - POWER MAX
      • 1 reply
    • Lost Twins 2 +2 Jailed Cheats [ Full Game Unlocked ]
      Modded/Hacked App: Lost Twins 2 By PLAYDEW PRIVATE LIMITED
      Bundle ID: com.playdew.losttwins2
      App Store Link: https://apps.apple.com/us/app/lost-twins-2/id6757780210?uo=4

       

      🤩 Hack Features

      - Unlock Full Game -> Head into the shop, press on the Unlock Game purchase, then cancel the in-app purchase.*
      - Unlock x10 Coins -> Head into the shop, press on the x10 Coins purchase, then cancel the in-app purchase.*

      * - Only enable 1 feature at a time.
      • 1 reply
    • Astra Squad +3 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Astra Squad By MEGAGIGA GAMES BILISIM AS
      Bundle ID: com.astra.squad
      App Store Link: https://apps.apple.com/us/app/astra-squad/id6779563769?uo=4

       


      🤩 Hack Features

      - Currency Modifier -> Earn some.
      - Tool Damage Multiplier
      - No Tool Level Requirement
        • Agree
        • Like
      • 4 replies
    • DIGIMON UP JP ( デジモンUP ) +3 Mods [ Damage & Defence ]
      Mod APK Game Name: デジモンUP By Bandai Namco Entertainment Inc.
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.bandainamcoent.dgup_jp

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
        • Informative
        • Thanks
        • Like
      • 7 replies
    • DIGIMON UP +3 Mods [ Damage & Defence ]
      Mod APK Game Name: DIGIMON UP By Bandai Namco Entertainment Inc.
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.bandainamcoent.dgup_ww

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
        • Agree
        • Winner
        • Like
      • 22 replies
    • DIGIMON UP JP ( デジモンUP ) +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: デジモンUP By Bandai Namco Entertainment Inc.
      Bundle ID: jp.co.bandainamcoent.BNEI0452
      App Store Link: https://apps.apple.com/jp/app/%E3%83%87%E3%82%B8%E3%83%A2%E3%83%B3up/id6756247422?uo=4

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 1 reply
    • DIGIMON UP +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: DIGIMON UP By Bandai Namco Entertainment Inc.
      Bundle ID: jp.co.bandainamcoent.BNEI0442
      App Store Link: https://apps.apple.com/us/app/digimon-up/id6756247787?uo=4

       

      🤩 Hack Features

      - Damage Multiplier 
      - Defence Multiplier
      - God Mode
        • Informative
        • Winner
        • Like
      • 5 replies
    • Tiny Bookshop +2 Mods [ Full Game Unlocked ]
      Mod APK Game Name: Tiny Bookshop By Skystone Games
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.neoludic.tbs

       

      🤩 Hack Features

      - Unlimited Money & Books -> Earn or spend some.
      -- Full Game Unlocked
        • Like
      • 0 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