Jump to content

40 posts in this topic

Recommended Posts

Posted
On 9/18/2024 at 10:58 PM, ljm625 said:

Thanks for the tutorial and the menu template.

I faced below error when executing "make", and it fails, is it because that I am on 15.0? Thanks!

==> Notice: Build may be slow as Theos isn’t using all available CPU cores on this computer. Consider upgrading GNU Make: https://theos.dev/docs/parallel-building
> Making all for tweak SpiritMenu…
==> Compiling Button.mm (arm64)…
In file included from Button.mm:1:
In file included from ./include.h:18:
./5Toubun/dobby.h:9:1: error: import of C++ module 'std_stdint_h' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
    9 | #include <stdint.h>
      | ^
./5Toubun/dobby.h:5:1: note: extern "C" language linkage specification begins here
    5 | extern "C" {
      | ^
1 error generated.
make[3]: *** [/Users/jiamingli/iOS_patches/SpiritMenu/.theos/obj/arm64/Button.mm.1c703da5.o] Error 1
make[2]: *** [/Users/jiamingli/iOS_patches/SpiritMenu/.theos/obj/arm64/SpiritMenu.dylib] Error 2
make[1]: *** [internal-library-all_] Error 2
make: *** [SpiritMenu.all.tweak.variables] Error 2

Update: I added -Wno-module-import-in-extern-c in Makefile $(TWEAK_NAME)_CFLAGS and it went through, not sure if this is the right way

 

2 hours ago, Batch said:

Yes, but you need to update the memory to use https://github.com/Batchhh/libspecter, you can figure it out the rest

ye i tried doing so, i edited the my patches in  patch() and used the libspecter function:

SpecterWriteMemory

But i had an error while compiling, maybe i did something wrong linking

my ai even said:

The output from ⁠nm⁠ is very revealing. Your ⁠libspecter.a⁠ file is not a C++ library—it is a Rust library.

The error message ⁠Producer: 'LLVM...rust-1.95.0-stable'⁠ and the file names containing ⁠-cgu.0.rcgu.o⁠ are signatures of compiled Rust code. Because Rust and C++ handle symbols, memory, and calling conventions differently, your C++ compiler (Clang) doesn't know how to "talk" to that binary file directly.

 

it said that i should just use the native function pre-made/include in SilentPwn, 

but im not sure if it will work in jailed devices thats why i wanna know if you have a tutorial how to link libspecter properly with Silentpwn 🙏

Posted

You just need to link to the makefile and import the header file and just call that functions instead. Also patch won't ever work on jailed.

Just use breakpoints and treat them as hooks, i don't think it's that difficult

Posted
On 5/23/2026 at 11:10 PM, Batch said:

You just need to link to the makefile and import the header file and just call that functions instead. Also patch won't ever work on jailed.

Just use breakpoints and treat them as hooks, i don't think it's that difficult

i had a time to do it, and im sure i did everything right linking libspecter, i only remove substrate dependencies on your codes and still it crashes on start up (i extracted the dylib inside the deb file after compilation) and then injected it using sideloadly Cydia substrate, substitute, sideload spoofer, All off, and nope it still crashes, the crazy part is i havent even addrd any patches hooks anything in it just bare menu, and it wont open , i really dk how yall making tweaks for jailed and manage it to actually startup without crashing😭 @Batch @Rook

Posted
2 hours ago, A1XEN said:

i had a time to do it, and im sure i did everything right linking libspecter, i only remove substrate dependencies on your codes and still it crashes on start up (i extracted the dylib inside the deb file after compilation) and then injected it using sideloadly Cydia substrate, substitute, sideload spoofer, All off, and nope it still crashes, the crazy part is i havent even addrd any patches hooks anything in it just bare menu, and it wont open , i really dk how yall making tweaks for jailed and manage it to actually startup without crashing😭 @Batch @Rook

Don't inject anything else just your .deb!!!

Posted

 

10 hours ago, Batch said:

Don't inject anything else just your .deb!!!

i tried it it worked the menu loaded now um going to try adding some hookings if it works 

 

Posted
20 hours ago, Batch said:

Don't inject anything else just your .deb!!!

so much thing happend today, bro, the menu loaded fine (without any tweaks) (.deb)

 

now when i use dobby.h and Resolver.hpp (yk that u made it) to make a hook on a function i found using il2cppdumper (dump.cs) but when i inject it and tried it crashes (without cydia substrate) and when i added cydia substrate, it finally launch the game, BUT as soon as the modmenu loaded the game crashes instantly 

 

i removed every cydia substrate dependencies on makefile but still asking for cydia substrate framework

when i ask ai, some says i should use dobby, and the other one says use MsHook/logos(ik it wont work on jailed)

@Batch im sorry for disturbance:(

 

 

20 hours ago, Batch said:

Don't inject anything else just your .deb!!!

do you wanna see whole code on tweak.mm?

Posted
7 minutes ago, A1XEN said:

so much thing happend today, bro, the menu loaded fine (without any tweaks) (.deb)

 

now when i use dobby.h and Resolver.hpp (yk that u made it) to make a hook on a function i found using il2cppdumper (dump.cs) but when i inject it and tried it crashes (without cydia substrate) and when i added cydia substrate, it finally launch the game, BUT as soon as the modmenu loaded the game crashes instantly 

 

i removed every cydia substrate dependencies on makefile but still asking for cydia substrate framework

when i ask ai, some says i should use dobby, and the other one says use MsHook/logos(ik it wont work on jailed)

@Batch im sorry for disturbance:(

 

 

do you wanna see whole code on tweak.mm?

Please help @Rook @Laxus @Puddin

teach me pls

Posted
1 hour ago, A1XEN said:

so much thing happend today, bro, the menu loaded fine (without any tweaks) (.deb)

 

now when i use dobby.h and Resolver.hpp (yk that u made it) to make a hook on a function i found using il2cppdumper (dump.cs) but when i inject it and tried it crashes (without cydia substrate) and when i added cydia substrate, it finally launch the game, BUT as soon as the modmenu loaded the game crashes instantly 

 

i removed every cydia substrate dependencies on makefile but still asking for cydia substrate framework

when i ask ai, some says i should use dobby, and the other one says use MsHook/logos(ik it wont work on jailed)

@Batch im sorry for disturbance:(

 

 

do you wanna see whole code on tweak.mm?

Dobby will not work on non jailbreak. 

For hooks just use breakpoints from my library, that's it

Posted
17 minutes ago, Batch said:

Dobby will not work on non jailbreak. 

For hooks just use breakpoints from my library, that's it

why ai says dobby is good for non jb

how about kittymemory? its installed in your library too

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
×
  • 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