Android lock screen password not being recognized
Yes, you can delete the PIN data from the settings database. In the below instructions, anything that follows a # or sqlite&gt; is a command you should enter (from an adb shell):

# cd /data/data/com.android.providers.settings/databases
# sqlite3 settings.db
sqlite&gt; delete from secure where name='lockscreen.password_type';
sqlite&gt; delete from secure where name='lockscreen.password_salt';
sqlite&gt; .exit
# reboot


When the phone reboots the PIN lock should be disabled. If this doesn't work then try executing the following from within sqlite (second might not be needed):

sqlite&gt; select * from secure;
sqlite&gt; select * from system;


These two commands will simply list all entries in the secure and system tables, respectively. That will help you find the proper rows that need to be deleted in the case that they are named differently (though I don't think they will be as I just tested this on my own CyanogenMod 7 install).