Problem after flashing wth global rom - Xiaomi Mi Mix 2 Questions & Answers

Hello,
I get Xiaomi mix 2s global with:
-Unblocked bootloader
-Installed OrangeFox Recovery
-Installed some Android 10 pixel experience rom
I wanted back to original global rom with stock recovery and reblock bootloader, so i download Global Stable ROM V11.0.5.0.QDGMIXM, put to internal storage and install from OrangeFox.
And now, when I turn on the smartphone, it’s starts, restart and go again to OrangeFox recovery.
In log I have: “Android Rescue Party trigger! Wipe data and caches and/or clean-flash you ROM!"
OrangeFox disables forced encryption by default, and now I need to enabled encryption? How to do it?
So, How to fix it?
I want to back to original global rom with stock recovery and reblock bootloader, bu first I have t turn on system.
Thanks
EDIT:
After installatin PixelExperience_polaris-10.0-20200528-1111-OFFICIAL from OrangeFox, smartphone starts normally, now I want to back to stock rom, recovery and reblock bootloader.

If your bootloader unlocked try formatting your data in orange fox recovery and reboot and see if that fixes it. Just remember formatting data partition wipes everything on your device so anything you want to save be sure and transfer over to your PC first.

doesntwork
flash713 said:
If your bootloader unlocked try formatting your data in orange fox recovery and reboot and see if that fixes it. Just remember formatting data partition wipes everything on your device so anything you want to save be sure and transfer over to your PC first.
Click to expand...
Click to collapse
I got the same error - Android Rescue Party trigger..." and bootlop.
EDIT:
But I wiped:
Dalvik / ART Cache
Cache
System
Data
Didn't wipe: Internal storage and Vendor.
After that, i installed Global stable V11.0.5.0.QDGMIXM and get the same error, but some settings have been saved - for example my pattern for unlocking.
EDIT:
I did: wipe all, reboot to twrp, flash ROM, and when I try format data, I get error:
Formatting Data using mke2fs...
mke2fs -t ext4 b...
Proces ebded with ERROR: 1
Unable to wipe Data.
Unable to format to remove encryption.
EDiT3:
Success!
I tried once more, and it's ok.
Solution:
1. Wipe all via recovery
2. reboot to recovery
3. flash rom
4. Format data partition (format, no wipe, if mke2fs doesn't work, try with rm-f)
5. Reboot system.
After that everything is ok, at the end uploading stock recovery via adb went without a any problem.
Thanks!

Just to help many others. The trick here, is to format data, not just wipe data from TWRP. You need to hit format data from the wipe menu and type "yes" to confirm. Some things need to be said in plain English.

MetallicGR said:
Just to help many others. The trick here, is to format data, not just wipe data from TWRP. You need to hit format data from the wipe menu and type "yes" to confirm. Some things need to be said in plain English.
Click to expand...
Click to collapse
Thank you so much. I had formated the internal memory and working, no bootloop into recovery.

master_lam said:
Thank you so much. I had formated the internal memory and working, no bootloop into recovery.
Click to expand...
Click to collapse
i did all the steps you did and i still had problems, any other solution?
Forget it, your steps worked for me too!

Related

[SOLVED] Help! "encryption unsuccessful" message!

I was running oos based nougat custom rom with blu spark recovery. Then flashed official ob1, didnt like it, wiped cache/data/system and reinstalled my old oos nougat rom (audax 4.7.6). Now i get the above mentioned message..
Things i tried:
- addionally wipe internal storage and media (installed rom via adb sideload then)
- reformat system/cache/date with ext4
I googled the error and for most people (threads werent particularly concerning the op5t however) it seems that just wiping data and reinstalling the rom did the trick. Not for me though..
What can i do now?
Solution: reformating the data partition with ext4 is not enough. I had to format to FAT and right after that again to ext4, reboot to system and boom, it worked!
PS: i wonder what data is on the internal storage partition that i deleted? I didnt have any data on the phone, i just wonder.. It isnt somehow crucial to the phone?!
I think the decryption key is somehow embedded into the internal storage as wiping /data does not delete the PIN/pattern. Might be a hidden partition or something similar that is not wiped when wiping /data as long as it is ext4.
Your data is gone. It failed to completely encrypt and now there's nothing that can be done. Format /data as ext4 and let it try encrypting again
I have the same problem exactly. Can you explain in steps you have installed then format or how?
I have the same problem exactly. Can you explain in steps you have installed then format or how?
Click to expand...
Click to collapse
I had the exact same problem. But it is an easy fix but does require wiping your internal storage.
So the save way of doing this would be:
1. Backup all your data by going to TWRP or your ROM if that still works. Plug in an USB cable and use MTP or the adb pull command to backup your data
2. Reflash OB1 with no root (like Magisk of SuperSU) if you have TWRP. This will cause you to have the stock recovery again. I also recommend to do a clean flash (Wiping system and data before flashing the rom).
3. Download the rollback build from Oneplus [HERE] and copy this to the internal storage.
4. Boot into the stock recovery flash the rollback build. THIS STEP WILL WIPE YOUR INTERNAL STORAGE.
5. Now you have OxygenOS 4.7.5. Download OxygenOS 4.7.6 Incremental Update [HERE]
6. Go back to the Stock recovery and flash the incremental 4.7.6 zip.
7. You have the latest version now. So boot to fastboot reflash TWRP and flash SuperSU or Magisk in TWRP to regain root
Guys I did a fail, i had OB3 installed, and I wanted to try RR so I wiped system and when I tried to install I have seen error 7 saying its for dumpling not for oenplus5t.
So I restored.... But instead restoring OB3 I have restored stock Nougat rom -.- I have even stock recovery now, what is the best way to fix it?
Can i change to FAT and stay and dont go back to ex4 again?
Hi i don't know if u r reading this but if you are please help me cause I'm so lost and confused over this since yesterday...
so 2 days ago my phone started lagging and hanging and freezing until i realized i have got this issue with data encryption
i have a rooted sony z2 with TWRP Custom recovery
first i didn't know it was with data encryption failure so i literally factory reset and installed all my apps and data again and again!!! after every time my phone started to lag !!
after one whole day of trying everything i finally realized its actually with the data encryption and i should change my ex4 to something else... so here again i wiped the phone and changed to ex3 and installed and all my data and apps all over again
but after a couple hours...same problem again.....
im literally so tired of not knowing what to do ! my head hurts so much due this ugh....
i havent changed to FAT from ex3 so im wondering if it will finally solve my problem permanently if i change to FAT ??
And if it did can i just keep it on FAT forever ?
Please guide me thanks ...!
Lasersdude said:
I was running oos based nougat custom rom with blu spark recovery. Then flashed official ob1, didnt like it, wiped cache/data/system and reinstalled my old oos nougat rom (audax 4.7.6). Now i get the above mentioned message..
Things i tried:
- addionally wipe internal storage and media (installed rom via adb sideload then)
- reformat system/cache/date with ext4
I googled the error and for most people (threads werent particularly concerning the op5t however) it seems that just wiping data and reinstalling the rom did the trick. Not for me though..
What can i do now?
Solution: reformating the data partition with ext4 is not enough. I had to format to FAT and right after that again to ext4, reboot to system and boom, it worked!
PS: i wonder what data is on the internal storage partition that i deleted? I didnt have any data on the phone, i just wonder.. It isnt somehow crucial to the phone?!
Click to expand...
Click to collapse
Finally. Thank you so much!

Guys Please help. Unable To Mount... error. Tried everythng. Video given.

I have watched a lot of tutorials but nothing is working please someone help
I made a video of the problem and what I tried. Can anyone understand what happened
https://www.youtube.com/watch?v=VaN-y-Worlg
Update: In Data i Changed the file system and went back to original. Didn't work.
I even wiped system. But i guess the only problem is to fix the "data". Since it shows 0 Mb size. But i can't find any way or guide. The ones i did find are too advanced and use cmd commands and toolkits which i don't think an inexperienced user like me should be following.
Some background information: i attempted to install Open gApps and enable Camera2 API. I Entered "read only" mode.
The adb shell commands for enabling it wasn't working (some "proprietary" something shown )
So I tried another method. I downloaded the latest Magisk and flashed it. Then i tried gApps. I don't remember when i started to think what went wrong but yeah..
I found this and I think it may be related.
But I don't understand it properly.
And its and Old post for some other Recovery
https://forum.xda-developers.com/go...o-repairing-corrupted-data-partition-t2577447
See if this will help you
https://forums.oneplus.com/threads/closed-solved-twrp-unale-to-mount-storage-help.544878/
Essentially reboot twrp then wipe-> format data
jaybeeee said:
See if this will help you
https://forums.oneplus.com/threads/closed-solved-twrp-unale-to-mount-storage-help.544878/
Essentially reboot twrp then wipe-> format data
Click to expand...
Click to collapse
DId that in the video. Doesn't work
Did you reboot twrp first? I don't see that
jaybeeee said:
Did you reboot twrp first? I don't see that
Click to expand...
Click to collapse
Oh yeah didn't do it in the video.. But yeah no good.
Crap, sorry to hear it, hopefully someone better than me chimes in. Good luck!
Why did you wipe internal storage? And what are you trying to mount. If you are trying to install a new rom all you need to wipe is cache, dalvik, system and data. Wiping internal storage removes everything from the internal SD card and if you do this then you have no OS.
Sent from my iPad using Tapatalk
Stransky said:
Why did you wipe internal storage? And what are you trying to mount. If you are trying to install a new rom all you need to wipe is cache, dalvik, system and data. Wiping internal storage removes everything from the internal SD card and if you do this then you have no OS.
Click to expand...
Click to collapse
At this point i can't care less about the data in internal storage. I just need to flash the official MIUI ROM back, enable Camera2 API and live in peace. At this moment I'm halfway through downloading the ROM but I'm not sure if i can flash it due to the Mount Issue of internal storage. I plan on transferring it to my micro SD card and flashing it from there to System Image. Will it work? And Internal Storage formatting failed in case you didn't notice. Practically nothing worked except the file system change of "data". And even that didn't fix the unable to Mount issue.
Stransky said:
Why did you wipe internal storage? And what are you trying to mount. If you are trying to install a new rom all you need to wipe is cache, dalvik, system and data. Wiping internal storage removes everything from the internal SD card and if you do this then you have no OS.
Click to expand...
Click to collapse
Btw i gave more information on the first post.
Have you tried redwolf recovery? If it has the same error then flash your phone with fastboot rom
devcon69 said:
Have you tried redwolf recovery? If it has the same error then flash your phone with fastboot rom
Click to expand...
Click to collapse
Hevent tried redwolf recover. Just Fastboot flashed the ROM on intuition. And it Worked!!

Installing custom roms

I'm having issues installing any custom roms. I can install the Xiaomi.eu rom fine. I've tried installing a few others and after starting up, I see a few seconds of a spash screen, then it goes back to recovery.
Each time before installing the rom I clear cache, system and data. Then I do the cache clean before starting up. I've also tried doing a full data clean and hasn't helped either.
Whenever it fails, I reinstall the xiaomi.eu rom and once again it works fine.
Phone is unlocked and I get the unlocked image when starting up my phone.
Any ideas?
format, not wipe data
Follow These Steps:
1)Reboot to Recovery
2)Wipe>Format>Yes
3)Reboot to recovery again
4)Wipe>Advanced Wipe>Select Dalvik, Cache, Data and just wipe it (And other necessary partitions) [Don't Wipe Internal storage or SD card]
5)Now go to install and click on the ROM where you have stored it, Flash the zip file
6)Now wipe>Format>Yes
7) Now reboot to System

Unable decrypt FBE device

I flash rom EU stable v12.0.3 on my redmi note 9 pro 5g, after time of used, i wiped dalvik, cache, data without sign out of my google account. The system reboot and show a notice that my decive was not certified by play protect.
I flash china rom v12.0.3 by miflash and flash twrp 3.5.2. But it cannot decrypt storage.
I flash china rom and twrp again, the same result. What's happen with my device and what can i do now. Thanks for your help so much.
Did you format data? This is different from wipe data
Format data is the option on the right next to advanced wipe option.
Formatting data removes encryption so backup anything on internal storage first
After formatting data reboot back to recovery
If all else fails flash stock firmware via fastboot and start again
TheFixItMan said:
Did you format data? This is different from wipe data
Format data is the option on the right next to advanced wipe option.
Formatting data removes encryption so backup anything on internal storage first
After formatting data reboot back to recovery
If all else fails flash stock firmware via fastboot and start again
Click to expand...
Click to collapse
After many times format data and try to connect with 3 pcs, i had an eu dev rom on my device. Because stable eu rom still notice about play protect. Hope that next eu stable rom will fix it.
Thanks bro alot!

[Q] How to decrypt data partition without losing data?

Hi there,
My phone doesn't boot to android and returns to recovery every time, after doing a dirty installation from ArrowOS 11 encrypted to 12 also encrypted.
I made a backup, but I selected the internal storage by fault.
And now TWRP doesn't ask me for a password, so I can't decrypt the data partition.
What I tried to fix the issue:
I tried to install more than one TWRP version included [Orange fox, PBRP, and a one called twrp_ginkgo-willow-3.4A9_23-12-2020_BL.img (this was one I used before with ArrowOS 11]
installed the last working firmware and the latest ArrowOS 11 as I can't find older versions.
decrypting the data with this command: "ADB shell twrp decrypt mypincode"
The last time this happened to me, I followed those steps:
I had to wipe all partitions and clean install the same previous ROM
Then I created the same pin code as my previous one
I created a backup of boot, Dtbo, and recovery
restored my data backup through TWRP
restored the boot, Dtbo, and recovery
wiped the Dalvik / Art Cache and Cache
The problem now is that I created the backup on the internal storage by fault. If someone made the same pin code as mine and created a backup of the boot, Dtbo, and recovery for me is it going to work?
Is there anything else I can do to recover my data?
QuietLife said:
The problem now is that I created the backup on the internal storage by fault. If someone made the same pin code as mine and created a backup of the boot, Dtbo, and recovery for me is it going to work?
Click to expand...
Click to collapse
No, decryption key is unique
QuietLife said:
Is there anything else I can do to recover my data?
Click to expand...
Click to collapse
If you already (sometime in the past) flashed DFE wih format data , then just flash DFE and clear chache/dalvik + reboot
if you never did it then i'm afraid there is no solution ,you have to format
Ask in DFE topic to make sure
loopypalm said:
No, decryption key is unique
If you already (sometime in the past) flashed DFE wih format data , then just flash DFE and clear chache/dalvik + reboot
if you never did it then i'm afraid there is no solution ,you have to format
Ask in DFE topic to make sure
Click to expand...
Click to collapse
I didn't use it, but last time I didn't use it also and I restored my data, so I think I might have a chance.
Is there a way to backup the current encrypted data partition to a PC or a memory card?
QuietLife said:
I didn't use it, but last time I didn't use it also and I restored my data
Click to expand...
Click to collapse
Some roms does not encrypt data by default, that was the case i think
QuietLife said:
Is there a way to backup the current encrypted data partition to a PC or a memory card?
Click to expand...
Click to collapse
I never tried it (i never encrypt) so i'm not sure
you can change the bkp path in Ofox to USB (OTG) or SDCard and see if it work

Categories

Resources