Open Vishram1123 opened 1 week ago
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.
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?
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.
llvm-install-name-tool is available with iSH it seems, so I'm using that for now
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
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.
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.dylib
to 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