[Q] Cant remove pattern, pin and password screen locks - Galaxy S 4 Q&A, Help & Troubleshooting

Hi folks,
I am currently run CM12 12-20150204 nightly, everything seems to work fine I just have an issue with the lock screen.
I enabled patterm lock an that works ok and it will let me switch between pattern, pin or password lock.
But it wont let me switch to None or Swipe.
Both None and Swipe options are greyed out with "Disabled by administrator, encryption policy, or credential storage"
Could some one please advise me of a fix or point me to a link.
I did read some where to edit the build.prop but the line to be edited wasn't in my build.prop
Regards
Torr

Try adding the line manually. But make a backup before that. Just in case

Hi thanks,
Been a bit busy yesterday , do think I could find that thread again to edit the build.prop
So no fix yet , just have to live with it for now I guess.

Using TWRP 2.8.4.0 I tried advanced wiping of System , davlikcache and cache then re-installing 07/02 nighly but the pattern lock screen still persisted.
What finally worked , I deleted locksettings.db, locksettings.db-shm and locksettings.db-wal from the root data/system folder.
when I rebooted the security lockscreen is now back to swipe :good:
Only issue if i go into "choose a lock screen" None and Swipe are still greyed out , so if I select pattern , PIN or password , I cant go back to None or Swipe.
Hope this is of some help, thanks everyone who took the time to read my query.
If theres a better solution please reply.
Regards
Torr

The only other solution I see is to either install another version of CM12, or go with a completely different rom altogether

The lock screen data seems to be stored in the data partition, so unless I fully wiped that I'm not sure a different version of CM12 would of fixed my problem. I did have 05/02 nightly with the issue an it was still present when I went to 07/02 nightly.

I take it that you usually don't do a wipe before flashing an update to the rom you're using?
Wiping data, cache and dalvik cache is recommended to prevent bugs. Even if it's just an update to your current rom.

You are correct , I don't delete data, But I always delete cache and dalvik cache .
If I have issues I delete system as well.
If the previous doesn't sort my issues, as a last resort I delete data as well as the above or I restore to a previous working state.
Regards
Torr

Well, I guess that might have caused your issue. Try doing a clean flash next time you update or change roms.

Related

[Q] 4.4.2 deodex

Is anyone on the special 4.4.2 nc2 having a problem with rotation where it works on reboot then doesn't after five to ten min. My auto brightness is also flaky I've updated to the Bajarom12 and 13 and the issues persist. Also have had a com.sec.android.keyguard failure with the lock screen but noticed nothing different. I've looked through the threads and haven't found anything any help or links would be appreciated
Thank you
I personally use rotation locker and manually rotate my screen. I can't help you with the auto brightness, but as a rule of thumb when having problems with roms it's always best to wipe dalvik cache and regular cache in recovery. If that does not work you need to make a nandriod backup to a microsd card and then wipe your data also in recovery and start fresh and see if you still have the problem (most likely you will not).
LBJM said:
I personally use rotation locker and manually rotate my screen. I can't help you with the auto brightness, but as a rule of thumb when having problems with roms it's always best to wipe dalvik cache and regular cache in recovery. If that does not work you need to make a nandriod backup to a microsd card and then wipe your data also in recovery and start fresh and see if you still have the problem (most likely you will not).
Click to expand...
Click to collapse
thank you for the quick reply :] I have done a dalvik cache, cache, system, data, every time and have installed deodex 4.4.2, new hyperdrive, and baja 14. I also flashed the n900vkk firmware md5 file in AP in Odin after doing the fresh installs to see if that would change anything and sometimes it will rotate the first few minutes after restart then sometimes just not at all. Thank you for the rotation locker recom. I downloaded it and am using it right now :good:
thedoseofdopeness said:
thank you for the quick reply :] I have done a dalvik cache, cache, system, data, every time and have installed deodex 4.4.2, new hyperdrive, and baja 14. I also flashed the n900vkk firmware md5 file in AP in Odin after doing the fresh installs to see if that would change anything and sometimes it will rotate the first few minutes after restart then sometimes just not at all. Thank you for the rotation locker recom. I downloaded it and am using it right now :good:
Click to expand...
Click to collapse
i have read many times about rotation issue being linked to freezing/removing some of what is considered bloat. there is an ongoing thread right here about it. hope that helps.

[Q] GT-I9505 trouble wiping and date/time

Hello,
I'm trying to fix a problem for a few days now, but without any luck.
I flashed CM11 using CWM 6.0.4.7, which is the latest.
But for some reason there is a problem with the date & time. My whatsapp keeps telling me my date was wrong, while it was actually set right. Didn't matter if i changed it and changed it back, or put it on automatic. It keeps resetting at boot but for some reason it shows the right date.
So i tried flashing another rom and i have the same problem.
But then i found out i did a full wipe and to be sure i formatted System and Data (also cache and dalvik), but when i did a clean install after the wiping, i still could restore a whatsapp backup and i see all my photos which are located on my internal storage. (/storage/emulated/o).
I think the wiping isn't done right or something.
Does anybody know what i should do?
I just want to wipe everything possible, except for CWM and then do a clean install.

Can't access to notifications and quicksettings tiles.

Hello,
I flashed the latest img and vendor from Pure Nexus and i got a little problem, I cant see notifications though the vibration happens, and i can't draw the notifications menu either same about the quicktiles settings.
I also noticed that recent apps button doesn't do anything anymore, i rebooted in safe mode, still same issues, can you help me?
Sberdila said:
Hello,
I flashed the latest img and vendor from Pure Nexus and i got a little problem, I cant see notifications though the vibration happens, and i can't draw the notifications menu either same about the quicktiles settings.
I also noticed that recent apps button doesn't do anything anymore, i rebooted in safe mode, still same issues, can you help me?
Click to expand...
Click to collapse
Sounds to me like you didn't wipe properly when flashing the ROM. You need to wipe system, data, cache, dalvik cache before flashing, is that what you did?
Usually when you update the same rom it's better to dirty flash no? i cant wipe all my data everytime i want to update the rom, though i might go back to stock, i
what's the best way to backup apps within the phone, and should i go deodex or Oden
Sberdila said:
Usually when you update the same rom it's better to dirty flash no? i cant wipe all my data everytime i want to update the rom, though i might go back to stock, i
what's the best way to backup apps within the phone, and should i go deodex or Oden
Click to expand...
Click to collapse
My mistake, I didn't realise you were just updating the same ROM. Yes, usually you can just dirty flash, but the way something is implemented may have changed in the latest update, causing the issues you're having now. The solution is pretty simple though: backup your user apps with Titanium Backup, boot into TWRP and perform a full wipe (system, data, cache, dalvik cache), flash ROM + gapps, boot into ROM and set up your settings, restore your user apps with Titanium Backup.
Thanks a lot!
I had this same issue after the March security updates. Was given this and it fixed my issues completely! It manually runs the setup wizard. Not sure if it will fix it or not, but worth a shot.
http://forum.xda-developers.com/showpost.php?p=65767953&postcount=7

MI A1 - Settings app crashing when trying to change screen lock

Today, I noticed that I had once a pattern lock and the phone just opened on swipe.
So, I went to settings and the security was set to swipe (I didn't change it). I clicked on it and the settings app crashed. Everything else in settings is working fine. Its just this thing causing trouble.
So the phone is crashing when trying to change screen lock
Some things you should know
1. I had rooted my phone with magisk manager about two weeks ago
2. I had substratum theme installed and overlayed on almost all apps including settings
3. After the settings crashing problem, I uninstalled magisk and had a full unroot and updated the security patch with a stock boot image
4. Everything else is still fine, but the settings crashing problem persists
I uninstalled all the apps that required root access before unrooting
Now the phone is unrooted back to normal no theme overlays, but the settings is still crashing when attempting to change screen lock and the fact being that it automatically changed to swipe
Any help would be appreciated
awesome_paneer said:
Today, I noticed that I had once a pattern lock and the phone just opened on swipe.
So, I went to settings and the security was set to swipe (I didn't change it). I clicked on it and the settings app crashed. Everything else in settings is working fine. Its just this thing causing trouble.
So the phone is crashing when trying to change screen lock
Some things you should know
1. I had rooted my phone with magisk manager about two weeks ago
2. I had substratum theme installed and overlayed on almost all apps including settings
3. After the settings crashing problem, I uninstalled magisk and had a full unroot and updated the security patch with a stock boot image
4. Everything else is still fine, but the settings crashing problem persists
I uninstalled all the apps that required root access before unrooting
Now the phone is unrooted back to normal no theme overlays, but the settings is still crashing when attempting to change screen lock and the fact being that it automatically changed to swipe
Any help would be appreciated
Click to expand...
Click to collapse
Tried to clear data of settings app ? If doesn't help reflash full rom.
NITRO_100 said:
Tried to clear data of settings app ? If doesn't help reflash full rom.
Click to expand...
Click to collapse
Clearing data didn't help....will reflashing delete all data
reflashed full ROM...used preserver user data option....still the issue remains the same....please help
awesome_paneer said:
reflashed full ROM...used preserver user data option....still the issue remains the same....please help
Click to expand...
Click to collapse
Very weird..I guess the last option is to full reflash with wiping data.
NITRO_100 said:
Very weird..I guess the last option is to full reflash with wiping data.
Click to expand...
Click to collapse
flashed full ROM...issue solved...thanks a lot for your help

Help needed please - lock pattern problem

Hi there
I updated today from CM13 which I've had installed for ages to Dirty Unicorn Rom v12 Angler. Files used;
du_angler-v12.0-20180309-1144-OFFICIAL.zip
SuperSU-v2.82-201705271822.zip
vendor-angler-opm3.171019.014.img
This let me in but I hadn't installed GAPPS.
My lock pattern worked, then went to install GAPPS and when got in the pattern says it's wrong even though it isn't. It works in TWRP the lock pattern.
Tried another ROM and get the same problem, I don't ever remember setting a lock pattern other than the one I know is right.
Tried ADB to reset the GESTURES but this does not work.
Also nothing held in the DATA\SYSTEM folder on the device for me to delete.
I don't mind losing my data but can someone please help with what I need to do please?
Also tried a complete ROM install of Linage
lineage-15.1-20180319-nightly-angler-signed.zip
bootloader-angler-angler-03.79.img
vendor-angler-opm3.171019.016.img
radio-angler-angler-03.85.img
Please help
Thank you!!
Did you mount data and system in twrp? After that you should be able to delete the locksettings.db file in data/system from file manager. Also make sure you're using the latest version of twrp

Categories

Resources