Encryption related issue - Xiaomi Redmi Note 7 Questions & Answers

When I dirty flash any rom
Or clean flash any rom
The data and internal storage of my device got encrypted.
So when i boot the new OS . It asks me for password . And always says wrong password .
So i hv to wipe data and internal storage .
Many times i lost my important data because of this encryption issue.
This issue also
exist in recovey also.
So my question is this .
Is there any way available to decrypt data and internal so i will not face this issue ? .
( Help pls coz many peoples like me are wasting there time for recovering data again and again )

Why are you posting the same message in two different threads?
In any case, read point #6 here: https://forum.xda-developers.com/showpost.php?p=79771468&postcount=2

Related

Forgot unlock passsword - how to get rid of it?

SOLVED.
Greets.
A mate of mine forgot his unlock password the other day. At first I thought it was gonna be the same as with Galaxy S - just flash it or better yet do a wipe/factory reset in recovery and be rid of it - boy was I wrong... I tried everything I could come up with - flashing costum SW, different kernels from xda, older/newer original SW, CMW resets etc. - no luck at all.
So now I turn to you beloved XDA and ur techies - does anyone have any idea how we could reset our SGS2's so that this passwords would be gone aswell?
Solution:
Just spam random passwords (think it was 5 wrong) and then a message appears, that the SD card will be reset and a full wipe will be done - press OK and bang the phone boots normally.
In case anyone finds themselves in the same situation. You lose all your data ofcourse but the password is deleted and bang the phone works.
What password are you talking about, because a factory reset in recovery mode should do it.
I am talking about the screen lock with a password. Like I said nothing works... everytime I turn the phone on I get the "Confirm Password" screen thrown in my face
A ROM flash should definitely get rid of that, but I'm very surprised that a factory reset doesn't do it.
Like I said I tried flashing original roms (older and newer of KE2), costum roms (villian, litenin etc.), different kernels - the password is still here.
I'm stumped then mate. I've never had a lockscreen password persist from one ROM to another. I think household insurance and a brick may be the easiest way to remove it
Hehe ye I was not exactly exstatic about it either... I've been playing with roms etc. since my 1st android Samsung Galaxy (GT-I7500) and the one thing that was always persistant was "Software saves" - and now this with the SGS2...
I just tried the same on mine - set the password and flashed the official KF3 - got welcomed with the "Confirm Password" screen and just input my password that I set before and bang the phone finished with the software update and booted normally...
Thinking this thread would be better off in the development section in case anyone will have the time to look into where this stuff is stored and make a workaround (perhaps similar like the nv_data one for network unlock).
This is purely a guess and I haven't tried it on SGS2, but you could try flashing a ROM via Odin and ticking the option "Phone EFS clear". Not sure but this could wipe also the EMMC partition where I have heard the screen lock data is stored in. I won't take any responsibility on bricked phones or other problems though...
I only did try this on my wife's SGS and for it it did not do any harm.
Nightravenn said:
Thinking this thread would be better off in the development section in case anyone will have the time to look into where this stuff is stored and make a workaround (perhaps similar like the nv_data one for network unlock).
Click to expand...
Click to collapse
Tut tut matey. It's a question - it's already in the wrong forum
Heh my bad about the placement of the topic
@Pume EFS is actually where the calibration is stored aswell (which is different for every phone/IMEI/RF), but yes I did try it aswell heh, also tried the bootloader update option ticked on - same story still the damn PSD (Password screen of death?).
First you can try to disable the password via adb (in recovery) http://forum.xda-developers.com/showthread.php?t=1110307
If its not the right description you could try to format the data partition in recovery and then flash a new rom. No idea how smart that is on the galaxy s II but on the desire it was perfectly save. Last i believe this is a more common problem and there should be other threads around with solutions.
Sent from my Transformer TF101 using XDA Premium App
Nightravenn said:
Heh my bad about the placement of the topic
@Pume EFS is actually where the calibration is stored (which is different for every phone/IMEI/RF), altho yes I did try it aswell heh, also tried the bootloader update option ticked on - same story still the damn PSD (Password screen of death?).
Click to expand...
Click to collapse
Oh, good to know anyway. Damn I'm never gonna put a password on mine as I tend to forget even my own birthday
You could try that again(flash a rom) without your SIM card and maybe without your MicroSD. Maybe it syncs with data and get the password lock from there.
Are you sure the password isn't a PUK lock? Try booting the phone without a sim. If it works, then the password is restricting your use of the service by locking you out of the phone. To solve this you can do one of two things:
1. Get the Sim replaced
2. Call your provider for an unlock code and GET RID OF IT in the security settings under sim-lock
Hope that helped!
Actually I always flash roms without the SD card and SIM as I've come to realise some .pit's acutally repartition your SD card aswell thus erasing it - cheers for the post tho.
@TheGhost1233
You might be on to something with that actually but now I have another problem... for some reason everytime I want to go to recovery it shows that little yellow box (the usual one before going into recovery) and then back to the dumbass PSD. So I can't get ADB working now at all.
I almost don't want to post this hehe...
But ye found a solution - spammed random passwords (think it was 5 wrong) and then a message appeared, that the SD card will be reset and a full wipe will be done - pressed OK and bang the phone boots normally
In case anyone finds themselves in the same situation. You lose all your data ofcourse but the password is deleted and bang the phone works
I think this is anti-theft protection, at least your info is gonna be deleted if someone steals it

Can I recover data from my own encrypted s5 Verizon phone (not rooted) w/password?

Can I recover data from my own encrypted s5 Verizon phone (not rooted) w/password?
My s5 Verizon phone could not boot well recently so today I intended to clear system cache. I hold power + volume up+home buttons, maybe somehow it entered into download mode, so it warned me that install a custom os is risky and asked me to volume up to continue, or down to cancel(restart). I volumed down and now it rebooted, but all of sudden, my data is gone! It did not ask me for screen pin/password either as previously my phone was encrypted. (Or did I held power+volumn down to factory reset the phone? But I did not get a warning for that.
This factory reset was a surprise to me as I was not warned or told that they will wipe out the data.
Anyhow, my data is gone. Now I wanted to get it back.
Can I recover data from my own encrypted s5 Verizon phone (not rooted) w/password?
I know It's not difficult if it was not encrypted, as many third party tools can recover most of the data if the phone was not used much after reset.
I am wondering if anyone has any experience recovering data for an *encrypted* phone (with right encryption password though). Which tool can do that by prompting you the password for the encrypted data?
Here is the link regarding recovering data from factory reset: http://forum.xda-developers.com/showthread.php?t=2143188 However, I did not find a solution: what if the phone was encrypted and you do have the correct encryption password (if not I know it's almost impossible)?
Thank you in advance for your help!
J
Any thoughts, suggestions?
My phone was encrypted but not rooted. I have the encryption password. Any chance to get the data back from the phone?
I powered down my phone now and will see how to proceed after I get experts opinion on this...
My question basically is, can I recover data from an encrypted phone after factory reset if I have the encryption password? Anyone can help?
Thank you guys in advance.
Anyone?
I understand this is difficult, but I wanted to try before I give up.
I need experts here to shed some lights: is it still possible to recover the data from my encrypted phone after accidental factory reset, as I still have the screen PIN?
I know how to recover the data if the phone was not encrypted/not factory reset. I also somehow know how to decrypt the data inside the encrypted phone, but no way so far do I know if we can recover the deleted data from the encrypted phone if the files were deleted or the phone was factory reset, provided I still have the screen lock pin.
What I have done so far:
I rooted my sm-n900v
I also created a raw image in my pc using dd command
Next questions are,
where can I find the crypt footer (which partition), and how can I decrypt the deleted data after the factory reset?
Can I recover the deleted data from the encrypted phone first, but it looks like no tools can do that. All data recover tools like Recuva can only recover unencrrypted data.
Or should I first find the cryptor footer, figure out encryption key, but where should I find the deleted files first to decrypt from the encrypted phone?
I just came to realize what I was got into... This is the most difficult scenario to decrpt the deleted files from an encrypted phone. I do want to recover some very important files from the phone's internal/encrypted storage, regardless how stupid I look not backing up those very important data.
But if experts here say I am doing almost impossible thing... I will stop.
Thank you all for your attention.
J
BTW, my s5 ran Android 4.4 before, later upgraded to Android 5.0, a while ago before I recently accidentally factory reset. I just rooted it days ago after accidental factory reset.
...... If the above info will make a difference in solving my issues below.
Thank you.
J
ljxd01 said:
I understand this is difficult, but I wanted to try before I give up.
I need experts here to shed some lights: is it still possible to recover the data from my encrypted phone after accidental factory reset, as I still have the screen PIN?
I know how to recover the data if the phone was not encrypted/not factory reset. I also somehow know how to decrypt the data inside the encrypted phone, but no way so far do I know if we can recover the deleted data from the encrypted phone if the files were deleted or the phone was factory reset, provided I still have the screen lock pin.
What I have done so far:
I rooted my sm-n900v
I also created a raw image in my pc using dd command
Next questions are,
where can I find the crypt footer (which partition), and how can I decrypt the deleted data after the factory reset?
Can I recover the deleted data from the encrypted phone first, but it looks like no tools can do that. All data recover tools like Recuva can only recover unencrrypted data.
Or should I first find the cryptor footer, figure out encryption key, but where should I find the deleted files first to decrypt from the encrypted phone?
I just came to realize what I was got into... This is the most difficult scenario to decrpt the deleted files from an encrypted phone. I do want to recover some very important files from the phone's internal/encrypted storage, regardless how stupid I look not backing up those very important data.
But if experts here say I am doing almost impossible thing... I will stop.
Thank you all for your attention.
J
Click to expand...
Click to collapse
Any help from this forum appreciated...
ljxd01 said:
Any help from this forum appreciated...
Click to expand...
Click to collapse
Hi I am in the same position as you - have you had any luck at all?
danielleb21 said:
Hi I am in the same position as you - have you had any luck at all?
Click to expand...
Click to collapse
ljxd01 said:
Any help from this forum appreciated...
Click to expand...
Click to collapse
From what I have read, the device encryption key is tied to the device Serial Number or Burned-In-ROM-Key. Meaning when you encrypt your device data, it encrypts the password in much the same way the device encrypts its "Verity Hash".
So from what I've gathered it is possible to do a factory data reset, encrypt your empty device using the same password as before, decrypt the empty device, and during that encryption/decryption phase:
Pull out the common denominator between the encrypted data you want to recover and the encrypted empty device, thus enabling you to derive the decryption key used for the data you'd like to recover.

Help, internal storage not recognized after hang and forced reboot (N910F 4.4.4).

Hi everyone! I urgently need help.
Hey
My Note 910F froze itself several times thoughout the day, and i had to power it off and on several times. There was (and is) NO famous emmc read fail error, so emmc hopefully must still be fine. After last reboot it no longer showed samsung logo; only standard recovery message (odin status 1) .
i booted into the recovery and see that internal sd card is recognized as unformatted. Does it mean i need to re-partition with PIT to get access to the data? If yes, then which pit will do for 4.4.4?
Or is there any other way to recover the data from this phone?
If i understand correctly, flashing a service ROM will format everything.
i was using 4.4.4 rom and never changed partition sizes.
would really appreciate any help and advice!!!
thank you!!

forgot secure startup password (data encrypted) without formatting

hi there
i have samsung g935f exynos
i made secure strtup password and i forgot it
i hvae important data inside
frp is off
any help without format
Do you have twrp as custom recovery?
Have the same problem.
phone is encrypted. did sytem upgrade and then i turn on and the encryption message comes out. put my password coz I now it and doesn't work
already installed twrp to see if i can do something to move the data manually but on file manager doing to internal data doesnt show any
if someone knows how to fix not involving hard reset pls share me a reply at q.loli666 gmail com

***SOLVED***AFTER INSTALL ANY ROM / stuck version 8.0.0.046

hello all ,
please help me with that .
when I install any rom and following step by step the installation . when I click on reboot in TWRP the phone gone to eRecovery .the question is why ???
could any one help me please how to see the rom installed properly .
Edit : I try many ROMS ( so maybe I tried different Rom but surrely I tried also the good one and not working )
BR
Hello all ,
I will tell you my story maybe could happen with samone .
I have huawei P10 lite WAS-LX1A (C02) was grate without any issue . I tried to installa android auto in my phone and linked to my car. ==> need the ROOT
I checked in thiw web site how to root . 1 unlock bootloader then install recovery
at this point I forgot to save a backup the big problem is here ***** please always make a backup ***
so I install recovery . and I tried to install Magisk and sudenly the phone stuck in the logo .I tried many option factory reset and wip everything so I tried to install new ROM using dload . maybe I tried 5 or 7 Roms ( WAS-LX1) europ and not solved . but sudenly the phone after triying roms worked and the second issue is I stuck again on this build version 8.0.0.046 (0xyz) hhhhhh I tried many other ROMS and nothing helped me .
hora I find the solution in thisvideo : just connect the phone via usb and connect HISUITE then choose update after that absolutly the HISUITE will say that you are in the lastest vesrion 8.0.0.046 (0xyz) and another option below is find previous version . oh gode this is the solution the compatible version appear . donload it and you are great .
I hope my post could help people have the same issue
BR
ennadif said:
hello all ,
please help me with that .
when I install any rom and following step by step the installation . when I click on reboot in TWRP the phone gone to eRecovery .the question is why ???
could any one help me please how to see the rom installed properly .
Edit : I try many ROMS ( so maybe I tried different Rom but surrely I tried also the good one and not working )
BR
Click to expand...
Click to collapse
did you encrypt the internal storage with the fstab.hi6250b.zip then format Data partition....reboot to recovery...now wipe Cache, Dalvik, Data, intern Storage and System...reboot to recovery again. Now you can flash a custom Rom
Hi,
To be honest I fixed the phone. I think android orzo now is enough.
But I will do your preposition surely many thanks

Categories

Resources