pwn20wndstuff / Undecimus

unc0ver jailbreak for iOS 11.0 - 12.4
BSD 3-Clause "New" or "Revised" License
6.64k stars 1.3k forks source link

iPhone SE: tweaks disappear on u0 5 #2167

Open lewis0917 opened 3 years ago

lewis0917 commented 3 years ago

I had this same issue before, till I gave up and restored to a backup from when I were running u0 4. However no one was able to offer me a solution for why my SE 1st gen does not seem to like u0 5.

What’s odd is the first time I jb with u0 5 it was perfect. The next time however it jailbroke with my tweaks not loaded and not showing up in iCleaner. So my question remains: what can I do to have my tweaks registered on u0 5?

lewis0917 commented 3 years ago

I forgot to mention that I'm running iOS 11.2.1. (Can’t edit posts)

lewis0917 commented 3 years ago

I’m now reinstalling tweak by tweak via Zebra. So far successful (saves me from rootFS or restoring my old ass backup), even after a re-jailbreak.

A reboot then jb remains yet to be seen…

badger200 commented 3 years ago

Watch carefully your unc0ver log. My 5.3.1 kept removing like 70/100 tweaks seemingly randomly. It will say “dpkg Warning: the following tweaks will be REMOVED: (giant list - helpful to SS for reinstalling).

It took me a YEAR to diagnose and the root cause turned out to be a shitty old non-GNU version of sed that CoolStar had installed years ago when I briefly experimented with his repo (big mistake).

The shit version was /usr/bin/sed and the good version was /bin/sed BUT the shit one took priority l always causing unc0ver issues!

use sed -V sed - -version to compare the two and verify if this is your issue.

Solution then = “rm /usr/bin/sed”

PS: the other root cause was the bad sed caused /usr/libexec/cydia/firmware.sh to fail, causing virtual package “cy.cpu+arm64” to go missing and THAT is what was blocking substitute from installing and then triggering most tweaks to be butchered.

once I removed the bad sed, I could run /usr/libexec/cydia/firmware.sh with no errors (this regenerates all the virtual packages like cy.cpu+arm64)