My android keeps telling me my lock password is wrong but it's correct After rebooting my  rooted, unencrypted, android phone, the lock screen keeps telling me my password is wrong. But I am very sure that the password is correct. Because I input this password once per day. I have adb debug enabled and I can connect this phone to computer, what can I do now? I don't want to reset my phone, that will lose my data. Thanks a lot.
PS: Another weird thing is even if it keeps telling me my password is wrong, after attempting this correct password many times (more than 30 times, I didn't count), there is no password failure attempts warning at all.
I found a working method in XDA article 1 and XDA article 2. It's lucky that my android phone is rooted, so I can simply remove the key files and reboot :
adb devices
adb shell
su
rm /data/system/*.key
rm /data/system/locksettings.db
rm /data/system/locksettings.db-wal
rm /data/system/locksettings.db-shm

One more thing which bothered me is I have no ideas what the problem really is at the beginning. I did see some online questoins regarding the same issue such as link, but so far, no one can provide a logic explanation about this issue.