How can you unlock your iOS device using private frameworks?

I still have not dealt with iOS private infrastructures when I accidentally wanted to create an application that could lock and unlock a device.

One of my iOS hacker friends pointed me to GraphicsServices.framework and GSEvent.h- there I found GSEventLockDevice()that locks the iOS device -> I can’t find any other similar function to unlock the device, different from the possible simulation of pressing a lock button, and then simulate a drag and drop touch on the panel " Slide to unlock .

Does anyone know of a non-sensory simulation technique to unlock a device β€” or β€” can someone point me in the right direction?

+3
source share
2 answers

Check out rpetrichs private headers: https://github.com/rpetrich/iphoneheaders/

I believe in SpringBoard / SBUIController.h there is a locking method, hope this helps;)

+2
source

If you have experience with the IDA, you can see the actual implementation of the Slide to Unlock button: this will give you the answer for sure.

+1
source

Source: https://habr.com/ru/post/1784013/


All Articles