what to wipe in twrp - Redmi K20 / Xiaomi Mi 9T Questions & Answers

Do I really need to wipe system partition if yes what else do I need to wipe
I am going to install xiaomi.eu HMK20MI9T 9.10.24 V10-11 .zip
Can I flash it directly through twrp without clearing any thing .if note then what do I wipe
Ps photo is just a sample from RedMI note 7

batman957 said:
Do I really need to wipe system partition if yes what else do I need to wipe
I am going to install xiaomi.eu HMK20MI9T 9.10.24 V10-11 .zip
Can I flash it directly through twrp without clearing any thing .if note then what do I wipe
Ps photo is just a sample from RedMI note 7
Click to expand...
Click to collapse
You must flash EU weekly rom according to what is given as instruction at their download page and nothing else.
Please read it again!

lolo9393 said:
You must flash EU weekly rom according to what is given as instruction at their download page and nothing else.
Please read it again!
Click to expand...
Click to collapse
I flashed it by a factory reset from twrp and did not wipe anything else

Related

[Q] How do I flash from L To a custom AOSP KITKAT

How do I flash from L To a custom AOSP KITKAT? Do I need to flash the factory image at first or I just boot into recvoery and flash the cutom rom?Did anybody know? THX!
To be safe, you'd do a factory image flash. That way you know you have a good starting point. There's the boot image, including the ramdisk, and radio (depending on what platform you're running on) that would have changed.
Or, if you're feeling lucky, clean wipe and flash your new ROM. What's the worse case scenario? You have to do it twice.
siaga said:
How do I flash from L To a custom AOSP KITKAT? Do I need to flash the factory image at first or I just boot into recvoery and flash the cutom rom?Did anybody know? THX!
Click to expand...
Click to collapse
The safest way is
Download L port
factory reset once
wipe cache dalvik
flash ROM
wipe cache and dalvik again
reboot
done,
Gapps included.
I never got problem with these steps.
Rohit02 said:
The safest way is
Download L port
factory reset once
wipe cache dalvik
flash ROM
wipe cache and dalvik again
reboot
done,
Gapps included.
I never got problem with these steps.
Click to expand...
Click to collapse
no need to format storage?
thanks in advanced
Rohit02 said:
The safest way is
Download L port
factory reset once
wipe cache dalvik
flash ROM
wipe cache and dalvik again
reboot
done,
Gapps included.
I never got problem with these steps.
Click to expand...
Click to collapse
Hey,guys,I have just ask the L's developer ,he said that the L he developed uses the same baseband and bootloader as the Kitkat,so there is no need to flash a factory image at first , instead ,we can just directly flash the Kitkat aosp ,Thanks for his kindness!
qaz2453 said:
no need to format storage?
thanks in advanced
Click to expand...
Click to collapse
That's what he meant. Format system and data. You'll find that option on the custom recovery.
qaz2453 said:
no need to format storage?
thanks in advanced
Click to expand...
Click to collapse
You just need to get a flashable one and your good to go. Just wipe system, data and caches and flash it. I tried both ways by recovery and by script and its the same experience. But if you follow the script and flash through PC you'll surely lose all your data.

cant not install cusrom pie via twrp 3230

when I swipe install cusrom pie then twrp reboots to twrp again, then what's wrong.
@AAfiqih said:
when I swipe install cusrom pie then twrp reboots to twrp again, then what's wrong.
Click to expand...
Click to collapse
Try with latest TWRP and backup your current rom
1) download pie rom and save it to your SD Card or OTG Pendrive
2) if you are from stock rom, possibly its partition is ecrypted, you need to wipe data partition first
3) wipe the system, data, cache, dalvic cache, vendor,
4) flash the rom and gapps and wipe dalvic cache, cache again
5) reboot to system
i am just sharing latest TWRP link, i didnt tested it, if it works please reply here. it will help others
check out this folder,
TWRP by KudProject @krasCGQ)
pick the latest TWRP that is synced with firmware.
twrp-3.2.3-0-X00T-20181215.img
Repo link,
device_asus_X00T-twrp
Thank you @krasCGQ for building, updating and synced with latest firmware and release!
ajmalhussainhy said:
Try with latest TWRP and backup your current rom
1) download pie rom and save it to your SD Card or OTG Pendrive
2) if you are from stock rom, possibly its partition is ecrypted, you need to wipe data partition first
3) wipe the system, data, cache, dalvic cache, vendor,
4) flash the rom and gapps and wipe dalvic cache, cache again
5) reboot to system
i am just sharing latest TWRP link, i didnt tested it, if it works please reply here. it will help others
check out this folder,
TWRP by KudProject @krasCGQ)
pick the latest TWRP that is synced with firmware.
twrp-3.2.3-0-X00T-20181215.img
Repo link,
device_asus_X00T-twrp
Thank you @krasCGQ for building, updating and synced with latest firmware and release!
Click to expand...
Click to collapse
thank for sharing.
but i find and tested twrp-3.2.3-0-X00T-20180902.img is working :fingers-crossed:
@AAfiqih said:
thank for sharing.
but i find and tested twrp-3.2.3-0-X00T-20180902.img is working :fingers-crossed:
Click to expand...
Click to collapse
good :good:

Can I flash stock EEA/Global ROM with unlocked BL and Orange Fox recovery?

Hey guys,
I'm using PixelExperience_lavender-10.0-20191024-1420-BETA-OFFICIAL (Pixel Experience Beta Android 10) and an OrangeFox-R10.0_2-Stable-lavender (Orange Fox Recovery Project).
I have officially unlocked bootloader. Could I flash EEA/Global ROM using custom recovery with still having an unlocked bootloader? Or is it going to cause a boot loop/bricked device?
Or should I use some other way instead? MiFlash or XiaoMiTool?
Thanks for any kind responses
martafiixek said:
....
Thanks for any kind responses
Click to expand...
Click to collapse
1. Do a clean flash of MIUI
2. Format the data partition
3. Boot MIUI
4. Wait for several minutes while MIUI boots up and encrypts your data
This should work. If it doesn't, then flashing a fastboot MIUI ROM with the Mi Flash tool would do the job (just make sure you don't accidentally lock your bootloader again).
Hey, I had same question 2 days ago when xiaomi realesed 11.0.3.. I was also on PE 10 and same ofox version... on telegram ppl told me that I should just download zip, format data/full wipe and then flash latest miui global so I did and now im on miui with unlocked bootloader and also ofox recovery too. I remember old times when It was impossible to flash global miui through twrp on xiaomi mi5 (2 years ago) thats why I asked on telegram cuz was worry about brick but all is fine bro good luck!
DarthJabba9 said:
1. Do a clean flash of MIUI
2. Format the data partition
3. Boot MIUI
4. Wait for several minutes while MIUI boots up and encrypts your data
This should work. If it doesn't, then flashing a fastboot MIUI ROM with the Mi Flash tool would do the job (just make sure you don't accidentally lock your bootloader again).
Click to expand...
Click to collapse
Thanks! Worked like a charm. However, I was a bit disappointed in the Global and EEA version of MIUI 11. So after a while, I just switched to xiaomi.eu ROM and I'm quite happy now. There are just a few things I still quite hate about MIUI that are not resolved in xiaomi.eu ROM. Thank you again for your help though.
DarthJabba9 said:
1. Do a clean flash of MIUI
2. Format the data partition
3. Boot MIUI
4. Wait for several minutes while MIUI boots up and encrypts your data
This should work. If it doesn't, then flashing a fastboot MIUI ROM with the Mi Flash tool would do the job (just make sure you don't accidentally lock your bootloader again).
Click to expand...
Click to collapse
Hi,
Is it not better to first format data, then wipe (system, data etc) and thén do a clean flash of miui? Or does it not matter?
ddj123 said:
Hi,
Is it not better to first format data, then wipe (system, data etc) and thén do a clean flash of miui? Or does it not matter?
Click to expand...
Click to collapse
1. There is no point wiping system or vendor. This is done automatically during the process of flashing MIUI.
2. There is no point wiping data after you have already formatted data.
DarthJabba9 said:
1. There is no point wiping system or vendor. This is done automatically during the process of flashing MIUI.
2. There is no point wiping data after you have already formatted data.
Click to expand...
Click to collapse
Is the clean flash of miui not wiped also? Not first wipe format data and then flash miui? If you use flash tool, how can you prevent that the bootloader gets locked?
ddj123 said:
Is the clean flash of miui not wiped also?
Click to expand...
Click to collapse
I have no idea what this means.
DarthJabba9 said:
I have no idea what this means.
Click to expand...
Click to collapse
From your instructions:
1. Do a clean flash of MIUI
2. Format the data partition
My question was, is it not better to de nr. 2 first and then flash miui.. (that miui doesn't get wiped by the format ..)
Plus how can I prevent that the bootloader gets locked again.
Thanks!
ddj123 said:
From your instructions:
1. Do a clean flash of MIUI
2. Format the data partition
My question was, is it not better to de nr. 2 first and then flash miui.. (that miui doesn't get wiped by the format ..)
Click to expand...
Click to collapse
You can do it that way - but it doesn't matter which comes first. Formatting data cannot wipe MIUI. The only thing that can wipe MIUI is wiping system and vendor - and you should never wipe either of them anyway.
ddj123 said:
Plus how can I prevent that the bootloader gets locked again.
Click to expand...
Click to collapse
Flashing a ROM with a recovery cannot lock your bootlooader.
DarthJabba9 said:
1. Do a clean flash of MIUI
2. Format the data partition
3. Boot MIUI
4. Wait for several minutes while MIUI boots up and encrypts your data
This should work. If it doesn't, then flashing a fastboot MIUI ROM with the Mi Flash tool would do the job (just make sure you don't accidentally lock your bootloader again).
Click to expand...
Click to collapse
Will this erase my orange fox custom recovery? So that I have to flash it again?(or does it remain..)
ddj123 said:
Will this erase my orange fox custom recovery? So that I have to flash it again?(or does it remain..)
Click to expand...
Click to collapse
If you flash a fastboot MIUI ROM with the Mi Flash tool, yes, it will install the MIUI stock recovery - so you will have to flash OrangeFox again with "fastboot flash ..."

Re-lock bootloader and anti roll back!

Hi, at the moment i'm on pixel experience and i wanted to go back to stock rom. I've read that if i use a fastboot rom of a previous version when i started to mod and lock bootloader with miflash i may cause a brick! It is true? How could I back to stock rom (11.0.3 EEA) and locking bootloader without risk? Thanks
Frankzafò said:
Hi, at the moment i'm on pixel experience and i wanted to go back to stock rom. I've read that if i use a fastboot rom of a previous version when i started to mod and lock bootloader with miflash i may cause a brick! It is true? How could I back to stock rom (11.0.3 EEA) and locking bootloader without risk? Thanks
Click to expand...
Click to collapse
Not needed
Benfatica said:
I have done this before and this is what I did, I booted into recovery format data reboot into recovery wipe everything, and then I flash a miui android 9 ROM, example I use miuimix 11.0.3 you can find it in Rom section forum after that I reboot into recovery again and then format data, reboot into recovery again wipe everything, power of device, boot into fastboot mode and then flash the miui 10.3.15 EEA fastboot ROM via mi flash tool, because there isn't any fastboot ROM for 11.0.3 EEA. If anyone knows an easy way to this you can say it but for the mean time this is the only method I use to avoid bricking my device or triggering that anti roll back thing.
Click to expand...
Click to collapse
When you flashed your fastboot (13.3.15 EEA) with miflash you selected clean all and lock or clean all? I also had 11.0.3 when i modded my phone!
Frankzafò said:
When you flashed your fastboot (13.3.15 EEA) with miflash you selected clean all and lock or clean all? I also had 11.0.3 when i modded my phone!
Click to expand...
Click to collapse
Not needed
Benfatica said:
I have done this before and this is what I did, I booted into recovery format data reboot into recovery wipe everything, and then I flash a miui android 9 ROM, example I use miuimix 11.0.3 you can find it in Rom section forum after that I reboot into recovery again and then format data, reboot into recovery again wipe everything, power of device, boot into fastboot mode and then flash the miui 10.3.15 EEA fastboot ROM via mi flash tool, because there isn't any fastboot ROM for 11.0.3 EEA. If anyone knows an easy way to this you can say it but for the mean time this is the only method I use to avoid bricking my device or triggering that anti roll back thing.
Click to expand...
Click to collapse
Uhmm... What about NOT wiping persist?
Benfatica said:
You can select clean all if you don't want to relock your bootloader or clean all and lock if you want to lock it.
Click to expand...
Click to collapse
Could I risk brick if i lock bootloader?
Frankzafò said:
Could I risk brick if i lock bootloader?
Click to expand...
Click to collapse
No if you follow the steps I gave you, it should be fine
---------- Post added at 11:26 PM ---------- Previous post was at 11:24 PM ----------
Windroid-user said:
Uhmm... What about NOT wiping persist?
Click to expand...
Click to collapse
I didn't tell him to wipe persist, and even the persist partition is mounted for you to wipe it.
Benfatica said:
I didn't tell him to wipe persist, and even the persist partition is mounted for you to wipe it.
Click to expand...
Click to collapse
When you say "wipe everything" you mean there's an option which says "wipe everything"? Sorry if this may be obvious when actually following the steps as I am still on stock with locked bootloader.
Windroid-user said:
When you say "wipe everything" you mean there's an option which says "wipe everything"? Sorry if this may be obvious when actually following the steps as I am still on stock with locked bootloader.
Click to expand...
Click to collapse
I meant if you have twrp, and you go to wipe, advance wipe, you wipe everything there. Apart from usb otg ( that is if you have one inserted) then you don't wipe it. And if someone says wipe everything and you know what you are doing you should understand fairly easy.
Benfatica said:
I meant if you have twrp, and you go to wipe, advance wipe, you wipe everything there. Apart from usb otg ( that is if you have one inserted) then you don't wipe it. And if someone says wipe everything and you know what you are doing you should understand fairly easy.
Click to expand...
Click to collapse
Must I wipe everything? If i don't wipe i could brick my phone?
Frankzafò said:
Must I wipe everything? If i don't wipe i could brick my phone?
Click to expand...
Click to collapse
No if don't wipe everything it won't brick your phone, but that's is how I do it and I doesn't anything to the phone.
Benfatica said:
No if don't wipe everything it won't brick your phone, but that's is how I do it and I doesn't anything to the phone.
Click to expand...
Click to collapse
Nice, thanks for the help!
Benfatica said:
I meant if you have twrp, and you go to wipe, advance wipe, you wipe everything there. Apart from usb otg ( that is if you have one inserted) then you don't wipe it. And if someone says wipe everything and you know what you are doing you should understand fairly easy.
Click to expand...
Click to collapse
So persist is not located in that section to wipe?
My two previous phones were a galaxy note 4 and Xperia Z3 so I am not sure how they incorporated these partitions such as persist and vendor into twrp.
This has gone on longer than I expected, sorry about that. I will search for a screenshot or something to see for myself.
Edit: okay I believe you meant persist isn't mounted for you to wipe it.
Benfatica said:
No if don't wipe everything it won't brick your phone, but that's is how I do it and I doesn't anything to the phone.
Click to expand...
Click to collapse
When did you flash MIUI 10 on your mi 9t on my flash did you selected clean all and lock? If not then you locked bootloader?
don't wipe anything else than data on the K20 via twrp oO
if u want to go back to stock MiUI u have to make sure, to follow 2 points
1. use a fastboot rom and flash via MiFlash and
2. make sure the ARB Status on your Phone is the same like the one on the MiUI fastboot rom ( should be on 1 )
the MiFlash software will wipe your phone for you (so the option "clean all" should be used/checked), so just boot into fastboot and let the software to the work.
that's how i went from the xiaomi.eu DEV Rom back to MIUI EAA stable Rom.
solved said:
don't wipe anything else than data on the K20 via twrp oO
if u want to go back to stock MiUI u have to make sure, to follow 2 points
1. use a fastboot rom and flash via MiFlash and
2. make sure the ARB Status on your Phone is the same like the one on the MiUI fastboot rom ( should be on 1 )
the MiFlash software will wipe your phone for you (so the option "clean all" should be used/checked), so just boot into fastboot and let the software to the work.
that's how i went from the xiaomi.eu DEV Rom back to MIUI EAA stable Rom.
Click to expand...
Click to collapse
My Arb Is 1 while the arb of the fastboot rom Is 0
Like i said, please stick to a full fastboot rom. If u are using a Mi 9T and want to go to EAA use the V10.3.15.0.PFJEUXM , for Global V11.0.1.0.PFJMIXM.
Those ROM's are on Anti 1, for the update on to a newer Version, just simply use the OTA after u flashed those files. U can find those files here:
https://xiaomifirmwareupdater.com/miui/
( u can filter the list .. search tab .. for fastboot and then just look for the Mi 9T )

Most custom roms dont work for me - Am i doing something wrong?

Hello! Since i got this device, every time i try to install any custom rom, sometimes i have a good luck and one of those works, but other times they dont, i just get an "Android Setup keeps failing" so i cant even do the initial setup. The only roms that worked for me for now are the PE BS and Corvus, i tried LOS, PE, Havoc and almost any other rom and i get this problem, tried roms with and without gapps, different gapps versions and build but i just keep getting this problem.
The way i install a rom its like this:
- Wipe dalvik, data, cache and system
- Format data
- Reboot recovery
- Flash latest fw
- Flash rom
- Reboot Recovery
- Flash magisk
And i just keep getting this issue :c skipping magisk but i just get the same problem. I dont know if someone have or had this problem and know how to solve it.
Thanks in advance!
Arthur King said:
Hello! Since i got this device, every time i try to install any custom rom, sometimes i have a good luck and one of those works, but other times they dont, i just get an "Android Setup keeps failing" so i cant even do the initial setup. The only roms that worked for me for now are the PE BS and Corvus, i tried LOS, PE, Havoc and almost any other rom and i get this problem, tried roms with and without gapps, different gapps versions and build but i just keep getting this problem.
The way i install a rom its like this:
- Wipe dalvik, data, cache and system
- Format data
- Reboot recovery
- Flash latest fw
- Flash rom
- Reboot Recovery
- Flash magisk
And i just keep getting this issue :c skipping magisk but i just get the same problem. I dont know if someone have or had this problem and know how to solve it.
Thanks in advance!
Click to expand...
Click to collapse
When you say "flash latest fw" what do you mean? Latest MIUI firmware? If yes why? You wipe everything just to install the firmware again?
It should be:
- Wipe dalvik, data, cache and system
- Format data
- Reboot to recovery (TWRP)
- Flash ROM
-Flash Gapps if wanted and not included in custom ROM
- Flash magisk
- Boot to system
Sent from my Mi 9T using XDA Labs
Wolfcity said:
When you say "flash latest fw" what do you mean? Latest MIUI firmware? If yes why? You wipe everything just to install the firmware again?
It should be:
- Wipe dalvik, data, cache and system
- Format data
- Reboot to recovery (TWRP)
- Flash ROM
-Flash Gapps if wanted and not included in custom ROM
- Flash magisk
- Boot to system
Sent from my Mi 9T using XDA Labs
Click to expand...
Click to collapse
Yeah thats what i mean, and i flash it everytime because those times that i skipped that the rom didnt even booted, so i just assumed that its necessary. But also, tried the way you say it and still got the same result.
I think that i need to flash MIUI by fastboot for something like a "clean flash" because y tried everything even using the zip to skip the encryption but... Nothing, still the same :c
Arthur King said:
Yeah thats what i mean, and i flash it everytime because those times that i skipped that the rom didnt even booted, so i just assumed that its necessary. But also, tried the way you say it and still got the same result.
I think that i need to flash MIUI by fastboot for something like a "clean flash" because y tried everything even using the zip to skip the encryption but... Nothing, still the same :c
Click to expand...
Click to collapse
Best should be to follow the instructions by the ROM developer,
for example Arrow OS:
How to install:
Reboot to recovery
Wipe System , Cache, ART Cache and Data
Flash the ROM
Flash any addons (GApps, Magisk...)
Format data if you are encrypted
Reboot
(Formatting data is later here)
Or Bliss ROM:
First Time Install / Clean Flash
0. Flash proper firmware, latest firmware for your device variants.
1. Reboot to Recovery
2. Format data
3. Wipe system
4. Flash the ROM (DO NOT WIPE VENDOR, EVER)
5. Reboot to System
6. Reboot to Recovery
7. Flash Magisk (Optional)
8. Reboot to System
Sent from my Mi 9T using XDA Labs
Wolfcity said:
Best should be to follow the instructions by the ROM developer,
for example Arrow OS:
How to install:
Reboot to recovery
Wipe System , Cache, ART Cache and Data
Flash the ROM
Flash any addons (GApps, Magisk...)
Format data if you are encrypted
Reboot
(Formatting data is later here)
Or Bliss ROM:
First Time Install / Clean Flash
0. Flash proper firmware, latest firmware for your device variants.
1. Reboot to Recovery
2. Format data
3. Wipe system
4. Flash the ROM (DO NOT WIPE VENDOR, EVER)
5. Reboot to System
6. Reboot to Recovery
7. Flash Magisk (Optional)
8. Reboot to System
Sent from my Mi 9T using XDA Labs
Click to expand...
Click to collapse
Yeah, i tried that too, like mixing steps, or changing when do i format data, skipping magisk and even on roms without gapps skipping gapps but still get the same results
I just dont know what to do
Arthur King said:
Yeah, i tried that too, like mixing steps, or changing when do i format data, skipping magisk and even on roms without gapps skipping gapps but still get the same results
I just dont know what to do
Click to expand...
Click to collapse
Best may be to ask a ROM developer by PM what could be the problem. I'm still on stock so my knowledge about it is more theoretical.
Sent from my Mi 9T using XDA Labs
edit : nvm wrong thread

Categories

Resources