[ENCRYPTION] How to decrypt userdata if encryption failed - Android Q&A, Help & Troubleshooting

Hi there,
Recently decided to encrypt my phone. Unfortunately the process hanged with the information "Remaining time 00:00". I waited for 24 hours and rebooted the device. Unfortunately now userdata is encrypted and whatever password I type it sais sth like "You password is correct but the data i samaged. Please reset your phone". I have one critical app, that I need to recover - yes I forgot to do backup (I was sure I did, but I was wrong). Is there any way to recover the data.
At the moment of encryption SIM card was inserted and security pattern 4x4 enabled. The phone is HTC ONE m8, OS is CM13.0 (6.0 Marshmallow). I am familiar with how encryption works (more or less), twrp, fastboot etc. Just need some ideas...

Related

Phone won't accept my encryption passcode

HI all,
My company phone is encrypted. I loaded NeatROM 4.5 after having been on NR 4.3 for ages and all was good, although some apps would not work. This morning, the phone locked up so I rebooted it but it would not boot successfully. So I decided to do a full data wipe but then, when the phone was rebooting, it asked me for my encryption passcode but it would not accept it. I am now locked out of the phone - it just will not take my code.
How could I go about wiping it completely or factory resetting it / the encryption code ? My code has obviously become corrupted or something.
Regards
C
try a generic sami rom

[E977] Wrong password to decrypt

Guys need help from you guys!
I have a LG Optimus G (E977), I was trying to sync my email (exchange) on PAC-MAC rom (4.3), and asked me to perform the encryption, I selected yes and put my PIN.
The phone rebooted normally and started to encrypt, appeared with the option for me to put in the password, and the phone was saying that the password was wrong.
I went into recovery, formatted all data (data, cache, system) and performed the restoration by LG Support Tool, but it still keeps asking me the password to decrypt the phone.
Currently I can not access neither fastboot nor recovery, he also realizes not reset after several attempts with the wrong password.

Problem with AOSP ROM

Hello everyone, i creating this thread because i found a problem in my devices, this happen because i enabled Anti-Theft protection at my AOSP ROM, and remember exactly what is my PIN, and after i enabled it, and when i changed my SIM card, i got asked for Privacy Protection Password, normally what i must do just enter the PIN that i set while i am enabling Anti-Theft right? but when i instert my PIN there, the phone keep said that my PIN is wrong, but thats impossible that i miss typing it or forgot it because i just enabled it right before i changed my SIM, and because of that while i am using all of AOSP ROM at my phone, the phone keep asking me for Privacy Protection Password, i've do many way to solve this, like flashing my phone with original stock rom in fastboot of course i fortmat all my data, and already using spflashtool too, with format all + download / firmware upgrade, but the result still same, i am stacked here, i hope anyone who read this could help me
Thanks! and sorry if my english are bad
i have this problem too, just format data (not wipe data) from twrp, install aosp, done.

Incorrect Password but Not?

I'm running the latest Validus Nougat ROM for OnePlus 3. I decided to add a password and encrypt my phone. So I ticked the force encryption and I figured I'd also tick the dmverity option in Magisk and then went and created my password and required password to boot. Reboot my phone and incorrect password. Tried more than a few times before booting to recovery and inputting the same password there to decrypt partition. It works...
So how is it possible that the same password that can decrypt properly through TWRP is incorrect when used to try and boot to system? And also can I recover my data? I did make a full backup 3 weeks ago so it's not the end of the world but a little annoying.

Secure startup (easy full device encryption bypass?)

In Android 9 Pie (and earlier versions) there is a setting ‘Secure startup’, which is applicable in case of full device encryption (which comes by default in all new Android phones AFAIK). When ‘Require password when device turns on’ is enabled, the password must be entered at phone start and the phone won’t boot if no password is entered. When the other option ‘Do not require’ is enabled the phone starts and I can even receive phone calls, I just cannot unlock the phone.
So my question is: if ‘Require password when device turns on’ is NOT enabled – does this mean that my phone is NOT encrypted and if for example gets stolen, the thief will be able to download all my data to a PC (without unlocking the phone)? If this is true this seems like an absurdly easy way to bypass full device encryption...
Your data is encrypted by default. You can have it set to not encrypt it but it is not something I would advice of you.
As for the secure start up. As long as you have a locked bootloader and a password there are less then .01% of people that can hack into your device.
zelendel said:
Your data is encrypted by default. You can have it set to not encrypt it but it is not something I would advice of you.
As for the secure start up. As long as you have a locked bootloader and a password there are less then .01% of people that can hack into your device.
Click to expand...
Click to collapse
My phone is rooted and the bootloader is not locked AFAIK (it's Exynos).
I am not asking about bruteforce and other hacking techniques that could be used, I am just asking whether my phone is encrypted after boot and before the screen is unlocked.
Yes it is encrypted. Has been since the day you first day Bought it.
OK, but how come then my phone boots and is almost fully operational when ‘Require password when device turns on’ is NOT enabled (e.g. I can receive phone calls, calendar events pop up on screen - although I cannot see what they are all about because the screen is locked)?
orifori said:
OK, but how come then my phone boots and is almost fully operational when ‘Require password when device turns on’ is NOT enabled (e.g. I can receive phone calls, calendar events pop up on screen - although I cannot see what they are all about because the screen is locked)?
Click to expand...
Click to collapse
Think of it as safe mode on PC. Not everything or all permissions are allowed when booting like that. It just a security feature and has nothing to do with encryption. It just locks out some info from being seen without the password.
Ill be honest with you. If you are worried about your data then dont be too worried. Unless you are someone important then your device is only useful for how much the hardware will get. Let me tell you how a phone theft goes.
1. Phone Stolen
2. Sim card removed
3. Device reset
4. If its locked then take it home and flash an OS to it or sell it to a pawn shop that is questionable.
Now the first 3 are normally done before you even know your device is gone (less then a minute)
Encryption bypass / Android (10) security issue after first unlock
zelendel said:
Yes it is encrypted. Has been since the day you first day Bought it.
Click to expand...
Click to collapse
I have discovered another security issue on a rooted device:
On my Magisk-rooted and encrypted Note 10+/Exynos (Android 10) I just found out, that the userdata (data/data ) partition is UNENCRYPTED and fully readable when viewed with an ADB viewer from my PC although the device is in lockscreen mode / locked!
This doesn't happen after reboot before the first unlock! After the device has been unlocked, accessed via ADB and re-locked (but not rebooted) it is (still) unencrypted, even after rebooting the PC!
Here the lockscreen password would not make much sense at every screenlock - it just unlocks the screen which can be bypassed and all data can be read via ADB anyway - it would only make sense once at boot. Is there a way to have two passwords (1 at boot and an easier one at screenlock) for example?
Is this a known bug? / Any ideas?

Categories

Resources