completely wipe the phone? - AT&T, Rogers, Bell, Telus Samsung Galaxy S III

Just wondering, as i'm probably selling my Galaxy S3 soon... what's the easiest way to completely wipe everything off the phone? Pictures, apps, documents.... everything? Will re-install a custom ROM after wiping.... just want to make sure all personal data is off the phone.

elementaldragon said:
Just wondering, as i'm probably selling my Galaxy S3 soon... what's the easiest way to completely wipe everything off the phone? Pictures, apps, documents.... everything? Will re-install a custom ROM after wiping.... just want to make sure all personal data is off the phone.
Click to expand...
Click to collapse
I imagine using twrp would be the best way. Not sure if there is another alternative. Maybe odin.
First before wiping system you may want to wipe internal storage (after backing up your internal storage to your computer or something first of course). Then boot up your current system and transfer a rom you want to install to your internal storage. Then reboot to twrp and wipe system, factory reset, cache and dalvik. Then install a rom fresh and then it should be ready to go. This is what I do after selling a device, before shipping to a customer.

.... wouldn't copying a custom ROM to the internal storage BEFORE wiping System and everything also erase the custom ROM i just transferred to the device?
And i mean wiping EVERYTHING. basically as if the phone was just taken out of the box, and unlocked, rooted, and custom ROM installed. No left over files whatsoever. Don't think wiping just System does that, does it? Wouldn't i do the "Wipe Internal Storage" or something like that? Think that's about what i did on my Motorola Atrix when i sold that.

* edit looking into the wiping system part to see exactly what it erases.
Wiping system, factory reset, cache and dalvik should erase everything except storage. You could wipe internal storage after you freshly install a ROM. But hopefully there are no errors, because you will have no files on storage if something had went wrong during installation. I would also have a ROM file on an external sdcard that you could plug in if you needed to.
You will probably want to leave one ROM file on the device for the person you are selling it to, just incase.
Sent from my Nexus 5

stelv said:
* edit looking into the wiping system part to see exactly what it erases.
Wiping system, factory reset, cache and dalvik should erase everything except storage. You could wipe internal storage after you freshly install a ROM. But hopefully there are no errors, because you will have no files on storage if something had went wrong during installation. I would also have a ROM file on an external sdcard that you could plug in if you needed to.
You will probably want to leave one ROM file on the device for the person you are selling it to, just incase.
Sent from my Nexus 5
Click to expand...
Click to collapse
Well, I am selling it with the 8GB Micro-SD card anyway, since i've got no use for it with the Nexus 5. And i believe that's what i did with the Atrix. Wiped storage/system/factory reset/cache. Pretty much everything that made sense to wipe.... and just kept the ROM on the SD card out of the phone, just to make sure i didn't accidentally wipe that somehow.
And i'll probably just do what i usually end up doing for stuff like this. Wipe everything, install the ROM and make sure it boots, and just shut it off when it comes to the initial setup screen.

Here are some useful links
http://forum.xda-developers.com/showthread.php?t=1823906
http://teamw.in/whattowipe
Sent from my Nexus 5

Related

Quick question on wiping data & "SD"

Will wiping the phone in CWM delete files on the "SD" space of the phone? I've read it is all apart of the same partition, so I wanted to make sure before awkwardly deleting the ROM I am about to install..
I have wiped tons of times in CWR and it hasn't touched the /sd yet. All my files are safe and sound.
Sent from my GNex
Grims said:
Will wiping the phone in CWM delete files on the "SD" space of the phone? I've read it is all apart of the same partition, so I wanted to make sure before awkwardly deleting the ROM I am about to install..
Click to expand...
Click to collapse
Yes, it clears *all* internal storage.
So...which is it?
Maybe I misunderstood but are you talking about wiping /data and /cache? Because when I do this it does NOT wipe the /sd but does wipe all other user data, just like on every other android phone I have had.
Sent from my GNex
Grims said:
So...which is it?
Click to expand...
Click to collapse
Wipe data/factory reset on CWM wipes your WHOLE phone, including "SD" card. I advise you to use the Super Wipe Lite script from the Android Revolution ROM, get it here. This will do a complete wipe, except SD card.
A bit of more info, in case you're interested: the SD card is the folder /data/media mounted as /sdcard. When you wipe in CWM, the data folder is emptied as well.
EDIT: i havent actually tried to do a normal full wipe from CWM, im stating the above just from reading other reports here. Maybe the last version from CWM has fixed this, i dont know
EDIT2: You can wipe cache and dalvik as usual from CWM without any problems.
flakz0r said:
Wipe data/factory reset on CWM wipes your WHOLE phone, including "SD" card. I advise you to use the Super Wipe Lite script from the Android Revolution ROM, get it here. This will do a complete wipe, except SD card.
A bit of more info, in case you're interested: the SD card is the folder /data/media mounted as /sdcard. When you wipe in CWM, the data folder is emptied as well.
EDIT: i havent actually tried to do a normal full wipe from CWM, im stating the above just from reading other reports here. Maybe the last version from CWM has fixed this, i dont know
EDIT2: You can wipe cache and dalvik as usual from CWM without any problems.
Click to expand...
Click to collapse
I figured that was how it was setup, but didn't know if CWM had any logic built into it to filter out the folder. I'll take a look at the script, thanks.
The built-in factory reset in Android will also wipe everything.
I did data,cache,dalvik wipe and formatted system going from 4.0.2 to 4.0.3.
I did NOT lose my SD card
The default wipe in ICS clears *all* internal memory. The default Factory Reset feature of CWM does the exact same thing. I've done it twice and it wiped fully both times.
Very interesting direct contradictions going on in here..
Wiping data in CWM DOES NOT WIPE THE VIRTUAL SDCARD. People need to stop saying it does.. it is all one partition but the virtual SD card is not wiped when you wipe data in cwm.. Factory resets in settings will wipe your virtual SD card but cwm WILL NOT.
Edit: sorry I had a long night, but I will leave the caps so people actually read it.
Sent from my Galaxy Nexus using xda premium
It is quite troubling to read how many people are saying that wiping in CWM will erase the SD card.
It 100% DOES NOT. I have wiped in CWM dozens of times already. I can not say the same for Factory Reset in Android...but in CWM wiping data DOES NOT wipe your SD.

what exactly gets wiped when i wipe data?

Hello everyone,
after more then 2 years with my trusted N1 i finally had to move to a new phone because i broke the screen of my old one.
having the GN now for allmost a week, and within the first few hours of owning the device it got 3 OTA updates and is now at 4.1.1. i am quite happy with it but 2 days ago i startet messing around wiht it. so i ulocked the boodloader and rooted and got myself franco kernel on the GN.
as expected everything worked fine.
today i wantet to give some 3th party roms a try. i tried installing MIUI and euroskanks cm10. both with rom manager.
but on each of them i got in a bootloop after flashing, just showing the franco kernel boot animation.
i flashed both roms without wiping the data (just the cache)
i suspect that is my problem.
i am a little bit scared about the wipe data option for flashing new roms. on my N1 it worked fine since all my files on the sd card where not touched and i could get started allmost immediantly.
unlocking the bootloader of the GN wiped everything out off my phone and i had to copy it all back from a backup.
if i choose wipe data will that also (again) wipe my complete device or just the "OS part" and leave my data alone?
if it wipes everything how do i avoid having to make a backup of my data and restore it afterwards after each and every rom i flash?
i have noted the mnt/sdcard folder on my GN that (apparently) just links back to the root of the memory. what is the puropse of this folder? just to be compatible with "old" apps that insist on writing files to the SD-card or something else?
thanks for the info
no data from sdcard gets removed.
its basically a "NON REMOVABLE sdcard"... think of it that way.
patlabor said:
Hello everyone,
if i choose wipe data will that also(again) wipe my complete device or just the "OS part" and leave my data alone?
if it wipes everything how do i avoid having to make a backup of my data and restore it afterwards after each and every rom i flash?
i have noted the mnt/sdcard folder on my GN that (apparently) just links back to the root of the memory. what is the puropse of this folder? just to be compatible with "old" apps that insist on writing files to the SD-card or something else?
thanks for the info
Click to expand...
Click to collapse
1. It will wipe your "OS part" + apps. Will leave data in "sdcard" alone. Factory Wipe clears the virtual "sdcard"
2. Can't be avoided, I use Wugfresh's toolkit to make app backups a breeze. Takes a little more time than it used to when I had my OG Droid with a EXT partition but hey, at least you'll always have a current backup of your apps.
3. Yes. It'd actually be less obvious it's still called /sdcard/ if you weren't rooted and poking around . I believe JB switches this to sdcard0 now to account for devices that have external sdcards to be mounted as /sdcard1 and so on.
Ok, I guess I get it.
Just one more thing to make sure.
It looks like all my files are in the root of my phone and mnt/sdcard has just one folder but with the same files as the folder with the same name in my root.
When I wipe data now will it keep everything or just the files in my mnt/sdcard folder?
patlabor said:
Ok, I guess I get it.
Just one more thing to make sure.
It looks like all my files are in the root of my phone and mnt/sdcard has just one folder but with the same files as the folder with the same name in my root.
When I wipe data now will it keep everything or just the files in my mnt/sdcard folder?
Click to expand...
Click to collapse
Custom recovery (AKA not CWM or TWRP or whatever you're using) will wipe your SD card. Just remember that.
All the custom recoveries wipe /data/ while keeping /data/media/ (your sd card).
Nothing on your "SDcard" will be lost.
I'm in the same situation as the original poster and would like a "definitive" answer. CWM has both a factory reset and a format /data option (in a separate submenu). Which preserve the content of the virtual sdcard ? Which is the raccomended way to try out a JB rom? I have 10+ Gb of data in the sdcard and i would like to avoid moving everything forth and back via MTP protocol...
Thanks
Sent from my Galaxy Nexus using xda app-developers app
IF you are using CWM recovery, "wiping data" will erase the entire userdata partition EXCLUDING /sdcard. This means that everything under /data (except /data/media which = /sdcard) will be erased. This includes all apps you have installed in /data, and most data for those apps.
IF you are using a stock recovery, "wiping data" or "factory reset, will wipe the entire userdata partition, including /sdcard.
Wiping data or factory restore/reset/whatever does NOT touch the system partition or return the device to "factory condition". So if you have installed apps in /system or have root, the will still be there.

Cleaning internal memory & internal SD card

Have had my Galaxy Nexus for 2 years now. It was also my first android device so I've tried every app out there haha. This year I did my first root and tested a few roms. I think I have found one I like but before starting fresh I would like to completely restart my internal memory and SD card. Every flash I have done I have just done the factory reset which clears my SD card only I believe. I use TWRP and see that they have a few options to erase internal memory along with other things. Is it safe to do the advanced wipe? If I checked off all of the items and did the advanced erase, would I have to install the factory image in SDK again before being able to install a rom? How else would I install a rom if there is no data on the phone? All I am looking for is to completely clean up my phone before continuing on with it. Hopefully my post makes sense. Thanks for any future replies.
Best way to do that is to follow this guide and return to stock then start over. I'm pretty sure it wipes everything in the process.
http://forum.xda-developers.com/showthread.php?t=1626895
Yes I've done the return to stock from your link. Although some items are still in my internal memory left behind from apps. The options I speak of are as follows in TWRP.
Dalvik Cache
System
Cache
Data
Internal Storage
USB OTG
Question is can I just select all of these and wipe the phone and reinstall factory image in fastboot. or a rom in fastboot?
sumthin2die4 said:
Yes I've done the return to stock from your link. Although some items are still in my internal memory left behind from apps. The options I speak of are as follows in TWRP.
Dalvik Cache
System
Cache
Data
Internal Storage
USB OTG
Question is can I just select all of these and wipe the phone and reinstall factory image in fastboot. or a rom in fastboot?
Click to expand...
Click to collapse
re-lock then unlock the bootloader will wipe your data and internal sdcard.
flashing userdata.img with fastboot will do the same

Unsure how to properly wipe without wiping internal storage

Hello all,
Sorry for this semi-noob question. I have had many android phones and rooted all of them but this is my first Nexus device. I've unlocked my bootloader and have TWRP installed and I'm ready to install a ROM. Unfortunately I am unsure of how I can do a full wipe without wiping my internal storage too.
On every other phone I have had, I would go to advanced wipe and then wipe system, data, cache and dalvik cache but I just did that and it wiped my internal storage :/
I had to flash the stock system image through ADB because ADB sideload wasn't working. Now I'm afraid to wipe system again before trying again because I feel like it will wipe my internal storage again. How can I wipe system properly before installing a new ROM?
Thanks!
Now the interesting question here is: What is internal storage?
You seem to think it is the entire emmc, including your system, cache and data partitions but that is not how that term is used.
As far as I have been able to figure this out "Internal Storage" in Android refers to the entire /data partition which in itself again is divided into a user accessible part where your photos, videos, files are stored ( /data/media and mounted as /sdcard/0 ) and the rest of the /data partition which is used for apps you install and their data. That part is not accessible to the user unless you have root.
Now, for 99% of all wipe operations all you need to do when installing a new rom is to wipe the data partition of all user installed apps and their data, dalvik and cache - also called a 'clean install'.
Any rom installer worth a damn will format /system before installing a new rom, so wiping /system is redundant.
TWRP made this very easy: Enter the Wipe menu and swipe the button. Default is to wipe /data (without wiping /data/media), cache and Dalvik. Flash the rom - done.
berndblb said:
Now the interesting question here is: What is internal storage?
You seem to think it is the entire emmc, including your system, cache and data partitions but that is not how that term is used.
As far as I have been able to figure this out "Internal Storage" in Android refers to the entire /data partition which in itself again is divided into a user accessible part where your photos, videos, files are stored ( /data/media and mounted as /sdcard/0 ) and the rest of the /data partition which is used for apps you install and their data. That part is not accessible to the user unless you have root.
Now, for 99% of all wipe operations all you need to do when installing a new rom is to wipe the data partition of all user installed apps and their data, dalvik and cache - also called a 'clean install'.
Any rom installer worth a damn will format /system before installing a new rom, so wiping /system is redundant.
TWRP made this very easy: Enter the Wipe menu and swipe the button. Default is to wipe /data (without wiping /data/media), cache and Dalvik. Flash the rom - done.
Click to expand...
Click to collapse
"Internal Storage" as I used the term refers to just the user accessible part of the data partition where (as you said) photos, files, etc are stored. On previous versions of TWRP for phones I have had, you could wipe system, date, cache, etc and it would always leave internal storage intact. Ergo, after wiping, you could navigate to your downloads folder and find the ROM you wanted to flash. The issue I had was that I wiped "system" using TWRP and it wiped my "internal storage", meaning my downloads and photos and everything - leaving me with no ROM to flash.
You answered my question perfectly toward the end with this
Any rom installer worth a damn will format /system before installing a new rom, so wiping /system is redundant.
Click to expand...
Click to collapse
I come from a series of phones where this was not standard behavior for ROM installers, so failing to wipe system would lead to a dirty flash and almost assuredly cause issues. Thanks for the input, I will just do a data wipe from now on.
You shouldn't count on roms wiping system automatically.
A well established rom like pure Nexus for instance does not wipe system at flashing, leaving it up to the user to clean or dirty flash.
Always read and follow the installation instructions that come with the rom and you should have little problems. If there aren't any instructions, stay away from the rom is my advice, especially of you are a new user.
As to your question: go to the wipe menu in twrp. Then do an advanced wipe. Check every box except internal storage and wipe. Then proceed to flash your rom.
peltus said:
You shouldn't count on roms wiping system automatically.
A well established rom like pure Nexus for instance does not wipe system at flashing, leaving it up to the user to clean or dirty flash.
Always read and follow the installation instructions that come with the rom and you should have little problems. If there aren't any instructions, stay away from the rom is my advice, especially of you are a new user.
As to your question: go to the wipe menu in twrp. Then do an advanced wipe. Check every box except internal storage and wipe. Then proceed to flash your rom.
Click to expand...
Click to collapse
Thanks, I'm not a new user by any stretch, just new to the Nexus 5x.
As to your question: go to the wipe menu in twrp. Then do an advanced wipe. Check every box except internal storage and wipe. Then proceed to flash your rom.
Click to expand...
Click to collapse
This is exactly what I did when it wiped the ROM file (and all photos/sms backups) from my internal storage. That's how I have always wiped before flashing a new ROM in TWRP and this is the first time it ever wiped my internal storage, hence my question. I think I'll just stick to ROM installers that perform a system wipe. I plan on running the odex stock based ROM I just installed for a while anyway.
The_mamba said:
Thanks, I'm not a new user by any stretch, just new to the Nexus 5x.
This is exactly what I did when it wiped the ROM file (and all photos/sms backups) from my internal storage. That's how I have always wiped before flashing a new ROM in TWRP and this is the first time it ever wiped my internal storage, hence my question. I think I'll just stick to ROM installers that perform a system wipe. I plan on running the odex stock based ROM I just installed for a while anyway.
Click to expand...
Click to collapse
Sorry for assuming you're a newby. Last time i wiped that way in twrp (June 2016) it left my SD card alone. Maybe you checked the wrong box?
peltus said:
Sorry for assuming you're a newby. Last time i wiped that way in twrp (June 2016) it left my SD card alone. Maybe you checked the wrong box?
Click to expand...
Click to collapse
No worries, I appreciate the help either way. I suppose it's possible I checked the wrong box but I am very diligent about that because I have REALLY screwed myself over with that in the past. I accidentally wiped internal storage once or twice on my HTC One and had to RUU back to stock, losing everything including root. Luckily recovery is quicker and easier on the 5x (and the phone is brand new so it had no pictures on it).
I'm afraid to try it again even with a nandroid since the recovery files or stored on internal storage so wiping that would leave me SOL too. Like I said, I'll probably just ride on this ROM until the Nougat or so and then make a full cloud backup before trying a full wipe again.
Wiping system did not erase your files. /system is read only, so you nor your apps can store anything there.
I respectfully disagree with @peltus. In those parts of XDA where I "grew up" a dirty flash is a rom flash without wiping data. And I would be grateful for a link to a rom where the installation script does not involve formatting or wiping /system.
I could be wrong but I believe TWRP's wipe of data is without data/media.
Internal Storage wipes the entire data partition.
One if these days with more time I'll give it a try
Sent from my Nexus 5X using Tapatalk
BONUS: What is a data/media device?
https://twrp.me/faq/datamedia.html
The relevant part:
Since /data/media is part of /data, we pretty much never actually format the data partition. Formatting data, of course, also removes the media folder that contains the internal sdcard. When you choose a factory reset [or wipe data], instead of formatting, we use rm -rf commands to remove all the folders except for the media folder so that we can remove all of your apps and settings while leaving your "sdcard" intact. In TWRP we also have a wipe internal storage option that rm -rf's the media folder and a "Format Data" option that formats to recreate the entire file system in case something goes completely wrong or to remove device encryption.
Click to expand...
Click to collapse
[ ] - added by me.

Clean wipe along with internal storage wipe? Consequences on phone?

I have rooted phones for years and am currently on a debloated Verizon LG v30 vs99630c rom. In all these years, all of my "clean" wipes have constituted of a factory reset and/or a cache, dalvik, system and data wipe. I have never done an internal storage wipe of my phone. I am wondering exactly what happens if I do an internal storage wipe either by itself or with the clean wipe. Does that wipe my external SD card (should I remove it before wiping?) Does it do anything to my sim card (I have never removed it)?
Would I have an operating system (vs99630c?) on my phone or in twrp to install? Would I still be rooted? I would like to start with a clean phone with zero on it (except the debloated rom).
Or is a factory reset and my Google sign on the same thing? I did do a clean factory reset yesterday, but not an internal storage wipe, but would kind of like to, as long as I still have my Verizon phone and root.
All of this would need to be done only on my phone and in twrp, NOT connected to a computer.
Thx, for any help, advice, answers and suggestions.
Please make them, if any, in a dummies sort of way.
Frank
gimpy1 said:
I have rooted phones for years and am currently on a debloated Verizon LG v30 vs99630c rom. In all these years, all of my "clean" wipes have constituted of a factory reset and/or a cache, dalvik, system and data wipe. I have never done an internal storage wipe of my phone. I am wondering exactly what happens if I do an internal storage wipe either by itself or with the clean wipe. Does that wipe my external SD card (should I remove it before wiping?) Does it do anything to my sim card (I have never removed it)?
Would I have an operating system (vs99630c?) on my phone or in twrp to install? Would I still be rooted? I would like to start with a clean phone with zero on it (except the debloated rom).
Or is a factory reset and my Google sign on the same thing? I did do a clean factory reset yesterday, but not an internal storage wipe, but would kind of like to, as long as I still have my Verizon phone and root.
All of this would need to be done only on my phone and in twrp, NOT connected to a computer.
Thx, for any help, advice, answers and suggestions.
Please make them, if any, in a dummies sort of way.
Frank
Click to expand...
Click to collapse
Look at WTF Section 6, Step 7a, 7f, 7g. Yes it's written for installing TWRP, but those three steps are what you're asking about. See attached screenshot.
7a is factory reset. You've done that several times.
7f is where you reformat your internal memory, where you type YES. (Then, Step 7g is just reloading TWRP from within TWRP, to refresh it.)
BUT, you do NOTwant to wipe out your OS. That's a step too far. Some people have done that. And in those cases they had to reinstall their OS through a zip file, as well as disable checker and disable encryption. They did this, either by dragging files over from PC (while still in TWRP, like a flash drive) OR by already having those files on microSD card. microSD card is not touched, either thorough proper data reformat or by accidentally destroying the Android OS.
If you completely wipe internal memory the wrong way, then you will need those three files on a microSD card -- or by connecting to a PC to drag them over -- so you can reinstall them.
But if you do it the right way, then you will not need those files. You will still have your OS but just with reformatted data. Which is a more thorough than normal factory reset. That's why factory reset is 7a, but reformatting data is 7f.
When you install TWRP, you have to do them both. Your TWRP is already installed, you're just going to revisit those two steps to have a very clean phone.
NOTE:. after doing this you will still need to re-flash Magisk, of course. So best to have that on microSD card, also!
Good luck!

Categories

Resources