Skip to content

Releases: opa334/Dopamine

1.1.4

05 Aug 15:51
Compare
Choose a tag to compare
  • Fix unreliability when jailbreaking on A14 (1.1.3 regression)
  • Make forkfix only load when absolutely neccessary rather than inside every single process that is able to fork (This should decrease spinlock panic frequency back to how it was on pre-1.1, but tweaks with C function hooks will obviously still cause it)

1.1.3

02 Aug 22:25
Compare
Choose a tag to compare

NOTE: When OTA updating to this release your device will reboot, unlike other releases where it would do a userspace reboot, this is expected, you will have to rejailbreak manually afterwards

  • Transition away from old PPLRW method to a new PPLRW method that works by mapping in the entire kernel physical address space into the userland process, this fixes all remaining issues with PPLRW such as multithreading support and TLB issues (unfortunately this is also what breaks jbupdate'ing with just a userspace reboot, as the primitives from earlier versions cannot easily be transferred to this one)
  • Reenable launchd crash reporter in a way that cannot be detected by apps
  • Hide uninstall jailbreak button when jailbroken as it didn't work properly in this state, only appears in unjailbroken mode now
  • Fix iDownload option not working (probably hasn't worked since 1.1, because there was a dumb issue with codesigning the idownloadd binary, sorry)

1.1.2

10 Jul 22:12
Compare
Choose a tag to compare
  • Disable launchd crash reporter again, as this triggered a lot of jailbreak detections (No idea how they detect this or what specifically they check for :/)
  • Disable jailbreak button when the device / version combination is unsupported

1.1.1

08 Jul 19:22
Compare
Choose a tag to compare
  • Add crash reporter for launchd crash reports, when launchd crashes now you will receieve a detailed separate crash log, alongside the (incredibly cryptic) "initproc exited" panic
  • Fix several wrong offsets related to the ptrace hook
  • Fix bug in macho parser where it would fail when parsing the dependencies from certain libraries
  • Improve wifi reenable reliability
  • Update opainject to 1.0.6

1.1

16 Jun 10:37
Compare
Choose a tag to compare
1.1
  • Improve PPLRW performance by a factor of ~1000x
  • Fix all remaining forkfix issues, now works completely reliable, fork is also way faster now thanks to the PPLRW improvements mentioned above
  • Fix some race conditions with kcall and PPLRW
  • Add a watchdogd hook that intercepts userspace panics due to watchdog timeouts and instead disables tweak injection and triggers a userspace reboot (demo video: https://twitter.com/opa334dev/status/1669067846008143872)
  • Add a ptrace hook that unconditionally allows debugging processes (via debugserver or other tools), even when tweak injection has been disabled
  • Refactor iDownload and put it in it's own daemon, this now works through userspace reboots and the daemon can be enabled / disabled in real time in the Dopamine app, also fixes deep sleep panic when iDownload is enabled
  • Fix "opainject not found" error that could happen under rare circumstances when rejailbreaking
  • Refactor systemhook to make it more maintainable in the future
  • Deprecate /usr/lib/sandbox.plist in favor of storing sandbox extensions in the environment of spawned processes, improves security
  • Add JB_ROOT_PATH environment variable that gets injected into all processes that have tweaks enabled, there have been some talks in making the /var/jb symlink optional in the future to better protect against jailbreak detections. If that actually materializes, this environment variable will be the way to know where the rootless jailbreak root directory is.
  • Fix jbctl not setting debugged flags correctly (Thanks to @XsF1re)
  • Disable tweak injection into the Dopamine app itself as some jailbreak detection tweaks were blocking it's ability to check whether the device is jailbroken
  • Stop using installed ellekit dylib for launchd hook, should prevent the jailbreak from fully breaking when a broken ellekit build is installed
  • Fix libKRW kalloc / kfree not working correctly due to mismatching signatures
  • Enable several compiler optimizations for base binaries
  • Add a mechanism where xina symlinks (e.g. /var/LIY) will not be automatically removed on rejailbreak if the file /var/.keep_symlinks exists
  • Improve Wi-Fi disabling code to make a better effort at preserving the Wi-Fi state before the jailbreak attempt (Thanks to @singlekeycap for the suggestion)
  • Several localizations have been updated

1.0.5

12 May 21:27
Compare
Choose a tag to compare
  • Fix an issue with forkfix where it would break reinstalling dpkg
  • Automatically fix the permissions of /private/preboot/<UUID> when jailbreaking in case they are wrong (Wrong permissions can cause SSH / NewTerm to not work)

1.0.4

09 May 00:01
Compare
Choose a tag to compare
  • Fix forkfix leaking file descriptors under certain conditions
  • Adapt forkfix to be more similar to regular fork
  • Work around issue with dpkg-deb just randomly failing if forkfix is used, this issue does not make any sense (issue triggers with a fork implementation 1:1 identical to the system one, but not on the system one itself, there really is some voodoo going on here), so I solved it by blocking tweak injection into dpkg-deb
  • Add IPC hook, supporting system wide access to mach services prefixed with cy: or lh:
  • Update fallback ellekit to 0.6.3
  • Some UI improvements (#87, #131, #120), thanks to @sourcelocation

1.0.3

06 May 15:02
Compare
Choose a tag to compare
  • Make jailbreakd more memory efficient and fix some small memory leaks
  • Remove hacky way to disable Jetsam for jailbreakd, maybe this fixes the spinlock panics (EDIT: Spoiler, it did not), but it's a really far stretch so I doubt it
  • The update option inside the Dopamine app should now also work when the device is not jailbroken
  • (15.0 -15.3.1) Increase delay after disabling wifi because some people claimed it would improve the success rate

1.0.2

03 May 17:30
Compare
Choose a tag to compare
  • Fix system instability caused by forkfix regression (Fixes system freezes when connected to a WPA Enterprise endpoint)
  • Rename iDownload option to clarify it's a Developer shell

1.0.1

03 May 16:06
Compare
Choose a tag to compare
  • Fix userspace reboot getting stuck when tweaks are disabled inside Dopamine app settings
  • Attempt to fix an app crash