No Security Functionality - OnePlus 2 Q&A, Help & Troubleshooting

So, I messed up, followed a tutorial from someone and now I think I have messed up my phone for good,
I had forgotten my Alternate Password for my screen lock, So wanted to figure out if I could get it back somehow. Someone told me that if I deleted the Password.key file in the /data/system folder I would be able to reset my password. I did that and then reboot my system. Now I don't have the password.key file and whenever I go to set the password in Settings, on clicking on "Security" the Settings closes on it's own and I am taken to the previous menu, so now I have no way to set a password on my phone.
I have tried changing ROMs flashed two ROMs, the H2OS and the SkyDragon. Both of them could not fix the issue. Does anyone have any idea about this?
Thanks in advance :fingers-crossed:
UPDATE:
For anyone who has had this issue, the fix is to go back to Stock Oxygen OS 2.1.1 and then update to 2.1.2 from which stage you can practically flash any Rom of your choice, it's long and tiresome but its a sure shot fix.
Hope this helps people in need

Related

[Q] Cant remove pattern, pin and password screen locks

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.

TWRP Restore Problem with Fingerprint security

I have a nexus 6P running rooted stock rom and I wanted to try out a new rom. Before flashing the new rom, I made a nandroid backup via TWRP. Now, the rom that I was backing up had fingerprint security setup with backup passcode for unlocking the phone.
So I tried new rom and it didn't work (read-too many issues and too many crashes). Decided to revert back to my original setup. Went back into TWRP and restored the backup.
After booting the phone up, I can't log in to my phone anymore. As you know after every reboot, fingerprint sensor doesn't work unless you enter the backup passcode. So I am entering my passcode and its not accepted. I have tried entering passcode many times but to no avail. I know my passcode so possibility of me forgetting it is not valid.
Has anybody else seen or ran into this issue yet?
The step folks are missing is Prior to installing a backup you Must Change security to None before you even start a backup This clears password, pin and saved finger prints. I believe once security is changed it is safe to backup and then install backup. You will need to reenter Pin and Fingerprints.
Born<ICs said:
The step folks ...
... is changed it is safe to install backup.
Click to expand...
Click to collapse
You mean clear the security before making a backup ... right?
if not, how would I change security on a backup file of rom that had security enabled.
I have never used lock screen security before so never ran into this issue.
No, dig through this forum for tech details. But my understanding is anytime you make/install a backup or reflash rom or go back to stock you must reset you Security options in settings to None. You have security now, probably Fingerprints, and the required Lockscreen Pin.
If you try to install backup or Rom or whatever without doing so you get what you experienced. There is a path out of it if you read further.
Pin or Pattern on boot after restoring Nandroid
Born<ICs said:
No, dig through this forum for tech details. But my understanding is anytime you make/install a backup or reflash rom or go back to stock you must reset you Security options in settings to None. You have security now, probably Fingerprints, and the required Lockscreen Pin.
If you try to install backup or Rom or whatever without doing so you get what you experienced. There is a path out of it if you read further.
Click to expand...
Click to collapse
The interesting thing is, I intentionally chose to enter pattern/pin on rebooting. The strange (actually may not be strange .....but strange to me) thing is that even when I move on to different Roms, that initial choice is remembered and embedded since even after choosing not to require pin/pattern when rebooting, I get prompted. Also the pin/pattern works during recovery, it also works on the initial startup after restoring a backup but then fails after successful fingerprint use (it will actually say "wrong pin" or "wrong pattern") at the end of the booting process. The thing is, I have only used one pin and at other times one password ever with this device. Eventually I had to do a factory reset to solve this issue (thank goodness I was able to back up my internal storage to my computer in TWRP recovery mode).

custom binary frp-lock resurrected everytime by google?

So I'm using androman's pre-rooted firmware for my G-361f, and have been able to install the fixed twrp. (Thanks guys!) I have oem-unlocked and adb-debugging selected in developer options, and have toyed with the seandroid-permissive boot.img from the androman thread. If I put my device into download-mode, it says frp-unlocked. However, if I register a gmail account to access google-play, then turn my device off, it will not boot because the 'custom binary frp-lock' is back again. (even though settings were unchanged)
No problem-flash stock rom with odin and start from the beginning, but to get the twrp recovery to work requires a factory reset, and so it's inconvenient to have to keep repeating the process.
My solution has been to delete my gmail account from the phone immediately every-time, as soon as I have whatever I need from google-play, but it seems like a cumbersome solution. I havn't found any other mention of this issue, so I'm wondering if I've missed something obvious? Is there a more permanent fix?
Thanks

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

[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