[Mod][Utility] Wiping Tools - Simple and Fast - T-Mobile, Samsung Galaxy SIII

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!

Could you add the factory reset in the full wipe? Tuffet would be awesome and o one less step to do also.
Sent from my SGH-T999 using Tapatalk 2

^^^ +1

chrisa887 said:
Could you add the factory reset in the full wipe? Tuffet would be awesome and o one less step to do also.
Sent from my SGH-T999 using Tapatalk 2
Click to expand...
Click to collapse
Yes. I will make another zip for a full wipe with factory reset.

I added a full wipe with factory reset zip to the OP and updated the post to reflect the changes.

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.

Related

Need help flashing ROM

So, I've rooted and S-off'd now i want to flash a ROM - this one: http://forum.xda-developers.com/showthread.php?t=1143456
But one of the first things i have to do, is wipe data/factory reset. But i have the recovery-RA-desire-v2.0.0-CM.img recovery image, so when i want to wipe, i get the following options:
- Wipe ALL userdata
- Wipe only /data
- Wipe only /sd-ext
- Wipe only /sdcard/ .android_secure
- Wipe only /cache
- Wipe only Dalvik-cache
- Wipe only battery stats
- Wipe only rotate settings
So when the tutorial tells me to wipe data/factory reset, does it mean "Wipe ALL userdata" or "Wipe only /data"?
I would ask the question in the ROM's thread, but i do not have enough posts to post in the android development area
numb92 said:
So, I've rooted and S-off'd now i want to flash a ROM - this one: http://forum.xda-developers.com/showthread.php?t=1143456
But one of the first things i have to do, is wipe data/factory reset. But i have the recovery-RA-desire-v2.0.0-CM.img recovery image, so when i want to wipe, i get the following options:
- Wipe ALL userdata
- Wipe only /data
- Wipe only /sd-ext
- Wipe only /sdcard/ .android_secure
- Wipe only /cache
- Wipe only Dalvik-cache
- Wipe only battery stats
- Wipe only rotate settings
So when the tutorial tells me to wipe data/factory reset, does it mean "Wipe ALL userdata" or "Wipe only /data"?
I would ask the question in the ROM's thread, but i do not have enough posts to post in the android development area
Click to expand...
Click to collapse
Wiping everything is the recommended procedure for most roms. Wiping only data, for example, leaves data on the sd-ext partition which might result in problems. Basically wipe all in an option which spares you the time to do manually all the wipes necessary to install a ROM.
numb92 said:
But one of the first things i have to do, is wipe data/factory reset. But i have the recovery-RA-desire-v2.0.0-CM.img recovery image, so when i want to wipe, i get the following options:
Click to expand...
Click to collapse
If I were you I'd use fastboot to erase boot, system, userdata and cache.. yes the, boot & system files are technically overwritten when you install a new ROM, and everything else is "deleted" (if you choose to delete it from recovery), however it's a more "cleaner" install that way (as in use fastboot to erase boot & system), and most of the time ROMs appear to work better.
You can use several tools with fastboot.. you can use cmd, however commands are specific and it takes a while to learn them (there are a lot of guides, but it takes practise), and there are some software platforms. Personally, I prefer to use fastboot commander as it gives me the most features, it however requires java JDK and android SDK (possible you already have this so check before installing.. if you are going to install it in the first place)
Gotta love the helpful people in this community
Sent from my CM7.1 Desire using XDA Premium App

[Q] *wipe*

Hi all!!
I know it is a very very, VERY dumb question because seems that everyone knows the answer and mostly because i am in my 3rd ROM and most of then suggested/requsted a fullwipe. So I searched the forums and wiki but i don't have a clue about what is a full wipe or super wipe or *wipe*
Sorry for that quanstion and thanks if you could answer.
diassuncao said:
Hi all!!
I know it is a very very, VERY dumb question because seems that everyone knows the answer and mostly because i am in my 3rd ROM and most of then suggested/requsted a fullwipe. So I searched the forums and wiki but i don't have a clue about what is a full wipe or super wipe or *wipe*
Sorry for that quanstion and thanks if you could answer.
Click to expand...
Click to collapse
Full wipe: Format data, cache, dalvik cache. It does not touch your SDcard data.
Edit: Usually people also Wipe Battery Stats. I found it unnecessary so I forgot to include. It may also involve formatting your SDcard if you have funky stuffs in there. (apps2SD for example)
If you use ClockwordMod, for example, you would have to choose Format data/factory, then Advanced => Wipe Dalvik Cache and Wipe Battery Stats
Super wipe:
Fallen Spartan said:
Basically it does the following:
1) Call erase_image on CACHE, SYSTEM, USERDATA, and BOOT partitions
2) Mount /sd-ext (if it exists) and delete all files from it
3) Delete all files in the /sdcard/.android_secure directory which is where all the froyo apps2sd files live
4) Run e2fsck (file system repair) on the your ext partition
5) Log all output to the /tmp/wipe.log file (if you care)
You will need to power off and reboot back into recovery after running this to install a new rom....as you won't have one on device
If you forget and try to boot normally you will get stuck at splash screen, then you will have to pull battery to power off.
Click to expand...
Click to collapse
To super wipe you often need a zip file and flash it in recovery. Example:
http://forum.cyanogenmod.com/topic/19959-superwipe-for-g2-w-gps-fix/
an added note
fastboot wipe is still the cleanest wipe
<fastboot -w>
i tend to over kill so do fastboot wipe first
then boot into recovery and do a factory reset and wipe cache, dalvik cache again
then do a superwipe.
sounds like over kill? well it keeps me from having issues when changing roms - i change often so these 3minutes spent save me lots of time later
demkantor said:
an added note
fastboot wipe is still the cleanest wipe
<fastboot -w>
i tend to over kill so do fastboot wipe first
then boot into recovery and do a factory reset and wipe cache, dalvik cache again
then do a superwipe.
sounds like over kill? well it keeps me from having issues when changing roms - i change often so these 3minutes spent save me lots of time later
Click to expand...
Click to collapse
blimey...
out of interest should i be wiping anything when i restore from a backup?
Yes
Especially if there was data coruption
Sent from my HTC Vision using xda premium
Thanks
demkantor said:
an added note
fastboot wipe is still the cleanest wipe
<fastboot -w>
i tend to over kill so do fastboot wipe first
then boot into recovery and do a factory reset and wipe cache, dalvik cache again
then do a superwipe.
sounds like over kill? well it keeps me from having issues when changing roms - i change often so these 3minutes spent save me lots of time later
Click to expand...
Click to collapse
I Agree!
That's why i want to know about wipes.
Thanks a lot!

JJhybrid functions missing/not working

I tried to change my sim pin code but this isn't working, there is no input field or the keyboard doesn't appear.
I can not find the function to copy phone contacts to my sim memory, only the other way around is possible.
version is 3.2, dunno in 3.3?
some feedback on this please?
Greetings
re-flashing a rom always fixes problems if doing the correct formatting when flashing the rom e.g. wipe data / facotry reset > wipe cache partition > wipe dalvik cache > [OPTIONAL] Format System (located in Mounts & Storage)
i do that for every rom i install and seems to have no issues what so ever
MrModMan said:
re-flashing a rom always fixes problems if doing the correct formatting when flashing the rom e.g. wipe data / facotry reset > wipe cache partition > wipe dalvik cache > [OPTIONAL] Format System (located in Mounts & Storage)
i do that for every rom i install and seems to have no issues what so ever
Click to expand...
Click to collapse
Ok I understand that but in this case is it perhaps just because the rom isn't equipt with it, that the functions are simply missing because this rom is still in developement you know? Just wondering if others or missing these features too?
thanks

Full cleaning method ...

Hi every, I want to make a FULL cleaning of my phone because I want to install a fresh ROM. I use Wipe data/factory and also wipe cache partition (CWM 6.0.1.1) and repeat several times but surprise I install the new ROM all the old settings was there meaning games data, google emails, sms messages, why? Exists any better method to clean all the old data for leave the new ROM clean install?
Cheers and thanks in advance
reynierpm said:
Hi every, I want to make a FULL cleaning of my phone because I want to install a fresh ROM. I use Wipe data/factory and also wipe cache partition (CWM 6.0.1.1) and repeat several times but surprise I install the new ROM all the old settings was there meaning games data, google emails, sms messages, why? Exists any better method to clean all the old data for leave the new ROM clean install?
Cheers and thanks in advance
Click to expand...
Click to collapse
The steps to a clean flash are:
-wipe cache
-wipe dalvik
-make backup (just in case)
-wipe data/factory reset
-format system (under mounts/storage)
-flash ROM
-flash gapps
-reboot
-ENJOY
Hope that helps.
Sent from my Galaxy Nexus using xda app-developers app
I can't find where "wipe dalvik" is
reynierpm said:
I can't find where "wipe dalvik" is
Click to expand...
Click to collapse
Under advanced.
reynierpm said:
I can't find where "wipe dalvik" is
Click to expand...
Click to collapse
it's under advanced in CWM
Lock the bootloader and then root again. This will wipe EVERYTHING!! I repeat, EVERYTHING will be erased. ALL OF YOUR DATA will be gone!
That is the only way to ensure you won't have traces of anything left over.
Sent from my iPad using Tapatalk HD
z06mike said:
Lock the bootloader and then root again. This will wipe EVERYTHING!! I repeat, EVERYTHING will be erased. ALL OF YOUR DATA will be gone!
That is the only way to ensure you won't have traces of anything left over.
Sent from my iPad using Tapatalk HD
Click to expand...
Click to collapse
What you wrote is misleading.
"Rooting" does not wipe anything.
Unlocking the bootloader will wipe data, but that's it. It will not erase /system, /boot, or /cache.
Sent from my Galaxy Nexus using Tapatalk 2
Just curious. Have you un-checked Settings -> Backup & reset -> Automatic restore?
Lol.. if you want a functional wipe then do my steps. It was needed with the incredible.
CWM - 6.
1.) Wipe data/Factory reset
2.) Mounts & Storage > Format SYSTEM - make sure it's SYSTEM and not Sdcard.
This helps clean the residue left from other roms
3.) Use superwipe if needed or just want to use it
4.) Flash Rom, gapps
5.) Wipe cache/dalvik if given instructions to.
Those are the proper wiping methods.
If your doing a flash over -
1.) Wipe cache and dalvik
2.) Install Rom and if necessary gapps
3.) Fix permissions?
Reboot
Sent from my Galaxy Nexus using Tapatalk 2
withbloodskies said:
Lol.. if you want a full wipe then do my steps. It was needed with the incredible.
CWM - 6.
1.) Wipe data/Factory reset
2.) Mounts & Storage > Format SYSTEM - make sure it's SYSTEM and not Sdcard.
This helps clean the residue left from other roms
3.) Use superwipe if needed or just want to use it
4.) Flash Rom, gapps
5.) Wipe cache/dalvik if given instructions to.
Those are the proper wiping methods.
If your doing a flash over -
1.) Wipe cache and dalvik
2.) Install Rom and if necessary gapps
3.) Fix permissions?
Reboot
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Even that doesn't do a complete wipe, as it doesn't wipe the kernel, nor does it wipe the data in /sdcard (in which some apps store their settings).
If you want to fully wipe, transfer the files/data you want to keep to your PC, reboot into fastboot mode and type:
fastboot erase system
fastboot erase boot
fastboot erase userdata
fastboot erase cache
Sent from my Galaxy Nexus using Tapatalk 2
efrant said:
Even that doesn't do a complete wipe, as it doesn't wipe the kernel, nor does it wipe the data in /sdcard (in which some apps store their settings).
If you want to fully wipe, transfer the files/data you want to keep to your PC, reboot into fastboot mode and type:
fastboot erase system
fastboot erase boot
fastboot erase userdata
fastboot erase cache
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Don't think boot is an option in CWM "dunno why" lol, I suppose if you wanted to go through those steps
CWM should add a few more options such as those.
Sent from my Galaxy Nexus using Tapatalk 2

MIUI no sim detected

Hey everybody,
my problem is I flashed my first rom, MIUI
on One X, and my sim cannot be detected.
I tried three distibutions of MIUI 3.2.22 (chinese, uk and us),
all had the same issue.
It's not a hardware problem since I went back to stock rom and it's fine.
I already posted over ot MIUI forums, no one seems to have the same issue here or there (even on different roms)
since I searched before posting
Also, I followed the steps on the rooting tutorials and maybe I'm missing something..
Following the steps I had to gather info here and there e.g. at first I didn;t wipe data before flashing,
I saw this on a youtube vid..
I used CWM, install from zip.
Any help would be appreciated!
when coming from another rom you always need to perform a full wipe.
flashed the boot.img file with fastboot from the pc to the phone ?
in recovery do :
wipe data/factory reset
wipe cache partition
ADVANCED - wipe dalvik cache
MOUNTS & STORAGE - format cache, data, system
then install the MUI.zip file......
UPDATE: Worked perfectly!
Thanks a lot!
Cool!
will try that asap.
As I said I found only bits and bytes of such tutorials,
saw a hint somewhere about boot.img
and it's the first time i read about davlik cache, mounts and storage.
Thanks a lot!
Mr Hofs said:
when coming from another rom you always need to perform a full wipe.
flashed the boot.img file with fastboot from the pc to the phone ?
in recovery do :
wipe data/factory reset
wipe cache partition
ADVANCED - wipe dalvik cache
MOUNTS & STORAGE - format cache, data, system
then install the MUI.zip file......
Click to expand...
Click to collapse
No problem mate ! .....at least one case solved tonight :good:
CASE CLOSED !

Categories

Resources