Lockscreen broken all passwords wrong - Galaxy S 5 Q&A, Help & Troubleshooting

So i was using my device today, and wanted to make glowing-bear work with my certificate, which required me adding it to my device's trusted certificates. Well, when i tried to install it, i was prompted to enter the credential storage password, which i never remembered setting, and i couldn't log in. Searching online i saw there were some solutions that involved setting your screen lock to password, and then some other steps, well i set it password, searched some more and decided i need to turn the lockscreen to none, but when i tried to change it i was presented with a password dialog as expected, but it said the password was wrong, so i was locked out. I tried letting the phone lock and then typing in random passwords so i could get the forgot my password button but found all i got was a timer saying i needed to wait 30 seconds, so no dice. Searching online further i found i needed to remove/rename some files in /data/app which were not there, one of them being cm_gestures.key, but i renamed gestures.key just for kicks and I was still locked out. I decided maybe the forgot my password button was not appearing because of an xposed module, so i booted into xposed safemode, but still no dice. At this point my only way of getting in to the device is renaming keygaurd.apk, i went in and reactivated xposed and rebooted, but now all but the back soft key do not function, not even the hardware homekey(which i was unable to disable) works. I went ahead and loaded android device manager and gace that a shot to no avail, i got a black screen with a small lock to come up once but nothing else, it sends the request and says "since your device is verified as locked the temporary password you set will not be needed". I've tried looking in settings.db with no luck, and i cant find any other way to clear the password. i am rooted, on 4.4.2, running xtreme dynamic kat 1.0 and i'm using a g900a. I'll try just about anything at this point, i didn't realize trying to do such a simple task such as installing a certificate would cause so many issues.

Related

Security Challenge locks up sometimes

Like, I don't know if I'm the only one experiencing this issue. Whenever I do something with the system, boot back up, first prompt telling me to enter my password to continue the boot, works. However, when I hit the system, enter the lock screen, it sometimes ask me for another password just in case. This second time I enter the password, wrong. I had made sure that my password was right, nope, still locked out. I had to use "No Lock for Home 2" Xposed module to somehow get pass this freaking lock screen. Am I the only one experiencing this issue or did I do something wrong?
I have tried almost everything,
1) Try to set a new password via Android Device Manager (LOCKED STILL)
2) Going to Security -> Password -> Typing the password all over (LOCKED STILL)
3) Going to Security -> Switching lock type to none -> Setting password again (LOCKED STILL)
4) Going to Security -> Switching to PIN (FINALLY WORKED)
What's bizarre is that under the Security settings my password apparently works, just not on the lock screen.
I would honestly prefer password over PIN and this is driving me insane. Is there a way to wipe the security settings in TWRP safely? Last time I tried deleting gatekeeper.password.key under /data/system in TWRP File Manager, it worked but FC whenever I try to set a new password.
Try clearing credentials under security
galaxy s4 nutjob said:
Try clearing credentials under security
Click to expand...
Click to collapse
Nope, still the same.

Why does my phone keep getting decrypted?

I'm very confused by the behavior of my Nexus6p right now. I would like my phone to be fully encrypted, IE, you pick up the phone and can access absolutely none of my data without typing in a password. So I've clean flashed it several times, usually whenever a new update comes out. And each time I do this, the phone behaves how I want, when it boots, I get a password screen that says "enter a password to continue boot". It goes on this way for a day or so usually, and then suddenly this password screen stops showing up and I get the "you must enter a password after restarting" screen that clearly has already decrypted my data because I can see notifications and even play music through bluetooth without entering the password.
After each clean flash, I have been installing various mods. This time around, I have the things I've flashed down to TWRP 3.1.0, Magisk 12, and ElementalX 4.08. In the security settings, the phone still reads as encrypted, so I'm very confused. Is this normal behavior for this device, or is it one of the above things I have flashed? Either way, how do I fix this so that my data actually stays encrypted when the phone boots?
I have had similar issues to fix I formated everything and then installed the rom installed newest vendor image and then kept on eye on what I allowed special access to my phone
Keeper was wanting special access so I stopped using them and switched to last pass I have not lost decryption on phone boot
Also decided to pay for esexplorer pro to get ride of any possible infected ads
Your phone data is still encrypted, but your security settings are not optimized for what you want to accomplish. Make sure your Lockscreen has a password/PIN/Gesture set. There is the password on BOOT when encrypted, a password on Lockscreen when the screen is off, and In Settings>>Notifications>>Gear Icon>>"On the lock screen"- there are three settings. Default is set to "Show ALL notification content". Set it to NOT show notifications for now until you set which ones you want to show or hide. TWRP and EX are not causing your issue. Magisk might be but I don't use it. Uninstall just to be sure and/or check in the dedicated Magisk thread. This is on the stock 7.1.2 ROM. If you are running a custom ROM, YMMV.
So if I understand the issue correctly, you clean flash and you have the prompt to enter your credentials before booting finishes. Eventually you get set up and upon a reboot you notice that the prompt is gone?
Check your apps. You're using an app that requires an accessibility service (see Settings / Accessibility / Services). Granting an app accessibility service will do away with the boot entry of your pin/pattern/password. Set up your apps again and either don't use the app in question or just don't grant it the accessibility service for whatever feature requires it.
Known issue, btw. I forget why it happens, Google may turn up the results you're looking for.
Edit: Despite it not asking for that prompt on boot, your phone is still encrypted, by the way. This also has absolutely nothing to do with TWRP, EX, Magisk or how you choose to have your notifications hidden on lock screen.
2nd: Sadly, just revoking the service won't usually restore the prompt while booting. You'll need to clean flash again and not grant it in the first place.
That makes sense, I was looking in the wrong place. That's a really irritating design decision, there's no sense in having the encryption at all if you're just going to store the material necessary to decrypt the data in the clear.
For now, changing my password seems to have returned the encryption prompt while leaving the accessibility services working to the best of my observation.
It will probably go away again shortly​, most likely after the app uses the accessibility service. If it does, revoke the service and change your password again or clean flash. I don't believe there is a way to keep both 100% of the time.

PIN problem and Security Settings crash

Goodmorning everyone,
I am desperate. I have rooted on my Huawei P9 Lite device by following the guide for Android 7 with EMUI 5. Initially it seemed to have gone smoothly. Not without difficulty I unblocked the bootloader, installed the TWRP, the kernel and the SuperUser application.
However after installing the Elite Kernel for P9 Lite All Variants CxxB3xx With MagiskSU v10.1 by HassanMirza01, I did not accept the PIN when I restarted the device despite being the right one, preventing me from entering and doing any kind of operation. I did a search on the internet and learned to be a fairly frequent thing, so I deleted with TWRP the files "gatekeeper.password.key", "gatekeeper.pattern.key", "locksettings.db", "locksettings.db-shm", "locksettings.db-wal" from /data/system as indicated.
Indeed, I rebooted my device again and I did not ask for any PIN, so I could use the device, but when I set up a new PIN, it does not allow me to. If I try to register one, after entering the PIN for the second time as confirmation, it hangs for a few seconds and goes back to the screen lock selection still set to "None".
Same thing if I try to set the fingerprint: first asks me to create the PIN and then stays impaled at the same point.
Also from "Settings" if I try to go to "Advanced" ---> "Security" the app crashes. Same speech if I try to access the "Developer Options".
Please help me solve this problem without having to do another Factory Reset because I can no longer lose all the data again.
Many thanks in advance!

Settings crash trying to set up fingerprint

I just got my G6 H872 (new in box). All I have done is unlocked the bootloader, rooted, and installed TWRP & Magisk. Only module installed is Viper4Android. I have not removed any apps via Titanium, nor any other system files or mods. Set up my pin and am trying to set up fingerprint. Unfortunately, every time I enter the pin to set up FP, the System app crashes.
Any thoughts? (Logs in post #3)
EDIT: Facial unlock was working...I tried to re-do it while wearing glasses but the pin wouldn't let me back in. I then removed the pin for unlock and tried again. Facial ID won't let me in no matter what - the pin just doesn't work to continue. AND fingerprint continues to crash the settings app.
EDIT 2: ARRGG! Now I lost Smart Lock/Trusted places! WTF! Had it working earlier now I can't even find/access the Smart Lock settings.
ESIT 3: Got Smart Lock/Trusted Places back. Entering pin for fingerprint still crashes Settings, and the pin does nothing to get back into face unlock.
Really frustrated!
Tired of editing my post LOL!
I can access Face ID now. I had ticked Don't Keep Activities in Developer Settings. Unticked it and it started working. Fingerprint is still a no-go though.
Hoping for some guidance/advice.
Thanks
I have grabbed logs. One from alogcat and the other via ADB. I have no idea what I'm looking for but it would seem to me that the log from ADB is more complete. If there is anyone that can help decipher this, it is greatly appreciated.
FYI, XDA says the log from ADB is too large so I have linked it here.
Thanks!
Fixed my issue by updating to 20g with this. Thanks!

[Help] Decrypt storage, locked out from device

Hi everyone,
so in my immense stupidity, I actually managed to set my phone password wrongly, and now I can't get in. Spent a day trying passwords to find the typo but that was unsuccessful.
I have crDroid Android 11, bootloader unlocked, rooted with magisk, and TWRP 3.5.0.
How can get my phone back? I would love to save the internal storage since I have important stuff, but you know, if wiping it is the only way I have to go for it.
Thanks in advance.
Use this method. I have seen many people online suggesting it works.
Remove /Bypass Lockscreen With Recovery
Recently when i restored my data using TWRP i faced a problem at lock screen. I was not able to unlock my phone with the pin i set Earlier..So after so many attempts i was able to find a solution for that problem.(works with pattern,pin etc)...
forum.xda-developers.com
You are essentially removing lockscreen settings completely and should work as you still have TWRP access.
madman said:
Use this method. I have seen many people online suggesting it works.
Remove /Bypass Lockscreen With Recovery
Recently when i restored my data using TWRP i faced a problem at lock screen. I was not able to unlock my phone with the pin i set Earlier..So after so many attempts i was able to find a solution for that problem.(works with pattern,pin etc)...
forum.xda-developers.com
You are essentially removing lockscreen settings completely and should work as you still have TWRP access.
Click to expand...
Click to collapse
Thanks for the responce, but unfortunately that didn't work.
I deleted the files as explained in the thread you linked but now the lockscreen doesn't work at all, it's just a black screen. The power menu appears if I hold the power button, but nothing else. I tried swiping in some direction on the black screen but it doesn't unlock.
Also tried to sideload the rom again (dirty and clean flash), and magisk, still no luck.
Read the entire thread but nothing helpful.
DarkLudo77 said:
Thanks for the responce, but unfortunately that didn't work.
I deleted the files as explained in the thread you linked but now the lockscreen doesn't work at all, it's just a black screen. The power menu appears if I hold the power button, but nothing else. I tried swiping in some direction on the black screen but it doesn't unlock.
Also tried to sideload the rom again (dirty and clean flash), and magisk, still no luck.
Read the entire thread but nothing helpful.
Click to expand...
Click to collapse
Is TWRP able to decrypt the data? I'm guessing that's a no as the password is not accepted by the lockscreen. If TWRP was magically OK with the password, you could have adb pulled the files.
But apart from reseting the lockscreen using TWRP, I don't know a way to fetch the files.
madman said:
Is TWRP able to decrypt the data? I'm guessing that's a no as the password is not accepted by the lockscreen. If TWRP was magically OK with the password, you could have adb pulled the files.
But apart from reseting the lockscreen using TWRP, I don't know a way to fetch the files.
Click to expand...
Click to collapse
TWRP can decrypt if the correct passoword is provided. Tried pulling with adb the files anyway, even if they are encrypted, but the phone doesn't allow that either.
Thanks anyway

Categories

Resources