[Q] Understanding Internal Storage and /Data Partition - HTC Droid DNA

Hi everybody. First time poster. After 4 hours scouring forums and other sites yesterday, I never saw this precise question asked or answered.
I have an HTC DNA that I'm selling on Swappa soon. Of course, I wanted to wipe the internal storage. [I promise this isn't going to be a "What's the best way to wipe my device" thread,]
I ultimately went with:
1. Encrypt device
2. Fastboot Erase Boot, System, Data, and Recovery
3. Flash CWM Recovery
4. Format all partitions in CWM Recovery
4. Sideload ViperDNA.zip
5. Install ViperDNA.zip
And so here comes the question, in the future, shouldn't I just be able to format the /Data/ partition and be done with it? After all, if internal storage--the /SDCard/ partition---is found at /Data/Media, shouldn't a format of /Data/ wipe the internal storage?
If the answer is "yes," then why is there a second option in CWM for "Format /Data and /Data/Media (/SDCard)"? The second option seems redundant of simply formatting /Data/ (which would include /Data/Media). However, when I run the second format option--the one that explicitly references /SDCard/, it takes noticeably longer than simply formatting /Data. And that suggests that there's more going on with the second option.
Perhaps the answer is that when you Format only /Data/, the phone leaves /Data/Media alone. If that's the answer, then that all makes sense. But I haven't seen that stated definitively anywhere.
Thanks in advance!!

ThisAndroidDude said:
Hi everybody. First time poster. After 4 hours scouring forums and other sites yesterday, I never saw this precise question asked or answered.
I have an HTC DNA that I'm selling on Swappa soon. Of course, I wanted to wipe the internal storage. [I promise this isn't going to be a "What's the best way to wipe my device" thread,]
I ultimately went with:
1. Encrypt device
2. Fastboot Erase Boot, System, Data, and Recovery
3. Flash CWM Recovery
4. Format all partitions in CWM Recovery
4. Sideload ViperDNA.zip
5. Install ViperDNA.zip
And so here comes the question, in the future, shouldn't I just be able to format the /Data/ partition and be done with it? After all, if internal storage--the /SDCard/ partition---is found at /Data/Media, shouldn't a format of /Data/ wipe the internal storage?
If the answer is "yes," then why is there a second option in CWM for "Format /Data and /Data/Media (/SDCard)"? The second option seems redundant of simply formatting /Data/ (which would include /Data/Media). However, when I run the second format option--the one that explicitly references /SDCard/, it takes noticeably longer than simply formatting /Data. And that suggests that there's more going on with the second option.
Perhaps the answer is that when you Format only /Data/, the phone leaves /Data/Media alone. If that's the answer, then that all makes sense. But I haven't seen that stated definitively anywhere.
Thanks in advance!!
Click to expand...
Click to collapse
I dont see the point to encrypt the device
and second in twrp there is a "wipe internal storage" option that wipes the internal storage, cwm i think they just call it data

.torrented said:
I dont see the point to encrypt the device
and second in twrp there is a "wipe internal storage" option that wipes the internal storage, cwm i think they just call it data
Click to expand...
Click to collapse
Thanks for the input. The reason I think encrypting is good, is that it serves the purpose of overwriting the sectors with data (in this case, encrypted data). Of course, I know solid state memory isn't necessarily as susceptible to data recovery for failure to overwrite as magnetic media, but I wanted to be safe.
With regards to TWRP's "wipe internal storage" option, I'm sure that works well. CWM has something similar in the "format /data and /data/media" option.
However, my main question still remains. If Internal Storage is found on the data partition at /data/media, then does a format of /data (in CWM or fastboot) take care of the internal storage? I don't think it does (based on the two different options in CWM and the fact that formatting /data/ and /data/media takes longer than simply formatting /data), and I'm just trying to understand why.

ThisAndroidDude said:
Thanks for the input. The reason I think encrypting is good, is that it serves the purpose of overwriting the sectors with data (in this case, encrypted data). Of course, I know solid state memory isn't necessarily as susceptible to data recovery for failure to overwrite as magnetic media, but I wanted to be safe.
With regards to TWRP's "wipe internal storage" option, I'm sure that works well. CWM has something similar in the "format /data and /data/media" option.
However, my main question still remains. If Internal Storage is found on the data partition at /data/media, then does a format of /data (in CWM or fastboot) take care of the internal storage? I don't think it does (based on the two different options in CWM and the fact that formatting /data/ and /data/media takes longer than simply formatting /data), and I'm just trying to understand why.
Click to expand...
Click to collapse
well, since the sdcard is not external, one wipes everything but the sdcard and then the other will wipe everything including data/media
if you are doing a fresh rom install, you dont want to wipe the sdcard if you have any backups or the rom you are installing. thats where the wipe data comes into play, however when you want to go ahead and restore it to stock or just clean out the sdcard thats where the second one takes over.

Thanks for the additional thoughts. In my case, since I wanted to wipe everything, it made sense to do the /data and /data/media wipe.
I think we both agree about the difference between the two wipes. I think it's just a bit confusing that CWM's option to wipe /data doesn't really wipe that entire partition--instead, it leaves /data/media alone.

Related

About my phone file system

Hye everyone, my name is toby and I have a question..
Long a go after I bought sgs2 I try to remember, I think I've formatted this phone once using my laptop via usb. I plugged the phone, right click on my computer and format, I think it was NTFS file system. do you guys think this will have impact on the phone performance r/w or ROM? or will the sd partition won't work at all?
I'm asking this because I have installed ROM's and It lag and crashed a few times.. I think maybe this two connected.
Thank you..
p/s:f5,f5,f5,f5 waiting for some rom to update.
Yes the two are likely to be connected. If you formatted your sdcard as ntfs then I would presume that it is using the ntfs support in the Linux kernel to access it. However, NTFS is not a light fs, it is intended for heavy duty file work, and definately not suited for mobile devices. I'm not surprised it's causing your phone to lag.
I suggest you enter your phone's recovery mode and reformat your /sdcard partition, and if you have CWM just to be sure, do a full factory wipe, and format ALL partitions in the advanced section.
So...
mrnaz said:
Yes the two are likely to be connected. If you formatted your sdcard as ntfs then I would presume that it is using the ntfs support in the Linux kernel to access it. However, NTFS is not a light fs, it is intended for heavy duty file work, and definately not suited for mobile devices. I'm not surprised it's causing your phone to lag.
I suggest you enter your phone's recovery mode and reformat your /sdcard partition, and if you have CWM just to be sure, do a full factory wipe, and format ALL partitions in the advanced section.
Click to expand...
Click to collapse
So... everytime I wipe cache partition in cwm recovery mode, it reformat my /sdcard? so, I have nothing to worry right, because I always do the 4 steps of cleaning before installing, sorry, flashing new rom.
No. Wiping the cache does exactly that, wipes the cache. If you do wipe the cache, you'll find the first boot after you do it will take a bit longer than normal while the cache is rebuilt.
If you want to format your /sdcard, you need to go into mounts & storage in CWM.
thegreatdead69 said:
So... everytime I wipe cache partition in cwm recovery mode, it reformat my /sdcard? so, I have nothing to worry right, because I always do the 4 steps of cleaning before installing, sorry, flashing new rom.
Click to expand...
Click to collapse
Hm...
MistahBungle said:
No. Wiping the cache does exactly that, wipes the cache. If you do wipe the cache, you'll find the first boot after you do it will take a bit longer than normal while the cache is rebuilt.
If you want to format your /sdcard, you need to go into mounts & storage in CWM.
Click to expand...
Click to collapse
Okkkaay... Thank you sir..
Need Help with cwm
Hye, I can't find format /sdcard option in cwm Mounts & Storage Menu..
only have this formatting option:
format cache, system, data, secondrom_cache, secondrom_data, secondrom_system, external storage, internal storage.
and I can't mount /sdcard it say Error mounting /sdcard!
I am using CWMR Touch 5.5.0.4 btw.
P/S:Im not using any external mmc.

How can I erase the internal storage of my Tab?

Hi xda,
I'm not a typical android user and this was one of my firsts in messing around with my Tab 10.1. I have GTP7500 which I recently loaded up with CM10 and it's working fine except for the camera. Leave that and what I was going to say is that I'd like to remove my entire Internal Storage ( all the downloads, music, videos ) and stuff, i.e, like formatting the sd card. I'd like to know a way to format the internal storage of my Tab without affecting the system files as I don't want to create any troubles here. So, my questions are:-
1. Whether I can delete all the stuff shown inside the internal storage from my PC directly and would it affect the system? I cannot see any format option when I connect my tab to my PC so, I was hoping if I could manually delete all the files inside the storage and then doing a factory reset from cwm and installing the rom once again?
2. Or is there any app to do this?
3. Or if it is quite simple to do it the hard way, well, entering the fastboot and wiping the whole system (Read it somewhere before) and installing all the stuff again, then please do tell me that too. Otherwise, I'd go with the easy method, i.e, just format the internal storage.
Also, what about the format /sdcard option in the mounts and storages menu in CWM? I'm using CWM 5.5.0.4.
I think doing the "format /sdcard" in CWM should do what you are looking for as I have done that in the past. I would also temporarily back up the /sdcard contents onto your computer as a precaution in case an app was depending on any folders there, but I think it should be fine.
Thanks but still...
astrojo3 said:
I think doing the "format /sdcard" in CWM should do what you are looking for as I have done that in the past. I would also temporarily back up the /sdcard contents onto your computer as a precaution in case an app was depending on any folders there, but I think it should be fine.
Click to expand...
Click to collapse
Thanks for the quick reply. But would it remove other stuff including the boot files and other core files of Android? I've somewhere seen similar posts and whom did the format /sdcard but they proclaimed they lost whole files and had to do bootloader and install cwm and other stuff all over again to gain access. I've already managed to do format the sd card while installing the ICS official ROM for my tab but I did that via Samsung's recovery menu, i.e, one you get when installing their official ROMs and did a factory reset which erased all my internal storage files. But the same option won't remove internal storage in cwm. So, is format /sdcard the option to do this? I'd be glad to get a clear answer.
sangeeth96 said:
Thanks for the quick reply. But would it remove other stuff including the boot files and other core files of Android? I've somewhere seen similar posts and whom did the format /sdcard but they proclaimed they lost whole files and had to do bootloader and install cwm and other stuff all over again to gain access. I've already managed to do format the sd card while installing the ICS official ROM for my tab but I did that via Samsung's recovery menu, i.e, one you get when installing their official ROMs and did a factory reset which erased all my internal storage files. But the same option won't remove internal storage in cwm. So, is format /sdcard the option to do this? I'd be glad to get a clear answer.
Click to expand...
Click to collapse
Yep, format sdcard in CWM. It will only wipe the data stored there. Your bootloaders and ROM will remain unaffected, however I would still backup the sdcard to your computer before doing this just in case.
bkress said:
Yep, format sdcard in CWM. It will only wipe the data stored there. Your bootloaders and ROM will remain unaffected, however I would still backup the sdcard to your computer before doing this just in case.
Click to expand...
Click to collapse
I was wondering about this, too. Thanks for helping!
Sent from my GT-P7500 using XDA Premium HD app
The method above does work. However, if you really want to wipe the whole device completely clean, using Odin to flash stock firmware will blow it all out and make you factory-fresh in one operation.

How do I format (as in delete EVERYTHING) my internal storage?

I have to much junk and empty folders on the phone. I tried format through CWM, format system, cache, data, emmc...everything is still there. I want to clean (as in new) my internal storage.
Does "factory reset" does that, or is it just for deleting any 'personal' data (pics, files) etc?
Thanks.
Wipe data/factory reset only wipes the data partition. What you want is to format the internal sdcard. Go to Settings | Storage and select "Format SD card."
creepyncrawly said:
Wipe data/factory reset only wipes the data partition. What you want is to format the internal sdcard. Go to Settings | Storage and select "Format SD card."
Click to expand...
Click to collapse
Thanks.
Will I then be able to boot into recovery, or CWM will no longer be there and I'll have to use ODIN?
Also, am I losing ROOT when doing that?
No. No. No.
You can format the root files from CWM recovery. You said you tried that and it didn't do what you want.
Formating the internal sdcard will remove all your personal files from the phone, including pictures and any other files and directories you have created. If that's not what you want to do, then don't format the internal sdcard.
Formating the internal sdcard will not touch the system, kernel, data partition or any other root files. You will not lose root. So yes you will be able to boot into cwm recovery, or even into whatever system you have installed after formating the internal sdcard.
sbi1 said:
Thanks.
Will I then be able to boot into recovery, or CWM will no longer be there and I'll have to use ODIN?
Also, am I losing ROOT when doing that?
Click to expand...
Click to collapse
Common sense, make a backup (meaning copy and save your personal info to somewhere else first, you can delete them later if you really don't need them).
Also, adding to what creepy has said, be sure "SD card" is your internal storage, not external uSD.
I suggest you removing the external uSD card first, just in case.
The reason I said so because with CwMR and Task's AOKP, format SD card is formatting the external uSD card, while "format /emmc" will be do the internal one.
Just precaution.
Thank you both.
Yes, I already 'discovered' that formatting SD Card in CWM formats the external ...luckily I didn't have anything important there.
I still don't get it though. Looks like we are talking about two different things.
I have my internal storage fully backed up. I want to wipe it clean, as in a PC Format. Is there a way to do that, or can I simply remove empty folders in file explorer? Too much junk has been collected there in a year and a half of many custom roms and different apps that I tried and removed.
sbi1 said:
Thank you both.
Yes, I already 'discovered' that formatting SD Card in CWM formats the external ...luckily I didn't have anything important there.
I still don't get it though. Looks like we are talking about two different things.
I have my internal storage fully backed up. I want to wipe it clean, as in a PC Format. Is there a way to do that, or can I simply remove empty folders in file explorer? Too much junk has been collected there in a year and a half of many custom roms and different apps that I tried and removed.
Click to expand...
Click to collapse
Refer to 2nd post. Your internal storage has 2 partitions. One is where all the system data is, and the other is where all the personal data is (where apps install to). If you do what's written in the 2nd post, it will completely wipe clean the personal partition.
dsmboost said:
Refer to 2nd post. Your internal storage has 2 partitions. One is where all the system data is, and the other is where all the personal data is (where apps install to). If you do what's written in the 2nd post, it will completely wipe clean the personal partition.
Click to expand...
Click to collapse
Will I still be able to access CWM and install custom rom from Ext SD?
sbi1 said:
Will I still be able to access CWM and install custom rom from Ext SD?
Click to expand...
Click to collapse
Yes, formatting internal sd card (doesn't matter which partition) does not touch either of those.

[Q] Safely formatting internal storage

After some 2+ years of constantly changing ROMs, I've noticed that my i9100 shows more often than not the message of "your storage is getting full" or whatever it says. It does not work by clearing apps' data or even removing some of them because it ends up showing the warning soon. Also, factory reset has proved not to do much, since it just does a data wipe.
So I have decided to proceed with a format by entering Recovery > Mounts & storage > Format sdcard.
I just want to check first wether I will be able, after the format has finished, to flash CyanogenMod back from the same recovery (having placed it in the external SD card, which I understand is not formatted together with the internal storage) and have it working all ok, or the format will disable me from doing something else.
So my questions are:
That 'format sdcard' option in the Recovery means the internal storage, right?
The external SD card (the actual physical one) is not affected by the format, right?
Will I be able to flash CyanogenMod back again from the same Recovery after the format?
In case yes, any reboot in between the format and the flashing would brick my phone?
Help is much appreciated! :laugh:
jago84 said:
After some 2+ years of constantly changing ROMs, I've noticed that my i9100 shows more often than not the message of "your storage is getting full" or whatever it says. It does not work by clearing apps' data or even removing some of them because it ends up showing the warning soon. Also, factory reset has proved not to do much, since it just does a data wipe.
So I have decided to proceed with a format by entering Recovery > Mounts & storage > Format sdcard.
I just want to check first wether I will be able, after the format has finished, to flash CyanogenMod back from the same recovery (having placed it in the external SD card, which I understand is not formatted together with the internal storage) and have it working all ok, or the format will disable me from doing something else.
So my questions are:
That 'format sdcard' option in the Recovery means the internal storage, right?
The external SD card (the actual physical one) is not affected by the format, right?
Will I be able to flash CyanogenMod back again from the same Recovery after the format?
In case yes, any reboot in between the format and the flashing would brick my phone?
Help is much appreciated! :laugh:
Click to expand...
Click to collapse
well as i had flashed a lot of Roms too, maybe i can help you...i'll try!
after formatting sdcard, u wont lose ROM. u will just format your sdcard(12 gb i think).
1) i think the "format sdcard" option is supposed to mean the internal storage. but in some roms that i flashed, sometimes the sdcard mean the external sdcard and EMMC means the internal sdcard...so first take a look. go to install zip and select install from internal sdcard or external sdcard and look up in the screen, if it shows that u are in /sdcard or in /emmc, so u can know what sdcard are u really going to format
2) if u select to format the internal sdcard, it will only format the internal sdcard. nothing else.
3)well, as i said in the beginning, you won't lose rom in the format...u just formated sdcard, the rom and its stuff are still there, in the device storage(not sdcard or external sdcard, but in a card that is only for system/phone stuff(its like the phone has 2 cards. one u can use and send stuff(12gb) and the other one is for system files(2gb))
4) i think it would not brick it, since u just formated the sdcard, the rom is still on your phone but in the device storage, like i said above.
the ROM files arent stored in internal sdcard or external sdcard(those u can send files by usb), they are stored in the storage of the device that is only for system files. so if u do a format it wont affect Rom or Recovery.
hope it helped a little...cheers
Short notice from my side: I doubt formatting your sdcard will help to solve your original problem (low memory). This message appears if the /data space (those 2GB where all the system settings and application data are stored) is almost used completely. The easiest way to clean up this data is a system reset (which will make you loose all your data) or you need to look whether there are applications occupying much data there and remove these apps / tell them to store their data on /sdcard (if this is possible) or to selectively remove some log files / temp data. But in this you should be very careful, because removing the wrong data might cause strange system behaviour.
Sent from my Nexus 7 using xda app-developers app
AndDiSa said:
Short notice from my side: I doubt formatting your sdcard will help to solve your original problem (low memory). This message appears if the /data space (those 2GB where all the system settings and application data are stored) is almost used completely. The easiest way to clean up this data is a system reset (which will make you loose all your data) or you need to look whether there are applications occupying much data there and remove these apps / tell them to store their data on /sdcard (if this is possible) or to selectively remove some log files / temp data. But in this you should be very careful, because removing the wrong data might cause strange system behaviour.
Click to expand...
Click to collapse
I think that is not quite the problem I am faceing now. I explain myself: when I get that "storage almost full" message, if I check on Settings > Storage, the Internal Storage section (1,97 GB in total) shows an availability of only 205 MB and the bar is half full (see attached). First incoherence. I try to update any small app such as, for example, Bitcoin Wallet (1.3 MB) and it says it can't be updated because there is not enough space. Incoherent with the bar shown. Also, if I navigate to /data, it shows there is an amount of 2.31 GB inside that directory (incoherent with the amount shown by the Storage Manager. Other data folders, such as the one in /sdcard/data or the one in /data/data, are always smaller (3 MB and 425 MB respectively, also don't match any of the figures shown by the Storage Manager).
Some ROM installs ago, I remember I was able to install around 190 apps and no problem at all, and now I'm 160 and have to keep removing apps when I want to install more.
That's why I think my problem is not related to data, or fixed by a data wipe or factory reset. I understand there are too many files inside that are just lost from ROM to ROM, and not even the system know where do they belong to. It is running everything but fluent. I don't even remember what Project Butter is :silly:
RonDelonge182 said:
well as i had flashed a lot of Roms too, maybe i can help you...i'll try!
after formatting sdcard, u wont lose ROM. u will just format your sdcard(12 gb i think).
1) i think the "format sdcard" option is supposed to mean the internal storage. but in some roms that i flashed, sometimes the sdcard mean the external sdcard and EMMC means the internal sdcard...so first take a look. go to install zip and select install from internal sdcard or external sdcard and look up in the screen, if it shows that u are in /sdcard or in /emmc, so u can know what sdcard are u really going to format
2) if u select to format the internal sdcard, it will only format the internal sdcard. nothing else.
3)well, as i said in the beginning, you won't lose rom in the format...u just formated sdcard, the rom and its stuff are still there, in the device storage(not sdcard or external sdcard, but in a card that is only for system/phone stuff(its like the phone has 2 cards. one u can use and send stuff(12gb) and the other one is for system files(2gb))
4) i think it would not brick it, since u just formated the sdcard, the rom is still on your phone but in the device storage, like i said above.
the ROM files arent stored in internal sdcard or external sdcard(those u can send files by usb), they are stored in the storage of the device that is only for system files. so if u do a format it wont affect Rom or Recovery.
hope it helped a little...cheers
Click to expand...
Click to collapse
Thanks for your help, dude! Much appreciated.
Anyway, I feel that, if formatting sdcard does not wipe everything, maybe then what I need is to go Recovery > Mounts and storage > format /system, format /data, etc. All of them except for the actual physical sdcard (wether it is /emmc or /sdcard) and the directory in which the recovery "lives".
So I have new questions now:
If I formatted /system, would the phone be bricked or the Recovery would still allow me to install a CM ROM stored in the sd card?
Is there any of the directories shown in Recovery > Mounts and Storage that represents the actual Recovery partition/space?
There's no recovery partition you can format.
You can format system, preload, and data partition.
But flash a ROM right after.
There are flashable scripts (ROM wipe or ROM nuke) you can use. It does all the formats and wipes, and even back up some of your folders.
Envoyé depuis mon Nexus 10 avec Tapatalk
jago84 said:
I think that is not quite the problem I am faceing now. I explain myself: when I get that "storage almost full" message, if I check on Settings > Storage, the Internal Storage section (1,97 GB in total) shows an availability of only 205 MB and the bar is half full (see attached).
Click to expand...
Click to collapse
It's a known bug, that Android's performance is decreasing very much as soon as there is less than 10% free on /data. Additionally I wouldn't trust the graphics you see, because especially if you have man small files, the space occupied on "disk" is much higher than the file size. If they are only adding the file size of the files stored there this will be misleading. As far as I know the block size is 4kb, so each file takes at least 4kb of the memory. You can try to move some apps to /sdcard, but this works only to an external one, so you can free some space. Otherwise have a look on /data/system/dropbox or /data/system/usagestats if you can find some files which can be removed.
jago84 said:
Thanks for your help, dude! Much appreciated.
Anyway, I feel that, if formatting sdcard does not wipe everything, maybe then what I need is to go Recovery > Mounts and storage > format /system, format /data, etc. All of them except for the actual physical sdcard (wether it is /emmc or /sdcard) and the directory in which the recovery "lives".
So I have new questions now:
If I formatted /system, would the phone be bricked or the Recovery would still allow me to install a CM ROM stored in the sd card?
Is there any of the directories shown in Recovery > Mounts and Storage that represents the actual Recovery partition/space?
Click to expand...
Click to collapse
well, as Sergeileduc said, u can't format Recovery. so answering your questions:
1) yes, you would still be able to flash any other Rom, since formatting /system does not affect recovery. Wiping this partition will remove Android from the device without rendering it unbootable, and you will still be able to put the phone into recovery or bootloader mode to install a new ROM.
2) i dont think so...u can't format recovery...
hope it helped you...cheers!
well the 4rth question is no it wouldent brick your phone it will just hang at the galaxy s logo p.s thanks for helpin me on the other fourm
Just to add my own experience.....
Some months ago, my phone was suffering from poor performance (I was running CM10.1 at the time)
I decided to do a full format to totally "pristine" wipe my phone and start fresh. I copied a fresh version of the rom and gapps to my removable micro SD card and rebooted into CWM. I formatted cache, dalvic, preload, emmc and sd.....then just to be certain, I factory reset too.....
After that and while still in CWM, I flashed the rom and gapps and rebooted without issue......I believe this is what you want to do, so to answer your question. ...yes it is safe and possible to do this.....my phone is proof of that.....
Sent from my Rooted, De bloated Stock JB powered S2 via PhilZ kernel and Tapatalk 2....
keithross39 said:
Just to add my own experience.....
Some months ago, my phone was suffering from poor performance (I was running CM10.1 at the time)
I decided to do a full format to totally "pristine" wipe my phone and start fresh. I copied a fresh version of the rom and gapps to my removable micro SD card and rebooted into CWM. I formatted cache, dalvic, preload, emmc and sd.....then just to be certain, I factory reset too.....
After that and while still in CWM, I flashed the rom and gapps and rebooted without issue......I believe this is what you want to do, so to answer your question. ...yes it is safe and possible to do this.....my phone is proof of that.....
Click to expand...
Click to collapse
Thanks! Great feedback.
Just to complete my question, did you notice a significant performance improvement after the wipe-and-reinstall process?
It seemed to help a bit, but not as much as I'd anticipated. ..
Sent from my Rooted, De bloated Stock JB powered S2 via PhilZ kernel and Tapatalk 2....

Complete wipe, I mean everything, question

So after years of flashing roms, installing apps, saving junk to my phone I think it is time to completely wipe it. I've searched and come across a few threads but I want to look at some of the CWM Mounts and storage options to be sure. Here is one I came across:
http://forum.xda-developers.com/galaxy-s2/general/ref-cwm-clockworkmode-menu-options-t1542857
If I wanted to do a compete wipe including all internal SD data, but not lose Root, I would do the following???
wipe data / factory reset
wipe cache partition
wipe dallvik cache
format /system
format /cache
format /data
format /preload (unsure about this one, can't find info)
format /storage/sdcard0
install rom then from my ext sdcard1
install gapps then from my ext sdcard1
reboot into a clean phone and start installing stuff again.
That should be enough correct? I'm not sure where CWM Recovery lives but I would assume that would be on the /boot partition and that is the one section that I don't want to format, correct? I'm also not sure of where the modem is set/installed and would that need to be reinstalled again?
With this device, recovery lives with the kernel in the boot partition. Everytime you install a kernel, a fresh image is installed to the partition.
I'm not sure what your actual goal is, but the process you've outlined process is very redundant.
factory reset wipes /data & /cache (which includes dalvik-cache)
A factory reset plus manually wiping /system (and /preload if using samsung-based firmware) promises a clean installation of ANYTHING.
jackal2001 said:
[...]
If I wanted to do a compete wipe including all internal SD data, but not lose Root, I would do the following???
wipe data / factory reset
wipe cache partition
wipe dallvik cache
format /system
format /cache
format /data
format /preload (unsure about this one, can't find info)
format /storage/sdcard0
install rom then from my ext sdcard1
install gapps then from my ext sdcard1
reboot into a clean phone and start installing stuff again.
That should be enough correct? I'm not sure where CWM Recovery lives but I would assume that would be on the /boot partition and that is the one section that I don't want to format, correct? I'm also not sure of where the modem is set/installed and would that need to be reinstalled again?
Click to expand...
Click to collapse
I want to have a fresh install. Basically wipe everything including whatever junk is installed on the SD card. Like a new phone pulled out of the box. I'm sure there is tons of junk on the SD card due to apps being installed/uninstalled over the years.
Yes I understand some of the options may be redundant, but it only takes a second.
So as long as I don't "format /boot" you saying that should be OK?
If you prefer to take the extra steps, then I don't see any harm in your procedure.
It may seem obvious, but make sure you have everything you'll need on that ext-sd card, before you format /system.
mr.cook has some scripts that will format preload, if the option isn't present in your recovery.
jackal2001 said:
I want to have a fresh install. Basically wipe everything including whatever junk is installed on the SD card. Like a new phone pulled out of the box. I'm sure there is tons of junk on the SD card due to apps being installed/uninstalled over the years.
Yes I understand some of the options may be redundant, but it only takes a second.
So as long as I don't "format /boot" you saying that should be OK?
Click to expand...
Click to collapse

Categories

Resources