Forced Encryption Question. - Nexus 6 Q&A, Help & Troubleshooting

OK so I flashed CM12 and it encrypted my device again. I attempted to flash Pure Shamu and realized It would not run once it asked for a password during the boot process because encryption was active. Here's the main question If I install a ROM that requires encryption to be off Like Pure Shamu, could I format my data partition after flashing the ROM so it could boot properly??
Any help would be greatly appreciated!
Sent from my Nexus 6 using XDA Free mobile app

You can unencrypted by wiping data (and storage) if your ROM / kernel doesn't enforce encryption. This will mean losing all your /decade data though

wiping data/storage won't unencrypt if you are using an unecrypted kernel. formatting data will do it though.

simms22 said:
wiping data/storage won't unencrypt if you are using an unecrypted kernel. formatting data will do it though.
Click to expand...
Click to collapse
Agreed, by default in TWRP formats when wiping. But if you have set the "use RM -Rf instead of format" option, you'll need to unset it or use the format options.

Yea basically, I'm going to install a ROM that uses a unencrypted kernel, then format my user data before I boot the ROM, should do the trick right ? I'm also using TWRP recovery. Ive been flashing ROMS since my gnex, but this encryption stuff has made it a pain .
Sent from my Nexus 6 using XDA Free mobile app

I haven't set anything other than what is set by default in TWRP. So I it should properly format the partition and allow a ROM with a unencrypted kernel to boot up right?
Sent from my Nexus 6 using XDA Free mobile app

djsins1 said:
Yea basically, I'm going to install a ROM that uses a unencrypted kernel, then format my user data before I boot the ROM, should do the trick right ? I'm also using TWRP recovery. Ive been flashing ROMS since my gnex, but this encryption stuff has made it a pain .
Sent from my Nexus 6 using XDA Free mobile app
Click to expand...
Click to collapse
flash the rom/kernel/gapps/su first. because after formatting your data, you will lose all your storage.

Yes for sure, My process would be to wipe factory reset, install unencrypted Kernel/ROM, install gapps, install SU then format user data, then boot ROM . one last question, when should I be unmounting the storage ?
Sent from my Nexus 6 using XDA Free mobile app

Just leave it encrypted, you won't notice the difference
Sent from my Nexus 6 using XDA Free mobile app

As I mentioned above I was previously unencrypted and I can tell a major difference. This may be a matter of opinion, but I prefer to be unencrypted.
Sent from my Nexus 6 using XDA Free mobile app

akellar said:
Just leave it encrypted, you won't notice the difference
Sent from my Nexus 6 using XDA Free mobile app
Click to expand...
Click to collapse
im still encrypted. and in performance, it makes 0 difference. i might even have the fastest n6

Another thought just crossed my mind, when I format my storage will this remove TWRP ?
Sent from my Nexus 6 using XDA Free mobile app

djsins1 said:
Another thought just crossed my mind, when I format my storage will this remove TWRP ?
Sent from my Nexus 6 using XDA Free mobile app
Click to expand...
Click to collapse
nope. your storage and twrp reside in differing partitions

akellar said:
Just leave it encrypted, you won't notice the difference
Sent from my Nexus 6 using XDA Free mobile app
Click to expand...
Click to collapse
This is exactly my experience. I observe no difference in battery or performance either way.

Related

[Q] Used Nexus One - fresh start

Hi,
I have purchased a used Nexus One running stock 2.3.3 (with locked bootloader) and I am wondering how I am going to wipe it as if it were a brand new install (no residual settings, apps, accounts etc)?
I have done a bit of research and found that the recovery allows you to wipe data, is this what I would do?
Thanks,
menu/settings/privacy/factory data reset
superg81 said:
menu/settings/privacy/factory data reset
Click to expand...
Click to collapse
Okay I'll try that. Thanks! How does this compare to the recovery 'wipe'?
if you're not rooted then this is your only option.it works well. to do a recovery wipe then you will need root and a custom recovery installed.
I thought it was the same thing? You can wipe in stock recovery...can't you?
Sent from my SGH-T959 using XDA Premium App
Yes, you can
Sent from my Nexus One using XDA Premium App

Just rooted .... now what?

Ive just rooted my galaxy s with cf root. If for some reason i wanted to unroot and go back to what i had before i rooted which was stock 2.3.3 JVO, how would i do it? In the about phone section of the settings nothing has changed. The firmware version is still the same and mentions nothing about cf root. Is this normal?
I now want to start using custom roms which will speed up my phone. What do you reccomen?
Check the kernel version. That would have changed. I'm not sure of unrooting. To my knowledge, you'd probably just have to flash a fresh firmware using ODIN. As far as custom ROMs go, I just posted: http://forum.xda-developers.com/showpost.php?p=14520580&postcount=15
The kernel version hasn't changed.
Sent from my GT-I9000 using XDA App
I'm not sure, but I never came across a way to unroot... If I want to remove the root I just flash a stock rom and wipe everything (Usually when I need to send my phone to my carrier )
If I flash a vision custom rom, will I lose all data such as apps I.have installed? Basically, would it be like a factory reset?
Sent from my GT-I9000 using XDA App
seeraj15 said:
If I flash a vision custom rom, will I lose all data such as apps I.have installed? Basically, would it be like a factory reset?
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
Vision custom ROM?
Sorry about that i have no idea why i put 'vision'.
Well then it would depend on the specific custom ROM. Some wipe data, some don't and that is usually specified. Either way, if you're moving onto a custom ROM, it is still highly advised you backup your data, do a factory reset and then restore it.
seeraj15 said:
Sorry about that i have no idea why i put 'vision'.
Click to expand...
Click to collapse
Using swype? Maybe you meant version.happens to me all the tims
Sent from my GT-I9000 using XDA App
Yes i am using swype I have heard that ext4 is faster than rfs. How do i get ext4?
seeraj15 said:
Yes i am using swype I have heard that ext4 is faster than rfs. How do i get ext4?
Click to expand...
Click to collapse
Using a lagfix kernel.
If I flash GingerReal will I lose photos and music that are on the internal sd card? when I did a factory reset I never lost them.
Sent from my GT-I9000 using XDA App
seeraj15 said:
If I flash GingerReal will I lose photos and music that are on the internal sd card? when I did a factory reset I never lost them.
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
Nope
Sent from my GT-I9000 using XDA Premium App
On the guide it says I have to wipe data/factory reset and wipe cache partition. Are you sure that I won't lose my photos?
Sent from my GT-I9000 using XDA App
seeraj15 said:
On the guide it says I have to wipe data/factory reset and wipe cache partition. Are you sure that I won't lose my photos?
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
Factory reset only wipes app data. So you lose all apps and settings, not the data on your sdcard, like photos, music, etc.

[Q] Decryption

Is it possible to decrypt using the stock ROM, or at least get TWRP to be able to backup the encrypted phone?
Thanks
Umm, I think you mean deodex or odex.
And yes but you need an unlocked bootloader or root to install TWRP.
Sent from my iPad using Tapatalk
Rhiannon224 said:
Umm, I think you mean deodex or odex.
And yes but you need an unlocked bootloader or root to install TWRP.
Sent from my iPad using Tapatalk
Click to expand...
Click to collapse
No I encrypted the phone from Settings > Security> Encrypt Phone. I know on the Nexus 4 there was an option to decrypt afterwards. I also knew that TWRP could mount the encrypted partition on the N4. I have Verizon now though so no Nexus for me. It looks like the Moto X is only able to be decrypted via factory reset. I was wondering if there was another unofficial method to decrypt such as a command line command.
Thanks
You didn't state this in your OP.
Sent from my XT1053 using XDA Premium 4 mobile app
Rhiannon224 said:
You didn't state this in your OP.
Sent from my XT1053 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Sorry. I thought asking to decrypt was clear enough. (My bad) Anyway is there a way to get TWRP reading the encrypted partition? I want to have encryption for security reasons, but still be able to create TWRP backups in case I break something.
Thanks
PS: Decryption works fine too since then I can TWRP backup and re-encrypt.
How did you get TWRP to work with encryption on your MotoX?
nitrobass24 said:
How did you get TWRP to work with encryption on your MotoX?
Click to expand...
Click to collapse
TWRP sadly does not work with the encryption. I had to reinstall the stock recovery, encrypt, then install TWRP again if you want. You can't flash or make nandroid backups but at least the phone is encrypted.

Boot animation moto x Dev edition.

Is it possible to change the boot animation on a non rooted moto x Dev edition in system/media?
yankeesfan714 said:
Is it possible to change the boot animation on a non rooted moto x Dev edition in system/media?
Click to expand...
Click to collapse
Have you checked this out?
http://forum.xda-developers.com/showthread.php?p=51540693
Sent from my XT1060 using Tapatalk 2
I read all 6 pages but I'm not sure what you wanted me to see.
Sent from my XT1053 using XDA Premium 4 mobile app
Yes, unlock the bootloader and root.
yankeesfan714 said:
I read all 6 pages but I'm not sure what you wanted me to see.
Sent from my XT1053 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
My apologies, just realized you wrote NON rooted. Only way is to root, that I know of. You have the Dev Edition... you're good!
Sent from my XT1060 using Tapatalk 2
yankeesfan714 said:
Is it possible to change the boot animation on a non rooted moto x Dev edition in system/media?
Click to expand...
Click to collapse
Without rooting, you can't modify /system or things under it.
If you have the Dev Edition, you can unlock your bootloader, without voiding the warranty, by requesting the code from Moto and easily root.
I have major battery issues that I was trying to figure out but I guess I will root and flash a custom rom. Where do you put the ROM since there is no external SD? Sorry. First time with a phone with no SD card
Sent from my XT1053 using XDA Premium 4 mobile app
yankeesfan714 said:
I have major battery issues that I was trying to figure out but I guess I will root and flash a custom rom. Where do you put the ROM since there is no external SD? Sorry. First time with a phone with no SD card
Click to expand...
Click to collapse
It's a strange feeling, isn't it?
Nonetheless, you can navigate to any arbitrary location on your built-in storage from within TWRP. I think I dumped it into whatever directory popped up when I connected to my PC as I was copying files over.
don_xvi said:
It's a strange feeling, isn't it?
Nonetheless, you can navigate to any arbitrary location on your built-in storage from within TWRP. I think I dumped it into whatever directory popped up when I connected to my PC as I was copying files over.
Click to expand...
Click to collapse
So upon a wipe in twrp before flashing a ROM this data will not be wiped?
Sent from my XT1053 using XDA Premium 4 mobile app
yankeesfan714 said:
So upon a wipe in twrp before flashing a ROM this data will not be wiped?
Sent from my XT1053 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I installed Eclipse. Don't wipe any sections you don't need to (I did and got into trouble). Wipe Data and do a factory reset. I chose to wipe more and had to adb the .zip down again.
I believe that means the data you have stored on the simulated sdcard directory doesn't get wiped with a wipe of "data".
That was my question. Stuff in the 0 folder won't be affected by a wipe
Sent from my XT1053 using XDA Premium 4 mobile app
yankeesfan714 said:
That was my question. Stuff in the 0 folder won't be affected by a wipe
Sent from my XT1053 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I don't have my phone in front of me right now, but whatever the default wipe is in TWRP (I can't remember if they call 'factory reset' or just 'wipe data') will leave the 0 folder untouched, yes.
Doing a format of /data is what you definitely never want to do as that will wipe your 'internal storage' (i.e. 0 folder)
piccit said:
I don't have my phone in front of me right now, but whatever the default wipe is in TWRP (I can't remember if they call 'factory reset' or just 'wipe data') will leave the 0 folder untouched, yes.
Doing a format of /data is what you definitely never want to do as that will wipe your 'internal storage' (i.e. 0 folder)
Click to expand...
Click to collapse
Thank you.
Sent from my XT1053 using XDA Premium 4 mobile app
Installing a custom ROM will do nothing if you install the same apps. There are plenty of apps and methods to determine the cause of your battery issues.
What have you done so far in and attempt to diagnose the cause?

Ugh ok...

So I got tired of low memory so I backed up my stock slot and wiped then installed alliance rom on stock slot and now my backups are gone in twrp bit in root browser they're still under twrp backups any idea how to make them show up in recovery?
Sent from my SAMSUNG-SM-N900A using XDA Premium 4 mobile app
gtshiftin6 said:
So I got tired of low memory so I backed up my stock slot and wiped then installed alliance rom on stock slot and now my backups are gone in twrp bit in root browser they're still under twrp backups any idea how to make them show up in recovery?
Sent from my SAMSUNG-SM-N900A using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Do you have an external sd?
No
Sent from my SAMSUNG-SM-N900A using XDA Premium 4 mobile app
gtshiftin6 said:
No
Sent from my SAMSUNG-SM-N900A using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I would've suggested trying to copy the backup you see in root browser to the external sd, you mentioned you installed to stock slot and wiped and every now and then ss does that, sometimes it erases your internal sd and maybe what you see in root browser are the "corpse" of the backup you made. Try to get an ex sd will save you a lot of headache in the future.

Categories

Resources