TimeMachine-on-iOS icon indicating copy to clipboard operation
TimeMachine-on-iOS copied to clipboard

Reboot device (iOS 14.3 support?)

Open 420Dope opened this issue 3 years ago • 13 comments

When I install TimeMachine my device reboots every night at 02:00 am when it will automatically create a snapshot. When I uninstall it, it doesn't reboot so I thing TimeMachine is caused it.

iPhone X on 14.3 unc0ver.

Is it already updated to iOS 14.3?

420Dope avatar Mar 14 '21 18:03 420Dope

Rootfs is sealed on iOS14.2 or higher, so you can’t save snapshots for rootfs, just turn off the button of save snapshots for rootfs, but you can still save snapshots for datafs. However, If you tried Checkra1n you will find that doesn’t matter, because Checkra1n has already patch the kernel so amfid doesn’t care rootfs is sealed or not.

When I install TimeMachine my device reboots every night at 02:00 am when it will automatically create a snapshot. When I uninstall it, it doesn't reboot so I thing TimeMachine is caused it.

iPhone X on 14.3 unc0ver.

Is it already updated to iOS 14.3?

Halo-Michael avatar Mar 14 '21 18:03 Halo-Michael

Thank you for the info. That means, that u0 also don't make a rootFS on first jailbreak? So the rootFS option don't work untill there is a amfid bypass?

Sorry, not very known with this stuff.

420Dope avatar Mar 14 '21 20:03 420Dope

orig-fs snapshot is not create by jailbreak, It's created by iOS installation service, before you jailbreak, the snapshot was be mounted as rootfs by iOS, jailbreak just renamed it when you first jailbreak. Renam snapshots are not covered by the sealed flag.

Halo-Michael avatar Mar 15 '21 00:03 Halo-Michael

Ah ok thank you for clearify this. Question regarding to "Renam snapshots are not covered by the sealed flag.": During installation of TimeMachine, the orig-fs snapshot gets renamed to "com.apple.TimeMachine.orig-fs". When I deinstall TimeMachine, will it rename the snapshot back or have I manually rename it back?

Question regarding to rootFS in future: If a amfid bypass comes, can we use TimeMachine again or is it completly patched on >=14.2?

420Dope avatar Mar 15 '21 09:03 420Dope

That explains it, here, the issue is present on 14.2+

M-Feve0-1 avatar Mar 15 '21 10:03 M-Feve0-1

Now I added a detection method to ensure when if creates/deletes a snapshot will cause a panic, prohibit this creation/delete behavior.

Halo-Michael avatar Jul 31 '21 13:07 Halo-Michael

Now I added a detection method to ensure when if creates/deletes a snapshot will cause a panic, prohibit this creation/delete behavior.

Does this mean you can now create snapshots on 14.3?

JamesBedwell avatar Jul 31 '21 23:07 JamesBedwell

Simply clear 0x4000 flag in rootfs's mnt_flag would allow creation of snapshots: image I've used my private tool to override the fs flag, and it seems working.

NyaMisty avatar Feb 02 '22 13:02 NyaMisty

Simply clear 0x4000 flag in rootfs's mnt_flag would allow creation of snapshots: image I've used my private tool to override the fs flag, and it seems working.

I'm on iOS15.2.1 now so¯_(ツ)_/¯

Halo-Michael avatar Feb 02 '22 13:02 Halo-Michael

using checkra1n?

NyaMisty avatar Feb 02 '22 13:02 NyaMisty

using checkra1n?

I'm using SE2(A13)

Halo-Michael avatar Feb 02 '22 13:02 Halo-Michael

(walking away from jailbreak community lol)

NyaMisty avatar Feb 02 '22 13:02 NyaMisty

@NyaMisty I think you can open a pull request to https://github.com/sbingner/snappy

Halo-Michael avatar Feb 02 '22 15:02 Halo-Michael