Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
I have developed this cleaning script for the Samsung Galaxy SII. This one is designed to be run prior to flashing a new ROM. Do NOT, I repeat, DO NOT run this any other time!!! It is not a kernel cleaner. This nukes your device ready for your ROM flash. This does a FULL WIPE as far as your Android system is concerned. It does not however touch your internal storage or external SD card (the purists amongst you would say a true full wipe also formats your internal storage, but I've chosen to omit this in this script, so that possible backups, photos etc are retained).
After executing this script, you must flash your ROM directly afterwards. If you do not, your GS2 will not boot. You will get a boot loop as /system will be empty. (NB. Clearing /system is not done as part of a Wipe data/Factory Reset in CWM Recovery)
GS2ROMNukev1.0
Does the following:
1. Formats /system
2. Formats /data
3. Formats /cache
Let me know if you have any other ideas as to files/folders that could also be removed so I can look into it for possible inclusion in the next release.
Related threads:
My GS2 Kernel Cleaning Scripts

)...


Thanks for your Cleaner!
Is this only for .zip (Recovery) ROMS or also works before flashing through Odin?
Should I also use it before Restoring a Nandroid backup in Recovery?
If not, is there anything you would recommend before restoring a nandroid backup?
Thanks again,
Glore2002.-
Following your steps I'm getting "E:Error in /emmc/GS2ROMNukev1.0.zip
(Status 6)
Installation Aborted"
Pretty much the same problem as everyone else, redownloading doesn't help.
when doing it first time i was bit busy@work and didnt follow all what was written heh, i assumed when its from hawker it has to work but... this time sth is not working 
Reporting the same error message. Did a full wipe in CWM and lost my Root access.Im not saying its related but just my experience.