I wanted to do an update from xiaomi.eu MIUI 9.5.X ROM to MIUI 10 on my wife's Mi Note 3. Unfortunately, I run into encryption troubles. Here are the steps I did:
1. Booted to preinstalled TWRP (I think it was 3.0.2) and did a full backup. Unfortunatelly I only saved to internal phone storage :crying:
2. Wiped Dalvik+Cache
3. Tried to install MIUI 10 Stable but got some errors in TWRP (remember it saying Error 7). Tried to wipe System as well but didn't help.
4. I updated TWRP to 3.1.1. and then managed to successfully install MIUI 10 version. First boot went OK.
Because I wiped System in TWRP I lost all app settings. My idea was to proceed with a restore from a full 9.5.X backup and then repeat the update to MIUI 10 without wiping in order to keep all applications etc.
5. So I booted again to TWRP 3.1.1 and did a restore from a backup.
After the reboot following message appeared: ''Encryption was interrupted and can't complete. As a result, the data on your phone is no longer accessible. To resume using your phone you need to perform a factory reset....''. In TWRP I can't access any files on internal storage - it shows 0 MB.
Can you please explain to me why this happened? Is it somehow related to TWRP update after performing a backup? I know that the solution is to format data in TWRP but I would like to avoid it. Is there any way of saving phone's data?? Does it make sense to try flashing MIUI 10 ROM via USB-OTG?
Any help would be highly appreciated. We really don't want to lose photos of our little baby from last holidays.
Thank you.
Related
Hi,
My current problems are: my internal storage is completely deleted somehow and when I try to start the device it's bootlooping.
What happened before that was:
1. I was in MIUI 10 globe rom and had the regular TWRP (before treble thing I think)
2. I installed orangefox recovery so I could install a treble RR rom.
3. I backed up my MIUI rom and installed the RR rom without problems
4. Then I wanted to go back to MIUI rom
5. First I installed normal TWRP img into my recovery, because I couldn't recover the MIUI rom in orangefox (couldn't find the file)
6. Then I tried to recover the MIUI rom, but I didn't factory reset before i recovered. I thought that would happen anyway if i recovered a rom. But my recovery file didn't include bootloader and firmware. I had 2 recovery files in my internal storage. One of everything except the bootloader and firmware and the other recovery file was of the bootloader and firmware (i forgot to include them the first time i backed up)
7. So anyway, I recovered the first file and everytrhing was fine, but then immediately i also recovered the second file (the bootloader and firmware only). But the second file failed to recover.
8. I tried to boot the device, but it bootlooped at the MI globe image, then went back to MI logo, then mi globe image, etc. And finally it goes back to TWRP automatically.
9. Went back to recovery to see what's wrong. First I did a normal factory reset (only system, cache and dalvik, no internal storage) so I could install the RR rom I still had in my storage
10. Suddenly I see NOTHING in my internal storage in TWRP. Shows 0 gb.
So can anyone tell me what went wrong??? I never touched the 'format internal storage/data' thing in TWRP, but somehow it deleted it??? Wth happened?
And more importantly, what do I do now? Do I treat this as a bootloop or a bricked device? I know I have to use ADB and stuff to reset the device, right? Or Do I have to do something else?
Anyway, thanks in advance!
Edit: wait, i formatted /data now in TWRP and it booted into MIUI 10 after but with internal storage gone now of course. But I'd still like to know what went wrong.
HI
after some wrong uninstalling service from my clean miui 9.6.25 global
i tried to restore rom by usual way from twrp.
but when done the pocophono never run to boot only logo screen(waiting atleast 15min which ofcourse is not normal).
has anyone faced that?
do i need to flash ENCRYPT disabler again after restore?:silly:
Come on......!!! cant be only me???!!!heheheh
TWRP is for lifesaver not to trouble as all know
I've found this too.
Encryption shouldn't matter.
Try restoring only one partition at a time to see which is causing the error. I think it's Userdata in my case, but Userdata Image may work.
I've not bothered to investigate why this happens yet.
ok
i will try mate.
thank u!
i will come backup for update
My phone had latest Miui9, then I installed Twrp and backup the Miui9 rom by Twrp.
then I flashed Miui 10, back up it with TWRP.
Then try to restore my Miui 9 Twrp backup, after done the phone boot to Fast boot mode only.
Even tried restore Miui10 still it would boot to fastboot mode only. Flash new rom and reboot it will ask for encryption password.
The fix is need to format data (Wipe > Format data > type yes, after flashed the rom), and reboot it should work.
Yeah, restoring MIUI backups is a real pain... Because of that, I always flash the ROM zip file first, then restore the data only, reboot and it works.
mario123m said:
Yeah, restoring MIUI backups is a real pain... Because of that, I always flash the ROM zip file first, then restore the data only, reboot and it works.
Click to expand...
Click to collapse
so steps:
1st flashing miui rom.zip
2nd restore files with twrp backup file?
and all works perfect????
data? system? image system? which please
first time i hear this method...hehehe
pin\password asking after?
miui account find device e.t.c?
I switch ROMs pretty often and MIUI never booted after restoring.
There's a simple workaround: just reflash MIUI whenever you restored.
emmanuelo7 said:
so steps:
1st flashing miui rom.zip
2nd restore files with twrp backup file?
and all works perfect????
data? system? image system? which please
first time i hear this method...hehehe
pin\password asking after?
miui account find device e.t.c?
Click to expand...
Click to collapse
Install MIUI zip (with the same system you backed up), then go to restore and just restore data and nothing else. If you used Magisk before, flash it too after restoring. Then reboot. I don't know about Global ROMs as I always use Xiaomi.eu but I think it should work the same way. Oh, and never backup data with a password/pin/fingerprint set because it will not recognise it after reboot and you will have to use TWRP to delete locksettings from /data/system which adds unnecessary steps to this tedious procedure. Good luck.
thank u bro!
mario123m said:
Install MIUI zip (with the same system you backed up), then go to restore and just restore data and nothing else. If you used Magisk before, flash it too after restoring. Then reboot. I don't know about Global ROMs as I always use Xiaomi.eu but I think it should work the same way. Oh, and never backup data with a password/pin/fingerprint set because it will not recognise it after reboot and you will have to use TWRP to delete locksettings from /data/system which adds unnecessary steps to this tedious procedure. Good luck.
Click to expand...
Click to collapse
Hi, I'm having the same issue.
I get a PIN code. How can I bypass it?
How can I avoid it in the future?
Thanks!
if password promt during boot u have no option other than format data
only lockscreen can be deleted via twrp
I had the same problem in my pocophone and solved it like this:
1. Advanced wipe all data except Internal storage (so you do not lose your data)
1.1 Flash or boot twrp again
2. Install the official rom using the way you know
3. Starts android the first time but without doing the initial configuration of android (I'm not sure if this is necessary but it costs nothing to do it)
4. Through twrp, restores the data but only the options Boot and Data, dont select System
And that's it. I hope it works for you.
I was trying different combinations and I realized that it is the system folder that has a problem when you make the restoring, don't know why.
I was using pocophone with MIUI 10.2.2
mario123m said:
Install MIUI zip (with the same system you backed up), then go to restore and just restore data and nothing else. If you used Magisk before, flash it too after restoring. Then reboot. I don't know about Global ROMs as I always use Xiaomi.eu but I think it should work the same way. Oh, and never backup data with a password/pin/fingerprint set because it will not recognise it after reboot and you will have to use TWRP to delete locksettings from /data/system which adds unnecessary steps to this tedious procedure. Good luck.
Click to expand...
Click to collapse
Thanks a lot!
hey guys just looking for some help. ive been modding and flashing phones from 2014, but its always gone really smoothly, so my diagnostic ability is lacking.
it started with flashing twrp. my bootloader is unlocked, usb debugging on, device is showing in adb and fastboot, and i can flash twrp without any issues. hoowever when i go to boot twrp, only the stock recovery boots. i tried to flash twrp using the XiaoMiTool v2, but the same thing happened. i eventually got around this by just booting twrp instead of trying to flash it. so i got in, took a full back-up and started installing a custom rom.
the first one i tried was ParanoidAndroid Quartz. i wiped cache, dalvik and storage then transferred it to my phone, tried to flash and got "zip verification failed". so i turn off zip verification and tried again. it flashed perfectly with zero errors. however, when i reboot the phone it would only boot to stock recovery and not twrp (expected) or the new rom. i tried that a few times, then tried LineageOS, and MSM Xtended 10. all of them had the same issue, the flashed without a hitch, then wouldnt boot.
i also tried flashing a new fw-vendor and it just straight up failed. Then i decided to cut my losses and restore my twrp backup, and that came back with the error, "extractTarFork() process ended with error: 255"
Software before i began these attempts was completely stock, so i dont know what is going wrong, but as of now, my phone is bricked, i cant install a new rom or restore my back-up.
any help is appreciated guys. thanks
You can figure out this problem with
1 Copy backup folder to computer
2- Format Data - Yes , Wipe Everything
3- Install ROM that you have installed before and boot
4- Go to TWRP, format data yes reboot recovery
5- Paste backup folder to internal storage and restore
When I was using stock RealmeUI (android 10) just looking some ROMs for RMX1851. And I've see Corvus ROM, just wanted to install my phone. I enter the TWRP and took a nandroid backup except data section and just deleted cache, internal storage, dalvik cache, cache and... vendor. Then I swipe to install and boom! ERROR 7. And I just wanted to back to stock ROM via TWRP nandroid backup. What happened? of course it didn't work. Nothing see wrong while restoring backup but the device doesn't boot up. I can still enter TWRP and flash somethings. And last thing is the build.prop file is not in their place.(/system/build.prop) Please help me.
Can someone take and share realmeUI nandroid backup please? This method might work.
Just flash realme ui ota file
Don't you think I didn't try that? It doesn't work.
Hello, I now have 8 days note 10 lite today I unlocked bootloader, installed TWRP via adb after that I installed lineage os and wiping data etc. After that I faced a bootloop and lineageos bootscreen doesnt go away after 15 minutes.
So I tried to reflash the rom again, but twrp isnt able to reinstall the rom. I then used miflash to get original rom again.
Started all over installed twrp, flashed lineage os after this install after reboot I get everytime back into TWRP and looked on my pc and all files suddenly are encrypted on my phone and cant get lineage os rom again on my phone..
So I used miflash again and decided to ask here first. Does anybody know if I maybe use a wrong TWRP or missed a step?
I really dont understand it, I tried it for a 3th time. Here is exactly what I did.
- installed TWRP through ADB (TWRP-3.4.0-0_Android11_Roms_AndroidHQ254)
- In TWRP put rom on my internal storage
- Wipe Dalvik, data and cache
- Install rom (TWRP-3.4.0-0_Android11_Roms_AndroidHQ254)
- data wipe (where I had to type yes to confirm)
- Reboot to system and then it doesnt do anything and goes back into TWRP where I cant do anything, and I have to flash original rom back through MiFlash.
I run now MIUI 12.0.2
Android 10
Try using orangefox recovery. And i think you have to wipe data before installing rom, not after it.
ApexPrime said:
Try using orangefox recovery. And i think you have to wipe data before installing rom, not after it.
Click to expand...
Click to collapse
Thank you, I was able to do it with Orangefox.