Closed AtifChy closed 4 years ago
@viggou changning entitlements on kernel, however messing with launchd is not a great idea due to how important it is, if something happens to launchd whole device panics.
Is launchd even getting modified at all with substrated in place?
@Chasewhip8 It was on all previous versions of substrate, but I believe the new one doesn't specifically just inject to launchd, instead it hooks posix_spawn & execve globally, so substrate will load into everything executed by anything instead of just things executed by launchd
The specific issue described in the thread (that involves the Twitter reproduction; which may very well have been totally unrelated to the initial report) has been fixed in Substrate 0.9.7010 (though I have no idea if what I have done in this update is a good idea or not ;P time may tell).
The specific issue described in the thread (that involves the Twitter reproduction; which may very well have been totally unrelated to the initial report) has been fixed in Substrate 0.9.7010 (though I have no idea if what I have done in this update is a good idea or not ;P time may tell).
Thank you. There was a freezing issue on A7/A8 devices. Is that fixed?
@KMamedoff Judging from the fact that the Twitter bug blows up your RAM making iOS kill random daemons (ok not really random), including substrated/jailbreakd & amfid, I'd suppose that is the same bug, because those are exactly the devices with less RAM and thus, more likely for iOS to kill daemons
@saurik I have been testing the new update for about 20 minutes or so by performing various tests and so far, the device is still up and hasn’t frozen yet (I have rebooted after the installation)
Device: iPX (11.1.2)
Issue: Updated substrate, Cydia forced closed after, reinstalled unc0ver (expired), rebooted device. Device booted, jailbroke the device and stuck in loop until the device restarts or force reboot.
Test1: Disable tweaks in unc0ver all is well.
Test2: Disabling tweaks via iCleaner. Current tweaks running on this device. Flipswitch hid-support (no idea) hid-support (yes there is two) iCleaner PreferenceLoader RocketBootstrap Substrate SafeMode Unc0ver Jailbreak Resources.
Test3: Other user is testing by turning daemon reload off in U0
I have another user on my discord iPX (11.1.2) same issue.
Just in from the other user: "The fourth time with daemon reload off it booted right into substrate"
Device: iPX (11.1.2)
Issue: Updated substrate, Cydia forced closed after, reinstalled unc0ver (expired), rebooted device. Device booted, jailbroke the device and stuck in loop until the device restarts or force reboot.
Test1: Disable tweaks in unc0ver all is well.
Test2: Disabling tweaks via iCleaner. Current tweaks running on this device. Flipswitch hid-support (no idea) hid-support (yes there is two) iCleaner PreferenceLoader RocketBootstrap Substrate SafeMode Unc0ver Jailbreak Resources.
I have another user on my discord iPX (11.1.2) same issue.
Odd, I have a few more tweaks than your device, however I haven't been put into a respring-loop. Users are suggesting disabling the "Reload System Daemons" toggle in unc0ver to temporarily fix the problem. A bunch of users are reporting this issue in the r/Jb Discord.
EDIT: Rebooted, jailbroke, lead to instant respring loop.
I can confirm issue seems fixed but device enters a respring loop after the update. However only with certain tweaks or tweak combos, I tried with a few tweaks and after ldrestart everything was fine but things like Rocketbootstrap or Watchdog cause a respring loop.
Seems like tweaks that hook into daemons cause this, and obviously disabling reload system daemons will make those tweaks not inject, hence issue is "fixed"
@jakeajames I have Rocket Bootstrap installed and (ldrestart&)& works for me :(.
I can confirm issue seems fixed but device enters a respring loop after the update. However only with certain tweaks or tweak combos, I tried with a few tweaks and after ldrestart everything was fine but things like Rocketbootstrap or Watchdog cause a respring loop.
Seems like tweaks that hook into daemons cause this, and obviously disabling reload system daemons will make those tweaks not inject, hence issue is "fixed"
I have Rocket Bootstrap, Flipswitch, PreferenceLoader, Substrate SafeMode, Unc0ver Jailbreak Resources installed and my iphone 7 11.3.1 device works just fine.
This seems very weird then @saurik. i literally tried only rocketbootstrap with nothing else and got a respring loop
@jakeajames Are you getting crashlogs stored?
@KMamedoff Judging from the fact that the Twitter bug blows up your RAM making iOS kill random daemons (ok not really random), including substrated/jailbreakd & amfid, I'd suppose that is the same bug, because those are exactly the devices with less RAM and thus, more likely for iOS to kill daemons
11.1.2 (iPX) every tweak disabled in iCleaner. Still loops.
It is possible that Substrate itself is breaking the ability to store crashlogs. Can someone maybe try this build of Substrate, which goes out of its way to not mess with CrashReporter? (Essentially: if you are getting a "loop", and not a "stuck", then you should be able to get a crash report.)
https://cache.saurik.com/substrate/debs/mobilesubstrate_0.9.7010+scr_iphoneos-arm.deb
@saurik Could you host 0.9.7000 for users to downgrade to? Respring-loop issue seems to be happening only on iP8 and up.
Device: iP6s (11.3.1) 0.9.7010+ Everything is okay after this update! and yeah I have rebooted after the installation
@FivePixels Oh: I forgot the -m flag to dpkg-scanpackages: that should be fixed now. (FWIW, I'm testing on an iPhone X.)
@pro-cydia The only difference between 0.9.7010 and 0.9.7010+ I just posted is that the + variant doesn't inject into CrashReporter.
@saurik I updated to the new Substrate version and after rebooting and rejailbreaking, I was stuck in a respring loop. Then I force rebooted my phone, rejailbroke it again and bang! it worked! No more respring loop. Also it's worth mentioning that I did NOT toggle off the "reload system daemons" option. It just worked.
I do not (ever) get a respring loop (while having trouble tweaks like watchdogpro etc, hundreds of packages installed) if I jailbreak without tweaks and load tweaks afterwards. On the "bad" substrate, rebooted and latest unc0ver. For what it's worth. iPX 11.4b3.
@saurik.
errors iphone 6 11.3.1.
substrated.wakeups_resource-2018-12-29-011904
jetsam https://pastebin.com/HcuJxUJF https://pastebin.com/QK9rwsEf
analysitcs rebooted my phone https://pastebin.com/hq6tewMN
@lanigc While the wakeups kill is super annoying, it should be harmless? What is really weird is that I'm seeing jailbreakd in your process list (in addition to substrated); can you explain what settings you are using with what version of what jailbreak tool?
Uncover 2.0.2
substrate http://apt.saurik.com/beta/substrate11/mobilesubstrate_0.9.7010_iphoneos-arm.deb
@lanigc The developers of unc0ver had said that they only expected versions 2.1.0 and later to work with Substrate.
Okey. thanks
@saurik your new version of substrate works with unc0ver v2.0.2 on my iPhone 7 running 11.3
Hi, Im using Ipx after i updated to the new substrate im unable to rejailbreak because of respring loop. Any suggestions? Thanks
Everything fine with substrate 0.9.7010 and unc0ver 2.1.0 with 15+ tweaks. Rejailbroke completely fine...
iPhone 6 (11.3.1) froze when opening any app. Using latest 2.1 beta with new substrate update.
Tested 0.9.7010 too, looks fine on iPhone 6S, iOS 11.3.1
Ok, so I rebooted after installing the update and had a respring loop. Force shutdown the device and then re-jailbroke with the same settings. The device sat in the respring for a little longer than usual but it succeeded into the OS as normal. https://hastebin.com/azibokovow.makefile
I have pushed 0.9.7011 with an attempt to prevent Substrate from being killed by Jetsam.
(FWIW, I realize that a lot of people are saying they have experienced a "respring loop"—as in, SpringBoard starting over and over again, but crashing each time—but not a single person has provided evidence of this: all I've seen is evidence of is a single attempt to restart all daemons getting "stuck"; I have managed to replicate this behavior, and it is due to a window of opportunity where Substrate being killed while waiting for a mach port to recycle leads to the process it is hooking not starting.)
Just upgraded it on my personal device (iPhone 7 on iOS 11.3.1 with the latest unc0ver 2.1.0 Pre-Release) and it’s working (I have never had issues with the last update in the first place though.).
0.9.7011 fine in iPhone 7 iOS 1131 with rebooting and rejailbreaking
@saurik The reason why we keep telling everyone to be on 2.0.0 or later (Not 2.1.0 btw) is because the older versions didn’t use MobileSubstrate’s new ServerPlugins functionality for MSUnrestrict0() (For applying sandbox/setuid/task_for_pid patches to processes) older versions used jailbreakd along with a dirty posix_spawn() hook to do this job and obviously weren’t effective on the entire system
Sorry for not enough evidence @saurik , however, what evidence would have been proper for this? Anyways, testing the update now. Thanks again.
Was able to install 0.9.7011 on iPX 11.1.2 and 11.3.1 without it looping after reboot.
Can confirm the update has no problems. Very good work.
@saurik, I guess the actual issue of #165 has not been fixed that’s occurring on A7/A8 devices. It seems issue discovered the james’ has been fixed for other devices but not completely fixed for those low ram devices. Although number freezes has been reduced while actively using the phone. I had freeze even in safemode on my i6+. And the weirdest bug that I first time I faced with the 0.9.7000 has occurred once again with 0.9.7011 too. This happens when the device is locked. The device acts really weirdly, becomes unresponsive as if it’s turned off. Display won’t turn on, no charging chime when charging plugged in. This finally ends up in kernel panic and the phone reboots. If you want I can provide you the kernel panic log. Please do something about this problem, Saurik.
Yea the issue still exist on iPhone X 11.3.1 with only Uncover Jailbreak Resources, safe mode, CrashReporter, and iCleaner Pro enabled in Cydia Substrate Addons. Tried opening PayPal, but it crashed
@BiasShadow this thread is for freezing issue ..
for PayPal crash use PalBreak
As far as a respring loop, I don’t know the proper terminology, but I’ve experienced times where springboard would crash and be stuck in that state (endless spinning) and then reboot. This has happened most when using CarPlay (with or without CarBridge). These “loops” have also happened after jail breaking since substrate update where as soon as Jailbreak has success, it goes to load springboard (initial), but never finishes and then crashes into a reboot
So the freeze in safemode is occurring when a cydia installed app is opened. The device just freezes when the icon is tapped.
@yaf3i this thread includes apps. The substrate update affects apps too. It’s all in the thread. Also, the PayPal issue occurs after substrate and occurs for other apps too.
make sure you are on 2.1.0 and latest version of Substrate (7011)
After installing new cydia substrate i reboot and rejailbroke my device. After sometimes my device got frozen and i was forced to hard reboot my device. After reboot, i rejailbroke my device and after sometimes my device froze again. I used restore rootfs but the freezing issue is still not fixed.
I am using iPhone 6, iOS 11.3.1 Unc0ver v2.1.0 (latest one)
I also found some users with same issue. It mostly happening with older devices.