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.
Related
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
Hi, im having problem with my o2x. Frirst phone started to behave strangely and every application has stop working. Error was
"uids on the system are inconsistent you need to wipe your data partition or your device will be unstable"
and then every time i restarted the phone it was the same error again so i decided to reinstall rom. Than error was gone but other problem appeared, now after 3 min of use phone get frozen and than i reinstall rom again and phone get frozen agan.
Please if someone can tell me what is the problem and how can i fix them.
You have mentioned reinstalling (reflashing?) the ROM but you haven't mentioned a factory reset so I have to ask... Have you tried a factory reset?
Should i do factory reset on rooted phone? if yes how can i do that. I read somewhere that factory reset should not be done on rooted phones. is that true?
In CWM, You always have to Wipe your Data,Cache,Dalvik Cache,Battery stats.
Optional : Format System.
For a rom to function well, else it will get all kind of problems, like you have.
Of course if you install a update for a ROM, you only have to wipe the cache/Dalvik Cache.
Remember to make a Backup of your apps with Titanium Backup.
I didnt wipe Dalvik Cache and Battery stats. I'll give it a try. What does Format System do?
The factory reset basically resets your phone to as it came from the factory. It erases all your settings and apps, and is recommended that you do that when you change from a stock ROM to a custom ROM.
Having root has nothing to do with it.
Me personally I like backing up my apps and doing a factory reset each time I change/update my ROM. This way I make sure I always have a clean system each time. Of course this might not be convenient if you like flashing a new ROM twice a week
Wipeing Dalvik Cache, Battery stats and factory reset didnt do the trick. I flashed cyanogenmode nightly now and its ok for now. Could it be problem with the rom?
"Factory reset" (/data wipe) doesn't wipe system apps. If you had on your old ROM some "broken" system app, you most likely still have it. First thing i would do is full device wipe (/data and /system partition wipe). If you dont know how to do this here is the script and how-to. Be aware of that this script can brick your phone (ofc then you can fix it with smartflash) is you won't follow instructions.
After that wipe and ofc flashing clean ROM (btw. which is it?), it still isn't working, it's most likely ROM's fault. It could be Baseband<->RIL problem eaither but i've never saw RIL problem which has influence of system stability.
Are you flashing back to stock or a custom ROM?
If you are flashing to a custom ROM, you need do all the wipe-steps and then do BacktoEXT3 before flashing the custom ROM,
http://forum.xda-developers.com/showthread.php?t=1021549
Hi,
I've been using galaxy tab 8.9 with custom ROMs for more than a year and a half now, and sometimes it was acting strange, like flickering dialogs and crashes. Usually this meant an unstable ROM or just cache wasn't cleared when a new ROM was installed. And it was stable for some time, till I did a reset. Now no ROM is stable any more in addition to this, the battery sometimes says it is empty, but after restart it is back to normal status. I tried number of ROMs without luck, all are flickering lately which must mean it is not ROMs fault.
I am running out of ideas what to do with this tablet, so I'm asking if you guys have any suggestions, what else can I do to fix it.
NOTE: when installing a new ROM, I always did it with CWM recovery from internal storage with data, cache, dalvik wipe and factory reset.
regards, Daniel
danizmax said:
Hi,
I've been using galaxy tab 8.9 with custom ROMs for more than a year and a half now, and sometimes it was acting strange, like flickering dialogs and crashes. Usually this meant an unstable ROM or just cache wasn't cleared when a new ROM was installed. And it was stable for some time, till I did a reset. Now no ROM is stable any more in addition to this, the battery sometimes says it is empty, but after restart it is back to normal status. I tried number of ROMs without luck, all are flickering lately which must mean it is not ROMs fault.
I am running out of ideas what to do with this tablet, so I'm asking if you guys have any suggestions, what else can I do to fix it.
NOTE: when installing a new ROM, I always did it with CWM recovery from internal storage with data, cache, dalvik wipe and factory reset.
regards, Daniel
Click to expand...
Click to collapse
Do you ever wipe the system partition?
upconvert said:
Do you ever wipe the system partition?
Click to expand...
Click to collapse
Agree. In TWRP, a factory reset only wipe data, cache and dalvik cache. You have to manually format system. A clean install requires to wipe system, data, cache and dalvik-cache.
---------- Post added at 08:18 AM ---------- Previous post was at 08:17 AM ----------
danizmax said:
Hi,
I've been using galaxy tab 8.9 with custom ROMs for more than a year and a half now, and sometimes it was acting strange, like flickering dialogs and crashes. Usually this meant an unstable ROM or just cache wasn't cleared when a new ROM was installed. And it was stable for some time, till I did a reset. Now no ROM is stable any more in addition to this, the battery sometimes says it is empty, but after restart it is back to normal status. I tried number of ROMs without luck, all are flickering lately which must mean it is not ROMs fault.
I am running out of ideas what to do with this tablet, so I'm asking if you guys have any suggestions, what else can I do to fix it.
NOTE: when installing a new ROM, I always did it with CWM recovery from internal storage with data, cache, dalvik wipe and factory reset.
regards, Daniel
Click to expand...
Click to collapse
Try flashing the original firmware via odin.
iZLeeP said:
Try flashing the original firmware via odin.
Click to expand...
Click to collapse
Flashing original firmware would be my last resort. Is there any difference between odin and CWM flashing?
danizmax said:
Flashing original firmware would be my last resort. Is there any difference between odin and CWM flashing?
Click to expand...
Click to collapse
Of course. Flashing original firmware via odin brings back the original setup that came with the tab out of the box. I just don't remember if it will delete the contents of internal sd card. In any case, you can flash original firmware thru CWM as I always do, though I only flash boot and system images I modified in Kitchen. It will still be stock but only that it has been debloated, rooted, busybox installed, init.d enabled, and some system apps replaced.
Just remember that when flashing ROMs via CWM do a factory reset (wipe data, cache, dalvik-cache). In addition to the wipe, the rom.zip itself formats the system partition prior to flashing.
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!
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