Wiping front to back enough? - General Questions and Answers

Are there ever fragments left over in system that can cause bugs after a factory reset/ cache/davlik wipe?

rodion.zissou said:
Are there ever fragments left over in system that can cause bugs after a factory reset/ cache/davlik wipe?
Click to expand...
Click to collapse
The factory reset formats
/data
/data/data
/cache
/sd-aecs? (Something like that)
And maybe one other
The system is a separate portion called
/system
To wipe it using cwm you go to mounts&(I can't remember what maybe format) go to the format system option but just make sure you flash a ROM before you reboot because your system is empty until you flash something into it
If you forget sometimes the recovery is inside the /recovery partition which you can't format but I can't confirm this for all phones so flash a ROM before reboot after you format system
And yes if you don't format it and there isn't a file to replace a file with its exact name it stays
Such as in jelly bean I've seen the Google search called velvet.apk and quick search.apk
Not good if they both try to run
I hope this helps
Sent from my Samsung Infuse running Jelly Bean using the xda-developers app

Nice. Just what I wanted to know. Recently I did that by wiping/formatting everything I could in recovery. I used wugs toolkit to get me back to stock system so I could download and flash a ROMs. I feel I noticed a big difference in performance.
Do you think I could do it again but leave the ROM somewhere to flash before stock?
I tapd that
PA toro trinity 35

Related

[Q] [ROM] Vanilla AOSP Gingerbread HELP: Stuck on Japanese Keyboard

Help, please! I need someone to go over to the developers' forum to ask kornyone this (I have yet to post ten posts to gain access over there):
Since flashing to this ROM, I cannot switch keyboards. It's stuck on the huge Japanese keyboard which takes up 2/3 of the screen. I keep trying to change it to either Gingerbread or Swiftkey in Settings, but nothing doing. Rebooting doesn't work, forcing stop doesn't work and switching launchers does nothing.
Has anyone else encountered this...and how is it fixed? Thanks!
You try reflashing? Maybe something glitched during your install.
Here is how I installed the very same ROM. I really like it.
Go into CWM recovery
clear data/factory reset
mount system and data
format both system and data
format cache
format dalvik (in advanced)
flash rom from sdcard
then format cache and dalvik again
and do clear data/factory reset again
finally install the gapps package from the Vanilla gBread thread.
It's probably a little redundant to do it this way, but it always works for me.
ramerco said:
You try reflashing? Maybe something glitched during your install.
Here is how I installed the very same ROM. I really like it.
Go into CWM recovery
clear data/factory reset
mount system and data
format both system and data
format cache
format dalvik (in advanced)
flash rom from sdcard
then format cache and dalvik again
and do clear data/factory reset again
finally install the gapps package from the Vanilla gBread thread.
It's probably a little redundant to do it this way, but it always works for me.
Click to expand...
Click to collapse
Sounds a little bit like 'The Nuclear Option' to me
That will certainly get you back to square one and about as clean as you can get.
However, I might suggest just going into CWM and reflashing the ROM without clearing any data (might go ahead and clear cache). This should reset the /system partition back to stock, without messing up your /data.
Re-flashing without clearing /data is *generally* safe if you are staying on the same ROM (and often between different ROMS, but not always).
This might get your keyboard back without having to reload all your apps, etc.
Zaphod-Beeblebrox said:
Sounds a little bit like 'The Nuclear Option' to me
That will certainly get you back to square one and about as clean as you can get.
However, I might suggest just going into CWM and reflashing the ROM without clearing any data (might go ahead and clear cache). This should reset the /system partition back to stock, without messing up your /data.
Re-flashing without clearing /data is *generally* safe if you are staying on the same ROM (and often between different ROMS, but not always).
This might get your keyboard back without having to reload all your apps, etc.
Click to expand...
Click to collapse
I might need the nuclear option. I reflashed the ROM by itself before I posted this cry for help and it made it worse - couldn't discern one launcher from another. I'm thinkin' if I'm going to do a system wipe, I might as well try another ROM. Gingerbread is nice, but the hassles are no fun.
Thanks for the suggestions, though!

Internal Memory full?

Hi all, I just flashed CM7 using the newest clockwork mod recovery. Now it says my internal memory is full. I havnt deleted anything internally since I got the phone. What is the best way to format that memory and reinstall a fresh copy of CM7?
Kaczman said:
Hi all, I just flashed CM7 using the newest clockwork mod recovery. Now it says my internal memory is full. I havnt deleted anything internally since I got the phone. What is the best way to format that memory and reinstall a fresh copy of CM7?
Click to expand...
Click to collapse
Go to recovery......in recovery go wipe cache, factory reset/data, go to mounts/storage and format system, data, cache....go to advance and delete dalvik cache..... then just install zip from sd, choose zip, flash taht **** and reboot your phone
Awesome!! thanks bud!
I don't mess with CWM wiping partitions anymore, I wrote a flashable script for that - a long time ago there was an issue with that on CWM 4.0.0.8
A member has confirmed that A01 wipe will be okay if you turn off and have no ROM installed, you will still be able to get to CWM and flash whatever you want.
A01 wipe will format /cache, /data and /system
B01 wipe will format /cache and /data
Use as needed.
I keep a backup memory card with my phone at all times that has A01 wipe, B01 wipe, and my original CWM backup of my stock system on it, in case I ever need to go back to stock if something goes wrong.
Attached are the scripts, just throw these on your sdcard and flash like normal in CWM if you need to, before installing a ROM or patch if needed.
Blue6IX said:
I don't mess with CWM wiping partitions anymore, I wrote a flashable script for that - a long time ago there was an issue with that on CWM 4.0.0.8
A member has confirmed that A01 wipe will be okay if you turn off and have no ROM installed, you will still be able to get to CWM and flash whatever you want.
A01 wipe will format /cache, /data and /system
B01 wipe will format /cache and /data
Use as needed.
I keep a backup memory card with my phone at all times that has A01 wipe, B01 wipe, and my original CWM backup of my stock system on it, in case I ever need to go back to stock if something goes wrong.
Attached are the scripts, just throw these on your sdcard and flash like normal in CWM if you need to, before installing a ROM or patch if needed.
Click to expand...
Click to collapse
hey Blue just outta curiosity has anyone confirmed having issues with wiping through CWM with the new recovery or has the issue carried over from the 4.0.0.8/9?
I'm pretty sure I don't remember anyone having issues directly with cwm 4.0.0.9, and it was only a problem with 4.0.0.8 - even then not everyone experienced it.
I haven't tried the new recovery available yet, I meant to get to it this weekend, but it doesn't look like i'll get a chance to fit it in my schedule. I haven't seen my lady in just over a week, so spending the weekend with her.
Hopefully over the next week i'll get a chance to bring myself up to speed with it, I don't expect to go back to 4.0.0.9 once I move up to the new CWM recovery.

Questions about "wiping" data

Ok, with all of the talk about making sure folks do a full wipe before installing ICS, I would like to get some clarification on all of the different wiping methods and which is the best way...
I know of these ways:
1. Via custom recovery - you can wipe data, system, cache, etc.. individually.
2. Via holding Power+VolumeDown until bootloader text appears,, then wait until menu appears and select the Wipe Data option (instead of the cold boot option).
3. Via AARD SuperWipe full script
And then of course, there is the "Reset to factory defaults" in the OS itself...
Which is the best to use? I would assume the AARD SuperWipe full would be the most thorough as it recreates the partitions and everything (instead of just formatting them).
FOr users that have the ability, would an NVFlash of the OS be "more thorough" than CWM method?
Opinions/Experiences?
Thanks!
Don't use super wipe script. A lot of people reported having problems of some ROMs not flashing correctly after using it. There is no reason to use the "full" version anyway. It formats the /media partition(your internal storage partition) which you don't want to nor need to format.
Wipe Data in your #2 does pretty much the same thing as "Reset to factory defaults". They both wipe /data and /cache but do not touch /system.
The most thorough way of wiping that I use is via CWM.
I do all of this within CWM if I want to ensure a clean install of a new ROM and it has never failed.
- wipe data/factory reset
- wipe cache partition
- advanced / Wipe Dalvik Cache
- Mounts and Storage / format /system
I am not sure how NVFlashing a ROM does a clean install? As far as I know, it just flashes whatever it's told to flash. It wouldn't even touch /data if you were just flashing a ROM with it.
horndroid said:
Don't use super wipe script. A lot of people reported having problems of some ROMs not flashing correctly after using it. There is no reason to use the "full" version anyway. It formats the /media partition(your internal storage partition) which you don't want to nor need to format.
Wipe Data in your #2 does pretty much the same thing as "Reset to factory defaults". They both wipe /data and /cache but do not touch /system.
The most thorough way of wiping that I use is via CWM.
I do all of this within CWM if I want to ensure a clean install of a new ROM and it has never failed.
- wipe data/factory reset
- wipe cache partition
- advanced / Wipe Dalvik Cache
- Mounts and Storage / format /system
I am not sure how NVFlashing a ROM does a clean install? As far as I know, it just flashes whatever it's told to flash. It wouldn't even touch /data if you were just flashing a ROM with it.
Click to expand...
Click to collapse
I've tried ALL of the above methods - all with the exact same results, to be honest...
Even if I revert back to honeycomb (even after a full wipe), I STILL exhibit the reboot issues (it's not just me - look around). This was NOT happening before with the exact same version of Revolver. This tells me that there is still yet something else that was changed during the ICS updates. We know the bootloader was updated - i'm now testing ICS with the old bootloader.
Other than the bootloader, what else could have changed?? Unless they upgraded the firmware on a particular device during the ICS update (wifi chip, bluetooth chip, etc). Other than that, I just can't come up with an explanation as to why Honeycomb won't even run properly anymore!
Sent from my Transformer TF101 using Tapatalk
horndroid said:
I am not sure how NVFlashing a ROM does a clean install? As far as I know, it just flashes whatever it's told to flash. It wouldn't even touch /data if you were just flashing a ROM with it.
Click to expand...
Click to collapse
If you use the --create flag, nvflash will format ALL the partitions and then flash them. If you use the --download flag, it will just overwrite the partitions you send it.
That being said, I agree at your wiping method is more than enough. Most times, I don't bother wiping, especially data.
sent from my cyanogen(mod) vision

[Mod][Utility] Wiping Tools - Simple and Fast

Attached are three recovery flashable wiping tools I use when doing my work.
I find them to be incredibly useful tools that save some power button & volume rocker mashing, and time.
Wipe Cache and Dalvik - Wipes Cache and Dalvik (duh!)
Useful for:
-Flashing GApps
-Resolving app issues
Wipe Full - Wipes Cache, Dalvik, Data, and System
-Wipes just about all data except internal sd card
-Stops just short of a factory reset (does not wipe media)
-Useful for flashing ROMs within a type (e.g. going from one CM ROM to another CM ROM)
Wipe Full Factory Reset - Wipes Cache, Dalvik, Data, System, and internal sd card
-Useful when going from one ROM type to another (e.g. going from CM to TW)
_____________________
This is the part of the updater-script that selectively wipes /data in case anyone wants to add this to their ROM:
Code:
delete_recursive("/data/dalvik-cache");
delete_recursive("/data/app");
delete_recursive("/data/app-asec");
delete_recursive("/data/app-private");
delete_recursive("/data/backup");
delete_recursive("/data/data");
delete_recursive("/data/drm");
delete_recursive("/data/log");
delete_recursive("/data/misc");
delete_recursive("/data/property");
delete_recursive("/data/system");
delete_recursive("/data/time");
delete_recursive("/data/user");
Changing the code above to the code below effectively performs a factory reset
(look at /data/media and you will see your internal sd card)
Code:
delete_recursive("/data");
As Always - Flash at your own risk!
Thannk you we were long due for a format all zip
iSheep... iSheep... Meowww that's Apple VZW GSIII
I added a full wipe with factory reset zip to the OP and updated the post to reflect the changes.
About to test with twrp. Anyone else use them yet, or will I be taking them on their maiden voyage with the BETTER recovery?
Edit: would you be interested in making a fourth one for those of us who are OCD? Davlik, cache, and (complete) factory reset, wiping everything but the SD card, saving the super wipe script of yours for flashing to/from different rom bases (tw to aosp/cm).
Sent from my SCH-I535 using Tapatalk 2
thanks i wanted this when the S3 came out and everyone said i was a dip**** for wanting it :highfive:
added to my sd card...thank you!
dems86 said:
About to test with twrp. Anyone else use them yet, or will I be taking them on their maiden voyage with the BETTER recovery?
Edit: would you be interested in making a fourth one for those of us who are OCD? Davlik, cache, and (complete) factory reset, wiping everything but the SD card, saving the super wipe script of yours for flashing to/from different rom bases (tw to aosp/cm).
Confirmed working on TWRP.
What you ask for is what the full wipe zip does. Any directories that I haven't added to the script are usually empty, or are regenerated during install of a new ROM.
If you find anything I missed let me know and I will update the script.
Sent from my SCH-I535 using Tapatalk 2
Click to expand...
Click to collapse
Karl said:
thanks i wanted this when the S3 came out and everyone said i was a dip**** for wanting it :highfive:
Click to expand...
Click to collapse
No way. I can't live without these.
Karl said:
thanks i wanted this when the S3 came out and everyone said i was a dip**** for wanting it :highfive:
Click to expand...
Click to collapse
Me too. I came from the t989 and when i got the i535 I looked and looked and asked but everyone said that it was stupid.
Karl said:
thanks i wanted this when the S3 came out and everyone said i was a dip**** for wanting it :highfive:
Click to expand...
Click to collapse
GalaxySII5191 said:
Me too. I came from the t989 and when i got the i535 I looked and looked and asked but everyone said that it was stupid.
Click to expand...
Click to collapse
yea i dont know about all that...
BUT
theoretically this is just the lazy way of getting it done. i appreciate it since i use TWRP..so i just load them up and sit back.
Bumping this because I used it earlier today and it worked like a charm
best toolset ever
Could you make a toolset to wipe dalvik, cache, and system?
Sent from my rOot3d Samsung Galaxy S3
SoCalSpecialist said:
yea i dont know about all that...
BUT
theoretically this is just the lazy way of getting it done. i appreciate it since i use TWRP..so i just load them up and sit back.
Click to expand...
Click to collapse
I guess everyone is lazy then cuz I can think of 5 other phones that had wipe zips
Sent from my Galaxy S III using Forum Runner
To help improve the quality of both the development and general sections, I decided to have this thread moved to the general section.
Just giving you a heads up in case you need to find it.
kennyglass123 will be moving this thread soon.
I know I'm grave digging, but I'm not sure where else to put this. I've found a way to wipe everything in /data/ except media. I've tested and it works in TWRP but I'm not sure how it works in CWM. Here's the line:
Code:
run_program("/sbin/sh", "-c", "find /data/* -maxdepth 0 -type d ! -name 'media' -exec rm -rf {} +");
upndwn4par said:
Attached are three recovery flashable wiping tools I use when doing my work.
I find them to be incredibly useful tools that save some power button & volume rocker mashing, and time.
Wipe Cache and Dalvik - Wipes Cache and Dalvik (duh!)
Useful for:
-Flashing GApps
-Resolving app issues
Wipe Full - Wipes Cache, Dalvik, Data, and System
-Wipes just about all data except internal sd card
-Stops just short of a factory reset (does not wipe media)
-Useful for flashing ROMs within a type (e.g. going from one CM ROM to another CM ROM)
Wipe Full Factory Reset - Wipes Cache, Dalvik, Data, System, and internal sd card
-Useful when going from one ROM type to another (e.g. going from CM to TW)
_____________________
This is the part of the updater-script that selectively wipes /data in case anyone wants to add this to their ROM:
Code:
delete_recursive("/data/dalvik-cache");
delete_recursive("/data/app");
delete_recursive("/data/app-asec");
delete_recursive("/data/app-private");
delete_recursive("/data/backup");
delete_recursive("/data/data");
delete_recursive("/data/drm");
delete_recursive("/data/log");
delete_recursive("/data/misc");
delete_recursive("/data/property");
delete_recursive("/data/system");
delete_recursive("/data/time");
delete_recursive("/data/user");
Changing the code above to the code below effectively performs a factory reset
(look at /data/media and you will see your internal sd card)
Code:
delete_recursive("/data");
As Always - Flash at your own risk!
Click to expand...
Click to collapse
Hello thread. Never flash without this first. I think more people should know about it
Sent from my SCH-I535 using Tapatalk
upndwn4par said:
Attached are three recovery flashable wiping tools I use when doing my work.
I find them to be incredibly useful tools that save some power button & volume rocker mashing, and time.
Wipe Cache and Dalvik - Wipes Cache and Dalvik (duh!)
Useful for:
-Flashing GApps
-Resolving app issues
Wipe Full - Wipes Cache, Dalvik, Data, and System
-Wipes just about all data except internal sd card
-Stops just short of a factory reset (does not wipe media)
-Useful for flashing ROMs within a type (e.g. going from one CM ROM to another CM ROM)
Wipe Full Factory Reset - Wipes Cache, Dalvik, Data, System, and internal sd card
-Useful when going from one ROM type to another (e.g. going from CM to TW)
_____________________
This is the part of the updater-script that selectively wipes /data in case anyone wants to add this to their ROM:
Code:
delete_recursive("/data/dalvik-cache");
delete_recursive("/data/app");
delete_recursive("/data/app-asec");
delete_recursive("/data/app-private");
delete_recursive("/data/backup");
delete_recursive("/data/data");
delete_recursive("/data/drm");
delete_recursive("/data/log");
delete_recursive("/data/misc");
delete_recursive("/data/property");
delete_recursive("/data/system");
delete_recursive("/data/time");
delete_recursive("/data/user");
Changing the code above to the code below effectively performs a factory reset
(look at /data/media and you will see your internal sd card)
Code:
delete_recursive("/data");
As Always - Flash at your own risk!
Click to expand...
Click to collapse
Wipe Full Factory Reset
WILL THIS DESTROY MY PHONE FROM BOOTING?

[Q] Bootloop TF101

Hi Everyone,
For some reason, TWRP is not able to format /Data.
It keeps saying "failed to mount /data (Device or resource busy)".
This doesn't prevent me from updating the ROM to 4.4.2-21.
However, once updated it keeps on booting over-and-over.
Is there a way to - sort-of - a forced format of the internal flash.
Or at least the /data partition as it seems to be corrept.
Thanks - Will
Hi,
With twrp use the wipe menu for installing kk 4.4.2
Wipe cache-dalvik cache-data-system-internal storage (if you need a complete clean install), after install menu, flash the rom and the gapps, return to wipe menu, wipe cache and dalvik cache again.reboot.you`ll run on the new rom
(Ps : don't used mount sd and format menu).
Sent from my Transformer TF101 using xda app-developers app
jh1969 said:
Hi,
With twrp use the wipe menu for installing kk 4.4.2
Wipe cache-dalvik cache-data-system-internal storage (if you need a complete clean install), after install menu, flash the rom and the gapps, return to wipe menu, wipe cache and dalvik cache again.reboot.you`ll run on the new rom
(Ps : don't used mount sd and format menu).
Sent from my Transformer TF101 using xda app-developers app
Click to expand...
Click to collapse
Thanks for the (quick) response.
I'm coming from 4.4.2-19. However, on previous occasions I was able to upgrade without going through a clean install.
So I tried the same this time with 4.4.2-21. However, as it stands, this release tends to end up in an ever on-going boot sequence.
Even a clean install or going back to the previous version (4.4.2-19) doesn't work.
Compared to previous installs, the only difference I can see is an error stating that /data can not be wiped.
Any thoughts on this behavior?
Thanks - Will
NogNeetMachinaal said:
Thanks for the (quick) response.
I'm coming from 4.4.2-19. However, on previous occasions I was able to upgrade without going through a clean install.
So I tried the same this time with 4.4.2-21. However, as it stands, this release tends to end up in an ever on-going boot sequence.
Even a clean install or going back to the previous version (4.4.2-19) doesn't work.
Compared to previous installs, the only difference I can see is an error stating that /data can not be wiped.
Any thoughts on this behavior?
Thanks - Will
Click to expand...
Click to collapse
Hi, which release of TWRP do you use ? in 2.6.3.0 and lower release, on wipe menu you have an advanced wipe menu, go on it select format and type data, this will format data partition
jh1969 said:
Hi, which release of TWRP do you use ? in 2.6.3.0 and lower release, on wipe menu you have an advanced wipe menu, go on it select format and type data, this will format data partition
Click to expand...
Click to collapse
Tried formatting the data partition. It comes back with "failed" - no explanation.
Any other suggestion?

Categories

Resources