I had problems with wiping stuff on recovery, and I created these ZIPs with scripts to wipe my defy.
When I saw that others had problems wiping too, i thought that I could help by releasing these ZIPs.
Note: These zips do not push any files to any partitions, they just contain scripts run in recovery to perform desired task.
So, here they are:
FULL WIPER
-Wipes /system,/data,/cache
DO NOT REBOOT AFTER USING THIS OR YOU'LL NEED TO FLASH SBF
ext3 version
ext4 version
***********
CACHE WIPER
-Wipes /cache
ext3 version
ext4 version
***********
DATA & CACHE WIPER
-Wipes /cache and /data
ext3 version
ext4 version
Every zip can be found here : LINK
And please do not come to tell me that this is completely useless, if you can wipe normally, good 4 you
Nice one. it's faster than clicking all the CWM menu!
Can u add one that wipe dalvik and cache?
Jelly powered.Defy
Awesome!
AnTerNoZ said:
Nice one. it's faster than clicking all the CWM menu!
Can u add one that wipe dalvik and cache?
Jelly powered.Defy
Click to expand...
Click to collapse
As far as I know, the dalvik cache is in the /cache partition, use cache wiper
Sent from my MB525 using Tapatalk 2
Works for me!
I love these, use them everytime! Cache wiping in custom recovery doesn't work for me either anymore... This is far easier than switching to stock recovery and then bla bla bla!
Absolutely agree! Great Job!
After full wipe and install CM10 i got boot loops on red Moto logo. Defy+ bl7
Sent from my MB526 using xda app-developers app
Uao why i didn't see this before? i really searched for something similar a lot! At last i will get rid of gapps that normal factory reset don't delete! thanks!!
Two questions: do you confirm full wiper does delete dalvik also?
And do these scripts still work now also with ext4 formatted partitions?
moly82 said:
Uao why i didn't see this before? i really searched for something similar a lot! At last i will get rid of gapps that normal factory reset don't delete! thanks!!
Two questions: do you confirm full wiper does delete dalvik also?
And do these scripts still work now also with ext4 formatted partitions?
Click to expand...
Click to collapse
in the script data and cache is loaded as ext3 I don't know if it's formate it right, try it later and report, but u can easily rewrite the script to ext4 if it's needed.
AnTerNoZ said:
in the script data and cache is loaded as ext3 I don't know if it's formate it right, try it later and report, but u can easily rewrite the script to ext4 if it's needed.
Click to expand...
Click to collapse
thanks.. but I wouldn't know how to modify the script.. by the way I may use it with ext3 no problem.
also, I still don;t know how to check if my partitions are really ext3 or ext4.. so I think I will revert them to ext3 anyway.. (mount command show the driver used to mount the partitions, not the real format of the partitions.. and fstab I think is not fully reliable..)
congrats, your ass is now wiped.. I'm loving it!!
in op three links for download r given....so before flashing any new custom rom,i have to install these three zips in recovery....am i right or any other method???
Moto Defy
Added ext4 versions of each script. Please test as I do not have Defy anymore
-
jokermithun said:
in op three links for download r given....so before flashing any new custom rom,i have to install these three zips in recovery....am i right or any other method???
Moto Defy
Click to expand...
Click to collapse
Just flash the Full wipe zip before you flash custom rom, it will wipe everything and you'll have clean partitions and less bugs.
Be careful though, flash your rom after wipe zip. without rebooting. if you reboot, you'l' have to flash an sbf since /system got wiped.
hsrars-d said:
Added ext4 versions of each script. Please test as I do not have Defy anymore
-
Just flash the Full wipe zip before you flash custom rom, it will wipe everything and you'll have clean partitions and less bugs.
Be careful though, flash your rom after wipe zip. without rebooting. if you reboot, you'l' have to flash an sbf since /system got wiped.
Click to expand...
Click to collapse
what about dalvik cache wipe????
Moto Defy
hsrars-d said:
Added ext4 versions of each script. Please test as I do not have Defy anymore
-
Just flash the Full wipe zip before you flash custom rom, it will wipe everything and you'll have clean partitions and less bugs.
Be careful though, flash your rom after wipe zip. without rebooting. if you reboot, you'l' have to flash an sbf since /system got wiped.
Click to expand...
Click to collapse
question:
if I use full wiper ext4 version on ext3 partitions, will the partitions be formatted to ext4, or should I run ext4 full wiper only on already formatted ext4 partitions?
thanks for clarifying and sorry for stupid question
moly82 said:
question:
if I use full wiper ext4 version on ext3 partitions, will the partitions be formatted to ext4, or should I run ext4 full wiper only on already formatted ext4 partitions?
thanks for clarifying and sorry for stupid question
Click to expand...
Click to collapse
use AROMA Filemanager with terminal to look what formate it have with "mount" command
Data&cache wiper ext3 link wrong in the first post. It links u to the cache wiper ext3.
Anyway thx about it. Cheers
defy green powered by jb
So.... the full wipe after and before installing a new rom could be enought? right?
Psychlo said:
So.... the full wipe after and before installing a new rom could be enought? right?
Click to expand...
Click to collapse
DON'T use the full wipe after u flash a ROM, it erase all data and the system. if u do this u had finally flash a new stock firmware!!! only use it before and DIRECT after finish use the zip of the ROM u want to install, or nandroid!!
---------- Post added at 12:42 AM ---------- Previous post was at 12:35 AM ----------
hsrars-d said:
Added ext4 versions of each script. Please test as I do not have Defy anymore
Click to expand...
Click to collapse
if I use old ext3 zip it don't formate it back to ext3 partition still is ext4 formate if I check it with mount command. and nether with ext3 or ext4 version, dalvik would never bee wiped for me.
Related
hey guys youve all been great and helful, thanks...was wondering what caulkins format all is, what it does and is it just rom specific. meaning konis elite 3 says to flash it first, if i wanted to flash a different rom say myns or something will the c. format all interfer? thanks again
justintammy said:
hey guys youve all been great and helful, thanks...was wondering what caulkins format all is, what it does and is it just rom specific. meaning konis elite 3 says to flash it first, if i wanted to flash a different rom say myns or something will the c. format all interfer? thanks again
Click to expand...
Click to collapse
It is a flash that write all data and cache it us good to flash when going between roms and if you are having force close issues. When using it erases all your data witch means all your apps aswell
Sent from my unrEVOked using xda app
roscoenr said:
It is a flash that write all data and cache it us good to flash when going between roms and if you are having force close issues. When using it erases all your data witch means all your apps aswell
Sent from my unrEVOked using xda app
Click to expand...
Click to collapse
Well said! Thought I'd add: Use it in conjunction with your usual wipes. It's meant as an extra piece of protection against problems NOT as a replacement to your usual wipes.
blakeboys said:
Well said! Thought I'd add: Use it in conjunction with your usual wipes. It's meant as an extra piece of protection against problems NOT as a replacement to your usual wipes.
Click to expand...
Click to collapse
Yeah meant to out that but spaces thanks
Sent from my unrEVOked using xda app
Couple of things to add to the folks above:
1) It won't work on ClockworkMod Recovery 3.0 since it's an Amend script (update-script). Amon_RA 2.3 and below, and ClockworkMod 2.x both support amend and edify (updater-script and update-binary), so it will work for them.
2) Isn't needed on ClockworkMod Recovery 3.0 or Amon_RA Recovery 2.3 since each have the options to wipe all your partitions (albeit you have to wipe each partition separately. I personally nagged Amon_RA to put in the wipe /boot and wipe /system options).
3) It wipes everything on the phone's internal storage except the WiMAX partition (which would be incredibly stupid since it would wipe out everyone's WiMAX radio and keys!). What it really does is format /system (your ROM and system apps), /cache (the kernel and ROM's cache), /data (your apps, settings, app data, etc.), and dalvik-cache (which is usually on /data or /cache, and is the cache for the Dalvik VM; the thing that runs apps).
4) Your SD card, .android_secure (on the SD card, this is where apps that have been moved to the card via the Applications settings in Froyo or Gingerbread), and sd-ext (old style of moving apps and cache to the SD card WHICH SHOULD NEVER BE USED ANYMORE) partitions are left alone. THEY WILL NOT BE WIPED. So if you have any apps on your SD card (for example, all the Angry Birds games install to SD by default), you will have to wipe them manually.
thank you guys!
If you open up the zip and look at the update-script file, the following commands are listed in it
Code:
show_progress 0.1 0
format BOOT:
format CACHE:
format DATA:
format SYSTEM:
show_progress 0.1 10
To anyone with half a functioning brain cell, it should be obvious what each line does.
Post #5 says it well. The only thing I'd add is there really is little reason to do both wipe and this (esp with ra recovery 2.3). If you do the factory wipe option (first on the wipe menu), that will clear both the cache and data partitions. And since the data partition is already formatted, doing an addition wipe dalvik cache is really not necessary.
To the OP: Please use a more descriptive subject in the future. Almost passed this thread over because of it.
as title says i can't seem to get the lockscreen working.
as "lockscreen" i only see the statusbar and the background can some 1 help me?
thanks in advance,
-------------- What was the solution?------------
i forgot to make an SD-Ext Partition on my SD card.
thanks to: daniels7
thesmith said:
as title says i can't seem to get the lockscreen working.
as "lockscreen" i only see the statusbar and the background can some 1 help me?
thanks in advance,
Click to expand...
Click to collapse
Change your HBOOT to a new one (alpharev.nl)
copas2 said:
Change your HBOOT to a new one (alpharev.nl)
Click to expand...
Click to collapse
going to try this later on..
i will inform you if it worked.
and ofcourse a thanks.
-----------------------EDIT--------------------
when i try another hboot it never works :S.
only the stock one???
I had the same issue
Did you created an SD-Ext Partition on your SD-Card? Without the Lockscreen and some other things won't work, since they are stored on SD-Ext
I have made an sd-ext partition but i still have no lockscreen! is there any workaround or solution?
I have the same issue. I first installed AceSMod007 (v34) with out creating a ext4 partition, and got a lot of low storage message. I then wiped the SD card and created the FAT32, swap and ext4 partitions. Did a factory reset from Recovery and flashed the AceSMod007 zip again. Everything seems to be working now except for the lock screen?
Did I need to wipe something else before flashing again?
EDIT:
BTW, there's no lockscreens available in the settings...
what mean the lockscreen doesn't work? Is there no lockscreen? or u can't unlock ur phone?
There's no lockscreen. When I press the power button it just show the status bar and the background image and nothing more. I can unlock by press the track button. If I go to the settings to change the lockscreen, there's none installed.
thomas_fogh said:
There's no lockscreen. When I press the power button it just show the status bar and the background image and nothing more. I can unlock by press the track button. If I go to the settings to change the lockscreen, there's none installed.
Click to expand...
Click to collapse
how did u created the ext partition? what recovery u using? u are using hte AceSMod stock or cm7 one?
ClockworkMod Recovery 2.5.0.5. I booted Gparted from USB. The ext partition seems to be working. App2SD installs the apps I download to the ext partition...
Something I need to wipe before trying to flash again? (I did install AceSMod007 the first time with out a ext partition )
thomas_fogh said:
ClockworkMod Recovery 2.5.0.5. I booted Gparted from USB. The ext partition seems to be working. App2SD installs the apps I download to the ext partition...
Something I need to wipe before trying to flash again? (I did install AceSMod007 the first time with out a ext partition )
Click to expand...
Click to collapse
if the app2sd its working correctly, then is ok
but if the first time u installed it without ext partition, then some part of the rom (like the lockscreen and some minor things) was not flashed!
should be enough only to wipe cache and dalvik cache and flash the rom again..
if at the next boot doesn't work, try a full wipe..wipe data/factory reset (u will lose ur settings and everything..make a nandroid just in case), cache and dalvik..and flash again..
edit: i think ur recovery is 2.5.0.7
When I select Wipe Dalvik Cache in the Recovery menu it says: Can't mount /dev/block/mmcblk0p2 (File exists)
I then press Yes - Wipe Dalvik Cache.
It then says Dalvik Cache wiped.
Should I just ignore the first error?
Thanks!
thomas_fogh said:
When I select Wipe Dalvik Cache in the Recovery menu it says: Can't mount /dev/block/mmcblk0p2 (File exists)
I then press Yes - Wipe Dalvik Cache.
It then says Dalvik Cache wiped.
Should I just ignore the first error?
Thanks!
Click to expand...
Click to collapse
Well, i think u can ignore it..I received it too in the past when wiping dalvik cache, i dont remember exactly why i was getting it..but should be ok
Tried wiping cache+dalvik. Still no luck. The wiped data/factory reset+cache+dalvik. And still no luck.
I could see that the apps I had downloaded previously were still present. Should I try wiping the SD-Ext?
thomas_fogh said:
The wiped data/factory reset+cache+dalvik. And still no luck.
Click to expand...
Click to collapse
did u flashed the rom after this??
andQlimax said:
did u flashed the rom after this??
Click to expand...
Click to collapse
yeah, I did...
I also tried deleting all partitions on the SD card and making new ones, wiped data, cache and dalvik cache, flashed the ROM again, but the lock screen is still not working. And I got a message saying my apps had been reestablished...
Can i use superwipe from ARHD's page for flashing Runnydroid v1.0? And how do you now if the ROM is ext4 rom? Thanks .
Yes, you can.
I think most ROMs going about these days format the system partition to ext4 during install, but the dev providing the ROM should mention somewhere what file system it uses if this isn't the case.
Edit: as a last resort you can always just check the update script in the ROM zip you want to flash; this will show how your data partition is going to be mounted.
After flashing CM 7.0.3 a long time ago, I haven't really updated anything or touched anything when it comes to the recovery, SU, etc since.
Seeing ICS, I tried to flash CM 9 RC1 Build 2 the way I've flashed other ROMs before: Loading the ROM and gapps zip to the root of my SD card, rebooting into recovery, wiping phone, wiping cache, then applying a zip. When I try to flash CM9s zip, I get the error:
E:can't open sdcard/name_of_zip.zip (bad)
I've tried various CM9 mirrors with the same result. I have a feeling it might be because I have a much outdated recovery, and SU binary?
My ROM Manager: 5.0.0.8
My ClockworkMod Recovery: 3.0.0.5 (latest 5.0.2.7?)
My SU binary: 2.3.1-ef (latest 3.1.1?)
When trying to update my SU binary it fails when copying su to /system..
Can anyone give me a starting direction on what I need to do to get CM9 flashed and working?
Thank you!
Use the superwipe + 4ext 1st. or change ur recovery.
File sytem needs to be ext4 fore ICS onwards as far as i know.
wileykat said:
Use the superwipe + 4ext 1st. or change ur recovery.
File sytem needs to be ext4 fore ICS onwards as far as i know.
Click to expand...
Click to collapse
You can run EliteMod and CM9 for example on an ext3 filesystem (the zip provided will format whichever filesystem to ext4 when done in the actual recovery).
Though I have not tried CM9 since beta13 I don't see this being a problem. Though I would advise doing a FULL WIPE (factory reset + cache + dalvik) before flashing on any brand new roms especially when going from GB to ICS.
(last time I checked clockworkmod doesn't let you format a specific filesystem or convert backups from ext3 to ext4 , for that I use the 4EXT recovery).
@ OP you should not have to copy the SU binary anywhere, it should come with CM9 anyways (just like busybox and superuser.apk). The only additional thing you may need to flash on top of it is google apps, just like CM7 would have been.
kbeezie said:
You can run EliteMod and CM9 for example on an ext3 filesystem (the zip provided will format whichever filesystem to ext4 when done in the actual recovery).
Though I have not tried CM9 since beta13 I don't see this being a problem. Though I would advise doing a FULL WIPE (factory reset + cache + dalvik) before flashing on any brand new roms especially when going from GB to ICS.
(last time I checked clockworkmod doesn't let you format a specific filesystem or convert backups from ext3 to ext4 , for that I use the 4EXT recovery).
@ OP you should not have to copy the SU binary anywhere, it should come with CM9 anyways (just like busybox and superuser.apk). The only additional thing you may need to flash on top of it is google apps, just like CM7 would have been.
Click to expand...
Click to collapse
Worked like a charm! I installed 4EXT recovery, wipe/factory reset, wipe cache, wipe dalvik cache, and CM9 installed just fine.
Thank you so much!
From my understanding formatting the /system partition through CWM will remove the android OS completely from your device and you would have to flash a new one to replace it. Found the following information on the below website:
http://www.addictivetips.com/mobile...plained-boot-system-recovery-data-cache-misc/
/system
This partition basically contains the entire operating system, other than the kernel and the ramdisk. This includes the Android user interface as well as all the system applications that come pre-installed on the device. 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.
My question is, if I format the /system partition, does it remove all my currently saved pictures and videos on my internal memory? When I install a new ROM I typically wipe data /factory reset, then perform TDJs super wipe before installing the new ROM.
However, the instructions for installing the newest CM10 ROM also says to wipe /system partition. I know this will remove the OS, but will this also remove my pics and videos or should I back them up first before performing this step? Thanks.
Chochiwpg said:
From my understanding formatting the /system partition through CWM will remove the android OS completely from your device and you would have to flash a new one to replace it. Found the following information on the below website:
http://www.addictivetips.com/mobile...plained-boot-system-recovery-data-cache-misc/
/system
This partition basically contains the entire operating system, other than the kernel and the ramdisk. This includes the Android user interface as well as all the system applications that come pre-installed on the device. 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.
My question is, if I format the /system partition, does it remove all my currently saved pictures and videos on my internal memory? When I install a new ROM I typically wipe data /factory reset, then perform TDJs super wipe before installing the new ROM.
However, the instructions for installing the newest CM10 ROM also says to wipe /system partition. I know this will remove the OS, but will this also remove my pics and videos or should I back them up first before performing this step? Thanks.
Click to expand...
Click to collapse
Now i could be wrong as i am no Dev by any means but i do not think it will wipe your emmc as well. Reason i think it will be fine if you wipe /system is if you go in with root explorer and go to your /system folder your emmc is not located there so therefore if you were to wipe your /system patition it sould leave the emmc partition in tact.
But as always i would backup your emmc to your pc and give it a try. Hope this helps :good:
sinfulgray said:
Now i could be wrong as i am no Dev by any means but i do not think it will wipe your emmc as well. Reason i think it will be fine if you wipe /system is if you go in with root explorer and go to your /system folder your emmc is not located there so therefore if you were to wipe your /system patition it sould leave the emmc partition in tact.
But as always i would backup your emmc to your pc and give it a try. Hope this helps :good:
Click to expand...
Click to collapse
I was thinking the same thing as well but just had to ask because I have never processed the format /system action before. I am currently running a TW ROM ATM and looking through ES File Explorer my sdcard (which is the same as emmc on AOSP ROMs) isn't located located in the /system folder either.
Thanks for your reply, I tried to give you a thanks but I have reached my limit today
sinfulgray said:
Now i could be wrong as i am no Dev by any means but i do not think it will wipe your emmc as well. Reason i think it will be fine if you wipe /system is if you go in with root explorer and go to your /system folder your emmc is not located there so therefore if you were to wipe your /system patition it sould leave the emmc partition in tact.
But as always i would backup your emmc to your pc and give it a try. Hope this helps :good:
Click to expand...
Click to collapse
I'm no Dev either, but your right. Formatting system will not touch your emmc or sd cards. If you format system when flashing a new nightly (which I do every 3rd flash), you won't lose any user data at all. Only ROM and system apps, this is why you need to reflash Gapps as well if you format system.
When you use TDJ's wipe script, it formats everything (including system) except emmc and external sd cards.
Sent from my SAMSUNG-SGH-T989 using Tapatalk 2
RikkKeith said:
I'm no Dev either, but your right. Formatting system will not touch your emmc or sd cards. If you format system when flashing a new nightly (which I do every 3rd flash), you won't lose any user data at all. Only ROM and system apps, this is why you need to reflash Gapps as well if you format system.
When you use TDJ's wipe script, it formats everything (including system) except emmc and external sd cards.
Sent from my SAMSUNG-SGH-T989 using Tapatalk 2
Click to expand...
Click to collapse
Thanks so much, I run TDJ's wipe script with each install of a new ROM and completely didn't realize that is also wipes the /system partition. I just re-read his Superwipe thread and right in the OP it says
"This exceeds anything that CWM is capable of from the menu options. This will format and erase EVERYTHING on your /system, /data, /cache partions with EXT4 file system. It WILL NOT wipe SD CARD or EMMC... After it is complete with format and e****, it will align all disks partitions properly."
I was up extra early this morning, forgive me, I need to learn how to read better as well :laugh:
Thanks again.
Remember guys, wiping doesn't wipe everything. However, not wiping everything can bring its own issues.
Sorry for bumping up an old thread but it was very relevant to this topic. If I wipe the system before flashing a new ROM will my apps remain intact with their data? I know system apps will be gone but they will come back anyway so it doesn't matter.
Chochiwpg said:
From my understanding formatting the /system partition through CWM will remove the android OS completely from your device and you would have to flash a new one to replace it. Found the following information on the below website:
http://www.addictivetips.com/mobile...plained-boot-system-recovery-data-cache-misc/
/system
This partition basically contains the entire operating system, other than the kernel and the ramdisk. This includes the Android user interface as well as all the system applications that come pre-installed on the device. 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.
My question is, if I format the /system partition, does it remove all my currently saved pictures and videos on my internal memory? When I install a new ROM I typically wipe data /factory reset, then perform TDJs super wipe before installing the new ROM.
However, the instructions for installing the newest CM10 ROM also says to wipe /system partition. I know this will remove the OS, but will this also remove my pics and videos or should I back them up first before performing this step? Thanks.
Click to expand...
Click to collapse
No, I flash all the time and always format system, you will not lose your internal or SD memory
Inagalaxyfaraway said:
Sorry for bumping up an old thread but it was very relevant to this topic. If I wipe the system before flashing a new ROM will my apps remain intact with their data? I know system apps will be gone but they will come back anyway so it doesn't matter.
Click to expand...
Click to collapse
Yes, they will stay intact with a /system wipe. However, with a factory reset or /data wipe, your apps will be gone.
Sent from my Nexus 7 using xda app-developers app
Sorry to bump old thread. I just deleted system, data, cache etc everything. Now when i attempt to
Reboot it warns that no OS installed. I m using TWRP. is it safe to power off the device? Will i be able to get back to recovery to flash a new rom afterwards, as i dont have one ready now??
Btw i hav nexus 7 , but didnt find this discussion there so i am posting here.
Thanks in advance for help....
I accidentally formatted system on my HTC desire HD. but i'm unable to install rom in it. If anyone can help me make it working(instruct how to install ROM in it) i'd be grateful.
Sawrose said:
I accidentally formatted system on my HTC desire HD. but i'm unable to install rom in it. If anyone can help me make it working(instruct how to install ROM in it) i'd be grateful.
Click to expand...
Click to collapse
You might want to post your question here : http://forum.xda-developers.com/forumdisplay.php?f=754
Careful with that with new versions of TWRP and CWM! http://forum.xda-developers.com/showthread.php?t=1966887
I format my system through xrecovery but after that first it stuck in sony ericsson logo.. sometimes it doesnt boot and the red light flashes
Accelerator00000 said:
I format my system through xrecovery but after that first it stuck in sony ericsson logo.. sometimes it doesnt boot and the red light flashes
Click to expand...
Click to collapse
I think you're lost friend. LOL.
Sent from my Moto X cellular telephone...
kj2112 said:
I think you're lost friend. LOL.
Sent from my Moto X cellular telephone...
Click to expand...
Click to collapse
it stucks at the sony ericsson and i cant enter the xrecovery sorry it just low battery thats why red light flash.. LOL
Accelerator00000 said:
it stucks at the sony ericsson and i cant enter the xrecovery sorry it just low battery thats why red light flash.. LOL
Click to expand...
Click to collapse
Buttttt...this is the t989 S2 forum.
Sent from my Moto X cellular telephone...