[Q] How to format whole partition - Galaxy S II Q&A, Help & Troubleshooting

Good Day,
Totally noobie here!!
Previously I had flashed to Litenin Rom which use about 2 months+ with tons of apps in it.
Few days ago, fully wiped out /data /cache /system, etc..
Flashed to Galnet MIUI
I noticed my SDCard(not MicroSD) does not making any free space after completed the wiped process.
So I would like to format, EVERYTHING, yes, I MEAN EVERYTHING in my phone, so I could get a head start all over again, flashing with proper ROMs.
What are the precautions and steps that I should work out???
P/s: I DO NOT own a MicroSD card, all storage is on the phone itself.

DO YOU NEED THE REPLY IN BIG LETTERS ???? WE CAN ALL READ .
CWM recovery mounts and storage format data cache sd card system .
jje

Related

Factory reset+flash wiped my memory

Hi All,
I did a factory reset today and flashed the stock 4.1.1 Polish ROM via Odin. This process seems to have wiped my files (including photos etc) from my S3 (internal memory, not SD card). I've flashed plenty of ROMS before and this has never happened.
Anyone know if it's possible to get them back? I guess I've installed new apps etc now so a lot of the data would have been overwritten. Frustrating!
Thanks for any tips.
UnitedWeFall said:
Hi All,
I did a factory reset today and flashed the stock 4.1.1 Polish ROM via Odin. This process seems to have wiped my files (including photos etc) from my S3 (internal memory, not SD card). I've flashed plenty of ROMS before and this has never happened.
Anyone know if it's possible to get them back? I guess I've installed new apps etc now so a lot of the data would have been overwritten. Frustrating!
Thanks for any tips.
Click to expand...
Click to collapse
You answered your own question with your first sentence : I did a factory reset...
Unfortunately its not possible to get back the data
Sent from my Galaxy Nexus using Tapatalk 2
Unless you backed up on PC or sd card...
Factory reset in S3 will always wipe internal memory as it shares internal memory for applications.
If you want to restore try some data recovery software that supports SD card.
ultramag69 said:
Unless you backed up on PC or sd card...
Click to expand...
Click to collapse
That would be the only way. There is a very small window to recover data wiped from flash memory and on a phone it would be even more difficult. Maybe a Clockwork backup?
Internal SDcard is mounted on the system partition via Fuse..so if you format the /system partition..sdcard is formatted as well..
Pointers for future..
Use CWM for flashing ROMS..(I hate Odin )
Backup your internal SDcard on your PC regularly
Perform a Nandroid Backup on your ExtSDcard before flashing any ROM.
If you ever need to factory reset..use the wipe data/factory reset option in CWM and not in Stock Recovery
For a clean install, if you want to wipe system partition..use wipe /system option under mount and format in CWM..it just wipes the system files and your SDcard data will be safe..
You will not face such issues if you in the future if you follow these pointers.
zoot1 said:
Internal SDcard is mounted on the system partition via Fuse..so if you format the /system partition..sdcard is formatted as well..
Pointers for future..
Use CWM for flashing ROMS..(I hate Odin )
Backup your internal SDcard on your PC regularly
Perform a Nandroid Backup on your ExtSDcard before flashing any ROM.
If you ever need to factory reset..use the wipe data/factory reset option in CWM and not in Stock Recovery
For a clean install, if you want to wipe system partition..use wipe /system option under mount and format in CWM..it just wipes the system files and your SDcard data will be safe..
You will not face such issues if you in the future if you follow these pointers.
Click to expand...
Click to collapse
Thanks for that. Lesson learnt I guess..

[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....

Using TWRP....

Hi Everbody!
This is my first post, so i apologise if i do something wrong...
Here it is my problem...
Last week i buy a S3 I9300. I flash Sentinel Rom 4.XX. Before that i did make root and did intall TWRP, since is less problematic than Recovery...(in opinion of the developer).
Now comes my problem....
The developer says in their instructions:
5 Factory Reset and wipe Cache and Dalvik Cache
6 Format System Partition
Im looking at TWRP at this moment...and i have no doubts about Wipe Cache and Dalvik Cache.Ok.
Format System Partition.....now, here it is my big problem. Do i press System? Do i Wipe System?
Or do i press: Internal Storage?
What i want is a FULL Clean of the S3. I really don`t care about backups, programs, since i have all on my PC......i want a ROM clean without any trash from previous room...
I have some experience with flashing, with 3º party softwares, but this room uses a zip file...with is for me more complicated, since i never now if im making a fresh install, or a "mix" of files....
Resuming:
On TWRP, except the SD EXTERNAL where i have some backups, and the ROM.zip, what is the best option do format/Clean ALL internal storage?
And yes i read the tread about 4.2.2 new system of data lost..(wich i still think is to confuse, but that`s another question).
Thank you in advance!:good:
P.S: - I don`t have (or don`t see) the famous /data/media/0.......
Im using at this moment Sentinel 4.50. No problems.
What i want is a FULL Clean of the S3. I really don`t care about backups, programs, since i have all on my PC......i want a ROM clean without any trash from previous room...
TWRP / wipe cache dalvik system internal sd card and data .
jje
JJEgan said:
What i want is a FULL Clean of the S3. I really don`t care about backups, programs, since i have all on my PC......i want a ROM clean without any trash from previous room...
TWRP / wipe cache dalvik system internal sd card and data .
jje
Click to expand...
Click to collapse
Hi.
Hi didn`t understand your statement. I forget to tell that i also do/did Factory Reset.
I says this because one of the occasions, making this 3 steps, didn`t erase previous files from the previous ROM....
What`s the best opcion to erase internal and SD Card, with exception of external card?
Thks in advance.

CWM - Wipe data\Factory reset - Wiping all data from Internal SD

I've read some other posts where this has caused a certain amount of controversy but no post seemed to actually answer the question..
Using the Wipe data\Factory reset in ClockWorkMod Recovery has started to wipe the ENTIRE device
(excluding the external SD card)
I have flashed dozens of custom ROMs in the past and what normally happens is my external SD card contents remains safe, this still happens, no problem there, and all my personal documents such as music, pictures, videos and all other files that are not part of the actual ROM itself remain safe too.
BUT
Yesterday, i flashed a certain ROM designed to resemble the S4 (with leaked 4.2.2). Its performance was shockingly bad and other reasons caused me to flash a new ROM which i had used in the past - but when i wiped data/factory reset through CWM - ALL MY INTERNAL SD CONTENTS WHERE GONE
Things i did notice with the 4.2.2 ROM before re-flashing were that:
-When i connected it to the computer (via USB) my device was seen as i9500 (the S4)
-Also, it had created a "0\" folderto store the system ROM.
-I also noticed, wehn re-flashing, it took longer to wipe data than usual..
NOTE: I DID NOT USE THE FACTORY RESET THROUGH ANDROID SETTINGS - THIS, I KNOW, WILL WIPE THE ENTIRE INTERNAL SD, PERSONAL FILES AND ALL. THIS WAS DONE THROUGH CWM.
Because obviously the 4.2.2 ROM wiped my entire Internal SD i had no ROM packages left on it to flash and because obviously i didnt know this until i wiped/reset it involved me having to use ODIN to reflash a STOCK ROM just to be able to boot up and transfer files (ROM packages) from PC to phone - which obviously then meant i had to reflash CWM aswell before i could install the new ROM.
Final Note:
The problem i have, is that i have to do the above EVERYTIME i want to flash a different ROM (i flashed 3 last night).
For some reason when i wipe through CWM my internal SD card is COMPLETELY WIPED!
The question is......Why???
Could the 4.2.2 ROM have re-partitioned my internal SD card and now CWM thinks the ENTIRE thing is data to wipe?
This is the only reasoning i could put to why it wont leave MY FILES alone...
If this IS the case, how do i get it back to normal??
I'm told, on numerous websites in BIG BOLD RED LETTERS that selecting 're-partition' in ODIN is bad and is just a ticket for a free paperwieght (the phone!).
Thank you to ANYONE who can help with this......
The clue may be in the 0 folder. Please read link in my signature to see if it helps
Sent from my GT-I9300 using Tapatalk 2
rootSU said:
The clue may be in the 0 folder. Please read link in my signature to see if it helps
Click to expand...
Click to collapse
Thanks for your help, however the info you suggested does not solve my query..
The info you've provided assumes that the data is stored somewhere else, ie. 0\
Although my device did create a 0\ location when wiping the data, no personal data was in this location.
When i flashed back to stock using Odin, i could see that my phones internal storage was only 1.0-1.5GB used.
Before i started this i only had about 900mb left on my device!
So its not that my data is hiding somewhere.....its gone, and everything on my hones internal storgare is wiped everytime i "wipe data/factory reset" through CWM.

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