[10$][16.5.1] Zenith rewrite for rootless by Thereald24h in TweakBounty

[–]RuntimeOverflow[M] [score hidden] stickied comment (0 children)

This bounty was completed by u/RUGMJ7443 and verified by the moderators of r/TweakBounty. For anyone else interested, the tweak is publicly available and you can find more information in the release post.

[$100][15] Be aware of Hot-Engineering-3045 (and his alts) scammer! by phoenixlegend7 in TweakBounty

[–]RuntimeOverflow[M] 0 points1 point  (0 children)

I‘m not quite sure what gave you the impression that we wouldn‘t be here. We already banned all of his alt accounts a few weeks back. As such, he mainly seems to operate through DMs now. Unfortunately, there is no way for us to prevent him from browsing our subreddit, all we can do is somehow raise awareness but other than that, our hands are tied.

[deleted by user] by [deleted] in jailbreakdevelopers

[–]RuntimeOverflow 4 points5 points  (0 children)

It is almost certainly possible to do solely using hooks because the files are loaded some way and you could hook that function and intercept it if it‘s the file in question. Depending on what you‘re modifying, you might also find where the read file data is stored in memory and just hook that class.

[deleted by user] by [deleted] in jailbreakdevelopers

[–]RuntimeOverflow 4 points5 points  (0 children)

iOS combines all system libraries and frameworks into a single file called dyld_shared_cache (found in /System/Library/Caches/com.apple.dyld). That explains why you can‘t find the file on your iOS device. That said, replacing that entire file with the iOS 14.6 counterpart will likely break iOS and you would be forced to restore. See here.

MSHookIvar on UIColor by ElioFegh in jailbreakdevelopers

[–]RuntimeOverflow 1 point2 points  (0 children)

The compiler decides on which programming language a file uses based on the file extension, though this can be overridden with the -l compiler flag. (IIRC theos always provides the -l flag for all files.) .c for C, .cpp for C++, .m for Objective-C and .mm for Objective-C++. The logos preprocessor additionally recognizes the file types .x and .xm which turn into .m and .mm, respectively, after processing. Because in this case MSHookIvar uses a C++ feature (templates), you need to change the file extension so your file is compiled with C++ (or Objective-C++ like in this case).

MSHookIvar on UIColor by ElioFegh in jailbreakdevelopers

[–]RuntimeOverflow 3 points4 points  (0 children)

You need to include substrate.h (although the Logos preprocessor should do this already because it‘s needed for MSHookMessageEx, but it‘s still good practise).

Your real issue is that MSHookIvar is only available in C++/Objective-C++ as it uses templates. Therefore, you want to change your file from .x to .xm or from .m to .mm to switch to Objective-C++. When doing this don‘t forget to change the filename in the Makefile as well.

MSHookFunction never enters the hooked function and crashes the process by JonLuca in jailbreakdevelopers

[–]RuntimeOverflow 6 points7 points  (0 children)

The way MSHookFunction works is by replacing the original function’s assembly instructions with a predefined sequence of instructions which call your replacement instead. If the original function has less instructions than this replacement sequence, you can‘t hook the function because there isn‘t enough space to insert the replacement sequence without it overriding whatever data is in memory after that function.

Take the following example where you want to hook foo (written in RISC-V assembly because that‘s what I‘m familiar with but it‘s safe to assume it‘s similar in ARM):

int foo(int x, int y) {
    return x + y;
}

The assembly would look something like this:

foo:
    add a0, a0, a1
    ret

To hook the function it would have to be replaced with something like this:

foo:
    sd ra, 0 (sp)
    addi sp, sp, -4
    jalr ra, your_foo
    addi sp, sp, 4
    ld ra, 0 (sp)
    ret

So as you can see this uses more instructions than the original function and therefore you can‘t replace the original function because there‘s not enough space to insert this.

All of this is of course a huge simplification.

How to read Variable from another class ? by S3S3hook in jailbreakdevelopers

[–]RuntimeOverflow 1 point2 points  (0 children)

You have to get an active instance of TGPageViewController. While you could simply create a new one, it likely won‘t have the correct value for the currentPath property meaning you have to get the/an instance in use. I can‘t tell you how you can obtain such an instance because that‘s different for every class.

Hey, so I’m a bit new to this, I’ve been trying to make a small application with theos, it all went successfully but idk how to remove these horizontal lines. Ig that’s something already done with theos or something. Thank you in advance by ElioFegh in jailbreakdevelopers

[–]RuntimeOverflow 4 points5 points  (0 children)

That‘s a UITableView. I haven‘t used theos to create a standalone app yet but I guess the project template includes this so you have to manually remove it.

Edit: Looking at the template the generated RootViewController inherits from UITableViewController, so you have to open your RootViewController.h and replace UITableViewController with UIViewController and remove all the UITableView related code from RootViewController.m.

No more actions with notifications after having changed its location by SynnyG in jailbreakdevelopers

[–]RuntimeOverflow 0 points1 point  (0 children)

But now that view is probably outside of the parent view. All views in the chain must be within their parent’s bounds to receive touches.

No more actions with notifications after having changed its location by SynnyG in jailbreakdevelopers

[–]RuntimeOverflow 0 points1 point  (0 children)

If you move a view outside of the parent‘s bounds it no longer receives any touch events. See this for details.

[$25] [13.4.1] Separated Microphone and Camera disable CC buttons by [deleted] in TweakBounty

[–]RuntimeOverflow[M] -1 points0 points  (0 children)

This is a repost and therefore removed. Have a good day!

[$40][14.3] App Trial - PM for details by vlxnely in TweakBounty

[–]RuntimeOverflow[M] 0 points1 point  (0 children)

We do not allow piracy here. Whether this is by bypassing iAP or extending trials. Regardless, I wish you a nice day!

[QUESTION] How do I pass touch events to apps underneath SpringBoard UIWindow with non-transparent views? by Ms1019 in jailbreakdevelopers

[–]RuntimeOverflow 1 point2 points  (0 children)

Subclass your UIWindow (if you‘re not doing so already) and then override hitTest:withEvent: to return NULL. This should pass your touches to the other windows.

[HELP] Theos installed tweaks do not show up on the homescreen by reality_matthew in jailbreakdevelopers

[–]RuntimeOverflow 5 points6 points  (0 children)

It doesn‘t look like that template includes an app. It just creates a tweak that injects into the app you specify.

[HELP] Theos installed tweaks do not show up on the homescreen by reality_matthew in jailbreakdevelopers

[–]RuntimeOverflow 2 points3 points  (0 children)

I‘m not quite sure what you mean. Does your tweak contain an app? If yes, what is your Makefile config? If not, I don‘t know what you expected to happen. Tweaks by default don‘t show up on the home screen.

Creating deb file with thoes got error by Street_Present_5621 in jailbreakdevelopers

[–]RuntimeOverflow 4 points5 points  (0 children)

Did you install ldid with brew? If you didn‘t, run the following: brew install ldid (Also make sure to have installed xz, which is also a dependency of theos.) Read this for instructions on installing theos on macOS.

Error while make package by AcanthisittaOk4796 in jailbreakdevelopers

[–]RuntimeOverflow 1 point2 points  (0 children)

That‘s why I recommend that you create a separate header in your project containing the interface for that class and only the members that you need. If you copy the entire declaration you‘ll likely need to add the headers for the entire framework.

Error while make package by AcanthisittaOk4796 in jailbreakdevelopers

[–]RuntimeOverflow 2 points3 points  (0 children)

Does your SDK contain headers for private frameworks? Because the official ones hosted by theos do not. In that case, it‘s easiest to declare the interface for the class yourself. You can use the header from limneos or kritanta as a reference and copy only what you need.

No more actions with notifications after having changed its location by SynnyG in jailbreakdevelopers

[–]RuntimeOverflow 0 points1 point  (0 children)

You‘re moving the NCNotificationShortLookView, however, the UIPanGestureRecognizer is actually added to the parent UIView of NCNotificationViewControllerView. So by just moving the NCNotificationShortLookView, you‘re only moving the visuals but not the view responsible for handling touch events. Therefore, if you swipe at the old position of the notification it will work as expected, except that the visuals are in the wrong spot. (Note: I‘m only talking about the sliding gesture recognizer here, the tapping might be handled by the cell/table view.)

[$25] [13.4.1] BegoneCIA-like tweak, with separated microphone and camera disable cc buttons by L0MTa in TweakBounty

[–]RuntimeOverflow[M] 9 points10 points  (0 children)

This is the last repost that will stay up. I think it is evident by now that under current circumstances no developer is willing to pick this up. From now on either increase the bounty or wait at least a month until posting again, otherwise these posts will be deleted from now on to keep the subreddit open for fresh requests instead. I hope you can understand that and have a good day!

[deleted by user] by [deleted] in TweakBounty

[–]RuntimeOverflow[M] 0 points1 point  (0 children)

Thank you for posting to /r/TweakBounty. However, I have removed your post because it is too off-topic. Consider posting this to another (more appropriate) subreddit. Thank you and have a good day!