[EVO 4G General] Karadorde:
DISCLAIMER: These scripts have worked for me without issue. It would behoove you to ensure you have a solid back up to recover from in the event that something goes horribly wrong. These scripts should be considered a WIP. I will edit them and provide information as needed if something does not work as it should. Please feel free to post here or PM me if you have issues and bear with me if they do not work properly for you. END DISCLAIMER

To be honest, I am lazy. I flash CM nightlies and sometimes themes, and I didn't like having to navigate through recovery over and over again to wipe cache and dalvik-cache. So, I decided to write a script that would just do it for me. Then I got even lazier. I found that I had written several scripts and now I was tired of having to flash them all in a certain order. Which is why I wrote one all inclusive script.

Here I will provide you with two separate scripts. The first does just enough and the second does that much and a few more personal tweaks.

The first script is a rather simple one. It formats your /cache partition and deletes /data/dalvik-cache.

Wipe_Cache_Dalvik.zip

Edify version to work with Clockword Mod Recovery

1. Back up your current rom

2. Flash Wipe_Cache_Dalvik.zip

3. Flash your nightly/theme of choice

4. Reboot

The second script is where my personal preferences come into play. This script is meant to be flashed after you install your nightly rom. This script will format /cache, delete /data/davlik-cache, delete certain system apps that I do not personally use, and then copy an edited build.prop into /system so that the DPI is set to 190 immediately after you reboot from installing the nightly rom. This script will more than likely have to be changed to suit your needs. I understand that people will want different DPI settings and would like to retain the use of apps that I do not use.

Wipe_Delete_Copy.zip

1. Edit the script if you so choose. (Directions will be given in the second post)

2. Back up your current rom

3. Flash your nightly

4. Flash Wipe_Delete_Copy.zip

5. Reboot

Many thanks to Omegasun and his BareBone App and Sense Removal Plus Community Tools Thread.

This was the thread that got me started writing scripts. I learned a lot from him. My script would not have been possibl without his.

Many thanks to unCoRrUpTeD and his unCoRrUpTeD Dual Boot V1 Thread. I did a lot of testing for unCoRrUpTeD on his dualboot setup. I learned a lot from him in regard to using updater-scripts and updater-binaries. Without him I would not have been able to write the second script.

A thank you also to Calkulin for his format_all.zip which was another source of inspiration for the first wipe script.

As always a giant thanks to Cyanogen, Team Douche, TeamWin, and the Snap Team. The information and aid that they have provided to me is second to none. Without them I wouldn't know half of what I do now. Their contributions are what make this community great.

Any gratitude that you may feel towards me for these scripts should be directed towards those mentioned above. I wrote these to benefit myself and now feel that I should give them back to you all. I hope they work as described and make flashing a little bit easier on you.