mirror of
https://github.com/LiveContainer/LiveContainer.git
synced 2026-04-25 17:15:50 +03:00
[GH-ISSUE #298] [BUG] Tweak Dylib injections errors #273
Labels
No labels
bug
compatibility
enhancement
multitasking
pull-request
safe area
status: broken
status: usable
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/LiveContainer#273
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ShadowRoi on GitHub (Jan 6, 2025).
Original GitHub issue: https://github.com/LiveContainer/LiveContainer/issues/298
Describe the bug
Hello I have been playing around with the tweak injection and it’s a really really powerful feature.
From the read me I read that it can inject Cydia substrate tweaks, a tweak I tried which is an Adblocker works well. Another one that’s supposed to kill network entirely(unsure if this requires jailbreak environment) Doesn’t work at all but that doesn’t matter here.
what’s probably a bug to this app though is that “Network killswitch Dylib“ crashes on some apps and not on others(even though it doesn’t work anyway)
The error.
‘’’
dlopen(/private/var/mobile/Containers/Data/Application/AC164C52-30C1-487A-9093-2AFC4971CA02/Documents/Tweaks/Network KillSwitch /DisconnectAppNetwork.dylib, 0x0009): Library not loaded: /Library/Frameworks/CydiaSubstrate.framework/CydiaSubstrate
Referenced from: <338CA4DC-EB03-4506-893F-394C5A43BA75> /private/var/mobile/Containers/Data/Application/AC164C52-30C1-487A-9093-2AFC4971CA02/Documents/Tweaks/Network KillSwitch /DisconnectAppNetwork.dylib
Reason: tried: '/Library/Frameworks/CydiaSubstrate.framework/CydiaSubstrate' (no such file), '/private/preboot/Cryptexes/OS/Library/Frameworks/CydiaSubstrate.framework/CydiaSubstrate' (no such file), '/Library/Frameworks/CydiaSubstrate.framework/CydiaSubstrate' (no such file)
‘’’
Instructions to reproduce
Use the tweak from https://github.com/DevelopCubeLab/DisconnectAppNetwork
Inject it into IPAs. (Specifically it crashes on this one that I used for testing https://github.com/DevelopCubeLab/DisableAccelerometer/releases/download/1.0/AccelerometerLab_2024-10-24_01_34.ipa)
What version of LiveContainer are you using?
3.1.0
Other info
Honestly finding Dylib tweaks for a non jail broken environment it’s actually extremely difficult. It would be lovely if we could get add some workings ones built into the app or list them somewhere or something so we can easily use them or find them. I can provide one that I have found that works well (blocks Ads).
@hugeBlack commented on GitHub (Jan 7, 2025):
As you have already realized, this is a jailbroken tweak that won't work in lc.
Jailbroken tweaks can do more things than jailed ones, so it's unlikely they will work in lc even if finding cydiasbstrate issues are solved.
So please build a jailed tweak as the tweak is open-source so it's pretty easy to do that.
@ShadowRoi commented on GitHub (Jan 7, 2025):
@hugeBlack Jailbroken tweaks are different than jailed ones? Don’t both require your device to be jailbroken? This is so confusing.
And all those tweaks are extremely hard to find as well, I wonder if we could have some kind of list where we could have some working ones or something? I am sure it could be really useful for other newbie people as well.
Also is it possible in theory for live container to have a setting to block internet access of specific apps that run from it? That could be a really powerful.
@hugeBlack commented on GitHub (Jan 7, 2025):
The tweak you are injecting is a jailbroken tweak that links CydiaSubstrate in the system library so it complains about "no such file"
No, I can't provide a list of tweaks. You have to find it by yourself.
Yes, it's possible, but LiveContainer's primary goal is to make app behave as if they were directly sideloaded, not altering how they work. So that won't be a feature in LiveContainer unless some one make a pr.