kpwn / yalu102

incomplete iOS 10.2 jailbreak for 64 bit devices by qwertyoruiopz and marcograssi
Do What The F*ck You Want To Public License
1.77k stars 554 forks source link

/sbin/reboot breaks libimobiledevice reboot requests #436

Closed colossus689 closed 7 years ago

colossus689 commented 7 years ago

I read the issue posting guidelines.

Not sure as to the purpose of the /sbin/reboot introduced in the bootstrap.tar to the file system but it creates an issue for the /usr/libexec/mobile_diagnostics_relay service used by libimobiledevice for reboots.

It seems mobile_diagnostics_relay checks for the access() to the /sbin/reboot path and since it exists it attempts to reboot using it but since it doesn't have a valid codesignature it fails.

If you've used the yalu102 jailbreak and can't seem to get your device to reboot using MobileDevice.framework (libimobiledevice) only until you successfully run the tethered jailbreak again, this is why.

kpwn commented 7 years ago

I am aware of this, and note that this should also apply with all other semi-tethered jailbreaks (i was in fact using this as a way to debug yalu841 before). There is no easy way to solve this I believe, apart from removing the binary.