thii/DTTJailbreakDetection

App permanent locked after removing jailbreak

checcoux opened this issue · 3 comments

I tried jailbreaking my development idevice and this library successfully detects it, so for testing purposes I removed jailbreak from that device but the app still says jailbreak is present

thii commented

How did you remove the jailbreak? Would you be able to attach a debugger to see where it return YES in the code?

Jailbreaked with checkra1n on iPhone X running 13.4. The un-jailbreaking was done with the checkra1n loader, which has the option to remove itself. But checkra1n is based on the checkm8 exploit which is unpatchable, so many this is the cause of the false positive?

thii commented

The un-jailbreaking could probably be leaving some of the footprint. I think the only clean way to remove the jailbreak is to reinstall or upgrade iOS.

That being said, you can try to see what was left on the device by adding some logs or presenting an alert where the library detects the jailreak.