[Q] Wiping device 100% clean. - ONE Q&A, Help & Troubleshooting

Hey guys, i havent owned a device in which i ever needed to use fastboot in and i learned how to for my one plus. Something is confusing me though... when i flash pieces of a rom onto my phone why do i not need to erase the phone first? Is it possible to erase everything off your phone before using fastboot and i mean EVERYTHING including the rom thats on it. When i had my gs4 i used twrp to wipe the entire device except the external sd card which had the rom in it and once it deleted everything off the phone i would install the new rom. Im kind of a clean freak in a sense... so how do i do that with the one plus and also if there is a way to completely wipe my device would it somehow mess something up... its kinda risky since opo doesnt have ext sd card which you can put a rom in if its bricked and just go into recovery and flash it... so what do you experts think?!
Edit: BASICALLY what i want to know is... if my device had no os to boot on and was basically lets say soft bricked it would be very easy to just use fastboot and install a rom correct?

When installing a ROM all you do first is wipe system/data/cache/dalvik cache using TWRP. At no point do you need to wipe the internal storage (virtual sd card). Fastboot shouldn't even come into the equation when installing a ROM. But, if you happen to wipe your OS and also wipe your internal storage, you can use adb while in TWRP to push a ROM zip to the phone to flash. My advice: don't ever wipe your sd card, there's no need for it.
Transmitted via Bacon

timmaaa said:
When installing a ROM all you do first is wipe system/data/cache/dalvik cache using TWRP. At no point do you need to wipe the internal storage (virtual sd card). Fastboot shouldn't even come into the equation when installing a ROM. But, if you happen to wipe your OS and also wipe your internal storage, you can use adb while in TWRP to push a ROM zip to the phone to flash. My advice: don't ever wipe your sd card, there's no need for it.
Transmitted via Bacon
Click to expand...
Click to collapse
Are you sure? Kay. I'll trust you on that until I feel adventurous and wanna try it but thanks anyways.
Sent from my A0001 using XDA Premium 4 mobile app

Yeah I'm sure, why would you need to wipe the sd card? The point of wiping the system, data, cache, and dalvik cache partitions is so you don't have remnants of a previous OS lingering when installing a new OS (obviously that will cause problems). The internal storage does not contain elements of the OS, it contains user data and user media. It is very (read: extremely) rare for data on the internal storage to cause problems and need to be wiped.
Transmitted via Bacon

timmaaa said:
Yeah I'm sure, why would you need to wipe the sd card? The point of wiping the system, data, cache, and dalvik cache partitions is so you don't have remnants of a previous OS lingering when installing a new OS (obviously that will cause problems). The internal storage does not contain elements of the OS, it contains user data and user media. It is very (read: extremely) rare for data on the internal storage to cause problems and need to be wiped.
Transmitted via Bacon
Click to expand...
Click to collapse
The reason why is because i want to actually delete all my data. I dont know any other way that any other app can delete literally all my data off the phone and make my phone be at the max capacity again.

Just wipe your internal storage from recovery in addition to the other things already listed
Inviato dal mio A0001 utilizzando Tapatalk

Related

[Q] Dalvik/Chache/User data wipe?

So I'm about to install Tiamat's new ROM (I really want the init.d scripting functionality, plus it can't hurt to get up-to-date) but I can't remember if wiping my user data wipes out the /sdcard/ mount on my xoom. I've got 15gbs in there in all kinds of random stuff and I'd rather not wipe it if I don't have to.
What I THINK is that the Dalvik/Cache/User data wipe that I do before I install the ROM will do what it would on my phone - simply wipe everything that isn't on the /sdcard/ partition. Is this correct? I sure hope so.
Yes, that is correct. It won't touch your SD card.
Just to be certain...
Ok, but to be clear, I don't actually HAVE an sdcard, just the bigass bit of internal memory mounted AS /sdcard/. It won't mess with that right?
mikeserv said:
Ok, but to be clear, I don't actually HAVE an sdcard, just the bigass bit of internal memory mounted AS /sdcard/. It won't mess with that right?
Click to expand...
Click to collapse
If you are asking about the user data wipe you will have to do I order to flash thetiamat rom,
ummm yes, it will wipe that (internal storage) but not wipe your external/removable sdcard.
Damn. Ok, well, I'll just back all of that up to the computer then. It'll take a while.
You need an sdcard to install the rom though.
Sent from my EVO 3D
Nope
Ok, so, like I thought, the "wipe data/factory reset" option in ClockWorkMod Recovery does NOT format the /sdcard/ partition, even though it is actually physically located on the internal storage.
Because of this I was also able to use the internal storage to store the tiamat*.zip rom file and flash from the internal storage mapped to /sdcard/. I'm now going to attempt to restore all of my settings and apps via Titanium Backup.
Thanks anyway guys. You did inspire me to do a full backup of my /sdcard/ partition onto my computer at least.
Sorry guys. I was way off. I was even smug about it. Well, as it turns out, you do need an SD card. Check out my post here to see what happened (a lot of dumb bad stuff): http://forum.xda-developers.com/showthread.php?t=1152121

Will erasing Internal Storage in TWRP give me any issues with flashing?

I might have to do this because my files are everywhere, and possibly to have a clean start. I'm backing things up, but if I wipe internal storage, will it give me an issue if I try to flash a rom and gapps?
I believe this will delete your recovery too so you will have to push your recovery back on to your phone using adb.
Sent from my Nexus 7 using Tapatalk 2
Recon0212 said:
I might have to do this because my files are everywhere, and possibly to have a clean start. I'm backing things up, but if I wipe internal storage, will it give me an issue if I try to flash a rom and gapps?
Click to expand...
Click to collapse
If you wipe data in twrp it wipes the internal card now.
Learned this the hard way that they fixed it. Thankfully I don't keep anything important on their and keep it on my external card.
Sent from my SCH-I535 using xda app-developers app
I accidently wiped my internal storage on my S3 and don't have an SD card. Can I flash a new ROM using my PC? Or am I ****ed?
DroidNewbcake said:
I accidently wiped my internal storage on my S3 and don't have an SD card. Can I flash a new ROM using my PC? Or am I ****ed?
Click to expand...
Click to collapse
Yes, you can side load a ROM that's downloaded on your PC, or you can push a ROM to your internal storage with ADB. There's definitely a few guides on how to do it in this forum.
Sent from my SCH-I535 using Tapatalk 2
Yeah. Wiping and formatting your /system or any internal directories is lovely for a fresh and stable start... just need to have a ROM on your eternal SD card, haha. I've done this several time, forgetting about having a ROM to flash afterwards. LOL.
Just get an external card, have the ROM and flash it from there. Makes everything way easier!

[Q] How to completely wipe all data from my phone

Hello Sensationalists,
After 3 years I have upgraded my phone to an HTC One and would like to sell my old phone.
It is currently running ICS Android Revolution HD 7.3.
What I would like to do is wipe all data from my SD drive and sell the phone with a pre-installed latest version of Android Revolution. I have found several tools for erasing but do not want to brick my phone or do anything rash, so here I am asking the pro's :
What would be the best way to erase all data from my HTC Sensation (full erase, non recoverable) and provide the buyer with a clean installation of the phone?
I believe the factory reset is no longer possible due to the custom ROM installation etc. (been a while since I have worked with the phone so not sure).
Please be easy on me with the technical terms and abbreviations, I'm a little rusty :angel:.
Many thanks in advance!
just use the full wipe option from recovery and then install ARHD ROM again
rzr86 said:
just use the full wipe option from recovery and then install ARHD ROM again
Click to expand...
Click to collapse
Wipe data/Factory reset?
It asks me 'About to wipe data, cache and sd-ext partitions.. Wipe all Userdata?'. This is what you mean right? It's in the recovery EXT4 program.
And if I have done that then the entire thing is unrecoverable? So no private data can be found by using recovery programs?
Slickzor said:
Wipe data/Factory reset?
It asks me 'About to wipe data, cache and sd-ext partitions.. Wipe all Userdata?'. This is what you mean right? It's in the recovery EXT4 program.
And if I have done that then the entire thing is unrecoverable? So no private data can be found by using recovery programs?
Click to expand...
Click to collapse
if you have 4ext recovery use the format all partitions except sdcard option
i assume it is unrecoverable
rzr86 said:
if you have 4ext recovery use the format all partitions except sdcard option
i assume it is unrecoverable
Click to expand...
Click to collapse
But I want to wipe the SD card as well. Should I do 'Format all partitions (except SDcard)' and after that 'Format sdcard'? I read that people use special programs to completely wipe all data from SD cards with programs like 'RoadKill's diskwipe'. But if this program does the same thing then I'm good, I doubt it though, that's why I ask .
Slickzor said:
But I want to wipe the SD card as well. Should I do 'Format all partitions (except SDcard)' and after that 'Format sdcard'? I read that people use special programs to completely wipe all data from SD cards with programs like 'RoadKill's diskwipe'. But if this program does the same thing then I'm good, I doubt it though, that's why I ask .
Click to expand...
Click to collapse
now i see
you want to wipe the sdcard too
hmm,
i don't know if from 4ext will be unrecoverable but it would be better to use a program to wipe it from pc
rzr86 said:
now i see
you want to wipe the sdcard too
hmm,
i don't know if from 4ext will be unrecoverable but it would be better to use a program to wipe it from pc
Click to expand...
Click to collapse
The thing is, I'm afraid that if I do this, reinstalling my phone will be a pain since EXT4 is put on the SDcard as far as I know. So if EXT4 doesn't wipe the data completely, and I have to use a PC program, I want to make sure I don't brick the device or delete crucial content for a clean installation.
So let me rephrase: How to wipe (unrecoverable) all data from my HTC Sensation including the SDcard, without losing the possibility of reinstalling the phone whilst avoiding the possibility of bricking the device/losing the possibility of a clean installation
I don't want the person that buys my phone to have access to files formerly stored on the SDcard or the phone itself.
Slickzor said:
The thing is, I'm afraid that if I do this, reinstalling my phone will be a pain since EXT4 is put on the SDcard as far as I know. So if EXT4 doesn't wipe the data completely, and I have to use a PC program, I want to make sure I don't brick the device or delete crucial content for a clean installation.
So let me rephrase: How to wipe (unrecoverable) all data from my HTC Sensation including the SDcard, without losing the possibility of reinstalling the phone whilst avoiding the possibility of bricking the device/losing the possibility of a clean installation
I don't want the person that buys my phone to have access to files formerly stored on the SDcard or the phone itself.
Click to expand...
Click to collapse
by formating anything from 4ext won't brick the device at all
by the way 4ext is not on sdcard
it has its own partition in emmc
rzr86 said:
by formating anything from 4ext won't brick the device at all
by the way 4ext is not on sdcard
it has its own partition in emmc
Click to expand...
Click to collapse
I did not know that, thanks! I'll just use a program from my PC then to wipe all data, then do a format all partitions (except SDcard) and do a clean installation of Android Revolution 7.3 ICS for the new buyer. This should suffice then right? Will this also wipe the data on my phone, numbers etc.? (I will destroy my simcard since I won't need it any more).
Slickzor said:
I did not know that, thanks! I'll just use a program from my PC then to wipe all data, then do a format all partitions (except SDcard) and do a clean installation of Android Revolution 7.3 ICS for the new buyer. This should suffice then right? Will this also wipe the data on my phone, numbers etc.? (I will destroy my simcard since I won't need it any more).
Click to expand...
Click to collapse
it will wipe everything
rzr86 said:
it will wipe everything
Click to expand...
Click to collapse
Perfect, that's what I need. I'll start... ehh.. wiping then... :laugh:
It worked btw, a full format from windows 7 made it impossible to recover data by using recovery programs. All data was wiped and new OS is running . Thanks a lot!

TWRP and No SD card ?

Hi guys I was wondering how does TWRP handle devices with no SD card ? Everytime I want to flash a ROM I have to wipe data does this wipe everything on your phone ? Do I make backups after every flash ?
The phone has a internal storage eMMC 5.0 of 16GB/64GB.
No it does not wipe your internal storage.
naruto.ninjakid said:
Hi guys I was wondering how does TWRP handle devices with no SD card ? Everytime I want to flash a ROM I have to wipe data does this wipe everything on your phone ? Do I make backups after every flash ?
Click to expand...
Click to collapse
Yes it treats the virtual sdcard as an actual sdcard, and will not format it.
It works this way even with devices with external sd cards. Internal memory is not touched.
What you're actually working on is only system partition.
/data/media is where your personal storage is. It's symbolically linked to /sdcard as well for old apps the need it. When you factory reset (format /data) it excludes /data/media. Nothing is lost. You also don't need to wipe every time you flash a ROM. At least you don't unless you are changing to a different ROM just not when updating, though it's probably advisable to at least wipe dalvik cache.
Sent from my One using XDA Premium 4 mobile app
Thanks guys I was a little confused! Never had a phone without an SD card.
zephiK said:
The phone has a internal storage eMMC 5.0 of 16GB/64GB.
No it does not wipe your internal storage.
Click to expand...
Click to collapse
vladashram said:
Yes it treats the virtual sdcard as an actual sdcard, and will not format it.
Click to expand...
Click to collapse
DuckMcQUack said:
It works this way even with devices with external sd cards. Internal memory is not touched.
What you're actually working on is only system partition.
Click to expand...
Click to collapse
The Jack of Clubs said:
/data/media is where your personal storage is. It's symbolically linked to /sdcard as well for old apps the need it. When you factory reset (format /data) it excludes /data/media. Nothing is lost. You also don't need to wipe every time you flash a ROM. At least you don't unless you are changing to a different ROM just not when updating, though it's probably advisable to at least wipe dalvik cache.
Sent from my One using XDA Premium 4 mobile app
Click to expand...
Click to collapse
naruto.ninjakid said:
Thanks guys I was a little confused! Never had a phone without an SD card.
Click to expand...
Click to collapse
If your using twrp there is wipebwhich does a factory wipe which wipes the data and cache. Doesnt touch your actual data. If you go to advanced wipe in wipe you can choose whatever your want. And wipe whole phone. But if you do that you will need to backup and then sideload or use USB otg to flash a ROM back....

[Q] Noob about roms

Hi guys, maybe I am a noob talking about the Moto G, I used to have a Xperia Z1 and everytime I wanted to flash a new rom I had to put the zip into the SD card...
Now with my Moto G is the same process, "save the zip in the SD (internal storage), wipe data, cache, system and flash the rom" my question is, If I deleted the data also the zip will disappear right? and my CWM backup too.
Any help here please. I am confused:silly:
regards
PS sorry for my english
No, it wont disappear, because CWM wipes /data partition, not /sdcard so all stuff inside /sdcard wont get deleted
juliospinoza said:
Hi guys, maybe I am a noob talking about the Moto G, I used to have a Xperia Z1 and everytime I wanted to flash a new rom I had to put the zip into the SD card...
Now with my Moto G is the same process, "save the zip in the SD (internal storage), wipe data, cache, system and flash the rom" my question is, If I deleted the data also the zip will disappear right? and my CWM backup too.
Any help here please. I am confused:silly:
regards
PS sorry for my english
Click to expand...
Click to collapse
Actually first you install the ROM zip and then wipe the things and thus the zip is not deleted since it has already been flashed
Please hit thanks if I helped!
Meuuks13 said:
Actually first you install the ROM zip and then wipe the things and thus the zip is not deleted since it has already been flashed
Please hit thanks if I helped!
Click to expand...
Click to collapse
eddydc1 said:
No, it wont disappear, because CWM wipes /data partition, not /sdcard so all stuff inside /sdcard wont get deleted
Click to expand...
Click to collapse
So, Do I have to flash the zip before the wipes or after that? Because if the CWM does not delete the data info, only the partition means that I will acumulate a lot of unnecesary data, like folders, thumbnails, etc etc
thanks
juliospinoza said:
So, Do I have to flash the zip before the wipes or after that? Because if the CWM does not delete the data info, only the partition means that I will acumulate a lot of unnecesary data, like folders, thumbnails, etc etc
thanks
Click to expand...
Click to collapse
I think the senior member got it wrong.
Wiping through cwm deletes everything. So you gotta install the zip first.
Meuuks13 said:
I think the senior member got it wrong.
Wiping through cwm deletes everything. So you gotta install the zip first.
Click to expand...
Click to collapse
I think he does
one last question my friend.
The CWM backup will be deleted right? So i Have to download the backuo to my computer just in case
regards
juliospinoza said:
I think he does
one last question my friend.
The CWM backup will be deleted right? So i Have to download the backuo to my computer just in case
regards
Click to expand...
Click to collapse
Ohh yup.. The backup will be deleted!.. But I don't think that copying the backup to a pc would do any good since if something went wrong and you bricked your phone you will most probably need to restore to stock firmware to unbrick your phone.
Hit thanks if I helped!
juliospinoza said:
I think he does
one last question my friend.
The CWM backup will be deleted right? So i Have to download the backuo to my computer just in case
regards
Click to expand...
Click to collapse
Actually Senior member got the impression you are using clockworkmod(cwm) recovery to flash a new ROM in Moto G, thats why he said that. If you are using stock recovery, then Meuuks13 is perfectly correct otherwise eddydc1 would have been right.
If you have cwm, wiping data won't wipe your internal storage. Am I right?
vhngu930 said:
If you have cwm, wiping data won't wipe your internal storage. Am I right?
Click to expand...
Click to collapse
Yes you are right.
But if you have the stock recovery it also wipes /sdcard.
Sent from my Moto G using XDA Free mobile app
vhngu930 said:
If you have cwm, wiping data won't wipe your internal storage. Am I right?
Click to expand...
Click to collapse
Cases have been noted that if you use wipe data/factory reset option in cwm, it will wipe your internal storage. But thankfully this option doesn't wipe the data in external storage(like one's in Moto G 4G/LTE)
Since i own XT1033 and don't have the luxury of external SD card, i use TWRP Recovery so that when i do factory reset, it leaves my internal storage data alone. Giving me the option whether to use leftover data or delete it.
rohitthe1 said:
Cases have been noted that if you use wipe data/factory reset option in cwm, it will wipe your internal storage. But thankfully this option doesn't wipe the data in external storage(like one's in Moto G 4G/LTE)
Since i own XT1033 and don't have the luxury of external SD card, i use TWRP Recovery so that when i do factory reset, it leaves my internal storage data alone. Giving me the option whether to use leftover data or delete it.
Click to expand...
Click to collapse
This never happened to me before...
rohitthe1 said:
Cases have been noted that if you use wipe data/factory reset option in cwm, it will wipe your internal storage. But thankfully this option doesn't wipe the data in external storage(like one's in Moto G 4G/LTE)
Since i own XT1033 and don't have the luxury of external SD card, i use TWRP Recovery so that when i do factory reset, it leaves my internal storage data alone. Giving me the option whether to use leftover data or delete it.
Click to expand...
Click to collapse
XT1032 owner here , and user of CWM , flashed tons of ROMs and Kernels and such and never did I lose anything on the SDCard partition .
I'm thinking it probably depends more on the phone model (not sure if carrier too ...)
vhngu930 said:
This never happened to me before...
Click to expand...
Click to collapse
Hir0xM said:
XT1032 owner here , and user of CWM , flashed tons of ROMs and Kernels and such and never did I lose anything on the SDCard partition .
I'm thinking it probably depends more on the phone model (not sure if carrier too ...)
Click to expand...
Click to collapse
Probably or may be due to some manufacturing defect. But suppose if we live in the ideal world, like i mentioned earlier in Post #8, use of wipe data/factory reset option in cwm should/will not wipe your personal data from internal storage.

Categories

Resources