How can i update custom roms without deleting the data - Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe

I am using xioami eu 12.0.3 rom . I want to update it to 12.0.4 roms without deleting anything . how can i do that?

I have got what to do.
clear dalvik /cache
flash the rom
dfe
and magisk

Just google it dude

Related

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.

How to migrate from lineage os based rom to miui custom?

Hello. Can i ask you for guide, how to migrate from lineage os to for example, xiaomi.eu or masik? Thank you for help.
I made a post about this here. Hope it helps.
just factory reset in TWRP, and then flash xiaomi.eu and opengapps, you're done.
that's how i did it.
do note though, xiaomi.eu kernel do not support F2FS, so if you're having data/cache in F2FS, reformat into ext4 (backup your data to external / pc first)
setya5785 said:
just factory reset in TWRP, and then flash xiaomi.eu and opengapps, you're done.
that's how i did it.
do note though, xiaomi.eu kernel do not support F2FS, so if you're having data/cache in F2FS, reformat into ext4 (backup your data to external / pc first)
Click to expand...
Click to collapse
Flash gapps on xiaomi.eu?? Playstore and few gapps are already included in these roms
setya5785 said:
just factory reset in TWRP, and then flash xiaomi.eu and opengapps, you're done.
that's how i did it.
do note though, xiaomi.eu kernel do not support F2FS, so if you're having data/cache in F2FS, reformat into ext4 (backup your data to external / pc first)
Click to expand...
Click to collapse
I have reformatted everything first to install masik and everything is working well, now ill do just factory reset to migrate from masik to xiaomi eu, curious if isnt better. Miui is much more interesting than lineage after some months, every rom based on clean android is... boring. Maybe android O will be interesting in other way
mysa50 said:
Flash gapps on xiaomi.eu?? Playstore and few gapps are already included in these roms
Click to expand...
Click to collapse
ah yes, sorry, kinda slip and not focusing when i wrote those, lol.
it's been a long time since i flash MIUI based rom.
shephart said:
I have reformatted everything first to install masik and everything is working well, now ill do just factory reset to migrate from masik to xiaomi eu, curious if isnt better. Miui is much more interesting than lineage after some months, every rom based on clean android is... boring. Maybe android O will be interesting in other way
Click to expand...
Click to collapse
if you really want a clean state on your data storage or switch between ext4/f2fs, fell free to format. but other than that, you only need factory reset. you get to keep your files

Returning to stock/xiaomi.eu rom after aosp (after wiping /system)

Hey there,
today I started flashing my mi9tpro.
First I tried xiaomi.eu, but still wasn't happy about the security/junkcleaner integration ...
So I moved on to paranoid quartz 4 for the start. Runs nice and smooth, could settle here.
But I wanted to give ressurection, crdroid, havoc a try too.
Now there is a conflict between the statement of xiaomi.eu:
FORMAT /data partition (NEVER wipe System or Persist!)
Click to expand...
Click to collapse
And e.g. crdroid:
Wipe Data/Cache/System when coming from non-AOSP ROMs
Click to expand...
Click to collapse
Sure, I am coming from a non-AOSP rom, so this is a step I need to do for trying the other roms based on AOSP.
BUT:
If I want to return to Miui, Xiaomi.eu or Paranoid ... will there be troubles about flashing?
Do I need to flash anything, so /system is returned to stock?
I made a full backup booting twrp before flashing anything (even twrp), so if I need a original /system, I should be able to restore this image.
Greetings
houston_ said:
Now there is a conflict between the statement of xiaomi.eu:
And e.g. crdroid:
Sure, I am coming from a non-AOSP rom, so this is a step I need to do for trying the other roms based on AOSP.
BUT:
If I want to return to Miui, Xiaomi.eu or Paranoid ... will there be troubles about flashing?
Do I need to flash anything, so /system is returned to stock?
Click to expand...
Click to collapse
No need to format /System, as it afaik can result in an instant-bootloop to Fastboot, which may then cause you to reflash the whole MIUI Fastboot ROM.
When coming from MIUI to AOSP ROMs, formatting /Data (aka the "Format Data" Option where you have to type "yes") should be enough.
Same process goes when going back to MIUI from AOSP.
Hope it helped!
houston_ said:
Hey there,
today I started flashing my mi9tpro.
First I tried xiaomi.eu, but still wasn't happy about the security/junkcleaner integration ...
So I moved on to paranoid quartz 4 for the start. Runs nice and smooth, could settle here.
......
If I want to return to Miui, Xiaomi.eu or Paranoid ... will there be troubles about flashing?
Do I need to flash anything, so /system is returned to stock?
I made a full backup booting twrp before flashing anything (even twrp), so if I need a original /system, I should be able to restore this image.
Greetings
Click to expand...
Click to collapse
The system partition is home to the OS. Every time you flash a ROM, you replace the system partition. If you want to return to stock, flashing MIUI will restore the stock system partition.
In reality there is no need to wipe the system partition, because flashing a ROM will wipe it automatically anyway, before installing the new ROM.
When flashing new ROMs, doing a factory reset is all that's needed. You should rarely need to enter advanced wipe menu in TWRP.
The only extra step required is when flashing over MIUI (official or custom version). In this case you will also need to format data too.
Follow my guide for flashing
https://forum.xda-developers.com/k20-pro/how-to/simple-guide-flipkart-owners-t4151007/post83329343
Thanks for both of of your answers! So nothing really changed since my HTC10. On my Cubot I used gsi images... Unsuccessfully, but quite easy.
Just wanted to ask before loosing something important

Question which wipe to choose?

im with the mi 11 pro and i have already the "eu rom stable" . from some reasons i want to flash from the beginning the most updated version of this exact rom (eu rom stable) , which wipe do i have to choose - dalvick or wipe data? or both of them?
If you are staying with same ROM, then flash and dalvik wipe.
If you are changing ROM from stable to weekly or EU to Global etc etc ( change of branch), it is a full data wipe where you have to confirm with a yes in twrp.

Question Installing Indonesia ROM over Xiaomi.eu ROM

Hello fellas,
I'm on Xiaomi.eu rom and want to switch to Indonesia ROM. I have downloaded the MIUI 14 rom from https://new.c.mi.com/global/miuidownload/detail/device/1900389 which seems to be a recovery ROM. Can I install it through TWRP? Moreover, when wipe cache etc, will it also delete material other than the app data like camera photos, videos etc.
Regards
Try to download the fastboot rom of miui indonesian and flash it with mi flash too and don't forget to check clean all
Thanks for reply. Can I flash recovery ROM downloaded from mi website (link shown above in my original post), using TWRP to switch to Indonesia ROM?
sherazi21st said:
Thanks for reply. Can I flash recovery ROM downloaded from mi website (link shown above in my original post), using TWRP to switch to Indonesia ROM?
Click to expand...
Click to collapse
Yes but don't forget to do a clean flash (format Data & wipe cache and wipe dalvik cache) ;-)
Based on my experience:
Flash rom, do format data, reboot
And everything done

Categories

Resources