how can i check if my data partition is encrypted - Nexus 6P Q&A, Help & Troubleshooting

Hey guys.
I want to update the device to rom based nougat and every rom instllation guide ask if the data partition is encrypted.
Im not sure waht it means... how can i check it?
Im on pure nexus rom 6.0.1
thanks.

Settings > Security, if Encrypt phone is greyed out, you're encrypted.

richfreestone said:
Settings > Security, if Encrypt phone is greyed out, you're encrypted.
Click to expand...
Click to collapse
so if i understand you my data partition is not encrypted right?
(i added photos)
thank you

Roy_Alter said:
so if i understand you my data partition is not encrypted right?
(i added photos)
thank you
Click to expand...
Click to collapse
Yes, you're not encrypted.

Related

need help with TWRP (internal memory 0)

im using a s7 edge exynos , rooted it with cf auto root using odin and herolte2 , then added TWRP through odin (AP) , when i start TWRP it shows internal memory as 0 , (nothing is formatted , my phone has all its data im happy for that ) but i cant install xposed as it shows internal memory 0 so i cant find any of the zip files.
any help appreciated
have posted it elsewhere too dint know if its the right thread , sorry mods
Did you enable "OEM unlock" in Developer Options before rooting as advertised?
Flash twrp and wipe all without SD. Reboot recovery.
Enviado desde mi SM-G935F mediante Tapatalk
First out of all. You posted it in the exactly same place.
Second. Here is my answer from You other thread:
Does it say something like crypto footer or data invalid size or something like that? If it does then You have to format data, not wipe. Or else it won't work.
Preciousillusion said:
Did you enable "OEM unlock" in Developer Options before rooting as advertised?
Click to expand...
Click to collapse
yes
miangelgabriel said:
Flash twrp and wipe all without SD. Reboot recovery.
Enviado desde mi SM-G935F mediante Tapatalk
Click to expand...
Click to collapse
i dont have a sd card using dual sim , if i wipe will i loose all my data?
ProtoDeVNan0 said:
First out of all. You posted it in the exactly same place.
Second. Here is my answer from You other thread:
Does it say something like crypto footer or data invalid size or something like that? If it does then You have to format data, not wipe. Or else it won't work.
Click to expand...
Click to collapse
No says nothing , just internal memory 0 all folders subfolders are empty , but when I boot normally all files are there ( by formatting I'll loose all data?) What's the difference in wipe and format dont they both delete all data?
k****ij84 said:
No says nothing , just internal memory 0 all folders subfolders are empty , but when I boot normally all files are there ( by formatting I'll loose all data?) What's the difference in wipe and format dont they both delete all data?
Click to expand...
Click to collapse
Format will work. You will lose all your stuff so backup whats important. The difference is what you checkmark in wipe. You gotto lose all data for TWRP to work.
k****ij84 said:
No says nothing , just internal memory 0 all folders subfolders are empty , but when I boot normally all files are there ( by formatting I'll loose all data?) What's the difference in wipe and format dont they both delete all data?
Click to expand...
Click to collapse
Wiping data only wipes data partition.
Formating data removes every single file in internal storage and all files in data partition.
You have to format data in order to get twrp to work.
ProtoDeVNan0 said:
Wiping data only wipes data partition.
Formating data removes every single file in internal storage and all files in data partition.
You have to format data in order to get twrp to work.
Click to expand...
Click to collapse
So I can take a smart switch backup and the format and then restore right
Thank you sorted , basically formatting the phone was the only option.
Should I install Xposed modules through XDA labs ?
From Xposed I can download it but there is no install option
k****ij84 said:
Thank you sorted , basically formatting the phone was the only option.
Should I install Xposed modules through XDA labs ?
From Xposed I can download it but there is no install option
Click to expand...
Click to collapse
google xposed marshmallow touchwiz wanam......
k****ij84 said:
Thank you sorted , basically formatting the phone was the only option.
Should I install Xposed modules through XDA labs ?
From Xposed I can download it but there is no install option
Click to expand...
Click to collapse
XDA Labs is only for downloading modules. Check this out for xposed http://forum.xda-developers.com/ver...-to-notes-root-install-xposed-unroot-t3411039
kshitij84 said:
im using a s7 edge exynos , rooted it with cf auto root using odin and herolte2 , then added TWRP through odin (AP) , when i start TWRP it shows internal memory as 0 , (nothing is formatted , my phone has all its data im happy for that ) but i cant install xposed as it shows internal memory 0 so i cant find any of the zip files.
any help appreciated
have posted it elsewhere too dint know if its the right thread , sorry mods
Click to expand...
Click to collapse
https://forum.xda-developers.com/ga...nable-to-mount-storage-twrp-internal-t3857679

How to decrypt Resurrection Remix Nougat

I encrypted my OnePlus 2 running on Unofficial Resurrection Remix Latest build of 23rd July 2017. Ever since then I am not able to decrypt my device, the option in Settings-> Security-> Encryption is not clicking and just showing the status as Encrypted (SS attached).
Can someone guide me on how do I decrypt my device?
EDIT:
Got it decrypted.
Format data from Settings doesn't work. So here's what you can do.
Steps
1 - Backup your entire device (Apps+App Data+Internal Storage)
2 - Go to TWRP->Wipe->Format data->Yes (Type 'yes') & Done.
3 - Now reboot and then copy paste your internal storage.
The only way to decrypt is a full wipe
Lore96jr said:
The only way to decrypt is a full wipe
Click to expand...
Click to collapse
Wiping internal storage also?
Mehul.S said:
Wiping internal storage also?
Click to expand...
Click to collapse
Unfortunately, yes
You can backup anything to your pc, for apps use titanium
Lore96jr said:
Unfortunately, yes
You can backup anything to your pc, for apps use titanium
Click to expand...
Click to collapse
Yeah, I just got it decrypted. Updated the OP too on how-to. Thanks
Mehul.S said:
Yeah, I just got it decrypted. Updated the OP too on how-to. Thanks
Click to expand...
Click to collapse
You're welcome

[G950F] No /data partition in TWRP after flashing oreo update

Hi,
ive just followed the flashable oreo TWRP thread in here to test out Oreo.
My device is S8 G950F
link -> https://forum.xda-developers.com/ga...1-10-flashable-oreo-twrp-dump-beta-2-t3703083
After that TWRP didnt recognized my data partition anymore...:crying::crying:
So i installed latest TWRP in Odin again (had 3.1.1 before 3.2.0.0 after) - didnt helped.
Ive done a full restore with odin after i downloaded the firmware via samfirm, this is the exact firmware number ive used:
G950FOXM1AQJ5_CL12401979_QB15459675_REV00_user_low_ship
Still no success
I also tried flashing supersu (2.82) and dm-verifity (v.6.0).
Any ideas?
Is it just the partition table in twrp that needs to be updated or some stupid thing i forgot?
Regards
create one !!
popmpopm said:
create one !!
Click to expand...
Click to collapse
when you use wipe
choose data and use repair or change file system option
after resize file system and voila !!
popmpopm said:
when you use wipe
choose data and use repair or change file system option
after resize file system and voila !!
Click to expand...
Click to collapse
Yup already figured it out 5 mins after I created this. Shame over me
please help.
i have the same problem.
ive installed clean google edition orea (i had google edition nought 7 before).
everything works except /data/ mount in twrp.
the solution above didnt work, gave me errors.
do i need to format data?!
it will format all my current /data/ or also the internal storage?
thank you.
eliazu said:
please help.
i have the same problem.
ive installed clean google edition orea (i had google edition nought 7 before).
everything works except /data/ mount in twrp.
the solution above didnt work, gave me errors.
do i need to format data?!
it will format all my current /data/ or also the internal storage?
thank you.
Click to expand...
Click to collapse
Ok yeah it'll format whole internal storage.
You need to change the partition type of /data to f2fs and then change it back to ext4. Then two recognize /data again
Thargorsson said:
Ok yeah it'll format whole internal storage.
You need to change the partition type of /data to f2fs and then change it back to ext4. Then two recognize /data again
Click to expand...
Click to collapse
How do i format if twrp can't access /data?
eliazu said:
How do i format if twrp can't access /data?
Click to expand...
Click to collapse
It's not format.
Go to wipe, advanced wipe, repair or change partitions ,select data, select change partition type, select f2fs slide to continue.
Then do the same with data and change back to ext4.
eliazu said:
How do i format if twrp can't access /data?
Click to expand...
Click to collapse
its not magic you have all option in twrp wipe
I have done this and it works but as soon as i reboot and go back to twrp it doesnt recongize /data am i doing something wrong
after so many tests I discovered that twrp can read and write data only if you flash last supersu beta, magisk and supersu official both doesn't work:
https://forum.xda-developers.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133
Does the resize option or file system option wipe internal storage?

SD Card empty in TWRP

Hi, i've tried to install lineageos 15.1, it work great but now in TWRP the folder SD Card is empty, i dont know what to do.
Any suggestions ?
ImEraaz said:
Hi, i've tried to install lineageos 15.1, it work great but now in TWRP the folder SD Card is empty, i dont know what to do.
Any suggestions ?
Click to expand...
Click to collapse
Sounds like your internal storage is encrypted and you see cryptic named folders that are empty. You can check the "decrypt data"
strongst said:
Sounds like your internal storage is encrypted and you see cryptic named folders that are empty. You can check the "decrypt data"
Click to expand...
Click to collapse
Actualy i'm facing an other problem, I restore everything to stock, i unlock bootloader, flash twrp, i boot on twrp, just after without booting on the system. And immediately on the first boot i come back to the stock recovery.
It never happen before ..
On my first boot in twrp when i select storage, 'internal storage' is at 0Mb and in the log i got
Could not mount /data and unable to find crypto footer
Failed to mount /data (invalid argument)
Unable to mount storage ...
ImEraaz said:
Actualy i'm facing an other problem, I restore everything to stock, i unlock bootloader, flash twrp, i boot on twrp, just after without booting on the system. And immediately on the first boot i come back to the stock recovery.
It never happen before ..
On my first boot in twrp when i select storage, 'internal storage' is at 0Mb and in the log i got
Could not mount /data and unable to find crypto footer
Failed to mount /data (invalid argument)
Unable to mount storage ...
Click to expand...
Click to collapse
After flashing twrp you need to flash magisk or a custom kernel so the twrp won't be restored to stock recovery. Seems like you missed some steps on the instructions to root your device.
strongst said:
After flashing twrp you need to flash magisk or a custom kernel so the twrp won't be restored to stock recovery. Seems like you missed some steps on the instructions to root your device.
Click to expand...
Click to collapse
I feel so stupid, it was just the TWRP ...
The last on TWRP.me is not compatible, i took the last blu_spark and it work well
ImEraaz said:
I feel so stupid, it was just the TWRP ...
The last on TWRP.me is not compatible, i took the last blu_spark and it work well
Click to expand...
Click to collapse
Yeah, from the that site it won't work too...
strongst said:
Yeah, from the that site it won't work too...
Click to expand...
Click to collapse
Yes, thanks for the help.
BTW do you know how to install lineageos without being encrypted ?
People told me sideload but i don't know what's the difference
ImEraaz said:
Yes, thanks for the help.
BTW do you know how to install lineageos without being encrypted ?
People told me sideload but i don't know what's the difference
Click to expand...
Click to collapse
Have a look at here for instructions https://forum.xda-developers.com/oneplus-5/development/rom-lineageos-15-1-oreo-oneplus-5-t3727228
You need to format internal storage if it's encrypted.
strongst said:
Have a look at here for instructions https://forum.xda-developers.com/oneplus-5/development/rom-lineageos-15-1-oreo-oneplus-5-t3727228
You need to format internal storage if it's encrypted.
Click to expand...
Click to collapse
Yeah i try everything, i think i will wait for an new twrp that can decrypt it.
For now i will just remove the pin when i want to go into twrp
ImEraaz said:
Yeah i try everything, i think i will wait for an new twrp that can decrypt it.
For now i will just remove the pin when i want to go into twrp
Click to expand...
Click to collapse
You need to format the storage within twrp
strongst said:
You need to format the storage within twrp
Click to expand...
Click to collapse
Already done, nothing change
ImEraaz said:
Already done, nothing change
Click to expand...
Click to collapse
If you format internal storage it's nothing shown for sure, that's the purpose of format. After that you can install lineageos along with gapps from USB otg for example.
For DECRYPT data you should not format unless you backed up all to your pc!
strongst said:
If you format internal storage it's nothing shown for sure, that's the purpose of format. After that you can install lineageos along with gapps from USB otg for example.
For DECRYPT data you should not format unless you backed up all to your pc!
Click to expand...
Click to collapse
Ahah i know that if i format, my internal storage will be empty, i'm not that dumb ^^
But i tryied what you said and doesn't change ...
It's fine i don't go a lot in TWRP, i prefer magisk
Thanks dude
ImEraaz said:
Ahah i know that if i format, my internal storage will be empty, i'm not that dumb ^^
But i tryied what you said and doesn't change ...
It's fine i don't go a lot in TWRP, i prefer magisk
Thanks dude
Click to expand...
Click to collapse
What do you mean by "and doesn't change ..." exactly? Are you not able to install lineageos 15.1? I don't get you what's not working right now.
strongst said:
What do you mean by "and doesn't change ..." exactly? Are you not able to install lineageos 15.1? I don't get you what's not working right now.
Click to expand...
Click to collapse
It's working right now, just if i wan't to go in TWRP i need to disable the pins/password
ImEraaz said:
It's working right now, just if i wan't to go in TWRP i need to disable the pins/password
Click to expand...
Click to collapse
That's cause of encrypted internal storage imo. But why it's not working for you i don't know...
strongst said:
That's cause of encrypted internal storage imo. But why it's not working for you i don't know...
Click to expand...
Click to collapse
Yeap i didn't know too, i followed all the steps.
I started from oos 5.0.4 without any pins or password, i wiped -> factory reset and installed lineageos & GApps ...
At least i can see my sdcard folder right now ^^
Guys, I do the first steps with TWRP, but I see my SD Card empty when I go to install. I don't know what to do.
I have Samsung Galaxy TAB E (SM-T561) and twrp_2.8.7.0_sm-t561
I Don't know what to do... I am stuck.
strongst said:
Sounds like your internal storage is encrypted and you see cryptic named folders that are empty. You can check the "decrypt data"
Click to expand...
Click to collapse
Where is this option? I can't find it...
hermeswol said:
Where is this option? I can't find it...
Click to expand...
Click to collapse
Ok, I found the solution.
Format and change file system of the SD card inside the twrp, after that mount it in PC, restore the files, and it will be ok.

Encrypted storage while switching ROMs; what now?

So... Me being used to the older partition layout style on my Galaxy S5, I switched to a new ROM from MIUI (as I wanted to try how it feels like). In all of that. I forgot that I have to back everything up from my internal storage as it will be encrypted (who thought this was a good idea?). It's been 2 days now of me fighting with the phone, TWRP & OrangeFox yet to no avail. I supposedly am decrypting the /data partition as both recoveries accept the password I had set for my lockscreen, yet they still complain that they can't mount /data & that they're unable to mount storage. The issue is, that even though the recoveries are accepting the password, Android itself doesn't... No matter if I try my lockscreen password, my SIM card PIN or even default_password, none of them seem to work. I have an external sdcard in my phone, to which I do get access through MTP in TWRP/OrangeFox yet even after flashing stuff like Dm-Verity_ForceEncrypt etc. the internal storage is still being encrypted & I have no idea what to do. I found a command online that supposedly pulls the files from the internal storage & packs them into a nice .img file in EXT4 format, but when I do that, it seems to gather data for eternity (I have a 128GB phone, but come on, I only had like 35-40GB of data on it) where as for the person that I got the command from, it was just 6GB. When I try to open the .img file, it says that it's corrupted etc. & doesn't let me open it. I am now running out of options & have no idea what to do; I don't want to lose pictures from my phone, as I had some very important ones on there, that I just simply can't lose. Is there any help?
This is what I get in command prompt when I input my password through it:
D:\adb>adb shell twrp decrypt <mypasswordhere>
Attempting to decrypt data partition via command line.
Data successfully decrypted, new block device: '/dev/block/dm-0'
Updating partition details...
...done
Unable to mount storage
But as I said, /data & internal storage are still shown as empty
Sithhy™ said:
... Is there any help?...
Click to expand...
Click to collapse
What is wrong with booting up your ROM, connecting to your PC via MTP and copying the files across to your PC?
DarthJabba9 said:
What is wrong with booting up your ROM, connecting to your PC via MTP and copying the files across to your PC?
Click to expand...
Click to collapse
The wrong thing with this method is that I CAN NOT boot into Android to copy over files because it asks me for a password before the lockscreen shows up... When I try to put in my password, it doesn't accept any & gives me a warning that my data will be wiped after I fail to get the right password after a few tries
Welp, I used the command 'adb pull /dev/block/dm-0 ./decrypted-data.img' to pull everything from the phone, but at this phone I don't even know if the file will have anything in it or if it's just empty & I lost all my important pictures for ever... Now I just gotta find a way to mount that image under Linux (or Windows), altough that will be a pain as that's a partition image, not just a regular one :crying:
Sithhy™ said:
The wrong thing with this method is that I CAN NOT boot into Android to copy over files because it asks me for a password before the lockscreen shows up... When I try to put in my password, it doesn't accept any & gives me a warning that my data will be wiped after I fail to get the right password after a few tries
Click to expand...
Click to collapse
Simply upgrading MIUI should not result in anything like this. Millions of people do that, without any trouble. What exactly was the ROM that you had before, and what exactly is the ROM that you replaced it with?
DarthJabba9 said:
Simply upgrading MIUI should not result in anything like this. Millions of people do that, without any trouble. What exactly was the ROM that you had before, and what exactly is the ROM that you replaced it with?
Click to expand...
Click to collapse
I was on Xiaomi.eu's MIUI, wanted to flash Pixel Experience ( https://forum.xda-developers.com/redmi-note-7/development/rom-pixel-experience-t3930709 ) to try it out. After formatting cache, Dalvik, data & system I flashed PE. After it booted up after a few seconds, it showed me the screen to input my password & make emergency calls. I tried putting in 3 different passwords, yet none of them worked. Now, after 2 days of struggling & almost giving up on everything, I managed to pull the data from the internal storage (I hope the file has content in it), wiped everything from my phone & installed PE again...
You should flash again same rom (which you use before flashing new one)
Sithhy™ said:
... After formatting cache, Dalvik, data & system I flashed PE ....
Click to expand...
Click to collapse
If you did format data (instead of just wiping it), then your internal storage is already gone - formatting data also wipes the internal storage. So, did you format data or did you just wipe it?
BTW: if you formatted data, then it would be wholly unusual to be asked for a password to decrypt the phone.
Sithhy™ said:
I was on Xiaomi.eu's MIUI, wanted to flash Pixel Experience ( https://forum.xda-developers.com/redmi-note-7/development/rom-pixel-experience-t3930709 ) to try it out. After formatting cache, Dalvik, data & system I flashed PE. After it booted up after a few seconds, it showed me the screen to input my password & make emergency calls. I tried putting in 3 different passwords, yet none of them worked. Now, after 2 days of struggling & almost giving up on everything, I managed to pull the data from the internal storage (I hope the file has content in it), wiped everything from my phone & installed PE again...
Click to expand...
Click to collapse
From TWRP/Orange Fox
Format Data (type yes)
Reboot recovery
Do a full wipe then install your Rom/Gapps etc
Reboot System.
I know about this method, but it isn't of any help when you want to keep the content on your internal storage
Sithhy™ said:
I know about this method, but it isn't of any help when you want to keep the content on your internal storage
Click to expand...
Click to collapse
I think that unfortunately the only way is to format data. Remember to make always a backup before installling roms. Every time you make a clean flash there is the issue with the password request as a workaround I noticed that if I install magisk just after the rom without rebooting to system the password is not requested
darhma said:
I think that unfortunately the only way is to format data. Remember to make always a backup before installling roms. Every time you make a clean flash there is the issue with the password request as a workaround I noticed that if I install magisk just after the rom without rebooting to system the password is not requested
Click to expand...
Click to collapse
Thanks for the info. That workaround will definitely come in handy sometime in the future... If I'll remember it
Sithhy™ said:
I was on Xiaomi.eu's MIUI, wanted to flash Pixel Experience ( https://forum.xda-developers.com/redmi-note-7/development/rom-pixel-experience-t3930709 ) to try it out. After formatting cache, Dalvik, data & system I flashed PE. After it booted up after a few seconds, it showed me the screen to input my password & make emergency calls. I tried putting in 3 different passwords, yet none of them worked. Now, after 2 days of struggling & almost giving up on everything, I managed to pull the data from the internal storage (I hope the file has content in it), wiped everything from my phone & installed PE again...
Click to expand...
Click to collapse
I had the same problem with that password until i discovery this:
https://en.miui.com/thread-324522-1-1.html
zpower said:
I had the same problem with that password until i discovery this:
https://en.miui.com/thread-324522-1-1.html
Click to expand...
Click to collapse
Thanks for the post, but that thread wasn't of any help either, as Android wasn't accepting any password that I put in for some reason
Sithhy™ said:
Thanks for the post, but that thread wasn't of any help either, as Android wasn't accepting any password that I put in for some reason
Click to expand...
Click to collapse
But you understand the concept of using the numeric keypad to mark pattern unlock coordinates?

Categories

Resources