OTA update/upgrade vs flash custom ROM - Android Q&A, Help & Troubleshooting

After the stock firmware OTA update/upgrade, the user installed apps and other data will still there left intact.
Why the necessary to wipe /data when flash a custom ROM?

Related

[Q] does flash a new ROM will wipe /system (format /system) ?

I always think that flashing a new ROM will put the new ROM image in /system and wipe everything there.
but seems that flashing a new ROM, and format /system then flashing a new ROM has different result.
Flashing a new rom (unofficially - e.g Custom Roms via ClockworkMod), will NOT wipe data automatically. BUT it is highly recommended to wipe data before flashing a new rom. Some roms won't require that like coming from a CyanogenMod nightly to another. On the other hand, some roms will not work whatsoever unless the data is wiped before flashing.
I always backup currant rom, and wipe all data. Fix it right the first time! lol
I just do a factory reset, wipe cache and dalvik, then flash the rom straight. Would you be kind enough to tell me what difference is there between flashing rom straight and format system before flashing rom?

Question about ODIN

I'm currently on MI5 rooted via Vega..
Currently I'm looking to update to MJ4.
Question is,... I want to reflash MI5_vega modified to get the OTA from the system. But I want to start from scratch. How do I wipe the phone without using TWRP? What option do I check in ODIN for the system to wipe the phone (keeping the storage) during the MI5 flash?

Backing up stock firmware

How to backup stock firmware on twrp as i backup stock firmware on twrp n when i want to restore it gives error encryption failure need to reset your phone, am i doing anything wrong in backing up
no need to restore. if u install a custom rom over miui, the miui's firmware partition will not be removed/deleted. u only wipe system+data+cache+dalvik, firmware partition remains the same as before
Encrypt with flash oficial roms. Never use oficial roms.
To solve go to twrp, in wipes menu chose format data partition in ext4.
Use always xiaomi.eu roms.

Best way to update from 20d ROM?

I have a H930DS V30+ running stock v20d-GLOBAL-COM. It has bootloader unlocked with TWRP and is rooted. I want to update it to a newer version (primarily to get more up to date security patches). If I upgrade to Pie, is it better to this via installing KDZ or by applying the OTA update files (I think I would need to do multiple updates using the OTA files)? Ideally I don't want to wipe and have to reinstall apps.
dgmorland said:
I have a H930DS V30+ running stock v20d-GLOBAL-COM. It has bootloader unlocked with TWRP and is rooted. I want to update it to a newer version (primarily to get more up to date security patches). If I upgrade to Pie, is it better to this via installing KDZ or by applying the OTA update files (I think I would need to do multiple updates using the OTA files)? Ideally I don't want to wipe and have to reinstall apps.
Click to expand...
Click to collapse
https://androidfilehost.com/?fid=6006931924117927842 , wipe only system, cache, dalvik cache, and flash this zip and you'll go to pie while preserving data (dirty flash)
HueyT said:
https://androidfilehost.com/?fid=6006931924117927842 , wipe only system, cache, dalvik cache, and flash this zip and you'll go to pie while preserving data (dirty flash)
Click to expand...
Click to collapse
Thx for the info. I hadn't seen that option to install ROM via zip file on the thread that had title about KDZ. I have upgraded now. Thanks to @seadersn for creating the zip :good:

how to back to stock recovery without losing data ??

i bought my device with custom recovery (TWRP) and i want to update to latest update RMX1851_11_C.06
automatic update doesn't work, i want to back to stock recovery without wipe and losing data, how ??

Categories

Resources