Changing encryption password? - Nexus 6P Q&A, Help & Troubleshooting

I'm using the default "partition based" encryption that came with the device. Afaik encryption is done using the standard password of "default_password", because thats what twrp can decrypt with. In the event my device were to get lost or stolen or something, with the standard password it's pretty easy for anyone to get access to all the data on the device. Now my question is, how do i change the pw from "default_password" to one of my choosing. Preferably without losing data.

Settings > Security > Screen Lock > Password should ask you if you want secure start up; saying yes should change that password (without data loss).
Advisable to have a backup, of course. There is no going back if you e.g., forget the password.
Sent from my Nexus 6P using Tapatalk

I don't want to secure device start up with a password or pin, requiring me to enter it to boot up. I want to change the password used to ENCRYPT the device.
Sent from my Nexus 7 (2013) with Tapatalk

Anyone?
Sent from my Nexus 6P with Tapatalk.

Bump, still need to know
Sent from my Nexus 6P with Tapatalk.

Pro tip: Try Google so you don't have to wait 6 days, or in case no one knows. Here's a few link I found, hope these help.
First result;
https://play.google.com/store/apps/details?id=org.nick.cryptfs.passwdmanager (seems to not be updated for newer OS versions, I'd advise other methods first. Use at your own risk).
2nd;
https://www.google.com/amp/s/www.xd...-change-your-android-encryption-password/amp/
3rd;
https://copperhead.co/blog/2015/07/08/android-encryption-password
4th;
http://android.stackexchange.com/questions/88845/how-to-change-encryption-password-android-5-0
From what I'm seeing in those results, he's right. Changing the lock screen / boot pin, pass or pattern will change it.

Well i went the settings way, then set screen lock back to pin. So encryption pw should be changed. What's the quickest method to verify it actually is? Something through TWRP possible?
Sent from my Nexus 6P with Tapatalk.

Ch3vr0n said:
Well i went the settings way, then set screen lock back to pin. So encryption pw should be changed. What's the quickest method to verify it actually is? Something through TWRP possible?
Click to expand...
Click to collapse
TWRP will use the same pin then. If you enter the wrong password you'll see an error about unable to decrypt data. Entering the pin will let you in. Typing "default_password" should be invalid now, it won't work.

Well doesn't look like it, just went into twrp 3.0.2-2. Tapped hamburger icon in bottom right, saw this
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I don't know if you understand dutch but 'standaardwachtwoord' means 'default password'. Quests what I'm asking is what can I do in TWRP to test the password? When going into twrp it did NOT ask me for my pin NOR my password.
Flashed TWRP 3.0.3, started a nandroid backup. Same thing. Line 5 'standaardwachtwoord', 'successfully decrypted using default password'
Sent from my Nexus 7 (2013) with Tapatalk

I cannot access my data from TWRP using "default_password"
"Failed to decrypt data"
I must use my pin. Have you set it to require pin on boot? TWRP won't let you in with the default password if you do.
Aside from that, you could try the ADB shell commands in one of the other links above, but I've never done that before.

No, I haven't set it to require pin nor pass on boot. Only as screenlock.
Sent from my Nexus 6P with Tapatalk.

The problem is now that TWRP refuses to accept it? ""Unable to mount data". Using twrp 3.0.3." Or am i reading this incorrectly. Every time i go into TWRP i'm prompted for my password. Entering seemsthe pw i set does get me into TWRP? Is this normal behavior after changing encryption password or a bug. I've only had my Nexus 6P a couple months now and only recently found out about the "default_password" used for encryption. So as a security measure i changed it. Then set screenlock back to pin.
So is this normal behaviour after changing pw to a custom one instead of the default one?

Related

Can't set pin or password, sd card unmounting

Hello everyone,
I have Samsung Galaxy Note 3, Omega Rom android 4.4.2
I installed an anti theft app called 'Android Lost'.
I installed it on my phone and went on to their site to try out some of the commands after it had registered with my google account and whatever else it does. I sent a command to my phone to lock it with a pin. My phone received the command but it didn't do what it was supposed to do. It removed the pattern lock that was on my phone and left it open to unlock without any sort of password or pin. I tried the command again and it did not work.
I gave up as I was in a rush to leave and left the house. I then tried to set a pin on my phone again and the option wasn't grayed out or anything but when I selected it and set the pin, my phone would freeze and then after a minute it would unfreeze but "swipe" would be selected. I was able to set a pattern but nothing higher security than that. Also, even when pattern was selected and I tried to set a pin, it would set it back to "swipe". I also noticed that now I am always getting a message that says "my sd card can now be removed safely" even when I didn't select for it to be removed.
I uninstalled the app and it unregistered me from the servers and all of that, but everything is still the same. Still getting the sd card message, and still can't set a pin.
I have tried the method of incorrectly entering my pattern and using google to change to a pin, that didn't work, just set it to swipe and the sd card message was still appearing.
I also tried clearing all credentials like someone mentioned, but the option is grayed out so I can't select it, and my sd card isn't encrypted and either is my internal storage.
I even went as far as manually going to each credential and disabling it, this did not fix anything either.
Today after not having any replies on the Android Lost website, I decided to factory restore my phone after backing everything up.
This, to my surprise, still did not fix the problem. Now I have a wiped phone and still can't set a pin, and am still being told my SD card can be safely removed.
I tried factory restoring several times, still no fix. I have also tried reflashing my rom, still have same issue.
I am so lost at what to do, maybe there is a cache I can clear or something on top of restoring the phone to clear the credentials as they all seem to be the same still after restore, or maybe it has something to do with my google account, or a server still sending commands to my phone or has set a lock on it. I'm not sure.
Thanks for reading, sorry if it was a bit long, I rarely post to forums as I can usually solve problems by myself by searching.
All help appreciated!
EDIT: I have been taking notes when flashing and factory resetting. The security credentials are staying the same even after each wipe and reflash. Is there any way to clear these manually as the button is still greyed out to clear them? I'm wondering if this has anything to do with not being able to set a pin and ejecting my sd card.
I ran into same issue today, couldn't enable PIN. I use stock NF4, rooted. Still haven't found the cause for that.
EDIT: Found this.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
same thing happens when i updated mine to FNF4 kitkat
mine was having the same issue aswell, when i try to setup a pin or a pattern for my security,itll just freeze for a while and still swipe option has been chosen and when i try it once more,,it does freeze again and my sd card was already unmounted.,what was that thing happen,is it becoz of the root and security policy builds in the new update?
amzkyz said:
mine was having the same issue aswell, when i try to setup a pin or a pattern for my security,itll just freeze for a while and still swipe option has been chosen and when i try it once more,,it does freeze again and my sd card was already unmounted.,what was that thing happen,is it becoz of the root and security policy builds in the new update?
Click to expand...
Click to collapse
Have you solved this problem? I have exactly the same

Is the Galaxy S7 Edge encrypted?

Hi, does anyone know if the phone is encrypted or is there an option to do so?
Marshmallow by default is encrypted, but I think with Samsung you have to do it in the Knox environment.
The sd ?
Yes there is an option for encryption. Also Knox adds an extra layer of security above it.
ekjl said:
Yes there is an option for encryption. Also Knox adds an extra layer of security above it.
Click to expand...
Click to collapse
Bump. I'd like to confirm if this device is already encrypted. From what I can see in Lock Screen and security, I can only encrypt my SD card (useful) and when I tap Protect encrypted data, it states it's already encrypted but offers to "require screen lock to decrypt data when device turns on".
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
It is encrypted, by default.
ingenious247 said:
It is encrypted, by default.
Click to expand...
Click to collapse
I have an S7 edge and was just trying to find how to do it. It just has the SD encryption options, so I thought it might be by default for the main storage. Good to have this confirmed. Thanks.
How to disable encryption......
gurpreet4u15 said:
How to disable encryption......
Click to expand...
Click to collapse
You can't.
spectrumfox said:
You can't.
Click to expand...
Click to collapse
You can if you do a clean wipe and flash dm-verity to disable it - which is required for a usable internal storage partition in TWRP and xposed
Inb4, necropost.
I and it would seem a lot of users are missing the option to set a password before the phone boots into Android. The ‘Protect Encrypted Data’ option in 'Lock screen and security' section doesn't show. Does any one know if this has been removed? Can anyone confirm that the S7 (edge) is still encrypted? Surely you can prevent the phone from booting into the OS until you've entered credentials? To prevent lock screen exploits.
Just curious for your input.
LoftysGame said:
Inb4, necropost.
I and it would seem a lot of users are missing the option to set a password before the phone boots into Android. The ‘Protect Encrypted Data’ option in 'Lock screen and security' section doesn't show. Does any one know if this has been removed? Can anyone confirm that the S7 (edge) is still encrypted? Surely you can prevent the phone from booting into the OS until you've entered credentials? To prevent lock screen exploits.
Click to expand...
Click to collapse
My AT&T S7e continues (under Android 7.0) to have the Settings->Lock Screen and Security->Secure Startup option "Require password when device turns on".
Gary02468 said:
My AT&T S7e continues (under Android 7.0) to have the Settings->Lock Screen and Security->Secure Startup option "Require password when device turns on".
Click to expand...
Click to collapse
Thanks for the reply.
Any one from the UK have this setting still?
I've been reading that there is a possibility that recent (end of Dec 2016) UK law change could have caused this to be removed from phones sold in the UK hence digging up this thread.
I'm still waiting for the 7.0 update OTA as I'm still on 6.0.1 but I may try and update myself to 7.0 to see if the option returns.
LoftysGame said:
Thanks for the reply.
Any one from the UK have this setting still?
I've been reading that there is a possibility that recent (end of Dec 2016) UK law change could have caused this to be removed from phones sold in the UK hence digging up this thread.
I'm still waiting for the 7.0 update OTA as I'm still on 6.0.1 but I may try and update myself to 7.0 to see if the option returns.
Click to expand...
Click to collapse
Hi there,
Had the same question today but I found the option is there and has been renamed to "Secure Startup" and is just above the "Decrypt SD card" option (Or Encrypt SD card if you haven't already enabled SD card encryption).
Samsung Galaxy S 7 SM-G930F
Android 7.0

Encryption?

Hi!
I just recieved my P9 Lite L31 and I can't find the encryption setting. I can also access /data from TWRP without entering a password. Further research into this revealed that Huawei has built phones in the past that do not support system-wide encryption whatsoever.
This is absolutely unacceptable and makes this fancy new device completely unusable for me.
Am I missing something here or is there really no way to enable encryption?
HeavyHDx said:
Hi!
I just recieved my P9 Lite L31 and I can't find the encryption setting. I can also access /data from TWRP without entering a password. Further research into this revealed that Huawei has built phones in the past that do not support system-wide encryption whatsoever.
This is absolutely unacceptable and makes this fancy new device completely unusable for me.
Am I missing something here or is there really no way to enable encryption?
Click to expand...
Click to collapse
You can access the encryption option via activity launcher. Download the activity launcher from playstore, open it -> select "all activities" tap on "settings" app and find the "encrypt phone" option -> tap on it and here you go
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
dc239 said:
You can access the encryption option via activity launcher. Download the activity launcher from playstore, open it -> select "all activities" tap on "settings" app and find the "encrypt phone" option -> tap on it and here you go
View attachment 3895383
View attachment 3895384
Click to expand...
Click to collapse
You're my hero, thank you so much!
dc239 said:
You can access the encryption option via activity launcher. Download the activity launcher from playstore, open it -> select "all activities" tap on "settings" app and find the "encrypt phone" option -> tap on it and here you go
View attachment 3895383
View attachment 3895384
Click to expand...
Click to collapse
Sorry to bump this again, but it doesn't seem to work for me. It shows the green Android for a few seconds and then just reboots without encrypting anything. I thought that it might be related to having it unlocked and rooted, so I locked it again and flashed a clean stock ROM, but it still won't work.
Any ideas?
HeavyHDx said:
Sorry to bump this again, but it doesn't seem to work for me. It shows the green Android for a few seconds and then just reboots without encrypting anything. I thought that it might be related to having it unlocked and rooted, so I locked it again and flashed a clean stock ROM, but it still won't work.
Any ideas?
Click to expand...
Click to collapse
I heard somewhere, that Huawei phones are already encrypted (in Huawei's way) so that's maybe why it doesn't work
dc239 said:
I heard somewhere, that Huawei phones are already encrypted (in Huawei's way) so that's maybe why it doesn't work
Click to expand...
Click to collapse
Nope, I can access /data without any passwords from TWRP and it also doesn't prompt me for a password when booting.
I think maybe you had format data partition through the twrp, which makes the encryption invaild, otherwise, the encryption feature is default enabled.
rann77 said:
I think maybe you had format data partition through the twrp, which makes the encryption invaild, otherwise, the encryption feature is default enabled.
Click to expand...
Click to collapse
When I reset the device to 100% stock and then just flash TWRP in the bootloader without formatting anything, files are still accessible. And the "Encrypt your phone" setting is accessible regardless.
Is there a sure way to confirm that encryption is enabled through the shell?
HeavyHDx said:
When I reset the device to 100% stock and then just flash TWRP in the bootloader without formatting anything, files are still accessible. And the "Encrypt your phone" setting is accessible regardless.
Is there a sure way to confirm that encryption is enabled through the shell?
Click to expand...
Click to collapse
Why do you need the encryption too much? It only slows down the device and from my experience I've never needed it, because I didn't lost any of my phones. And if i'll lost my phone some day, it's protected by fingerprint or gesture/pin (and nobody can access my data, because i've got locked bootloader and i don't use any custom recovery) and i can easily wipe the phone via device manager from my pc.
dc239 said:
Why do you need the encryption too much? It only slows down the device and from my experience I've never needed it, because I didn't lost any of phones. And if i'll lost my phone some day, it's protected by fingerprint or gesture/pin (and nobody can access my data, because i've got locked bootloader and i don't use any custom recovery) and i can easily wipe the phone device manager from my pc.
Click to expand...
Click to collapse
The slowdown isn't noticeable in daily use and unencrypted data is always recoverable, even if unlocking the bootloader formats the device. Whereas encrypted data isn't recoverable at all. It's a no-brainer for me to encrypt my devices, especially if I'm going to take them with me where they can be lost or stolen. I just want that massive increase in safety and comfort that doesn't cost me anything.
But you're right, it would be pretty unlikely that anyone is going to put in that much work to recover essentially useless data. Still, I like the thought of not having to worry about anything if I lose my device.
Same issue here. In my other phone (Redmi 3) the option is present and actually encrypts the phone data. (twrp asks for password)
HeavyHDx said:
When I reset the device to 100% stock and then just flash TWRP in the bootloader without formatting anything, files are still accessible. And the "Encrypt your phone" setting is accessible regardless.
Is there a sure way to confirm that encryption is enabled through the shell?
Click to expand...
Click to collapse
Perhaps the reset mechanism is not complete and won't format the data.
The p9lite TWRP developer was provided by a chinese developer, he said the data is encrypted and he also provided a guid of how to decrypt:laugh:
club.huawei.com/thread-10304309-1-1.html

Enable device encryption on MIUI 11?

Hello,
I'm using Xiaomi Redmi Note 8 on MIUI Global 11.0.3.
I can't find the encryption option on the phone.
I've enabled developer options. According to other users, they report this option is found here:
Settings - Additional settings - Developer options - Encrypt device using lock screen password
However, there is no such an option although I activated developer options. Which means that is no encryption available (on older Xiaomis, when one activated device encryption, the password is set so when booting up the phone, the user must provide that password in order to decrypt and use the phone).
Any thoughts?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Did you ever find out how to do it? I just bought the Redmi note 8, with miui 11... and it's not there. Can't use the phone without this feature.
Dizzee said:
Did you ever find out how to do it? I just bought the Redmi note 8, with miui 11... and it's not there. Can't use the phone without this feature.
Click to expand...
Click to collapse
Nop, I'm still waiting for a solution I don't understand why the feature is not present, and I don't want to use the phone without encryption
Full device Encryption not support on Mi11.0 Note 8
Not able to understand why this basic feature has been removed after 11.x version.
Does anyone has any workaround to fix this issue. I cant use my phone without FDE.
Go to "Settings -> Passwords & security -> Privacy -> Encryption & credentials -> Encrypt phone" , click Encrypt, set up your passcode.
Then go to Developer settings and look for the option mentioned above.
I don't understand why people are confused about this. The phone comes encrypted by default (out of the box) and my redmi note 8 utilises File based encryption so I assume this is standard for all others. There is no option to encrypt using lock screen password as far as I can tell but that does not mean it is less secure. With FBE each file has a different encryption key which is encrypted with a master key, the master key is then encrypted with your lock screen password, at least this is how I think it works but you can find out more online. While your phone is on encryption keys are stored in RAM I believe so if you think your phone will be seized or stolen simply restart it.
---------- Post added at 09:56 PM ---------- Previous post was at 09:42 PM ----------
There is a terminal app called Termux that provides a command-line you can use for checking if your phone has encryption enabled. You can download it from the play store. Once you download, type getprop ro.crypto.state . The output will tell you 'encrypted' or 'unencrypted'. To check if FDE or FBE, Start Termux and enter the following command: getprop ro.crypto.type . If the output is file your device uses File Based Encryption and block if it uses Full Disk Encryption

I forgot pattern lock on my Oneplus 8pro how to unlock without factory reset.

I also had a finger print on it but it got restarted and the the phone asking for a pattern which I don't remember. Is there any slightest chance that I can recover my data ?
annus9214 said:
I also had a finger print on it but it got restarted and the the phone asking for a pattern which I don't remember. Is there any slightest chance that I can recover my data ?
Click to expand...
Click to collapse
If you have registered with your Google account, you should be able to unlock using your Google password, too.
Hope that you have not changed this unlock method
It_ler said:
If you have registered with your Google account, you should be able to unlock using your Google password, too.
Hope that you have not changed this unlock method
Click to expand...
Click to collapse
They have changed that method. Man
More information would be helpful. Bootloader unlocked? TWRP installed?
If for some strange reason you have Android 10 and a functional copy of TWRP you should be able to delete the password data.
It's been a while since i actually did this but it's more than likely possible, if you're on Android 11 then no you'll have to wipe.
Have you tried to log in using safe mode? Might offer a second method instead of the pattern.
Unn113 said:
More information would be helpful. Bootloader unlocked? TWRP installed?
Click to expand...
Click to collapse
Bootloader unlocked?
Ans. NO
TWRP installed
Ans. No
dladz said:
If for some strange reason you have Android 10 and a functional copy of TWRP you should be able to delete the password data.
It's been a while since i actually did this but it's more than likely possible, if you're on Android 11 then no you'll have to wipe.
Have you tried to log in using safe mode? Might offer a second method instead of the pattern.
Click to expand...
Click to collapse
Second method is to wipe your phone.
annus9214 said:
Second method is to wipe your phone.
Click to expand...
Click to collapse
Unfortunately that's actually there too protect your data so there's a slim silver lining.
Hopefully you've synced contacts with Google and your photos with Google..
Apps will lose data but most will be saved with sync
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thank you everyone for your replies. Actually my wife locked my phone and somehow she didn't remember the pattern but last night she made 20 possible patterns and vola its unlocked now. Thank God
haha, a rare happy ending...cheers

Categories

Resources