"soft" reset xiaomi.eu MIUI 11.2 with twrp? - Redmi K20 / Xiaomi Mi 9T Questions & Answers

H'ola,
so i'm running MIUI 11.2 latest beta from xiaomi.eu on my 9T , rooted with twrp. i like to "reset" the phone, just soft-reset .. deleting everything, a complete wipe.
When i'm using the miui option for it, the phone going to restart into twrp and then nothing happens?
maybe someone of u know, how to do it?
thanks

From TWRP, format data, wipe cache and reboot.

thanks, i was a bit unsure about that .. coz i read a couple of times "never wipe system,data partition on a 9t" ..

solved said:
thanks, i was a bit unsure about that .. coz i read a couple of times "never wipe system,data partition on a 9t" ..
Click to expand...
Click to collapse
I confirm that you should never wipe system or vendor on the 9T, even prior to flashing new ROMs. Doing so causes soft "stuck in fastboot" bricks on many Xiaomi devices.
Wiping or formatting data is totally fine (well assuming you want to lose your data). Formatting data is required after flashing a different ROM or if you want a true Factory Reset.

I just wiped data and cache, it worked.
Thanks

Related

[Q] About using / wiping using TWRP

Hello people. Just wanted to ask how is the right way to wipe when flashing a rom WITHOUT losing the rom (wiping internal)? In CWM i just factory / reset data then thats it then clear cache and dalvik cache. In TWRP do i just need to swipe when the screen says "Most of the time this is the time that you need" when i will flash rom? Thanks for guiding!
anyone?
1. factory reset
2. advance, wipe system
thats all for me, works everytime... just make sure to wipe cache/dalvik after flashing zip files be it roms or gapps or whatever :good:
The default "most of the time" option is a fresh reset of the phone. it wont wipe the ROM itself, but all the data will be lost and you start over. Wiping system will remove everything, a ROM must be flashed after wiping system.
So before i flash a rom i wipe the "most of the time" then advanced format system? right?
zero0422 said:
The default "most of the time" option is a fresh reset of the phone. it wont wipe the ROM itself, but all the data will be lost and you start over. Wiping system will remove everything, a ROM must be flashed after wiping system.
Click to expand...
Click to collapse
So before i flash a rom i wipe the "most of the time" then advanced format system? right?
true that... sorry for misleading initially, format system only applicable if you wanna have clean install of new rom
marshygeek said:
So before i flash a rom i wipe the "most of the time" then advanced format system? right?
Click to expand...
Click to collapse
No need to use format system unless you are installing a fresh ROM. Format system will remove everything from your device (other than sdcard info and all that). So you get a clean slate.
If you just want to flash an update to the same ROM you can either 'dirty flash', which I usually just wipe cahce/dalvik then flash the ROM and reboot, and you save all your user modified things, or you can wipe system and install the ROM. You lose everything that way so make backups.
Usually there isnt much need to factory reset unless you're having an issue with something. What is it you're trying to do?
I wanted to flash a stock based rom. Thank you.

What did I do wrong?

My phone was building up too much cache so I decided to go on TWRP and do a wipe of cache and dalvik cache, but after that it started to lag *a lot*. After booting the phone takes a lot of time to load the launcher, Google feed works after 5 minutes of the boot, everything lags, it doesn't detect the Sim card unless I pull it out and in again. What did I do wrong? I what cache is and why does it exist but I didn't think this would do so much harm.
Should I reflash the ROM or something like that? Don't know what to do.
I thought after a few boots it would build up enough cache again to work properly but it has been a week already and every boot is the same, it takes at least 10 or 15 minutes to work properly
E11101101 said:
I thought after a few boots it would build up enough cache again to work properly but it has been a week already and every boot is the same, it takes at least 10 or 15 minutes to work properly
Click to expand...
Click to collapse
Are you sure you haven't wiped any other partition?
Are you on stock ROM?
Anything installed to cache like the loopback bug fix for magisk?
Usually the wipe of cache and dalvik causes no problems, the first boot will take longer but after that everything should turn back to normal again.
If the problems persist a factory reset or if that doesn't help a reflash of the ROM may solve the issues.
Wolfcity said:
Are you sure you haven't wiped any other partition?
Are you on stock ROM?
Anything installed to cache like the loopback bug fix for magisk?
Usually the wipe of cache and dalvik causes no problems, the first boot will take longer but after that everything should turn back to normal again.
If the problems persist a factory reset or if that doesn't help a reflash of the ROM may solve the issues.
Click to expand...
Click to collapse
I decided to flash the ROM again, I am on the Pixel Experience rom, didn't have any fix or anything like that, but after reflashing it has been working better, guess I'll wipe dalvik only when flashing something like a Magisk module.
E11101101 said:
I decided to flash the ROM again, I am on the Pixel Experience rom, didn't have any fix or anything like that, but after reflashing it has been working better, guess I'll wipe dalvik only when flashing something like a Magisk module.
Click to expand...
Click to collapse
I haven't wiped dalvik/cache for over a year now while flashing magisk, different modules and other stuff. I personally think wiping cache and dalvik is overrated on newer devices.
Wolfcity said:
I haven't wiped dalvik/cache for over a year now while flashing magisk, different modules and other stuff. I personally think wiping cache and dalvik is overrated on newer devices.
Click to expand...
Click to collapse
I'll surely not do it again because it ruins the launcher an awful lot.

From AOSP to miui

Hi,
Running latest evolution x rom and want to go back to miui. Simply wiped everything in twrp and installed xiaomi.eu rom - installation was successfully but when It's finish booting and the set-up screen should be there my screen just goes black and set-up screen is coming again and again and again and again. Even tried different miui ROMs. Was running completely fine a week before.
Any suggestions?
FroZine said:
Hi,
Running latest evolution x rom and want to go back to miui. Simply wiped everything in twrp and installed xiaomi.eu rom - installation was successfully but when It's finish booting and the set-up screen should be there my screen just goes black and set-up screen is coming again and again and again and again. Even tried different miui ROMs. Was running completely fine a week before.
Any suggestions?
Click to expand...
Click to collapse
Did you leave your password/pin before you changed rom? Try deleting in TWRP and see if it helps.
zerodynamyx said:
Did you leave your password/pin before you changed rom? Try deleting in TWRP and see if it helps.
Click to expand...
Click to collapse
Thanks for the reply but I don't have a pw/pin.
FroZine said:
Thanks for the reply but I don't have a pw/pin.
Click to expand...
Click to collapse
Sorry but I'm out of ideas then. I usually go back and forth xiaomi.eu and aosp but I haven't encountered this. I usually wipe cache, dalvik, data, and system. I also have to reboot to recovery after wipe before flashing xiaomi.eu to be able to mount the system partition.
zerodynamyx said:
Sorry but I'm out of ideas then. I usually go back and forth xiaomi.eu and aosp but I haven't encountered this. I usually wipe cache, dalvik, data, and system. I also have to reboot to recovery after wipe before flashing xiaomi.eu to be able to mount the system partition.
Click to expand...
Click to collapse
I do the same
Mhm. I will try again this evening. Let's see.
I'm facing the same issue...
Coming from LOS, I flashed latest EU rom, wiped data and internal storage.
Now I'm looping at the setup screen "Just a sec..."
I removed the pin/pwd in TWRP but it didn't help
Did you format data?
IEATMILKA said:
Did you format data?
Click to expand...
Click to collapse
Yes, and internal storage
guilhem_h said:
Yes, and internal storage
Click to expand...
Click to collapse
Format data and then typed "yes"? Not "wipe data" .So that everything gets deleted except twrp?
IEATMILKA said:
Format data and then typed "yes"? Not "wipe data" .So that everything gets deleted except twrp?
Click to expand...
Click to collapse
Oh sorry I misunderstood, no I just wiped /data.
As soon as I copied the rom on my phone again I'll try that if I'm facing the same issue :good:
I followed this steps to come back to MIUI from LOS:
1. Wiped everything (cache, internal, vendor, system, data)
2.After wiping I did "format data" and said "Yes"
3.Rebooted to recovery TWRP again
4.Mounted my phone on PC and copied rom.zip
5.Flashed the zip and reboot to system
Try this and it should work, for me did! Good luck!
Saluzzo97 said:
I followed this steps to come back to MIUI from LOS:
1. Wiped everything (cache, internal, vendor, system, data)
2.After wiping I did "format data" and said "Yes"
3.Rebooted to recovery TWRP again
4.Mounted my phone on PC and copied rom.zip
5.Flashed the zip and reboot to system
Try this and it should work, for me did! Good luck!
Click to expand...
Click to collapse
It worked !! :good::good::good:
Saluzzo97 said:
I followed this steps to come back to MIUI from LOS:
1. Wiped everything (cache, internal, vendor, system, data)
2.After wiping I did "format data" and said "Yes"
3.Rebooted to recovery TWRP again
4.Mounted my phone on PC and copied rom.zip
5.Flashed the zip and reboot to system
Try this and it should work, for me did! Good luck!
Click to expand...
Click to collapse
Oh boi. So when I wipe my internal storage it's not the same like formating data ? This was my mistake
FroZine said:
Oh boi. So when I wipe my internal storage it's not the same like formating data ? This was my mistake
Click to expand...
Click to collapse
I don't know precisely why, but yeah, it's not the same thing. In fact, I had problems too, but formatting data after total wipe resolved them
formatting data "Yes" is another thing that is important when you flash custom ROM or go back to stock ROM.
After flash the miui, go back wipe -> Factory Data -> Type (yes) -> restart
it will be works
Same here
I flashed fastboot rom to get device work again

Phone boots into recovery after flashing an OTA

Hi,
I have been using Derpfest on my Redmi Note 6 Pro for a long time. To flash the latest version, I wiped cache, dalvik cache and data (as per their instructions) and then flashed the full zip. For some reason, the phone does not boot anymore, it goes into Mi logo, reboots, and then boots into recovery.
I have tried clearing data, dalvik, cache, system and internal storage and then flashing two different custom ROMs (Derpfest and HavocOS) but it still does not work.
Can someone please help me recover my phone?
Thanks
Saad Ismail said:
Hi,
I have been using Derpfest on my Redmi Note 6 Pro for a long time. To flash the latest version, I wiped cache, dalvik cache and data (as per their instructions) and then flashed the full zip. For some reason, the phone does not boot anymore, it goes into Mi logo, reboots, and then boots into recovery.
I have tried clearing data, dalvik, cache, system and internal storage and then flashing two different custom ROMs (Derpfest and HavocOS) but it still does not work.
Can someone please help me recover my phone?
Thanks
Click to expand...
Click to collapse
Format data.
DarthJabba9 said:
Format data.
Click to expand...
Click to collapse
This worked, thank you so much. It's so bad I wasted whole day on this .-.
Flash the last miui rom. Recovery Edition. https://c.mi.com/thread-2959490-1-0.html?t=1585141449432&utm_source=share
Boot up and than install the rom you want.
Saad Ismail said:
This worked, thank you so much. It's so bad I wasted whole day on this .-.
Click to expand...
Click to collapse
The latest Derpfest uses a new kind of encryption (FBE). This requires formatting data if you were on an earlier version (or any other ROM) with FDE. This really should have been stated clearly in the Derpfest instructions and changelog (perhaps it was - I don't know). If you were using OrangeFox Recovery, you might have seen something (in red) about Android Rescue Party, advising clean-flashing the ROM.

Cannot fix encrypted data problem

Hey everybody.
I have a problem on the phone and i have been trying to fix it for about 2 days.But no luck.
I had been using MIUI for about 1 year, then i wanted to flash a custom rom.The recovery is orangefox R11.1.On the recovery i wipe cache, dalvik, data and system and i try to flash Pixel experience 9.Also i tried to flash lineageos 16.But the same problem occurs.Just after the flash i clean dalvik and cache.And just for the first boot it says the data is encrypting.I can not escape from it.When i restart it asks for a pin and as you know there is no pin i added, so i can not put it.Then to decrypt the data i have to wipe data again.Then if i flash theese roms the same problem again.
Also i, just after the flashing, before rebooting the phone, tried to delete some lock files on /data/system folder.But unless i reboot there is not a system folder in data.And if i try to reboot it encrypts the folder again.
Is there any fix for that?I am expecting your ideas or helps.Thank you.
Does the rom boot?
Try formatting (not wiping) the data partition. Obviously you'll lose all the data but I think it's the only way. When you change rom on rn7 you have to format data.
darhma said:
Does the rom boot?
Try formatting (not wiping) the data partition. Obviously you'll lose all the data but I think it's the only way. When you change rom on rn7 you have to format data.
Click to expand...
Click to collapse
Thank you very much.I fixed the problem and wanted to share it here to help the others who face the same problem.
-First of all i upgraded the latest version of orange fox.
-I formatted data partition completely.Then i wiped Data, Dalvik, Cache, System.
-I flashed Pixel Experience 9 rom.But an important thing is before i flash the rom i enter options > OTA & ROM settings.And ticked "Disable Forced Encryption".
-Then i flashed the rom and on the line it says "disabling forced encryption".And it worked.Now i use the rom without any problem.

Categories

Resources