How to wipe cache, data? - Xiaomi Redmi 3 Questions & Answers

Before flashing a new rom, or after flashing how do I wipe cache and/or data? I have a locked bootloader and no custom recovery.

With locked bootloader u can only use miflash. Use the "flash all" option for a full wipe.

Related

[Q] Uninstalling a ROM for another

I've recently flash Aura ROM, and it was successful. Now I want to try the Neutrino build. Do I have to flash back to my Stock Gingerbread 4.5.91.img and then flash Neutrino?
Or do I simply go ahead and flash Neutrino with these steps.
-boot to recovery
-wipe dalvik&wipe cache
-factor reset/data
-flash ROM in recovery
-wipe dalvik&wipe cache again
-reboot
Sadly I did not do a backup on CWM(Using Rom Racer's).
You don't uninstall a rom. You wipe and flash another.
Each rom's thread will give the wiping instructions that work best; I've only stuck with blur roms and have had luck with -- AFTER backing up -- booting into fastboot and issuing "fastboot -w", then reboot to recovery, wipe data, cache, & dalvik, and then flashing the rom.
Others recommend first wiping everything separately using fastboot (and someone will likely chime in here). If you want Neutrino, head over there and see what wipe procedures users have found the most success with.
sheeparecurious said:
You don't uninstall a rom. You wipe and flash another.
Each rom's thread will give the wiping instructions that work best; I've only stuck with blur roms and have had luck with -- AFTER backing up -- booting into fastboot and issuing "fastboot -w", then reboot to recovery, wipe data, cache, & dalvik, and then flashing the rom.
Others recommend first wiping everything separately using fastboot (and someone will likely chime in here). If you want Neutrino, head over there and see what wipe procedures users have found the most success with.
Click to expand...
Click to collapse
After all this time! I've always thought you'd have to go back to your stock ROM. Thanks a bunch sheeparecurious! Neurtion seems to want you to wipe everything.
Do I need to wipe dalvik and cache everytime I flash a simple mod or add on?
Depends on the rom. Does the OP in the Neutrino thread say anything specific?
I've been able to flash mods without clearing any caches. I've seen two themes "not play nicely" when flashing one after another, and others were fine to go from theme to theme.
"Wiping data may not be necessary with every update, but it's best to flash clean. However, if you regularly flash the updates, you'll most likely need to wipe data at some stage anyway."
It says to wipe when you flash updates. Does he mean updates to Neutrion updates?
Here's thread link. If you'd like to look for yourself. http://forum.xda-developers.com/showthread.php?t=1398819
Thanks in advanced. I'm headed to bed now. Very pleased as to how things went today on my phone.
Yeah, he probably means "updates to neutrino." I'd say if you successfully flashed the rom and any additional mods you wanted, and the phone is working well, make a nandroid backup so you have a good restore point.
Whenever it comes around, try the next update without wiping - either it'll work fine & life is great, or something will be screwy & you'll need to wipe clean and flash from a fresh state anyway (or restore your backup state).
Sent from my MB860 using XDA
sheeparecurious said:
booting into fastboot and issuing "fastboot -w", then reboot to recovery, wipe data, cache, & dalvik, and then flashing the rom.
Click to expand...
Click to collapse
fastboot -w does the same as wiping data and cache in recovery.
---------------------------------------------------------------------------
For the best results, when you want to flash a new ROM you should always perform a full wipe in fastboot per the following to make sure you will avoid any unforeseen complications:
reboot to recovery
wipe Dalvik
reboot to fastboot
fastboot erase boot
fastboot erase system
fastboot erase userdata
fastboot erase cache
fastboot erase webtop
fastboot erase preinstall
fastboot reboot (to recovery)
flash ROM
reboot
If you are updating an exisiting ROM, then you would normally just reboot to recovery, wipe Dalvik and cache, then flash the update unless the dev has instructed otherwise in the ROM's thread.
You should ALWAYS do a nandroid backup of your current ROM through recovery prior to wiping and flashing anything. Much easier to restore to a previous state than have to set-up completely from scratch again if something goes wrong.
See? Told ya someone would chime in.
and I knew "fastboot -w" did the same data/cache wipe as in CWM, something something placebo effect can never be too sure. Wouldn't feel right if I didn't do it anyway.
Now, I never erased the webtop when I started flashing roms -- I only did the 2.3.6 webtop fruitcake because it was an update compared to my original one. Granted, I stuck with blur roms but it didn't seem to cause any issues. I assume if I were to switch to a CM-based rom, it could cause glitches if I don't erase the webtop partition?
You guys are awesome thanks! I copied down the procedure you recommended CaelanT. This will help me a ton.
Sent from my MB860 using XDA
Thanks for that CaelanT thats also useful to know, I have only just entered the world of different roms.
I always do a CWM backup and then a factory reset, wipe the dalvik cache and then flash the new ROM and any add-ons or kernels. Don't forget to wipe your battery stats/calibrate your battery. (I turn off my phone, charge it to 100%, wait about 15 minutes to be sure and boot into recovery to wipe the battery stats)
Sent from my MB860 using XDA App

[Q] Will a full wipe in recovery wipe the rom, too?

I'm selling my phone and wonder if a full wipe will take out the rom too. Any takers on this noob question?
No, a full wipe will erase only the apps installed (and its data too), but the cROM will persist.
Thanks for the help, Rober
select mounts and storages and wipe(format) system.
that depends on the rom really. Doing a factory reset on some custom rooms will clause a boot loop as it removes some files need for the rom. Best bet would be to do a full wipe and reinstall the rom before you reboot.

Flashing full rom.zip

Does this wipe your current setup? Or only if I choose to wipe data?
I am rooted and custom recovery and want to be able to get otas from not on manually but don't want all data wiped.
Not for me. I dirty flashed otas then supersu from the blu_sparks twrp and didn't lose my setup. It reinstalled some bloat I had to delete again was all.
Use twrp-2.8.7.0-onyx_f2fs_r4.img
Boot in TWRP
Wipe Cache / Wipe Dalvik Cache
Flash OnePlusOxygen_14_OTA_005_all_201511232152.zip
Wipe Cache / Wipe Dalvik Cache
Flash OnePlusOxygen_14_OTA_005-006_patch_201511301941.zip
Wipe Cache / Wipe Dalvik Cache
Reboot ...
Flash BETA-SuperSU-v2.52.zip
Reboot ...
Flash Marshmallow-bootanimation-flashable-1080p.zip ...
There will be OxygenOS 2.1.3 x with root and all your original data unmodified.

How can I "Wipe system, data, cache, dalvik and internal storage"?

It doesn't seem to give me that option when entering the bootloader/recovery.
not unless you unlock your bootloader, and install a custom recovery like OrangeFox Recovery

Wipe rom after wiping everyrging in recovery

Hello, i want to decrypt my phone and need a bit of help. i saw that i need to wipe and format daata to decrypt my phone. what i am not sure about is if i wipe everything in the recovery is the rom i used before still on the phone or do i have to reflash it?
You are most likely using TWRP recovery. To decrypt your phone, boot into recovery, then press wipe. Select "Format data". Type "yes", as instructed to do so. At this point, your internal storage will be wiped, so make a backup! This will NOT wipe your ROM (you delete it, if you wipe your system partition). Instead, it will wipe your data - just like a factory reset.
After this, I do recommend you flash DFE (if you are planning to root your phone, first install Magisk, then DFE). It's been deprecated some time ago, however it was necessary for my device; for the recovery to work properly.

Categories

Resources