Good afternoon!
This page will help you understand how cycript is used. I will post any future articles at the bottom of this page. You can find What is Cydgets, along with other sites I found very useful.
Lets Go
To run cycript- All I did was download Cydgets from cydia (Free) More about Cydgets
Once downloaded, that is it, you have cycript. Now lets use it.
Open Terminal on your mac and login to your phone.
ssh root@YourIPaddress (YourIPaddress can be found under wifi in settings)
It will ask for your password (Default is alpine)
First thing we can do is initiate cycript in the process SpringBoard
Cycript -p SpringBoard
Now you should be shown
#cy
We can now run a command for an action on the device.
Lock your phone, and make display visible.
Then Type in
[[SBAwayController sharedAwayController] unlockWithSound:NO]
iOS6
[^void(){[[SBLockScreenManager sharedInstance] _bioAuthenticated: 0]}
performSelectorOnMainThread: @selector(invoke) withObject: nil waitUntilDone: NO]
iOS7
Upon pressing enter your lockscreen will unlock.
_________________________________________________________________________________
Thats it!
iDev|2013
Yay! The GitHub link is just an example of how to search for interesting keywords or class names to find useful sample code in existing open source tweaks - you can replace "gesture" with "SBAwayController" or any other term.
ReplyDelete