I just rooted my brand new 1+3 and put CM13 on it, with TWRP recovery. I haven't set any sort of screen guard or fingerprint yet, since I'm not sure if that will end up encrypting the disk as well.
I've seen other posts about how people could not use the recovery because it prompted for a password - and typing the PIN didn't work for them. I have already taken a nandroid backup of the original OxygenOS, and saved it elsewhere (i.e. not on the phone). So if I go ahead and set a password, will it cause any problems later, if I have to use the recovery? Is it better to stick to a PIN instead of the pattern lock?
Edit - now when I go into recovery, the log says 'successfully decrypted with default password'. What's this default password? If I set a screen PIN, will it change to the PIN, or is it something else? Will setting the PIN/fingerprint prevent me from mounting data as I can now?
Related
I have not used the password to the type of pattern, but suddenly twrp ask for the type of pattern, so I can not decrypt the data from sdcard, please help
andre_huri said:
I have not used the password to the type of pattern, but suddenly twrp ask for the type of pattern, so I can not decrypt the data from sdcard, please help
Click to expand...
Click to collapse
You have a pattern protection on your device, and you set the pattern you have selected to ask you for pattern when you start your phone up, reboot to system and remove pattern lock and then you should be fine...
Next time when you set an pattern select no thanks option as shown in the screenshot.
Ditto
If there's a pattern, it usually means you've got a pattern lock. Use the same pattern and it'll be locked.
Just use the same pattern that you use if you startup you're Android device. When you have no pattern, go to settings > locksreen > then remove pattern if not done already > set new pattern > there will popup a messege asking is you want to use a start-up password (or something like that) > No thanks. Should work now.
It is a good idea to have some security on the recovery but the interface is dodgy. It normally takes 2-3 tries because the screen can't seem to keep the touch and drag registered nicely.
See if this helps. This will remove whatever password you have set on your device.
Hey guys -
Need some detective help. I did something to my 10, and I think I did something with the encryption, but I'm not sure how or what.
Follow me here, since I'm not sure what caused it, I'll start at the beginning, and see if anything raises a red flag..
Got phone from HTC, US unlocked version. Got it in.. heck, this past June, I think.
Unlocked bootloader. Got Sunshine, ran it, but never paid and never turned S-OFF.
Never set PIN or Fingerprint.
Installed Viper10 when it was out.
Went to do fingerprint. Got screen saying that for backup, needed to set PIN. Set PIN, then taught it some fingerprints.
Never had data issues, and as far as I know, never encrypted phone. TWRP, when run, did not need me to enter any password or key to access the phone. On bootup, would get PIN prompt, but AFTER Android loaded.
Never got any RUUs, never upgraded Viper10.
Installed CM13 today. Whohoo!
Install went fine, no issues. Restored apps from TiBu, deleted unused bloatware, including the built-in Android keyboard.
Set up other options, and finally got to enter in fingerprints.
It gives me the same screen I got on Viper. This time, though (and I have no idea why), I back out back to Security settings, and enter in PIN there.
Then train fingerprints!
Now, when I reboot system, or boot to TWRP, I get a prompt asking for password (TWRP) or PIN (Android). HOWEVER.. I can enter my pin in TWRP just fine. But not Android. Apparently, since it hasn't booted, Swype doesn't work, and I get no keyboard. Can't enter PIN in at all.
That is my mistake, however, as I removed the built-in Android keyboard. (Something I've done countless times before on other Android versions without issue..)
So I restore Nandroid backup of Viper10. I still get the PIN entry, and STILL have no keyboard.
I see reference in TWRP about PINs not working, so I delete that locksettings.db file (from memory, filename is likely wrong here..)
Phone boots up. Yay. No PIN prompt. Yay.
But now I do NOT have data - as in, it's acting like my phone is unencrypted now.
So, what I'd like to know is -
If NOW my phone is unencrypted, and I'm getting the 'No Data' issue, what was my phone doing BEFORE, when I didn't have to enter PIN, but was getting data?
How can I get BACK to not having to enter PIN and still get data? (In my case, will the instructions for unencrypted work? Or is my phone now 'special'?)
How did I set the PIN the first time on Viper10, and not have it encrypt my phone? I'd like to ultimately get back to THAT scenario - where the lockscreen asks for PIN, but nothing else does (TWRP, Bootup, etc).
Thanks guys!
-Mike
I may be pointing the obvious, but have you do a full wipe before restoring your nandroid? If so, did you try to clean flash your rom to see what happens?
Maybe by removing stock keyboard something got messed up and keeps the keyboard in your nandroid from properly installing.
Yup, I tried restoring the Nandroid several times, some with wiping, some without. Also, I always clean-flash my new ROMs (i.e. ones not restored from nandroid backup, installed new, like going from Viper10 -> CM13)
Going to try again today while at work, see what happens.
During setup in CM13, there should be option to require PIN at startup (It is usually checked by default). Uncheck it and your phone will remain encrypted without requiring a PIN to start.
jackebuehner said:
During setup in CM13, there should be option to require PIN at startup (It is usually checked by default). Uncheck it and your phone will remain encrypted without requiring a PIN to start.
Click to expand...
Click to collapse
Technically correct (encrypted) but effectively incorrect: encryption is moot if a password is not required to decrypt it. It would be like locking your door and leaving the key in it: it's locked but it's not secure.
You need a system keyboard to be able to enter PIN on bootup; hence, the pre-installed keyboard (Google on vanilla, TouchPal on htc) isn't really 'bloatware' as it's necessary. Google makes a good keyboard; TouchPal, though, yeah, necessary bloatware in this case.
Rolo42 said:
Technically correct (encrypted) but effectively incorrect: encryption is moot if a password is not required to decrypt it. It would be like locking your door and leaving the key in it: it's locked but it's not secure.
Click to expand...
Click to collapse
Ah, so in previous ROMs (both OEM and Viper10, it technically WAS encrypted, I just never set the password? .. Huh.
Rolo42 said:
You need a system keyboard to be able to enter PIN on bootup; hence, the pre-installed keyboard (Google on vanilla, TouchPal on htc) isn't really 'bloatware' as it's necessary. Google makes a good keyboard; TouchPal, though, yeah, necessary bloatware in this case.
Click to expand...
Click to collapse
Interesting, thanks for this; good to know. A shame, but good to know that's just how it is.
coyttl said:
Ah, so in previous ROMs (both OEM and Viper10, it technically WAS encrypted, I just never set the password? .. Huh.
Interesting, thanks for this; good to know. A shame, but good to know that's just how it is.
Click to expand...
Click to collapse
Correct. The password is to get at the encryption key; it isn't the encryption key itself.
Bitlocker/SED works the same way. Otherwise, a password change would mean re-encrypting everything.
If you put in the wrong password, it'll look like you have no data.
Hey guys,
I have always had my op3 encrypted and I've become used to always entering the pin when booting up, accessing twrp etc. but today when I rebooted into twrp I didn't have to enter any pin to use twrp. When booting up the system I didn't have to enter a pin either.
When I check the settings under Security & Fingerprint it looks as in the attached screenshot, I don't have any options to decrypt or anything either
I'm running OOS 4.1.3, FrancoKernel #23 , Magisk 12, twrp-3.1.0-x_blu_spark_v27.
Is this something that anyone has experienced and know how to fix?
I want to keep my encryption but then, of course, you should have to use the pin.
Cheers!
Then the pin is defaulted and thus you don't need any. I don't need one, too and never did, but all is encrypted (Even locked down with a pin on bootup and fingerprint otherwise)
I believe this is an option you need to setup during the wizard when you initially set up the device. It asks you whether you want to require a pin on startup or not.
But, you can also turn this on by going to settings>security>screen lock.
From there, you click on the area where it says PIN. Confirm your pin, then click PIN again, and there should be an option to require pin for startup. Other than that, you are still encrypted, but it is all bypassed in order for quicker startup.
Sent from my ONEPLUS 3 using Tapatalk
noobtoob said:
I believe this is an option you need to setup during the wizard when you initially set up the device. It asks you whether you want to require a pin on startup or not.
But, you can also turn this on by going to settings>security>screen lock.
From there, you click on the area where it says PIN. Confirm your pin, then click PIN again, and there should be an option to require pin for startup. Other than that, you are still encrypted, but it is all bypassed in order for quicker startup.
Sent from my ONEPLUS 3 using Tapatalk
Click to expand...
Click to collapse
Ah that was it! it had somehow disabled itself, simply going in and enabling "require pin to start device" solved it.
Thanks!
Try removing the lock screen password and setting it up again and it will be back again in twrp.?
booted TWRP
then flashed magisk and removed AVB and force encryption (running decrypted now)
i set up a pin and that works fine at unlocking my screen however - when i go in settings to change the pin it says incorrect pin
also the option to add a fingerprint is gone...
whats going on?.
Same issue here but also on lockscreen.
Did you find a way to fix it?
Lartsch said:
Same issue here but also on lockscreen.
Did you find a way to fix it?
Click to expand...
Click to collapse
Mount system and delete locksettings.db from /system/data via twrp.
This will reset locksreen pin. Restoring Twrp backups and other modifications are known for causing this issue.
AnierinB said:
Mount system and delete locksettings.db from /system/data via twrp.
This will reset locksreen pin. Restoring Twrp backups and other modifications are known for causing this issue.
Click to expand...
Click to collapse
This is not the issue as it was the first thing I tried of course. But thanks. It must be some issue with decryption/dm-verity/forceencrypt/magisk...
Once I set a new PIN, it is wrong. But actually, it detects that it is correct when entered since I can enter it as often as I want without being locked out. When I enter a truly incorrect PIN it locks me out.
Logcat says that the GatekeeperHalDevice returns the response code -30 or -24.
Did you resolve the problem? I have something similar. No lockscreen PIN and no fingerprints. I tried to set a PIN but it didn't seem to take.
Now I am in some in-between land. Still no lockscreen PIN still but when I try to set one, it asks for a PIN. I enter the usual number but it says invalid.
It doesn't help that I am on a non-rooted beta for Q so I don't know how to delete the locksettings.db either.
gmmorrell said:
Did you resolve the problem? I have something similar. No lockscreen PIN and no fingerprints. I tried to set a PIN but it didn't seem to take.
Now I am in some in-between land. Still no lockscreen PIN still but when I try to set one, it asks for a PIN. I enter the usual number but it says invalid.
It doesn't help that I am on a non-rooted beta for Q so I don't know how to delete the locksettings.db either.
Click to expand...
Click to collapse
I have the same problem and i rooted...pls someone can help us
Hello,
I accidentally replaced my encryption password with the default encryption. Does anyone know if I can set my own one again?
I tried out "Macrodroid" with the goal to automatically enable and disable airplane mode and while trying out different things (bound to fingerprint gestures) it asked me for accessibility access which I allowed but then it (the accessibility settings page) asked for my password and said it was needed since accessibility is also related to encryption state or so. But I didn't enter my password and clicked on cancel, I don't know the app that well so I didn't want to give it access over my encryption.
My theory is now that it replaced my encryption password with the default one then because it didn't ask me again for my encryption password when I de- and reactivated accessibility.
I uninstalled the app then and use "Auto Airplane mode" now. I checked with "Sd-maid" for any leftovers and then rebooted and it didn't ask me for my password, I just straight booted into system. (Device is still encrypted but with standard password.)
Booted into twrp and it was able to surpass encryption, went straight to main twrp menu.
Is there any option to manually set the encryption password?
I think if I flash "disable-force-encrypt" again (like I did while installing my phone) I would have to format data, too in order to remove encryption and re-set it in system settings, or not?
My last option before totally reinstalling the ROM would be to restore a nandroid backup from after I installed it the first time.
Greetings,
7080