Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cask 3 settings do not save #3

Closed
Dreel0akl opened this issue Dec 28, 2023 · 5 comments
Closed

Cask 3 settings do not save #3

Dreel0akl opened this issue Dec 28, 2023 · 5 comments
Labels
bug Something isn't working confirmed This is known and confirmed

Comments

@Dreel0akl
Copy link

Hey there, I’m trying to use the bootstrap with the “Cask 3” tweak but it seems like changing the settings for this tweak refuse to save.

@Dreel0akl Dreel0akl added the bug Something isn't working label Dec 28, 2023
@jailbreakmerebooted
Copy link
Contributor

com.ryannair05.cask3_1.0.2_iphoneos-arm64e.deb.zip
use that build

@roothide
Copy link
Collaborator

known issue, will be fixed in next version.

current rootless jailbreak(dopamine/palera1n) use a rootless hook module in cfprefsd to redirect all plist from /var/mobile/Library/Preference to jailbreak directory, then some tweaks may directly load plist from jailbreak directory via [NSDictionary dictionaryContentOfFile:], but not all jailbreaks can be able to hook cfprefsd, so this is a historical issue.

we should be able to add a hook to PreferenceBundle to temporarily solve this problem, and it is recommended not to use [NSUserDefault initWithSuiteName:] in tweaks.

@roothide
Copy link
Collaborator

well, the issue with cask3 is that it uses the /var/jb/ path in swift, and the string length in swift is hard-coded in the instruction, which cannot be automatically converted by rootless-compat, so you only need to use the roothide sdk to modify its path and rebuild it.
image

@imnltsa
Copy link
Collaborator

imnltsa commented Jan 3, 2024

I know this doesn't fix the core issue, but you can find a working .deb file in the RootHide Discord server, it's confirmed to work.

@imnltsa imnltsa added the confirmed This is known and confirmed label Jan 4, 2024
@imnltsa
Copy link
Collaborator

imnltsa commented Jan 21, 2024

Closing, as its outside the scope of this repository. The tweak will need to be patched (and has) or properly updated to support new paths.

@imnltsa imnltsa closed this as not planned Won't fix, can't repro, duplicate, stale Jan 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working confirmed This is known and confirmed
Projects
None yet
Development

No branches or pull requests

3 participants