[Toturial] Enable ‘None’ option in screen lock for xperia devices running MM

This toturial is tested on Xperia Z2 running MM(291).

1. Decompile Settings.apk
2. Open ‘Settings\smali\com\android\settings\ChooseLockGeneric$ChooseLockGenericFragment.smali’
3. search key words ‘Lcom/android/settings/ChooseLockGeneric$ChooseLockGenericFragment;->disableUnusablePreferences(IZ)V’ to navigate an delete the following lines:

    .line 289
    invoke-virtual {p0, v3, v0}, Lcom/android/settings/ChooseLockGeneric$ChooseLockGenericFragment;->disableUnusablePreferences(IZ)V

screenshot_20161201-195520