Decrypt Android - Xiaomi Redmi Note 5 Pro Questions & Answers

Hi. I encrypted my device. It is possible to undo this without formatting? I thought there was some way through TWRP Fox, something like restoring a backup... Or the backup is also encrypted (when backing up, it requires the password). If anyone can help me... Thanks!

Hopefully anyone else who googles this issue and finds this thread will find that helpful.

Related

[Q] Encryption and CWM/ Custom ROM?

Good evening (subjectively) all.
I've just recently encrypted an HD 2.* ROM on my Nexus. After encrypting the device today, it appears I have no access to the SDCard in CWR.
Can anyone give me any advice? How do I unencrypt (if I must) or fix the situation ?
My impression is that right now, you can either encrypt the device and keep it stock, or stay unencrypted if you want to mod the device/enjoy CWM. Maybe I'm wrong (I hope I am!), but I've just heard that encryption causes too much pain to be worthwhile if you want to do anything non-stock.
Rules.r said:
Good evening (subjectively) all.
I've just recently encrypted an HD 2.* ROM on my Nexus. After encrypting the device today, it appears I have no access to the SDCard in CWR.
Can anyone give me any advice? How do I unencrypt (if I must) or fix the situation ?
Click to expand...
Click to collapse
I had this problem! CWM can't see the sd card as it is encrypted. You need to do a full factory reset to remove the encryption. Google does't allow the option to decrypt yet.
Unfortunetly when you do a factory reset it wont work as it is looking for the stock bootloader to complete the wipe and it won't be able to use your existing bootloader. World of hurt!
The only way I got around this was to adb/fastboot the original stock rom. This caused me so much pain! Even then I had to do it once or twice before it fully worked.
Let me know how you get on.

Question on "Phone Encryption"

Hey guys, sorry if this has been answered somewhere else, but I just want to confirm my understanding about encryption.
I'm setting up MobileIron and TouchDown for my work email and paused when the IT policy asked me to encrypt my phone.
So, is doing encryption will make it impossible for us to flash rom, radio, any kind of flashing + impossible to do all other things in CWM - due to the partition is being locked and encrypted before the device boots up?
(I'm not good to explain it technically, hopefully you get what I mean).
Slower boot time? The only way to decrypt is to factory reset and wipe all data? Impossible to backup nandroid? etc etc...
Of course the device would be more secure from the company's security point of view, but is that it?
I'm pretty sure there's no other workaround if I want to setup my phone with work email, since of course the IT policy applies to all employees so I can't ask for an exception.
At the same time I don't want to lose my ability to flash just because of the work email, it defeats the purpose of me having Android (which is to tweak and mess with my phone).
I came from SGSII where the IT policy only enforces PIN/password/pattern requirement, or perhaps because SGSII doesn't have encryption capability.
Appreciate your comment and opinion guys.
Hopefully someone knows.
kisekio said:
Hey guys, sorry if this has been answered somewhere else, but I just want to confirm my understanding about encryption.
I'm setting up MobileIron and TouchDown for my work email and paused when the IT policy asked me to encrypt my phone.
So, is doing encryption will make it impossible for us to flash rom, radio, any kind of flashing + impossible to do all other things in CWM - due to the partition is being locked and encrypted before the device boots up?
(I'm not good to explain it technically, hopefully you get what I mean).
Slower boot time? The only way to decrypt is to factory reset and wipe all data? Impossible to backup nandroid? etc etc...
Of course the device would be more secure from the company's security point of view, but is that it?
I'm pretty sure there's no other workaround if I want to setup my phone with work email, since of course the IT policy applies to all employees so I can't ask for an exception.
At the same time I don't want to lose my ability to flash just because of the work email, it defeats the purpose of me having Android (which is to tweak and mess with my phone).
I came from SGSII where the IT policy only enforces PIN/password/pattern requirement, or perhaps because SGSII doesn't have encryption capability.
Appreciate your comment and opinion guys.
Click to expand...
Click to collapse
Once your device is encrypted you won't be able to flash roms because recovery can't see the SD when you try to flash a kernel or rom.
You can't remove the encryption through a factory reset if your device is rooted and running CWM recovery. It will fail and the phone just boots up as normal. The only way I was able to remove encryption was to ADB/Fastboot the stock images onto my Nexus.
Lastly, I noticed the phone being very slow to boot with encryption.
Until Google give the option to decrypt I won't go near encryption again. Hope this helps and answers some of your questions.
jd1001 said:
Once your device is encrypted you won't be able to flash roms because recovery can't see the SD when you try to flash a kernel or rom.
Click to expand...
Click to collapse
I assume any kind of flashing won't work with encryption, including rom, kernel, radio, circlesmod, and all other kinds of mods that require flashing from CWM.
Is that correct?
If that's the case looks like I'm not going to use my work email on my phone.
Yeah your assumptions are correct!
jd1001 said:
Once your device is encrypted you won't be able to flash roms because recovery can't see the SD when you try to flash a kernel or rom.
You can't remove the encryption through a factory reset if your device is rooted and running CWM recovery. It will fail and the phone just boots up as normal. The only way I was able to remove encryption was to ADB/Fastboot the stock images onto my Nexus.
Lastly, I noticed the phone being very slow to boot with encryption.
Until Google give the option to decrypt I won't go near encryption again. Hope this helps and answers some of your questions.
Click to expand...
Click to collapse
I'm in exactly the same situation, unfortunately found out that i can't decrypt it with factory reset after I'm already encrypted
Do you happen to know good tutorial for flashing via ADB/fastboot?
I flashed my CM10 4.1.1 using galaxy nexus toolkit
http://forum.xda-developers.com/showthread.php?t=1830108 You're welcome.

[Q] N7 2013, CM12 - unencrypt?

I've run into an issue with my N7. The USB/charging port no longer works and with it encrypted I am no longer able to apply updates, etc. I have everything backed up to my server nightly via ssh/rsync, so I can restore afterwards but am unsure how to proceed. If I unencrypt, I'll be able to apply updates in the future and I use wireless charging so I'll be able to keep using it a while longer (until I find a good replacement for it). Which brings me to my question. What's the best way to decrypt? I've seen a number of threads mentioning a factory reset/wipe. With android 5 now on it, is there a way to decrypt since 5 defaults to encryption?
Thanks for any help!
JackMetal said:
I've run into an issue with my N7. The USB/charging port no longer works and with it encrypted I am no longer able to apply updates, etc. I have everything backed up to my server nightly via ssh/rsync, so I can restore afterwards but am unsure how to proceed. If I unencrypt, I'll be able to apply updates in the future and I use wireless charging so I'll be able to keep using it a while longer (until I find a good replacement for it). Which brings me to my question. What's the best way to decrypt? I've seen a number of threads mentioning a factory reset/wipe. With android 5 now on it, is there a way to decrypt since 5 defaults to encryption?
Thanks for any help!
Click to expand...
Click to collapse
Factory reset is the only way to undo encryption. If you could just unencrypt and keep data, encryption wouldn't be very secure. And 5.0 did not default encryption for me.

Can't decrypt phone

Hey guys,
Just as I wanted to update to an Android M ROM I realized decrypting the phone somehow doesn't work. In Settings it says "Encrypted Phone Encrypted" but if I click it nothing happens. Here is a video for demostration: https://youtu.be/cOFFZuckUU0 . In Recovery I can't mount any of the encrypted partitions yet when I restart my phone it does't ask for the decryption code and Android works like always. Any way to get the phone decrypted again?
Thanks in advance!
P.S.: After hours of research I couldn't find anything remotely similar to my issue. It doesn't even make sense that the phone decrypts itself without me putting in a code...
P.S.S: Oh and the issue appeared just a few days ago. Before that I could encrypt and decrypt my phone as often as i wanted to and android always asked for the code before booting.
Anyone?
.TanTien said:
Anyone?
Click to expand...
Click to collapse
You can't decrypt. You mast make a full wipe. If You dont want lose date use Titanium Backup or TWRP Manager with live backup.
You can only turn off, not decrypt ! a sd card encryption

TWRP Restore

So I went to restore a previous ROM and the phone when I go to login is asking for my PIN (as usual). My previous PIN however isn't working. What do I need to do in the future before I make a backup so this doesn't happen again? Thanks.
EDIT: My guess is the data partition being encrypted is causing a problem...it's not a big deal if I don't recover this one but for the future so I know what went wrong?
You'd probably have to format storage in TWRP. Then flash a rom that supports having no encryption
I'm not sure if formatting the restoring a backup with encryption will work, though.
Nosferatu. said:
So I went to restore a previous ROM and the phone when I go to login is asking for my PIN (as usual). My previous PIN however isn't working. What do I need to do in the future before I make a backup so this doesn't happen again? Thanks.
EDIT: My guess is the data partition being encrypted is causing a problem...it's not a big deal if I don't recover this one but for the future so I know what went wrong?
Click to expand...
Click to collapse
boot back into twrp recovery- advanced - file manager-data-system-delete the files with the name locksettings.adb and 2 or 3more with locksettings file name
Appreciate it guys!
just data/system/lockscreen.db needs to be deleted. :good:

Categories

Resources