mirror of
https://github.com/LiveContainer/LiveContainer.git
synced 2026-04-25 17:15:50 +03:00
[GH-ISSUE #167] [Question] How to install tweaks in LiveContainer #148
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#148
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 @Vishram1123 on GitHub (Sep 24, 2024).
Original GitHub issue: https://github.com/LiveContainer/LiveContainer/issues/167
I apologize if this isn't the right place to ask, but I have been wondering, how do I install tweaks for apps in LiveContainer? I have tried to add tweaks in a .deb format as well as extracted .dylib files from the archives in the "tweaks" tab (this is
version 3.0.0-release (main/6574fdd)), into folders (setting the per-app tweak folder as necessary) and in the global tab. When I add a .deb file, apps launch with no effect caused by the tweak, but with a .dylib, the following error occurs:Error
This happens even after using
install_name_tool -change /Library/Frameworks/CydiaSubstrate.framework/CydiaSubstrate @loader_path/CydiaSubstrate.framework/CydiaSubstrate SideloadSpoofer-07.dylibto fix the CydiaSubstrate linking.Edit: I tried this with YTSideloadFix on Youtube and Youtube Music, BHInsta on Instagram, as well as SideloadSpoofer-07 from Sideloadly's servers, and none of these work
@hugeBlack commented on GitHub (Sep 25, 2024):
Can't reproduce. Are you sure you imported the modified one? From the error you provide I cannot find any indication of it trying to load CydiaSubstrate from @loader_path. I can successfully load it if I use @loader_path or @rpath.
By the way, LiveContainer is shipped with CydiaSubstrate so you can directly use it if you use @rpath.
@Vishram1123 commented on GitHub (Sep 25, 2024):
Okay, so the dylib injection works with @rpath instead of @loader_path, but how do I inject straight .deb files? Do I have to extract deb files and run the install_name_tool command? If so, is there a way to do this on-device, using iSH or similar?
@hugeBlack commented on GitHub (Sep 25, 2024):
deb is not currently supported in LiveContainer. It is possible to manipulate MachO headers on-device, but I don't know if there's a tool out there.
@Vishram1123 commented on GitHub (Sep 25, 2024):
llvm-install-name-tool is available with iSH it seems, so I'm using that for now
@Vishram1123 commented on GitHub (Sep 25, 2024):
Also it's weird because I added the deb one time, and it worked, but when I restarted the app, it stopped working and didn't do anything
@Vishram1123 commented on GitHub (Sep 25, 2024):
It also seems as though there is code in LCTweaksView.swift to account for .deb installation, but I don't really understand how it works.
@hugeBlack commented on GitHub (Dec 16, 2024):
#233