Seeking help regarding miui.eu rom flash through TWRP - Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe

I'm about to flash eu rom through twrp but there is a slight confusion about wiping before flashing. I've seen someone on youtube that he wipes out cache, dalvik cache, system, data & vendor partition then he flashes eu rom. Moreover a person I know he also follows same method but in xda and eu community I found that they suggest to wipe only cache,dalvik & system & some prefer cache, dalvik, system and data only. So I'm confused which wipe should I do before flashing eu rom. Thanks in advance

Doesn’t really matter if you just do the Data, Dalvik and Cache wipe. System and Vendor would be overwritten nevertheless. Wiping Vendor is not needed at all. This device uses system as a root so wiping system should be avoided at most. However, you could still do a system wipe but i really dont see a need unless specifically stated by the rom Dev.

Related

Wipe Cache AFTER Flashing Kernel?

I always wipe cache/dalvik cache, battery settings and rotate setting before flashing a new kernel. I have heard people suggesting it is good to wipe all the above after flashing the new kernel as well. Is there a reason for doing this? Is it really helping anything?
There is no reason to wipe anything while doing a kernel upgrade.
I disagree.
It's always advisable to wipe at least dalvik-cache when changing kernels.
Indeed, the preferred, no loss, logical and recommended thing to do is always wipe cache and dalvik-cache when you upgrade /boot/ or /system/.
Any new rom, kernel or radio - wipe cache and dalvik-cache. It costs you nothing and eliminates most issues people experience.
I've just changed my rom, Kang-o-rama, to force wipe cache and dalvik-cache because not enough people follow simple instructions.
Just wondering... If i wipe cache will i lose all my data and settings/preferences? Especially data in my apps like messaging...etc?
Because i plan to try this out before updating to FRF85B, ive heard claims that wiping cache helps improve speed though some stated otherwise.
cr0wnest said:
Just wondering... If i wipe cache will i lose all my data and settings/preferences? Especially data in my apps like messaging...etc?
Click to expand...
Click to collapse
nope .......
JonInAtl said:
nope .......
Click to expand...
Click to collapse
Thanks, maybe i'll try that out before i flash to FRF85B and see if theres any difference.
Agree.
Wipe dalvik-cache
Wipe Dalvik but leave the other. I have had Batterylife dropping horribly after wiping my cache. But i reflashed my radio and all was back to normal. So not a Kernel issue.
But i would leave cache alone no matter what and wipe it if you experience any boot problems.
Thanks
Thanks for asking this questions. I was going to ask the same one but I just came here and read the answer already. Sweet..
I want to flash franco kernel with TWRP.
Is it advisable or necessary to wipe dalvik AFTER flashing the kernel? Would it do any harm if I didn't wipe dalvik after flashing?
Smoosh1 said:
I want to flash franco kernel with TWRP.
Is it advisable or necessary to wipe dalvik AFTER flashing the kernel? Would it do any harm if I didn't wipe dalvik after flashing?
Click to expand...
Click to collapse
You should always wipe caches to be safe, they may contain unexpected data. If you don't wipe and your device operates correctly then no problem.
I've always been flashing franco kernel with FKU. Next time I want to flash with TWRP, just to see how it goes. Thanks for your reply, I'll wipe dalvik after flashing then.

[Q] Why clear Dalvik and cache?

So every single rom for any phone I've seen says to clear the dalvik and the cache (or maybe its just the "dalvik cache") but when I went from stock to Thriller, I forgot to, and nothing went wrong. In fact, all my settings and apps were all intact from the previous stock rom.
I've considered that the only other phone I'd done any flashing on was a backflip, without Apps2SD and maybe that's why all my apps and settings were intact, so that still leaves me with the question: why clear it?
This may be a noob-ish question, and I apologize. Thanks for any help!
Tyqar said:
So every single rom for any phone I've seen says to clear the dalvik and the cache (or maybe its just the "dalvik cache") but when I went from stock to Thriller, I forgot to, and nothing went wrong. In fact, all my settings and apps were all intact from the previous stock rom.
I've considered that the only other phone I'd done any flashing on was a backflip, without Apps2SD and maybe that's why all my apps and settings were intact, so that still leaves me with the question: why clear it?
This may be a noob-ish question, and I apologize. Thanks for any help!
Click to expand...
Click to collapse
If there are any compatibility issues between the apk dalvik cache of your previous rom and the apks on the new rom wiping dalvik clears the previous apks stored dalvik cache. In most cases you can flash without a problem. But I recommend wiping between rom flashes just to eliminate any potential problems. Flashing something like Thriller over the stock rom you can probably get away with not wiping anything since all the apks are essentially the same. Flashing kernels you don't need to wipe anything. When flashing a rom with a completely different firmware I recommend a full data wipe. Restoring recovery backups such as nandroid require no wiping at all.
Also, wiping dalvik shouldn't affect any of your settings.
Sent from my LG-P920 using Tapatalk
+1
When switching ROM with different base apps, it is generally better to wipe caches than to get stuck in a boot loop, or having your apps and launcher FC on you. You never lose anything as the cache rebuilds itself on the next reboot, except maybe a few minutes
CallMeAria said:
If there are any compatibility issues between the apk dalvik cache of your previous rom and the apks on the new rom wiping dalvik clears the previous apks stored dalvik cache. In most cases you can flash without a problem. But I recommend wiping between rom flashes just to eliminate any potential problems. Flashing something like Thriller over the stock rom you can probably get away with not wiping anything since all the apks are essentially the same. Flashing kernels you don't need to wipe anything. When flashing a rom with a completely different firmware I recommend a full data wipe. Restoring recovery backups such as nandroid require no wiping at all.
Also, wiping dalvik shouldn't affect any of your settings.
Sent from my LG-P920 using Tapatalk
Click to expand...
Click to collapse
so, when i flashed thriller and followed the instructions, did I do a full wipe or not?
I mean if it doest it on its own, and if not, should I do one?
latinohot said:
so, when i flashed thriller and followed the instructions, did I do a full wipe or not?
I mean if it doest it on its own, and if not, should I do one?
Click to expand...
Click to collapse
If you followed the instructions you did a full data wipe. When you do this the dalvik gets wiped as well. To just wipe dalvik look under the Advanced menu in cwm recovery.
Sent from my LG-P920 using Tapatalk
clearing cache
i am using a nand rom in my HD2, and i also want to install another rom via SD in Magldr, but because of kernel issues i cannot load the Rom from SD unless i use the kernal i am advised to use. I am instructed to clear the dalvik and cache, but does this mean that i would lose anything from my current NAND rom? I still want to be able to use that of coarse so i just want to make sure there are no major risks when clearing cache.
ssj5legend said:
i am using a nand rom in my HD2, and i also want to install another rom via SD in Magldr, but because of kernel issues i cannot load the Rom from SD unless i use the kernal i am advised to use. I am instructed to clear the dalvik and cache, but does this mean that i would lose anything from my current NAND rom? I still want to be able to use that of coarse so i just want to make sure there are no major risks when clearing cache.
Click to expand...
Click to collapse
Clearing dalvik and cache wont make you lose anything, used to do it with my shift because I'd flash about 10 zips a day sometimes...
Also when it comes to flashing any ROM I format system data cache wipe dalvik cache and do a factory reset just to be sure nothing from a previous ROM is left over also wipe my SD ext partition when running an a2sd ROM, my question is can I safely manually format the emmc partition of the thrill from the mounts and storage option of cwm
Sent from my LG-P925 using Tapatalk

[Q] WIPE

Hey guys
i want to know i need to wipe anything before or after flashing kernel or rom " Custom" - " Official " Roms ?
Clearing data and cache would ensure you have clean installation.
Yes, you should clear data/cache before you flash a new rom.
For kernels (data wipe/reset is not necessary) there's jbroid script, flash it before you install a new kernel.
Boy124 said:
Clearing data and cache would ensure you have clean installation.
Yes, you should clear data/cache before you flash a new rom.
For kernels (data wipe/reset is not necessary) there's jbroid script, flash it before you install a new kernel.
Click to expand...
Click to collapse
It all depends though. If you change ROMs and they are pretty different you really should wipe data, cache, and dalvik. That's what every OP says on ROMs. Just read the OP.

Custom ROMs upgrades

Stupid Noob question... Once a Custom ROM (CM or SlimLP) has been installed..
- What is the easiest way to keep it upgraded?
- Are there OTA upgrades for them?
- Or only flashing a newer ROM version is the only option? If this is the only way, what is the best way to preserve the apps and settings?
The easiest and safest way to keep the ROM updated (from what I know, anyway) is to download the newest version of the ROM and clean flash it (erase system, dalvik, and cache). I don't think there's OTAs for this version, as none of the ROMs here are official. When you flash a newer the ROM, all your data will be saved, unless you wipe internal storage.
loocool2 said:
The easiest and safest way to keep the ROM updated (from what I know, anyway) is to download the newest version of the ROM and clean flash it (erase system, dalvik, and cache).
Click to expand...
Click to collapse
That's not a clean flash, that's called a "dirty" flash.
User data and settings are retained by doing a dirty flash but if you experience any bugs or problems after a dirty flash, then backup your apps, user data, settings & do a clean flash instead. Backup using Titanium Backup or your choice from the multitude of backup apps.
Dirty flash = wipe cache, dalvik cache and system.
Normal clean flash = wipe dalvik cache, cache, data and system. Always do this if you come from stock or another rom.
blueberry.sky said:
That's not a clean flash, that's called a "dirty" flash.
User data and settings are retained by doing a dirty flash but if you experience any bugs or problems after a dirty flash, then backup your apps, user data, settings & do a clean flash instead. Backup using Titanium Backup or your choice from the multitude of backup apps.
Dirty flash = wipe cache, dalvik cache and system.
Normal clean flash = wipe dalvik cache, cache, data and system. Always do this if you come from stock or another rom.
Click to expand...
Click to collapse
Think it'll depend what you restore from Titanium as to how clean it remains afterwards.
blueberry.sky said:
That's not a clean flash, that's called a "dirty" flash.
User data and settings are retained by doing a dirty flash but if you experience any bugs or problems after a dirty flash, then backup your apps, user data, settings & do a clean flash instead. Backup using Titanium Backup or your choice from the multitude of backup apps.
Dirty flash = wipe cache, dalvik cache and system.
Normal clean flash = wipe dalvik cache, cache, data and system. Always do this if you come from stock or another rom.
Click to expand...
Click to collapse
so if you already have installed SlimLP and want to upgrade and not lose your stuff, do a "Dirty flash"?
Yes.
But if you see any problems after a dirty flash, refrain from posting about the problem. First do a clean flash then check if the problem still exists.
thanks for the info all!

System wipe

Hey. What are the advantages/disadvantages of wiping system when installing new ROM? For example Xiaomi.eu rom instructions says you should not wipe system or phone can be bricked. But there are many tutorials that say to wipe also system when installing new ROM.
I've had cm 13, cm 14.1 and different versions of Xiaomi.eu but I've never wiped system - just cache, dalvik and data. I wonder if this causes some problems on my mi 5.
Full wipe of your Mi 5 storage does NOT cause problems to your phone of any sort. In fact, it is good to perform a full wipe of your phone when you are upgrading from one android version or another, for example cm13 to cm14.1! Full wiping completely removes all junk on your phone as it literally removes everything. One thing to not however, is that you will need to reflash your recovery and your preferred ROM after performing a full wipe. If you are just thinking of flashing between different builds of the same ROM such as between CM14.1 nightly builds, only a dirty flash is needed (Clearing cache/dalvik). Hope this clear things up for you!
achickennugget said:
Full wipe of your Mi 5 storage does NOT cause problems to your phone of any sort. In fact, it is good to perform a full wipe of your phone when you are upgrading from one android version or another, for example cm13 to cm14.1! Full wiping completely removes all junk on your phone as it literally removes everything. One thing to not however, is that you will need to reflash your recovery and your preferred ROM after performing a full wipe. If you are just thinking of flashing between different builds of the same ROM such as between CM14.1 nightly builds, only a dirty flash is needed (Clearing cache/dalvik). Hope this clear things up for you!
Click to expand...
Click to collapse
I understand. Just thinking the term "full wipe". Somewhere that is data/dalvik/cache wipe, somewhere data/dalvik/cache/system wipe. I always do clean flash when i change between roms and clear cache/dalvik/data. But I'm just unsure about wiping system partitition. At least with xiaomi.eu rom you should NOT wipe system, just data/cache/dalvik.
Some AOSP roms are advicing wiping also system partitition.
The "System" partition is essentially where your OS resides (correct me if I'm wrong!), hence by wiping it, you are essentially removing your OS. Reinstalling the ROM afterwards then ensures that the ROM is in a sense "cleanly" flashed and will not have any unnecessary or corrupt files of sorts. Wiping system partition will NOT cause issues, that I can guarantee you, just that your phone will not have any OS to boot into when you reboot. Which is why I recommend you to have the ROM and recovery zip on your computer to flash it afterwards!
Well it's safe to wipe system partition but I am not sure about xiaomi.eu nougat ROM's the first nougat update bricked many devices, anyways wiping system is safe.

Categories

Resources