How to know if encrypted or not? - Nexus 6 Q&A, Help & Troubleshooting

I flashed a file that was supposed to disable encryption but it still shows as "encrypted" in Security settings. How can I tell if encryption is actually enabled or not?

If not encrypted you will have option "Encrypt phone" in security settings. After flashing kernel that does not enforce encryption you need to format userdata.

The Resurrection Remix ROM I'm using gave a zip to flash that was supposed to disable encryption but all I did after flashing the ROM, Gapps, and then that file was wipe the cache and then the dalvik cache. What is formatting the userdata?

enginuity2 said:
I flashed a file that was supposed to disable encryption but it still shows as "encrypted" in Security settings. How can I tell if encryption is actually enabled or not?
Click to expand...
Click to collapse
flashing a file wont decrypt you. you have to decrpt yourself after flashing that file or a kernel that allows decrypting. you have to format your user data/storage, this will delete everything in your storage. only then will you be decrypted after booting up.

enginuity2 said:
The Resurrection Remix ROM I'm using gave a zip to flash that was supposed to disable encryption but all I did after flashing the ROM, Gapps, and then that file was wipe the cache and then the dalvik cache. What is formatting the userdata?
Click to expand...
Click to collapse
Connect device to a PC and use command "fastboot format userdata". This will wipe all your private stuff so backup before proceeding.

Can I do that through my TWRP recovery?

enginuity2 said:
Can I do that through my TWRP recovery?
Click to expand...
Click to collapse
You can. It is in Wipe>Format Data section. You will have to type "yes" to confirm.

Is that all I need to do to decrypt now? Just wipe the user/data? Can I install a new kernel and not have to wipe everything?

enginuity2 said:
Is that all I need to do to decrypt now? Just wipe the user/data? Can I install a new kernel and not have to wipe everything?
Click to expand...
Click to collapse
not wipe. format. they are two differing things. and yes, as long as it allows decryption.

That worked surprisingly well. Since I've already lost all of my data, what can I wipe in order to do a full clean install of my rom? TWRP gives me the option to wipe Dalvik Cache, System, Data, Internal Storage, and Cache. Your help is greatly appreciated.

enginuity2 said:
That worked surprisingly well. Since I've already lost all of my data, what can I wipe in order to do a full clean install of my rom? TWRP gives me the option to wipe Dalvik Cache, System, Data, Internal Storage, and Cache. Your help is greatly appreciated.
Click to expand...
Click to collapse
to get a full real wipe.. you should wipe system and data, then reflash your rom. because when you wipe system, you wipe your rom off your phone.

enginuity2 said:
That worked surprisingly well. Since I've already lost all of my data, what can I wipe in order to do a full clean install of my rom? TWRP gives me the option to wipe Dalvik Cache, System, Data, Internal Storage, and Cache. Your help is greatly appreciated.
Click to expand...
Click to collapse
Before you do that make sure that you can connect your device to PC in bootloader mode and in recovery mode (TWRP). If you wipe everything you will cut the branch you are sitting on.

Witek_M, you beat me to it. Thank you.

Witek_M said:
Before you do that make sure that you can connect your device to PC in bootloader mode and in recovery mode (TWRP). If you wipe everything you will cut the branch you are sitting on.
Click to expand...
Click to collapse
to be safe, ok. thats a great idea for newer folk.
but ill be honest, there are a few differing ways to get a rom onto your device from twrp. but you should downliad the rom beforehand, it wont get deleted. anyways, now you can use adb to transfer files, two differing ways. and you can just simply transfer a rom to your phone using twrp, not adb, as well.

What commands do I need to use to push the rom onto the phone?

enginuity2 said:
What commands do I need to use to push the rom onto the phone?
Click to expand...
Click to collapse
if anything, i use adb push. but twrp has an option now to tranfer roms over to your phone as well, without using adb.

So if I put the rom's zip, gapps, etc on the phone's storage and wipe system, the rom zip file and twrp will still be usable on the phone after that?

enginuity2 said:
So if I put the rom's zip, gapps, etc on the phone's storage and wipe system, the rom zip file and twrp will still be usable on the phone after that?
Click to expand...
Click to collapse
yes. wiping system will get rid of the rom, wiping data will get rid of all your apps and data, but none of them will wipe your storage. thats in advanced wipe settings.

Related

[Q] How to wipe Data partition after it's been encrypted?

Hey guys,
My work switched to Google Apps for their email so i wanted to test it out on my phone. Doing so required them to encrypt my phone. What this appears to have done is encrypt the data partition. So now when i go into (TWRP) recovery and try to do a backup / wipe / or anything else, it says it is "Unable to mount /sdcard" I'm unable to do a factory reset of any kind so i'm essentially stuck on this rom (ARHD) until i can figure out how to wipe data and get the /sdcard to be not encrypted. Does anyone have any ideas? I'm imagining that with the modified recovery not being able to access the data partition that i'm going to have to do some adb type stuff?
Please help! I want to keep flashing new roms!
Anyone??
I think you can't decrypt your data partition...
Did you try to wipe your data partition with the latest TWRP?
Guich said:
I think you can't decrypt your data partition...
Did you try to wipe your data partition with the latest TWRP?
Click to expand...
Click to collapse
That's the thing, the recovery can't mount /sdcard so wiping isn't an option from recovery
jrun said:
That's the thing, the recovery can't mount /sdcard so wiping isn't an option from recovery
Click to expand...
Click to collapse
Hi! Only TWRP recovery can solve your issue just do this...
Boot to TWRP recovery->Wipe
From there there are 2 options the left is the advance wipe and on the right is Format Data
Just select the format data button and it should reformat the whole data partition.
1st one would prompt so many errors and reformat then reformat it again 1 time and it should fully reformat your phone.
In theory it should reformat data partition even when encrypted but just in case it fails and I won't be able to go back to this thread just boot in bootloader and type
"fastboot erase userdata"
Well none of that works. TWRP doesn't support decryption yet for this device.
sevenalive said:
Well none of that works. TWRP doesn't support decryption yet for this device.
Click to expand...
Click to collapse
What I instructed basically doesn't decrypt the partition. It reformats it.
Riyal said:
What I instructed basically doesn't decrypt the partition. It reformats it.
Click to expand...
Click to collapse
I know what you instructed, it doesn't work. Only way I got it to work. Flash the stock recovery. Boot into system. Take off the encryption, phone reboots and removes the encryption, data is formatted. Then flash TWRP again.
I basically ran into this exact problem. I was hoping that I'd still be able to back up the encrypted device, but forget about it. What a pain in the ass.
Someone should make add something to the guides about how encrypting your device makes nandroid backups impossible.

[Q]Wiped clean to install rom, now can't access sdcard

Hello.
first I want to apologize for my, sometimes, bad English!
Second, i want to apologize for my novice touch in this topic!
The story:
I've been using SweetRom for a while, but tonight i wanted to try another rom.
I loaded up SuperBean(not really relevant to this story) on a microSD.
Rebooted my phone into recovery
Philz Touch 5
I choose "Wipe Data/Factory Reset" and then "Clean to install a new rom"
Then i tried to "install zip"
"Choose zip from sdcard"
But then i get: E:Can't Mount /sdcard/
I've tried to format the sdcard, exfat, fat, fat32, ntsf but nothing worked, still the same error.
I can access the internal storage and i can boot into download.
I thought that maybe i'll try to install the newest Philz but when in download mode
my computer wont recognize my phone (i'm using Windows 8)
i'm stuck! please help me out!
I've searched everywhere for answers but i can't find any!
What are my options?
Boot into Philz recovery again and go to mounts and storage and mount USB. Then connect it to pc. Check if the any drive shows up. Then move the new rom to the internal storage.
Sent from my GT-I9500 using xda premium
nokiamodeln91 said:
Boot into Philz recovery again and go to mounts and storage and mount USB. Then connect it to pc. Check if the any drive shows up. Then move the new rom to the internal storage.
Sent from my GT-I9500 using xda premium
Click to expand...
Click to collapse
Thank you so much!
It took a while for my computer to find my phone, but it worked!
Cool. There's another way to express thanks.
There's is a thanks button and press it for the guy who helped you.
Sent from my GT-N7000 using xda premium
nokiamodeln91 said:
Boot into Philz recovery again and go to mounts and storage and mount USB. Then connect it to pc. Check if the any drive shows up. Then move the new rom to the internal storage.
Sent from my GT-I9500 using xda premium
Click to expand...
Click to collapse
what DOES the "clean to install a new rom" option do anyway?
explorer-10 said:
what DOES the "clean to install a new rom" option do anyway?
Click to expand...
Click to collapse
It does a full wipe. Basically it formats: cache, /system, /preload, /data
XxPixX said:
It does a full wipe. Basically it formats: cache, /system, /preload, /data
Click to expand...
Click to collapse
is /preload equivalent to /dalvik-cache? but then what's the point of format /data/factory restore if "clean to install new rom" is present?
No. It's different. Preload is a separate partition and dalvik-cache is in data partition.
The option you mentioned only exists in Philz recovery not in standard cwms
explorer-10 said:
what DOES the "clean to install a new rom" option do anyway?
Click to expand...
Click to collapse
XxPixX said:
It does a full wipe. Basically it formats: cache, /system, /preload, /data
Click to expand...
Click to collapse
explorer-10 said:
is /preload equivalent to /dalvik-cache? but then what's the point of format /data/factory restore if "clean to install new rom" is present?
Click to expand...
Click to collapse
nokiamodeln91 said:
No. It's different. Preload is a separate partition and dalvik-cache is in data partition.
The option you mentioned only exists in Philz recovery not in standard cwms
Click to expand...
Click to collapse
So, to be clear, is it necessary or advisable to do any of 'Wipe Data/Factory Reset', 'Wipe Cache Partition' and 'Wipe Dalvik Cache'? Or is 'Clean to Install a New ROM' merely an amalgam of the above (plus added formats?)?
Thanks
It's usually not necessary but it is ALWAYS advised to format /data /preload /system and cache before flashing a new ROM. If you don't do those wipes then you can sometimes end in a bootloop, random force closes, battery and performance issues et cetera. Basically if yoou want to flash a new ROM (unless it is an update to your current ROM) then always do a full wipe,
If you are just updating your ROM (ex. updating one nightly to another) then you just have to flash the ROM in recovery and wipe cache, dalvik cache (in advanced)
.
XxPixX said:
It's usually not necessary but it is ALWAYS advised to format /data /preload /system and cache before flashing a new ROM. If you don't do those wipes then you can sometimes end in a bootloop, random force closes, battery and performance issues et cetera. Basically if yoou want to flash a new ROM (unless it is an update to your current ROM) then always do a full wipe,
If you are just updating your ROM (ex. updating one nightly to another) then you just have to flash the ROM in recovery and wipe cache, dalvik cache (in advanced)
.
Click to expand...
Click to collapse
Thanks very much for that - much appreciated.
I've read elsewhere that many seem to recommend wiping cache and dalvik after they've flashed a ROM? Is this something you'd advise and, if so, why (or not!)?
Many thanks
largeruk said:
Thanks very much for that - much appreciated.
I've read elsewhere that many seem to recommend wiping cache and dalvik after they've flashed a ROM? Is this something you'd advise and, if so, why (or not!)?
Many thanks
Click to expand...
Click to collapse
If you're updating then yes, it's enough that you flash the ROM and then wipe cache and dalvik cache.
If you're reflashing from start then you should first do a full wipe, flash the ROM, gapps, su and that is all. No need to wipe the cache or dalvik cache again
XxPixX said:
If you're updating then yes, it's enough that you flash the ROM and then wipe cache and dalvik cache.
If you're reflashing from start then you should first do a full wipe, flash the ROM, gapps, su and that is all. No need to wipe the cache or dalvik cache again
Click to expand...
Click to collapse
Ah right. So if you're flashing a new ROM - then clean install is all that's necessary. If upgrading to a newer version of existing ROM, then it's better to wipe cache and dalvik post-install? Why? What does it do and how does it help?
Cheers
reset before installing zip, now no super su ... cannot mount usb
Hi,
The title says it all. I have been reading and searching. Many similar stories. I apologise if this is in the wrong place but this is very similar to my problem.
I have a galaxy i9505 trying to install a DjeMBeY ROM from TWRP.
I factory reset and wiped cache's BEFORE I flashed the .zip file so then had no .zip file to flash!
Also have erased my system backup and the USB WILL NOT SEEM TO MOUNT to copy it back onto the card.
I have read and read I am very struck.
I am not familiar with all the processes yet. Please help.
i recommend going to here
Similar prob
nokiamodeln91 said:
Boot into Philz recovery again and go to mounts and storage and mount USB. Then connect it to pc. Check if the any drive shows up. Then move the new rom to the internal storage.
Sent from my GT-I9500 using xda premium
Click to expand...
Click to collapse
Hi, thanks for the advised. i have a similar prob. I dont have a sd card (external) and i just had installed xtrestolite 2.1 in my exynos S5 smg900h but google play services kept crashing so i decided to wipe clean to install new rom instead of just regular wipe data. i wanted to flash again xtrestolite but i did not know that the rom i had inthe internal memory of the phone was gonna be erased as well (i know iknow dumb me ) so now i cant get pass recovery, i dont know if download mode will work as i did not activate usb debug after i installed xtrestolite. if a go to mount usb nothing happens............. i dont know what to do ..
luislaperika said:
Hi, thanks for the advised. i have a similar prob. I dont have a sd card (external) and i just had installed xtrestolite 2.1 in my exynos S5 smg900h but google play services kept crashing so i decided to wipe clean to install new rom instead of just regular wipe data. i wanted to flash again xtrestolite but i did not know that the rom i had inthe internal memory of the phone was gonna be erased as well (i know iknow dumb me ) so now i cant get pass recovery, i dont know if download mode will work as i did not activate usb debug after i installed xtrestolite. if a go to mount usb nothing happens............. i dont know what to do ..
Click to expand...
Click to collapse
You can go with the download mode and install a stock ROM or use the 'adb sideload " feature of cwm recovery to install the zip of your ROM if you have it saved on your PC.
nokiamodeln91 said:
You can go with the download mode and install a stock ROM or use the 'adb sideload " feature of cwm recovery to install the zip of your ROM if you have it saved on your PC.
Click to expand...
Click to collapse
Thanks! i went with download mode, then installed a stock rom, i had to root again and flash philz touch and install xtrestolite and now everything is ok!

[Q] encryption unsuccessful?

So, I figured I'd set up the scenario first in hopes to help make this understood:
1. Got the device
2. Booted/Updated to 5.0
3. Rooted using CF Autoroot
4. Remained on Stock 5.0 + Root (Stock bootloader/recovery)
- 1st "OFFICIAL" ROM came out so like the gentle flash'aholic I am, I rushed and downloaded [ROM][Unofficial][5.0.2][alpha/wip] Resurrection Remix v5.2.6[victara]
1. I installed TWRP via the Google Play App, (I think i was on 2.8.3.0)
2. Rebooted into TWRP, and did a FULL BACKUP (saved locally)
3. Formatted Davlik, System, Data, Internal Storage, Cache
4. Rebooted into TWRP, pushed the ROM files ([ROM][Unofficial][5.0.2][alpha/wip] Resurrection Remix v5.2.6[victara])
5. Flashed the ROM, GAPPS, SuperSU, Rebooted.
After about a minute of booting into the new ROM (new red loading animation) I started to get "encryption unsuccessful", and the only option was to factory reset phone, after which nothing happened, my guess was because of the custom recovery.
What was my error, and how do I prevent this from happening again?
My thinking is that wiping the Cache/System/Data/Internal/Davlik partitions somehow messed up some function someplace?
To fix it I took steps in this thread (http://forum.xda-developers.com/moto-x-2014/help/lollipop-update-failing-how-troubleshoot-t2961633) - thanks @randyklein
-Download "Official 4.4.4 Full Restore Images" from http://www.graffixnyc.com/motox.php# and extract. Move recovery.img, boot.img, and system.img into adb folder
-Boot into fastboot, plug in USB
-Using mfastboot v2, run the following commands:
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash system system.img
How do I avoid this in the future if I decide to try a custom ROM/Recovery again?
Same problem...
Format data in twrp to fix encryption error
CWick4141 said:
Format data in twrp to fix encryption error
Click to expand...
Click to collapse
will i lose my twrp backup ?
marquesini said:
will i lose my twrp backup ?
Click to expand...
Click to collapse
Data partition just stores your apps (if not pre-loaded into system partition via ROM), and any data associated with them, so it leaves the Internal SD Card partition alone.
What concerns me is that I already wiped data, and I think I formatted the data partition as well, and still had the issue.
I'll have to try again soon.
I did a full wipe and then formated the data, then installed the ROM,gaaps,and supersu beta.
Got it working with root.
Shemploo said:
Data partition just stores your apps (if not pre-loaded into system partition via ROM), and any data associated with them, so it leaves the Internal SD Card partition alone.
What concerns me is that I already wiped data, and I think I formatted the data partition as well, and still had the issue.
I'll have to try again soon.
Click to expand...
Click to collapse
Formatting data in twrp is not the same as wiping data
CWick4141 said:
Formatting data in twrp is not the same as wiping data
Click to expand...
Click to collapse
True, that is why I said in above post that I think I formatted it as well, but being as I'm not certain I'll have to do it again to be sure.
Shemploo said:
True, that is why I said in above post that I think I formatted it as well, but being as I'm not certain I'll have to do it again to be sure.
Click to expand...
Click to collapse
You would know if you formatted data since it erases everything including internal storage
CWick4141 said:
You would know if you formatted data since it erases everything including internal storage
Click to expand...
Click to collapse
Alright, I booted TWRP, and clicked "Data" then "Repair/Change File System" it's currently showing f2fs, my format options are EXT2, EXT3, EXT4, FAT.
I think I want EXT4 right?
UPDATE: I tried EXT4 as every partition seems to use it, and from past experience, and It's working!.
Thank you for nudging me in the right direction.
edit: wrong thread

Clean flash 7.1.1 but no sdcard wipe

I need new/fresh/clean install of 7.1.1 but I cant wipe sdcard. Something like factory reset but no wipe of sdcard. Is it possible? Aroma installer has offered such option - clean or dirt flash, but now I had only 711 factory image.
Any idea?
------ EDIT ------
maybe TWRP wipe data, cache and dalvik but not internal storage is a key?
belek1979 said:
I need new/fresh/clean install of 7.1.1 but I cant wipe sdcard. Something like factory reset but no wipe of sdcard. Is it possible? Aroma installer has offered such option - clean or dirt flash, but now I had only 711 factory image.
Any idea?
------ EDIT ------
maybe TWRP wipe data, cache and dalvik but not internal storage is a key?
Click to expand...
Click to collapse
Yes.. That's the key. "SD Card" is your internal storage. Don't wipe that.
kwdan said:
Yes.. That's the key. "SD Card" is your internal storage. Don't wipe that.
Click to expand...
Click to collapse
Building on your answer, if I want to really start fresh with Android 7.1.1 does it hurt anything to wipe internal storage?
Follow the instructions here: https://forum.xda-developers.com/showpost.php?p=70516840&postcount=2
You wouldn't need to flash the "radio" partition if you are just cleaning up an existing 7.1.1 install. This will give you a clean system, but maintain your /sdcard data.

How to decrypt storage

How to remove decryption in storage? I tried Andy Yans script but it doesn't work for me. It stays on the Android splash page but doesn't boot into system. I installed the script after I wiped data.
I would like to try custom kernals.
hanzzi said:
How to remove decryption in storage? I tried Andy Yans script but it doesn't work for me. It stays on the Android splash page but doesn't boot into system. I installed the script after I wiped data.
I would like to try custom kernals.
Click to expand...
Click to collapse
Format data, the one where u need to type yes(you lose all internal)
disable force encryption is used before first boot of a new vendor firmware to prevent encryption, it wont decrypt.
Mooatreides said:
Format data, the one where u need to type yes(you lose all internal)
disable force encryption is used before first boot of a new vendor firmware to prevent encryption, it wont decrypt.
Click to expand...
Click to collapse
Thanks for the reply but I'm still a little unsure. I can't seem to find format data where you have to type yes. In Twrp I go to advance wipe and just select data and I have to slide the bar to the right. Then I install the script. Is this wrong?
hanzzi said:
Thanks for the reply but I'm still a little unsure. I can't seem to find format data where you have to type yes. In Twrp I go to advance wipe and just select data and I have to slide the bar to the right. Then I install the script. Is this wrong?
Click to expand...
Click to collapse
Yeah it says advanced wipe, and format data, tap format data and type yes.

Categories

Resources