Difference between revisions of "Patch WebOS Bypassing Lock Screen"

From WebOS Internals
Jump to navigation Jump to search
(massively simplified this)
m (Added patch template.)
Line 1: Line 1:
 +
{{template:patch}}
 
== About ==  
 
== About ==  
 
The 1.1 update allowed me to connect to Exchange (EAS) with a policy enforced.  Of course, having my screen lock every single time I turn off the screen seems a little harsh.  The policy asks for a 10-minute timeout, but the way it's implemented in WebOS, the screen locks whenever the screen turns off.   
 
The 1.1 update allowed me to connect to Exchange (EAS) with a policy enforced.  Of course, having my screen lock every single time I turn off the screen seems a little harsh.  The policy asks for a 10-minute timeout, but the way it's implemented in WebOS, the screen locks whenever the screen turns off.   

Revision as of 00:14, 1 October 2009


About

The 1.1 update allowed me to connect to Exchange (EAS) with a policy enforced. Of course, having my screen lock every single time I turn off the screen seems a little harsh. The policy asks for a 10-minute timeout, but the way it's implemented in WebOS, the screen locks whenever the screen turns off.

Modification

Below is a modification to automatically unlock the screen.

Edit

/usr/palm/applications/com.palm.app.phone/app/controllers/pin-assistant.js

Immediately after " setup: function() { " (line 32 in 1.1, line number may vary in other versions)

add the line:

              
  this.unlock(); return;

What you've done is edit the "setup" function to immediately call the unlock function and return (skipping anything else it would normally do).

Reboot, and your screen should automatically unlock as soon as you slide it open.

Should work like a charm!