I've been flashing various ROMs over the last few days and mostly doing full wipe installs since i dont have that much to backup/restore.
The way i have been doing it is to boot into CWM recovery and then do three things:
-Wipe data/factory reset
-wipe cache partition
-advanced > Wipe dalvik cache
I then flash the new rom straight after without reboot.
I noticed in the Hydrogenics thread that it says to format /system under the 'mounts and storage' section as well. Should i be doing this when flashing any rom? Should i be doing else as well (format the sd card etc.)?
I have yet to run in to any problems doing it the way i have been i'm just curious is all.
Thanks
Goooober said:
I've been flashing various ROMs over the last few days and mostly doing full wipe installs since i dont have that much to backup/restore.
The way i have been doing it is to boot into CWM recovery and then do three things:
-Wipe data/factory reset
-wipe cache partition
-advanced > Wipe dalvik cache
I then flash the new rom straight after without reboot.
I noticed in the Hydrogenics thread that it says to format /system under the 'mounts and storage' section as well. Should i be doing this when flashing any rom? Should i be doing else as well (format the sd card etc.)?
I have yet to run in to any problems doing it the way i have been i'm just curious is all.
Thanks
Click to expand...
Click to collapse
No it's not needed. The only thing sometimes you need is fixing permissions under andvanced in cwm. I hope i helped you anyway.
I always format system just to be sure but yeah ur all good
Mod or Die
no what your doing is fine as the new rom has to build all its information on first boot.
I usually wipe from front to back.
Sent from my Galaxy Nexus using xda premium
If u want a complete wiped phone format internalstorage. And all wipe options in CWM xD
Sent from my GT-I9100 using xda premium
u can format system in the cwm advanced menu to make sure there are no left overs from your previous rom
formating system is recommended by ME i yet to get those pesky problems that few observed
also when you flqash MIUI it formats system for You just to let you know.
formating system = less or no problems
formating system + no titanium restore = absolutly no problems (one might not agree!)
actually i do the same.....a good question here....format the system in CWM what does it wipe.....does delete any files in the internal sd? anyway how to do system format
Sent from my GT-I9100 using Tapatalk
Goooober said:
I've been flashing various ROMs over the last few days and mostly doing full wipe installs since i dont have that much to backup/restore.
The way i have been doing it is to boot into CWM recovery and then do three things:
-Wipe data/factory reset
-wipe cache partition
-advanced > Wipe dalvik cache
I then flash the new rom straight after without reboot.
I noticed in the Hydrogenics thread that it says to format /system under the 'mounts and storage' section as well. Should i be doing this when flashing any rom? Should i be doing else as well (format the sd card etc.)?
I have yet to run in to any problems doing it the way i have been i'm just curious is all.
Thanks
Click to expand...
Click to collapse
The clener your phone is the better. When I install a new rom I always make a deep clean.
---------- Post added at 06:23 PM ---------- Previous post was at 06:16 PM ----------
atifsh said:
formating system + no titanium restore = absolutly no problems (one might not agree!)
Click to expand...
Click to collapse
It's absolutely recommended to install apps from the start.
I've had a ZTE Blade for a year and whenever I flashed a new rom, i'd boot into clockwork and wipe dalvik, battery stats in the advanced tab.
then i'd go to mounts and storage and wipe /system, /data, /cache and /boot followed by data/factory reset and cache in the main menu to make sure the system was completely minty fresh before i flashed.
just looking at clockworkmod for the S2 and i was wondering if there's a similarly recommended set of wipes ?
as far as i can see, it appears to be Wipe Data and Factory Reset, Wipe Cache and install - is that really it or would it help to do the /system, /data and /cache in the mounts and storage menu as well ?
thanks in advance
Wipe /system, /data /cache and dalvik cache. That should be enough (what I've been doing since april )
Force Close said:
Wipe /system, /data /cache and dalvik cache. That should be enough (what I've been doing since april )
Click to expand...
Click to collapse
Thanks. I've just flashed the resurrection remix rom and only wiped dalvik, data/factory and cache and everything seems to have installed fine and is running ok so far - probably because i came from the stock ICS rom i suppose.
i'll remember that in the future though, thanks
hankhandsome said:
Thanks. I've just flashed the resurrection remix rom and only wiped dalvik, data/factory and cache and everything seems to have installed fine and is running ok so far - probably because i came from the stock ICS rom i suppose.
i'll remember that in the future though, thanks
Click to expand...
Click to collapse
In advanced there is fix permissions too. You can use it if it gets buggy.
Sent from my GT-I9100 using xda premium
Formatting system is a good habit
hankhandsome said:
Thanks. I've just flashed the resurrection remix rom and only wiped dalvik, data/factory and cache and everything seems to have installed fine and is running ok so far - probably because i came from the stock ICS rom i suppose.
i'll remember that in the future though, thanks
Click to expand...
Click to collapse
atifsh said:
Formatting system is a good habit
Click to expand...
Click to collapse
Hi, this is my 1st post but have been flashing almost daily for around 4 months. Ok so here's my uber anal method
Wipe data/reset. (x3)
Wipe cache
Wipe dalvik cache/battery stats
Format cache/system/data
Flash rom
(if dual booting flash kernel cleaning script then flash compatible kernel)
Reboot/set phone up Google accounts etc/Reboot. Then wait at least 5 mins for rom to settle. Enjoy!
This imo is a full wipe which I use regardless of whatever rom I'm flashing. I know some installs you can get away without full wipes but for peace of mind I use this method. It can be a pain setting up a fresh install but with using TB & launcher restores it can be done in less than 20 minutes. Good luck
Hello,
i really tried to find answers around before asking.
I have tryed different roms on my i9100, cm7, cm9, rr, miui. Now i have a tonn of folders from apps that are not even installed on my phone. Now what i want is to get rid of all the trash in my phone, like leftovers from apps i installed with previous roms and make a clean install of cyanogenmod 9.1.
How do i do that?
I would really appreciate any help. Tutorials, links, everything you guys can give to help me out.
Thank you
full wipe, install cm9, erase internal sd card
I normally do the wipes in cwm and format usb storage.
do the following and nothing of the old files will be left.
reboot to recovery
wipe data
wipe cache
mount and storage
format cache
format system
format data
mount cache
mount system
mount data
flash the rom
wait for the installation
Flash a samsung stock rom, keyin the following code using phone keypad *2767*3855# . Is a master factory format code.
Sent from my GT-I9100 using xda premium
Do this step by step :
1. to format internal and external mmc, connect your phone in mass storage mode and format each drive with windows format tool (right click on drive icon -> format)
2. to format flash memory go to recovery wipe data, wipe cache, wipe dalviq cache
3. Install rom
Cosmic Blue said:
do the following and nothing of the old files will be left.
reboot to recovery
wipe data
wipe cache
mount and storage
format cache
format system
format data
mount cache
mount system
mount data
flash the rom
wait for the installation
Click to expand...
Click to collapse
Thank yo very much! I didn't notice those formats in recovery before. That solved my problem.
/thread
How much of the ritual of rom management is actually necessary and how much is just passed on wisdom based ultimately on nothing? Is there really any benefit to wiping a partition more than once, fo example? Some people suggest all sorts of voodoo to make sure a rom gets installed right and everyone is quick to blame a failure to follow the ritual perfectly for any shortcomings of the rom.
Just curious. Either way - it is interesting to have these flashing rituals. The ritual is different for each device.
Steps to flashing ROM -
1. Wipe all partitions ONCE (but make sure you wipe them all).
2. Flash ROM first, flash gapps if not included, then flash any other zips of apps/mods/whatever else that you need.
3. Done.
A lot of the tips that people give are misleading. You DO NOT need to wipe more than once. When you format a flash drive on your computer, do you format it 2-3 times just 'to make sure everything is wiped' or do you just format it once? Same thing for the NAND flash memory of phones/tablets. One format of the partitions will wipe them clean.
There's no such thing as a wait time for 'letting the ROM settle in'. You flash a ROM, reboot, wait for dalvik cache to rebuild, wait a minute or two after boot for all the auto-start apps to load (especially if you have a single core phone with low RAM) and use away.
You don't have to wipe cache+dalvik cache each time you flash an update of your ROM. Android automatically detects which apks have changed and rebuilds the dalvik cache only for them, rather than unnecessarily deleting the whole dalvik cache and rebuilding the same stuff again. Google 'android auto dexopt-ing' for more info.
You don't have to wipe cache+dalvik after flashing a new kernel, because those are for apps and aren't related to kernel.
The correct wiping order is -
1. Format /boot
2. Format /system
3. Format /data
4. Format /cache
Some devices have additional partitions so you would need to format them too if necessary, but for most devices these are the standard partitions to wipe. Some recoveries have a 'format all partitions (except SD card)' option which does all this at once, most recoveries require you to format them manually. In most recoveries, the option for formatting data is called 'Format data/Factory Reset'. This does the same thing as running Factory Reset in the phone settings, i.e. it formats /data and /cache. So depending on your recovery, you might not need to format /cache after formatting /data. Many people advise to format dalvik cache after formatting data. This is completely unnecessary. Dalvik cache is just a folder in /data and in /cache, so when you format /data and /cache or do a factory reset, it is wiped too. If you wipe dalvik cache after formatting those partitions already, you're doing nothing other than deleting a non-existent folder.
You don't need to 'calibrate' the battery after a new ROM flash. Battery calibration as it is called does nothing but delete a system file called batterystats.bin which contains info about the running apps, percent of battery they use and the battery history. This file is anyway reset whenever you charge the device fully, so you're essentially 'calibrating' your device each time you fully charge it.
https://plus.google.com/u/0/105051985738280261832/posts/FV3LVtdVxPT
Last one, you don't need to fix permissions each time you flash a ROM/ROM update. Only run it if you're getting a lot of app FCs.
Sent from my Desire HD using xda premium
I agree with Sashank, use the order but personally (again my own personal preference) I boot the ROM first after flashing ROM /or GApps then I reboot back into recovery to flash anything that needs to be flashed. Also when using 4EXT Recovery (preferred/best recovery for our Desire HD) there's an option to wipe all partitions except for SD Crad, I usually use that 3 time to make sure my device is as clean as possible
Hey,
recently many are facing the problem to suddenly receive the above error and aren't able to solve it by formatting data (well, it cannot be mounted).
Here are the steps that I suggest in case you find yourself in that situation (obviously all data including internal storage content will be gone afterwards, so make external backups of important stuff if you can before continuing)
- (re-)flash lastest twrp (currently 3.2.1.1) via fastboot
- boot to recovery
- wipe dalvik, cache, vendor, system, data
- format data (the one where you need to type "yes")
- reboot to recovery before flashing anything
- now flash your stuff
This helped a few people already, but please comment if it also does (or doesn't) for you!
Cheers and greetings,
Phil the Thrill
I had this problem, but not always just formatting helps. First time when I install LOS 15.1 I didn't format internal storage then LOS crypt my storage and TWRP couldn't mount it and I can't just format it, I have error when I try to format it in ext4 by default. Then I try to format it to another file system and select ext2. TWRP succesful format data and then I select again to format it to ext4 and install other rom. I don't know why first time TWRP couldn't format data.
I use google translate. Sorry if I have misspellings
aleksandar9999a said:
I had this problem, but not always just formatting helps. First time when I install LOS 15.1 I didn't format internal storage then LOS crypt my storage and TWRP couldn't mount it and I can't just format it, I have error when I try to format it in ext4 by default. Then I try to format it to another file system and select ext2. TWRP succesful format data and then I select again to format it to ext4 and install other rom. I don't know why first time TWRP couldn't format data.
I use google translate. Sorry if I have misspellings
Click to expand...
Click to collapse
I didn't just suggest to format anything...
The important thing is to reflash twrp via fastboot.
The point is that after doing this you might even be able at all again to format data...
If you follow the further steps I think you're good to go and don't need to change any file system.
Phil_Smith said:
Hey,
recently many are facing the problem to suddenly receive the above error and aren't able to solve it by formatting data (well, it cannot be mounted).
Here are the steps that I suggest in case you find yourself in that situation (obviously all data including internal storage content will be gone afterwards, so make external backups of important stuff if you can before continuing)
- (re-)flash lastest twrp (currently 3.2.1.1) via fastboot
- boot to recovery
- wipe dalvik, cache, vendor, system, data
- format data (the one where you need to type "yes")
- reboot to recovery before flashing anything
- now flash your stuff
This helped a few people already, but please comment if it also does (or doesn't) for you!
Cheers and greetings,
Phil the Thrill
Click to expand...
Click to collapse
Thats because maybe on a backup you select another storage that nota the internal storage....maybe you select otg storage ir something....put the selection on Internal storage....and it resolves
I've same problem in my redmi note 4 (mido). I tried the same but it not works.
After update of resurrection remix oreo (30-05-2018), I unable to install any zip through twrp.It shows "unable to mount /vendor". I also search for vendor partition in mount menu but I cant found any options for it.
If you found any solution plz tell me......... thanks
Stonner_99 said:
I've same problem in my redmi note 4 (mido). I tried the same but it not works.
After update of resurrection remix oreo (30-05-2018), I unable to install any zip through twrp.It shows "unable to mount /vendor". I also search for vendor partition in mount menu but I cant found any options for it.
If you found any solution plz tell me......... thanks
Click to expand...
Click to collapse
me either, my problem. RRD. pls anyhelp?
Hutabarat said:
me either, my problem. RRD. pls anyhelp?
Click to expand...
Click to collapse
Hi, I had the same problem. (Redmi Note 4, Mido)
But after installing RedWolf (Build 27)
with adb/fastboot and everything works fine - without formating everything.
This maybe can help,
first i enter wipe menu on twrp and advanced wipe, mark data partition then repair or change file system, after that change file system, change to what ever except ext4 (i use ext2 one) then change again to ext 4. Done you get data partition back
*this method will wipe your data on that partition
solution about unable to mount data on s7 edge
Hi,
Make sure to do a backup of your data, all data will be erased
after many attempts to find the solution
i tried to go to recovery latest twrp:
go to wipe
select data
for me i choosed ext3 and make repair
than i select Fat and again ext3
you can choose another file system
Thank you
Thanks this worked for me
This is the best answer to solve the problem:
CHoozen said:
This maybe can help,
first i enter wipe menu on twrp and advanced wipe, mark data partition then repair or change file system, after that change file system, change to what ever except ext4 (i use ext2 one) then change again to ext 4. Done you get data partition back
*this method will wipe your data on that partition
Click to expand...
Click to collapse
This worked for me.
- (re-)flash lastest twrp (currently 3.2.1.1) via fastboot
- boot to recovery
- wipe dalvik, cache, vendor, system, data
- format data (the one where you need to type "yes")
- reboot to recovery before flashing anything
- now flash your stuff
I was in Xiaomi.EU 9.3.28 in a "encrypted storage" situation
After messing it up I endend in a situation where I can not mount the data partition.
Follow your steps and now I'm setting up xiaomi.eu 9.5.9 without a problem.
Thank you very much.
Wachuwey said:
This worked for me.
- (re-)flash lastest twrp (currently 3.2.1.1) via fastboot
- boot to recovery
- wipe dalvik, cache, vendor, system, data
- format data (the one where you need to type "yes")
- reboot to recovery before flashing anything
- now flash your stuff
I was in Xiaomi.EU 9.3.28 in a "encrypted storage" situation
After messing it up I endend in a situation where I can not mount the data partition.
Follow your steps and now I'm setting up xiaomi.eu 9.5.9 without a problem.
Thank you very much.
Click to expand...
Click to collapse
Thanks to you I was able to recover my wife's Redmi 5. Cheers :good:
could not mount data and unable to find crypto error
Good morning guys im using Xiaomi Redmi note 4x(mido) i installed LineageOS 15.1 then the gapps, but the google photos and other google apps keep crashing and recommended me to uninstall and install again. so i wen to twrp and installed the gapps again, then it keeps crashing again. so what i did is to wipe in twrp then installed linneage and the gapps but when rebooting it asked my password then after than i can't no longer boot it keep sayingf could not mount/data and unable to find crypto. i tried all the steps and fix i found here and in other sites but it does not work when i try changing it to other file system it says mke2fs -t ext3 -b 4096 /dev/block/mmcblk0p49, and error 64. Please help thank you
Still not able to mount storage.
Phil_Smith said:
Hey,
recently many are facing the problem to suddenly receive the above error and aren't able to solve it by formatting data (well, it cannot be mounted).
Here are the steps that I suggest in case you find yourself in that situation (obviously all data including internal storage content will be gone afterwards, so make external backups of important stuff if you can before continuing)
- (re-)flash lastest twrp (currently 3.2.1.1) via fastboot
- boot to recovery
- wipe dalvik, cache, vendor, system, data
- format data (the one where you need to type "yes")
- reboot to recovery before flashing anything
- now flash your stuff
This helped a few people already, but please comment if it also does (or doesn't) for you!
Cheers and greetings,
Phil the Thrill
Click to expand...
Click to collapse
I tried everything that is:
-changing file system also gives "unable to mount storage " in every format like fat, ext2, ext3, ext4.
-factory reset also gives same error "unable to mount storage"
-I also tried different recovery.
Please someone help me!!!
Wachuwey said:
This worked for me.
- (re-)flash lastest twrp (currently 3.2.1.1) via fastboot
- boot to recovery
- wipe dalvik, cache, vendor, system, data
- format data (the one where you need to type "yes")
- reboot to recovery before flashing anything
- now flash your stuff
I was in Xiaomi.EU 9.3.28 in a "encrypted storage" situation
After messing it up I endend in a situation where I can not mount the data partition.
Follow your steps and now I'm setting up xiaomi.eu 9.5.9 without a problem.
Thank you very much.
Click to expand...
Click to collapse
Format data solved everything. But before format data, you better backup all your files. Because all of it will be erased like new.
Thank you.
CHoozen said:
This maybe can help,
first i enter wipe menu on twrp and advanced wipe, mark data partition then repair or change file system, after that change file system, change to what ever except ext4 (i use ext2 one) then change again to ext 4. Done you get data partition back
*this method will wipe your data on that partition
Click to expand...
Click to collapse
I LOVE YOU!!! U saved me when nothing worked. Ty so much !!
Hey King,
I do not use a Redmi Note 8, yet I had the same problem with my Moto G5 Plus.
Until I read your post and now my phone works.
Thank you!
Hi, i have TWRP 3.6.0 installed on my mi 11 lite (courbet), and then it shows "unable to mount /data". I know, formatting helps, but what to do if i don't want to format it, only i want to update the rom?