How do I decrypt again? - Nexus 5X Q&A, Help & Troubleshooting

I'm on latest build of purenexus and my phone is encrypted. I would like the performance gains of a decrypted phone again
Sent from my Nexus 5X using Tapatalk

stackz07 said:
I'm on latest build of purenexus and my phone is encrypted. I would like the performance gains of a decrypted phone again
Click to expand...
Click to collapse
I'm not sure, but I think you need to flash a ROM unencrypted or somethink like that, and format internal sorage

stackz07 said:
I'm on latest build of purenexus and my phone is encrypted. I would like the performance gains of a decrypted phone again
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
I'd say use the method you used for decrypting previously?
Use the "search", I think it's strong in this one. :angel:
Seriously try Heisenberg's guide to start with.

stackz07 said:
I'm on latest build of purenexus and my phone is encrypted. I would like the performance gains of a decrypted phone again
Click to expand...
Click to collapse
Try flash factory image from Google and follow the steps that gives. But after flash, don't lock the bootloader if you want to install custom recovery and root again... Days before I had the same but when I flashed a custom kernel on Lineages my device goes encrypted. But I followed the steps that have Google , I lose my data... Before flashing do a backup of Important things( photos, music, videos etc...) And then. ...

Related

[Q]Nexus 6 PA and encryption

I was unencrypted on my previous stock ROM. I then flashed PA, I noticed that it has encrypted my device again which is no problem as I can unencrypt. So my question is this, If I stay unencrypted, will future OTA updates from PA always encrypt me ?
Encryption on nexus 6 is enabled by default. Yes you will probably be forced encrypted
#stayparanoid
Thanks for your reply, I understand that flashing the ROM will always encrypt my device even after unencryption, such a shame. It would be a pain to always unencrypt, ah well. It's worth all the goodies that PA features.
I hear you can flash a kernel at the same time that turns off the encryption
#stayparanoid
Pirateghost said:
I hear you can flash a kernel at the same time that turns off the encryption
#stayparanoid
Click to expand...
Click to collapse
this is true, i flashed franco and did not get encrypted.
m1r4j91 said:
I was unencrypted on my previous stock ROM. I then flashed PA, I noticed that it has encrypted my device again which is no problem as I can unencrypt. So my question is this, If I stay unencrypted, will future OTA updates from PA always encrypt me ?
Click to expand...
Click to collapse
Pirateghost said:
I hear you can flash a kernel at the same time that turns off the encryption
#stayparanoid
Click to expand...
Click to collapse
I am wondering if this method would work. It appears to work on CM. I will be flashing PA shortly and like yourself I am presently unencrypted on stock.
http://forum.xda-developers.com/showthread.php?t=3000788
Pirateghost said:
I hear you can flash a kernel at the same time that turns off the encryption
#stayparanoid
Click to expand...
Click to collapse
I can confirm that I unencrypted again, wiped all userdata, re-flashed rom/gapps and flashed franco (straight after in recovery, I didn't boot after flashing rom). This method kept my phone unencrypted. Thanks for your help !
This really bums me out. I just flashed PA and was not aware that it was going to Encrypt me. Its got about 10 minutes to go on the encryption. Wish I would have seen this thread first. Thank you for the Kernel tip. I plan on formatting and re-flashing.

Why disable encryption?

I have seen several posts referring to disabling encryption but not a reason why I should. I am rooted, running 6.0.1, and I skipped the decryption step during the root. My phone says it is encrypted. I haven't noticed any lag but I have only had my phone for 1.5 weeks. One would "assume" that having it encrypted would be better. So why would I want to disable it? Is there a cumulative effect that I don't know about?
Thank you.
If you don't want to and you want to leave it encrypted go for it. An encrypted fs will have slower read/write speeds, and some people aren't worried about having their phone encrypted. You can always re encrypt in security settings just now you wont be forced to have it on.
For my personal device i never use encryption, without it devices are notably faster for me.
67p912 said:
I have seen several posts referring to disabling encryption but not a reason why I should. I am rooted, running 6.0.1, and I skipped the decryption step during the root. My phone says it is encrypted. I haven't noticed any lag but I have only had my phone for 1.5 weeks. One would "assume" that having it encrypted would be better. So why would I want to disable it? Is there a cumulative effect that I don't know about?
Thank you.
Click to expand...
Click to collapse
It's more convenient for flashing ROMs if it's decrypted. Because TWRP recovery can't see an encrypted partition, you can't download a ROM to your phone's storage and then flash it in recovery. It would be nice if we could have two data partitions, an encrypted one and an unencrypted one.
Jacquestrapp said:
It's more convenient for flashing ROMs if it's decrypted. Because TWRP recovery can't see an encrypted partition, you can't download a ROM to your phone's storage and then flash it in recovery. It would be nice if we could have two data partitions, an encrypted one and an unencrypted one.
Click to expand...
Click to collapse
TWRP has be able to 'see' encrypted storage for a while now.
Sent from my Nexus 5X using Tapatalk
PiousInquisitor said:
TWRP has be able to 'see' encrypted storage for a while now.
Click to expand...
Click to collapse
Is there some kind of trick to that, or some setting in TWRP that needs to be enabled? It didn't work for me the first time I tried it.
Jacquestrapp said:
Is there some kind of trick to that, or some setting in TWRP that needs to be enabled? It didn't work for me the first time I tried it.
Click to expand...
Click to collapse
It just works and has since November with TWRP version 2.8.7.2.
Sent from my Nexus 5X using Tapatalk
Regarding encryption, if I were to do a twrp backup with 'encryption on', can i restore that backup on a 'encryption off' phone after.
My plan is to:
Nandroid backup with encryption on
Decrypt (which erases all user data)
Restore backup
How will this affect the backup since 1 has encryption on previously?
how to disable encryption?
cavalloz said:
how to disable encryption?
Click to expand...
Click to collapse
Code:
fastboot format userdata
^^^This will wipe your internal storage^^^
Edit: Need a modified kernel that doesn't force encryption.
How about a few more details on turning off encryption please.
Sent from my Nexus 5X using Tapatalk

Upgraded to 6.0.1, and now my 5X is Encrypted again

Hey
I disabled encryption my Nexus 5X once I was on 6.0 using TWRP.
Now after upgrading to 6.0.1 the device is encrypted again.
How can I avoid that in the future? I want to device to stay decrypted when I upgrade.
Thanks
When upgrading, if you flash the stock boot/kernel and start up Android it will encrypt your data again. To avoid this make sure you flash a custom boot/kernel that does not force exception before booting into Android
So installing twrp and elementalx right after upgrading should be OK?
Upgrade
Flash TWRP
Format
Flash systemless SuperSU
Flash ex kernel
That's the order I did it in and my phone is not encrypted
If you are already decrypted, upgrade by flashing system.img (along with vendor, radio, bootloader). Don't flash data.img, so you don't lose your current data. You also won't need to format the data partition if you are already decrypted.
Just make sure you flash a modified boot.img each time you upgrade before booting back into the system (best to make sure the modified boot.img is for that specific build) - or go systemless and flash SuperSU that modifies the boot.img automatically to remove encryption.
Thanks I'll do that next time!
I'm completely stock and have the same issue after 6.0.1 upgrade. Phone shows as encrypted and nothing happens when I tap on it.
Any suggestions?
Sent from my Nexus 5X using Tapatalk
hamedunix said:
I'm completely stock and have the same issue after 6.0.1 upgrade. Phone shows as encrypted and nothing happens when I tap on it.
Any suggestions?
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
Then it already is encrypted. You need to format data in twrp and flash modified boot.img / systemless root / kernel that doesn't force encryption
All your data will be lost..
tacofromhell said:
Then it already is encrypted. You need to format data in twrp and flash modified boot.img / systemless root / kernel that doesn't force encryption
All your data will be lost..
Click to expand...
Click to collapse
Coming from Nexus 4, I'm new to encryption by default. So nexus 5x is encrypted and there's no way a normal user could decrypt it. I think I'd be fine with that. [emoji4]
Sent from my Nexus 5X using Tapatalk
hamedunix said:
Coming from Nexus 4, I'm new to encryption by default. So nexus 5x is encrypted and there's no way a normal user could decrypt it. I think I'd be fine with that. [emoji4]
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
Well, if you're a "normal user" you'd probably don't even know your phone is encrypted.
You probably also won't even know what root is. Most users just want it to work and nothing more.
Forced encryption is an inconvenient thing for us 'advanced users' though.
peltus said:
Well, if you're a "normal user" you'd probably don't even know your phone is encrypted.
You probably also won't even know what root is. Most users just want it to work and nothing more.
Forced encryption is an inconvenient thing for us 'advanced users' though.
Click to expand...
Click to collapse
Been into rooting and stuff like that; however, I don't mind encryption as long as it won't affect my experience on N5X.
Sent from my Nexus 5X using Tapatalk

disable the encryption on stock rom 7.1.1

hi, I unlocked and rooted my nexus with 5x stock rom 7.1.1
I try to disable the encryption of files by formatting the data partition, but if you check in the SECURITY settings, the phone is always encrypted.
What am I doing wrong? Thank you.
Decrypt Question
Are you flashing SuperSu to patch kernel to remove forced encryp or flashing a custom kernel to remove it? If not, the stock kernel will re-encrypt upon boot.
I think that is normal, mine also shows encrypted currently with a stock kernel. Only time I need to decrypt is in TWRP, and instead of a password, I'm using a pattern.
TypNguy said:
I think that is normal, mine also shows encrypted currently with a stock kernel. Only time I need to decrypt is in TWRP, and instead of a password, I'm using a pattern.
Click to expand...
Click to collapse
That's probably not the kind of decryption he was looking for.
The correct answer has been given
thanks for the answers, but I still have the same problem.
I rooted, I installed the latest TWRP recovery, as well installed nexus ...
Then I formatato the DATA partition.
Start the well nexus (latest version) and under the heading Safety, the phone is still encrypted!
The kernel of pure nexus is stock?

How to recover a formatted phone stuck on lineageos bootscreen? with anti rollback

Hi
I unlocked the bootloader of my redmi note (whyred), and installed TWRP (booted it from fastboot and flashed from there, as it would not allow direct flashing due to anti rollback)
Then I formatted and wiped everything as described on the lineagos install docs.
It seems that this lost encryption and now the phone is stuck on the lineage os bootscreen.
How can I recover to a working lineag os?
I read about installing MUI ROM, and making sure to encrypt and not to format.
But I am afraid that this will trigger the anti rollback and brick my phone.
What is the best way to proceed?
(twrp recovery and fastboot works, normal boot is stuck probably because of missing encryption)
Please give me some advice - thanx!
OK ... fixed it.
Flashed miui_HMNote5HMNote5ProGlobal_V9.6.3.0.OEIMIFD_7fe1fc0813_8.1.zip from recovery.
Reinstalled Lineage OS without formatting.
Works now.
LOS should really delete the format from their installation guide!
Ricsi999 said:
OK ... fixed it.
Flashed miui_HMNote5HMNote5ProGlobal_V9.6.3.0.OEIMIFD_7fe1fc0813_8.1.zip from recovery.
Reinstalled Lineage OS without formatting.
Works now.
LOS should really delete the format from their installation guide!
Click to expand...
Click to collapse
I really don't get what encryption has to do with LOS not booting up, it's so weird.
So, if you format your data, to remove encryption, LOS doesn't boot? You mean, you're forced to use encryption?
@attitude12 ...exactly. This is what happened to me. I arrived here searching for info.
@Ricsi999 so installing a stock MIUI actually worked? I was a bit skeptical at first, reading this info also on Reddit.
If I remember well, I was on MIUI 9.5.19, so already with anti-roll-back v4 (I didn't upgrade to 10.x because I wanted LOS. I was waiting for that stupid unlock countdown...)
EDIT: So, will be OK to re-install a stock MIUI via TWRP? Or do I need to use some official Xiaomi tool?
Thanks.
Ricsi999 said:
OK ... fixed it.
Flashed miui_HMNote5HMNote5ProGlobal_V9.6.3.0.OEIMIFD_7fe1fc0813_8.1.zip from recovery.
Reinstalled Lineage OS without formatting.
Works now.
LOS should really delete the format from their installation guide!
Click to expand...
Click to collapse
U can even flash lazy flasher ?
Kireto00 said:
U can even flash lazy flasher ?
Click to expand...
Click to collapse
From my understanding this tool will disable the check for encryption by the lineageOs ROM, right?
If yes, will be possible to happily update the LOS with nigtlies and all?
xda_dentex said:
@attitude12 ...exactly. This is what happened to me. I arrived here searching for info.
@Ricsi999 so installing a stock MIUI actually worked? I was a bit skeptical at first, reading this info also on Reddit.
If I remember well, I was on MIUI 9.5.19, so already with anti-roll-back v4 (I didn't upgrade to 10.x because I wanted LOS. I was waiting for that stupid unlock countdown...)
EDIT: So, will be OK to re-install a stock MIUI via TWRP? Or do I need to use some official Xiaomi tool?
Thanks.
Click to expand...
Click to collapse
Yes it's ok to install stock MIUI with TWRP, especially to re-encrypt.
I used the latest non arb V4 version from TWRP (miui_HMNote5HMNote5ProGlobal_V9.5.17.0.OEIMIFA_35b0cda8a7_8.1.zip).
But if you want to "come back to MIUI" I think you need to flash the full rom usign MIUI tool (not sure about that).
To re-encrypt the rom you can also use the Pixel Experience rom, boot into system, and encrypt.
I was able to re-encrypt from a LOS in another device too, but I had to run manual commands to ensure /data was properly sized.
---------- Post added at 12:34 PM ---------- Previous post was at 12:33 PM ----------
xda_dentex said:
From my understanding this tool will disable the check for encryption by the lineageOs ROM, right?
If yes, will be possible to happily update the LOS with nigtlies and all?
Click to expand...
Click to collapse
yes, its one of the feature, to disable the force encryption checks.
See page:
https://forum.xda-developers.com/android/software-hacking/zip-lazyflasher-tool-flashing-custom-t3549210
What I did in the end, has been to install the AOSP-Extended ROM, forgetting about the encryption and all that fuss. It worked out of the box, installing via TWRP.
I didn't want to go back to MIUI, that I hated, I just wanted LineageOS (in this case another AOSP ROM I think will do the job fairly good. It seems promising. Not to mention that whyred seems unmaintained at LOS).
Inviato dal mio Redmi Note 5 utilizzando Tapatalk
xda_dentex said:
What I did in the end, has been to install the AOSP-Extended ROM, forgetting about the encryption and all that fuss. It worked out of the box, installing via TWRP.
I didn't want to go back to MIUI, that I hated, I just wanted LineageOS (in this case another AOSP ROM I think will do the job fairly good. It seems promising. Not to mention that whyred seems unmaintained at LOS).
Inviato dal mio Redmi Note 5 utilizzando Tapatalk
Click to expand...
Click to collapse
It's very simple to redo the encryption, really!
Then you can reflash LOS easily.
Up to you.

Categories

Resources