Lockscreen Disabler
Lockscreen/Keyguard Disabler
What is lockscreen disabler and what do I need it for?
Sometimes you may face the problem that you are forced to setup a device pin or password everytime you want to unlock your phone.
There may be different reasons: some companies require such protections when you want to receive emails onto your mobile device.
Another public reason is: you want to use VPN on your Android smartphone. To setup a VPN you are forced by the system to setup some kind of security.
This module is for all the users who don't want to be forced to use a protection, although using the services descriped above.
Disclaimer: I am not responsible for any damages to you or your device, nor for any consequences that result from using this mod.
This mod is intended for testing purposes and not for bypassing security policies or guidelines in your everyday (work-)life.
Long story short: here it is now: A module that simply hooks into the lockscreen's callback, wether there is a password required and mocks, that there is no password needed for unlocking the device. As the password is still active in the background, other apps (especially the apps that enforce such password policies) will never notice this little hack.
There are no app-permissions required.
Installation
Install the Xposed Framework, install the APK and enable "Keyguard Disabler" from the module overview in the Xposed App. After a restart you can start using the standard Android "Slide-to-Unlock" again.
Supported Devices
The module should work with the following Android versions
- Any pure AOSP android version (Stock, ParanoidAndroid, Cyanogenmod, etc.)
- HTC devices or devices running a ROM with Sense 5 or Sense 6
- Samsung Touchwiz devices are reported to work
Credits
Thanks to:
@sirlatrom and @gsamtan for their very good support with this module, because it wouldn't be what it is now without their help!
Added MM compatibility by @gsamtan
@gsamtan added Smartlock support introduced in Android Lollipop
Added Lollipop support
Added tasker integration thanks to github @ravikumars
Added option to decide whether to enter the password/pin once after boot or not
Added intents to control the lockscreen type from other apps thanks to github @ravikumars
Intent action name is "com.lr.keyguarddisabler.action.SET_PREFERENCE"
Stringextra should be "none", "slide", "device"
Added support for OnePlus One CM11S; Critical Bugfix from v 1.4.6
Thanks to the great work of xda @gsamtan:
-> Changing the lockscreen type now doesn't require a reboot anymore - finally!
-> You can choose a timeout, after that you are required to enter your device standard security information (e.g. password)
Added support for new HTC Sense 5 devices thanks to xda @Sirlatrom
Added an option menu to choose between Slide-to-unlock style and completely disabling the lockscreen, for use with NFC lockscreens etc.
Also you can choose to apply the device defaults (this may be your password, PIN or pattern lockscreen)
The function to completely disable the lockscreen should work for all stock devices running even with old versions like Gingerbread, but I haven't tested it yet!
IMPORTANT:
After changing the lockscreen type in the settings app, you are required to reboot the device! (You can use the xposed app to do a software-restart, though)
I still haven't figured out how to force the lockscreen to apply the changes without a reboot. Sorry folks.
Added support for HTC Sense lockscreen
Added support for Android 4.3+ (Still untested as I don't have a 4.3 device, but the changes made are very minor, so it should work. I really appreciate feedback in the XDA-Thread)