DESPERATELY NEEDING HELP!!! - Encrypted data - Xiaomi Mi Note 10 Lite Questions & Answers

(sorry if posting in the wrong place)
Background:
A few months, after receiving my Mi Note 10 Lite Miui 11 to 12 update, I finally rooted the phone using the Magisk patched boot method. All fine.
A while ago, with the latest MIUI 12 minor update we got, I lost root again. Now I wanted to root it again, and tried to find if there was already a working TWRP for this phone.
What happened:
After googling a bit, I found a post on XiaomiEU that had instructions to install a working TWRP (to install the rom). So I followed the steps, flashing vbmeta and the twrp image. Rebooted to recovery and as it was installed, I rebooted to system. After that, the first problem. It would only boot the twrp, not system.
To fix this, I got the latest stock fastboot rom and installed it via miFlash (with flash_all_but_storage option). Managed to boot again to Miui. After doing the google restoring steps, I found out that all my internal storage files were encrypted.
What I've tried so far:
formatted data (not internal storage and data/media) and tried again
installed a different TWRP I found here in XDA that supposedly would decrypt the files (twrp-3.4.0-14-toco-mauronofrio). It asks for the encryption password when starting and I get a success message when entering the right password, but even in the recovery file manager the files are encrypted.
installing recovery rom through TWRP without formatting data
(side note: on system, the Xiaomi Cloud restore seems to be always stuck without restoring anything and there is no way to stop it)
Can anyone please help me get my files (photos and videos, more importantly) back? Is there any hope? The files are there and I know the password, there must be something I can do...
Thanks in advance

Do you want to keep MIUI or go to a custom rom ?

Related

Bootloop Honor 9 with Bootloader and FRP unlocked

Hi all people,
first of all, I want excuse me for not my perfect English.
I have Honor 9 from few days. And I think to have bricked it.
I have unlocked bootloader correctly.
I have flashed recovery this TWRP recovery with the intention to proceed to root with Magisk or SuperSu. I accidentally and unconsiuosly do factory reset then the phone goes bootloop. (it power off and power on continuously) with the alert "your device has been unlocked and..etc".
Yesterday, reading this thread, I flashed, from fastboot console, boot, recovery and system, the phone resets two/three times then goes to eRecovery where I do a factory reset.
After a factory reset the phone works correctly and seems successfully unbricked. So I re-flash TWRP recovery.
But this morning, during the attempt to install from TWRP one between Magisk or SuperSu (I don't succeed to do it beacuse the phone was crypted and I don't see zip files from TWRP). I have reset the phone but goes bootloop again.
I tried to re-flash boot, recovery, system and cust more (that I don't have flashed yesterday). Now the phone goes eRecovery and ask me to connect to download latest version and recovery, but don't ask me to do a factory reset.
Now I don't know what I can do.
How I can solve this situation? I want only unlock bootloader (done!), install TWRP and have root permission. Now I don't think to change rom.
Something similar happened to me. It seems like the TWRP provided has some issue..... After installing TWRP I had a bootloop problem. I have resolved installing Magisk. It seems that Magisk patchs something. If you can access TWRP try to install Magisk (put the zip file on external sd). In other words: copy magisk zip on sd card - during the bootloop you have the chance to power off phone - Power off - Power on in recovery mode. If you have TWRP correctly installed Honor should go in recovery using TWRP . Install Magisk and see what happens...
unvisigoth said:
Something similar happened to me. It seems like the TWRP provided has some issue..... After installing TWRP I had a bootloop problem. I have resolved installing Magisk. It seems that Magisk patchs something. If you can access TWRP try to install Magisk (put the zip file on external sd). In other words: copy magisk zip on sd card - during the bootloop you have the chance to power off phone - Power off - Power on in recovery mode. If you have TWRP correctly installed Honor should go in recovery using TWRP . Install Magisk and see what happens...
Click to expand...
Click to collapse
I have tried to flash TWRP recovery again to do install Magisk from sd card. I have done it but the phone doesn't work fine.
So I have put rommco05 TWRP Backup into sd card then restored it from TWRP restore (boot and vendor img). Now the phone seems have bootloader locked, in fact I don't have bootloader warning at the power on. Now in fastboot mode the phone says me that I have Phone locked and FRP unlocked.
How can I exit from this situation?
Try this
Killus3 said:
Hi all people,
first of all, I want excuse me for not my perfect English.
I have Honor 9 from few days. And I think to have bricked it.
I have unlocked bootloader correctly.
I have flashed recovery this TWRP recovery with the intention to proceed to root with Magisk or SuperSu. I accidentally and unconsiuosly do factory reset then the phone goes bootloop. (it power off and power on continuously) with the alert "your device has been unlocked and..etc".
Yesterday, reading this thread, I flashed, from fastboot console, boot, recovery and system, the phone resets two/three times then goes to eRecovery where I do a factory reset.
After a factory reset the phone works correctly and seems successfully unbricked. So I re-flash TWRP recovery.
But this morning, during the attempt to install from TWRP one between Magisk or SuperSu (I don't succeed to do it beacuse the phone was crypted and I don't see zip files from TWRP). I have reset the phone but goes bootloop again.
I tried to re-flash boot, recovery, system and cust more (that I don't have flashed yesterday). Now the phone goes eRecovery and ask me to connect to download latest version and recovery, but don't ask me to do a factory reset.
Now I don't know what I can do.
How I can solve this situation? I want only unlock bootloader (done!), install TWRP and have root permission. Now I don't think to change rom.
Click to expand...
Click to collapse
https://forum.xda-developers.com/honor-9/help/bootloader-locked-help-to-enable-usb-t3683145
Rommco05 said:
Again unlock bootloader
Click to expand...
Click to collapse
I have unlocked bootloader again and do a factory reset from TWRP recovery, now the phone seems works correctly!!!:good:
Now I should try to root the phone with Magisk or SuperSu, right?
I have a question about TWRP. From TWRP's file manager I don't see the files that I put in the internal memory. It's because I have used finger print to lock the phone that encryptes files?
raw_jay said:
https://forum.xda-developers.com/honor-9/help/bootloader-locked-help-to-enable-usb-t3683145
Click to expand...
Click to collapse
This is to re-brand the phone from Chinese to EU version...I don't think is my case.
Rommco05 said:
Take a backup before make root. You don't see files because is some issue with decryption in TWRP. I achieved root with Magisk but I don't remember exactly steps
Click to expand...
Click to collapse
I think it's too late
Anyway I can re-flash all thing from begin.
Then I can't use TWRP with the phone encrypted ( PIN, password, fingerprint, etc...) ?
Rommco05 said:
I'm not sure about thatz Huawei roms are encrypted somehow by default
Click to expand...
Click to collapse
After I have installed Magisk (v14.0) now I have problem with google play services which don't download and do updates apps.
If I do a factory reset again I can solve it?
Update:
After I done a factory reset from TWRP recovery
and formatting data partition the phone seems working perfectly (I don't know why, but before format data the phone says me that I have only 150mb of memory space)
I say "seems" because there's something getting me in trouble, for example, I don't have anymore ringtones in the settings menu.
And I don't know if I have lost something else.
Exists a possibilty to restore all contents of the phone?
You could try this and flash your phone back to stock. But then you would need to unlock your bootloader and install TWRP again. Another way would be to unpack an image of your ROM and flash system and other parts via fastboot. Of course this could be risky and you could brick the device.
Meranico said:
You could try this and flash your phone back to stock. But then you would need to unlock your bootloader and install TWRP again. Another way would be to unpack an image of your ROM and flash system and other parts via fastboot. Of course this could be risky and you could brick the device.
Click to expand...
Click to collapse
If I understand it well...
I have 2 options:
1) Rebrand the phone and flashin, then at end I have back the phone stock.
2) Unpack the image of ROM (what it means?) and flash system and other parts via fastboot. (Which are those parts? How?) But this procedure is more hazardous then rebrand procedure?
I have understand right?
1. Yes, correct. I would recommend that. Everything is explained in the thread I linked. Of course everything you do could potentially harm your phone, but you should know that already.
2. Get an update.app file for your specific phone model (there are threads already here, just search a bit, or use Firmware Finder), open it with the Huawei Update Extractor and extract the parts you want to flash (like system or recovery). Then flash them via fastboot. I tried this because I was in a situation like yours, but it didn't work for me. But in theory it could, because you would replace the faulty parts of your firmware.
Killus3 said:
I have understand right?
Click to expand...
Click to collapse
Could you solve your problem?
Meranico said:
Could you solve your problem?
Click to expand...
Click to collapse
Hi, I don't say it because I have replaced the phone with another same.
Now I'm starting to unlock bootloader, installing recovery TWRP and rooting the phone.
I hope to avoid bootloop this time.
Goodmorning everyone!
Yesterday I have:
- Unlocked bootloader correctly!
- Installed TWRP correctly!
- Make a TWRP Backup of all partitions of the device, except data partition because TWRP gives me an error during backup attempt.
- Then I start the device.
- After start the device I go to recovery TWRP to install Magisk, but the phone goes bootloop.
After reboot 2-3 times on the screen appears for a few moments a message of eRecovery that have restored something but I don't know. Then the device shows me the eRecovery that asks me to make a factory reset.
At this point I shutdown the device, go in TWRP to flash Magisk unistaller and the device goes out bootloop and works fine but without root.
How I can solve this problem and install Magisk and have root finally?
Some question:
-When I flashed TWRP (via fastboot) and I configurate it, example language, hours, etc... TWRP don't save the settings, in fact when I go in TWRP again I do remake the settings. Why?
-Then I go in sdcard I don't navigate files, I see folders with casual characters. This is an effect of encryption of the device?
Killus3 said:
Goodmorning everyone!
Yesterday I have:
- Unlocked bootloader correctly!
- Installed TWRP correctly!
- Make a TWRP Backup of all partitions of the device, except data partition because TWRP gives me an error during backup attempt.
- Then I start the device.
- After start the device I go to recovery TWRP to install Magisk, but the phone goes bootloop.
After reboot 2-3 times on the screen appears for a few moments a message of eRecovery that have restored something but I don't know. Then the device shows me the eRecovery that asks me to make a factory reset.
At this point I shutdown the device, go in TWRP to flash Magisk unistaller and the device goes out bootloop and works fine but without root.
How I can solve this problem and install Magisk and have root finally?
Some question:
-When I flashed TWRP (via fastboot) and I configurate it, example language, hours, etc... TWRP don't save the settings, in fact when I go in TWRP again I do remake the settings. Why?
-Then I go in sdcard I don't navigate files, I see folders with casual characters. This is an effect of encryption of the device?
Click to expand...
Click to collapse
Answers to all your concerns go here mate---> TWRP doesn't decrypt data. Done.
Hence: weird folders in there, nowhere to store its settings prefs, about Magisk it's another story, if you want root go SuperSU latest beta.
Regards.
a basically did what that guy did, got root installed via TWRP but my google apps are all busted.
I tried flashing the update_data_full_public.zip and update_full_hw_usa.zip I found using the russian device lookup link switching trick but I the HW errored when I tried to flash it in TWRP and my play store still broken.

Cannot decrypt Xiaomi Redmi Note 3 (SD version)

Hello guys,
There's a problem associated with encryption of my RN 3 Snapdragon edition. Some time ago, I've officially unlocked my bootloader, to flash any custom roms I want, whenever I want (before I was using the way around it, where unlocked bootloader wasn't necessary).
OK. Back to my point, when i unlocked my bootloader, I installed Resurrection Remix rom and it was android 7.x.x I think. Somehow I was offered to encrypt my data, to have better security of my phone, etc. So I encypted it. Then everytime I turn on or reboot the phone, I was asked for a PIN code during the rom start up screen or when entering TWRP recovery. I forgot that my phone was encrypted, and I formated/deleted all possible data on my phone (internal storage, cache, etc) using TWRP and installed a fresh Lineage 8.0. Then it asked for a password on first boot, if i want to use my old data, the old password was not correct and i just chose the option to forget about old data and use it as a new phone. The phone didn't boot at all. It booted only after installing stock MIUI rom via FASTBOOT with miflash tool, and then installing the Android 8.0. But until now it shows, that my phone is encrypted in the settings menu and when i enter TWRP, it tells me the phone is encrypted and I can't see my files on internal memory and it's hard to flash the phone, as I have to use adb sideload or some other ways, but I cannot use the TWRP in normal way.
BTW, I tried factory reseting, wiping everything I can, installing official MIUI roms several times and so on, nothing helped.
If you have any thoughts please write them below, any info is important,
Thanks in advance
Then everytime I turn on or reboot the phone, I was asked for a PIN code during the rom start up screen or when entering TWRP recovery.
Click to expand...
Click to collapse
You obliviously choosed to "Require Pin/Password/Pattern on boot up" when setting up your pin code.
To decrypted the device, you will need to Format Data (Not wipe or Factory Reset), and flash any of following before booting the device:
SuperSU, Magisk, Custom Kernel or FED Patcher.
Thanks alot, it worked.
I've formated data, flashed fresh rom, gapps and custom kernel before first boot up from TWRP.
Reminder!
If you update your rom,
make sure also to reflash the custom kernel before booting the device.
Otherwise your device will encrypt on boot.

[URGENT] Flashing Support Needed

[UPDATE]
Hey,
Just to say, I managed to fix the biggest mess up in technology ive done in a long while (thank God). So everything seems to be working fine now.
Thanks
-Rory
Hey,
I recently flashed the Pixel Experience Rom, which automatically activated the "pin at boot" function of Android. That was fine until I tried to root my phone, so booting into TWRP I was greeted with a decrypt screen. I typed in my PIN and it failed. I have reboot my device into TWRP about 6 times now from TWRP as this is a known bug to no avail. Then, panicking, I went on boot loader and ran "fastboot wipe **" (The ** being system, boot, recovery, userdata etc etc). By doing this I stupidly deleted my NAND backup. I then reflashed TWRP. TWRP still needed to be decrypted.
I then used "adb push" to transfer the zip file of the ROM to my phone while in TWRP, I then tried flashing it from TWRP but it returned error code 7 and couldnt mount /system /sdcard etc etc as it had been encrypted.
Right now I am trying to flash the stock firmware from fastboot. I have flashed "system.img" and "boot.img." Yet there is no userdata file.
I have rebooted my phone but it takes me straight to recovery, which is still encrypted.
Any help will be massively appreciated.
Thanks
-Rory
Heyyo, just a heads up format data does a reformat on user data partition and disables encryption.
But I believe I have the proper solution to TWRP in my test thread under BETA downloads as Indian EUI ROM has forced encryption where as Chinese ROMs seem to have none which is why switching from Indian EUI ROM to custom ROMs gives decryption errors.
https://forum.xda-developers.com/le-max-2/development/test-twrp-3-2-1-0-leeco-le-max-2-t3734209

Help with Twrp: Can't mount data

I literally got my Mi Pad 4 (lte) today. Initially it had MIUI EU rom installed, but I somehow managed to wipe the system while trying to install Lineage 16, resulting in having no OS. After several hours of struggle, I managed to install MIUI 10 Chinese stock (10.3.2) via MiFlash. However, I cannot go pass the twrp password stage when I use twrp on adb. I tried formatting data a few times, but it didn't work. I tried adb sideload option from twrp to install twrp or any other ROM, but again, the data mounting issue got in the way. I am completely stuck, and I am desperate. I have tried many different versions of twrp available on this forum, but none of them worked. Could anyone possibly help me? Which twrp worked for you? I've tried:
"TWRP-20190104-3.2.3.0-3-clover.img"; "twrp-3.3.1-clover.img" (from unofficial twrp); "recovery-TWRP-3.2.3-0930-XIAOMI_PAD4(PLUS)-CN-wzsx150.img".
Any help would be hugely appreciated! Many thanks!!!
Problem solved! I used the latest version of the Chinese TWRP (by LR Team) which has a function to disable forced encryption. I needed to reboot the tablet a couple of times to achieve it, but eventually the password step on TWRP was gone! Many thanks to LR Team!! I still don't know what (else) I should do when the 'format data' option on TWRP doesn't remove the encryption. .. Anyway, I have now managed to install MIUI 10 EU then Pixel Experience without an issue.

MI A3 unable to install custom rom

Hi,
I know I must be doing something dumb, but I am unable to install any rom on my MI A3. I unlocked my bootloader and installed TWRP. I tried installing the havoc os rom on my phone and it wouldn't boot after that (kept going straight into fastboot). So I went back to TWRP and wiped my internal storage and tried installing it again but the same problem kept happening. Now I cannot install any rom ( I have tried Lineage OS and crDroid). I performed the following steps to install a rom:
1. Copy the zip file to internal storage from my laptop
2. Clicked on install
3. Chose the file I just transferred
4. Did the swipe to confirm flash thing
5. It does the flash process without any errors, but then says do you really want to reboot, there is no OS installed.
Even if I try to reboot, it goes straight to fastboot. Checking my internal storage through TWRP, I can see that my system folder is empty.
EDIT: I realised that I need to flash it twice because of the A/B partition thing. I tried doing that too. Now, TWRP no longer says that there is no OS installed and I can see that there are some files in system/. However, I still cannot boot into the OS. It goes straight to fastboot.
EDIT AGAIN: I am able to boot after flashing the stock fastboot rom. So at least I can use my phone for now. However, I would still like to use Havoc OS. Any help is appreciated.
I tried a couple more ROMs. Pixel experience also gets stuck at fastboot and Lineage OS gets stuck in a boot loop
pranav-dahiya said:
Hi,
I know I must be doing something dumb, but I am unable to install any rom on my MI A3. I unlocked my bootloader and installed TWRP. I tried installing the havoc os rom on my phone and it wouldn't boot after that (kept going straight into fastboot). So I went back to TWRP and wiped my internal storage and tried installing it again but the same problem kept happening. Now I cannot install any rom ( I have tried Lineage OS and crDroid). I performed the following steps to install a rom:
1. Copy the zip file to internal storage from my laptop
2. Clicked on install
3. Chose the file I just transferred
4. Did the swipe to confirm flash thing
5. It does the flash process without any errors, but then says do you really want to reboot, there is no OS installed.
Even if I try to reboot, it goes straight to fastboot. Checking my internal storage through TWRP, I can see that my system folder is empty.
EDIT: I realised that I need to flash it twice because of the A/B partition thing. I tried doing that too. Now, TWRP no longer says that there is no OS installed and I can see that there are some files in system/. However, I still cannot boot into the OS. It goes straight to fastboot.
EDIT AGAIN: I am able to boot after flashing the stock fastboot rom. So at least I can use my phone for now. However, I would still like to use Havoc OS. Any help is appreciated.
Click to expand...
Click to collapse
My problem is that I can't install havoc os. I tried all the methods....
Same for me, first time I installed Pixel Experience like you did and worked well, then I tried again and I can't install no more custom ROMs, always getting error 1 in recovery, or not installing TWRP at all. I was able to boot phone again by fastbooting Stock Android 10 v11.0.11.0 April.
But I really enjoyed PE and I wanted to install it.

Categories

Resources