Odyssey-Team / Odyssey

Odyssey Swift-based semi-untethered jailbreak
BSD 3-Clause "New" or "Revised" License
599 stars 74 forks source link

Unregister apps when restoring rootfs #45

Closed CRKatri closed 3 years ago

CRKatri commented 3 years ago

This will mount orig-fs and find the apps provided by the jailbreak, then unregister them, this does it in a non destructive way too. It will require this PR to be merged into uikittools-ng but it should continue like normal if it is unable to unregister them. I did have to start restoring rootfs after starting jailbreakd in order to be able to escape the sandbox, if there is a better way I'd love to hear it, but this was the best I could find.

CRKatri commented 3 years ago

My uikittools PR has been merged so this PR will work now as long as you have uikittools 2.0.3 installed from Procursus, although it will also work with Bingner's uikittools.