[Samsung Galaxy S Blaze 4G] thomas.raines:
Using Aroma Installer, I have automated the file system cleaner process.

This was taken from an older version of Lightning Zap! tweaks for another device and finally got Bonsia Backup/Restore working on the Blaze.

FSC reformats and cleans those file systems that we flash to all the time. Multiple flashing can cause little bits and fragments of files to linger about your partitions. Causing poor performance, unexplainable issues (problems that only you are having and no one else), and eventually can effect other files corrupting them as well. We call these file fragments Gremlins. Not the cute furry one either but that mean ass one Stripe...lol

At this time FSC with Aroma installer can only format and clean /system and /data. You will have to manually clean and format /cache. The reason is, recovery automatically mounts /cache and writes to it any time something happens (last_recovery.log). Unfortunately, Aroma uses a flashing script to do it's business; therefore, causing recovery to constantly remount /cache even after you, or the script, has unmounted it.

This DOES NOT touch /recovery, /emmc, /boot, /efs, /radio, /sdcard, or any other partitions not listed above.

Option 1 (Filesystem cleaning & backup/restore data):

Wipes /system & /data

Wipes /cache and /dalvik-cache

Makes a backup of /system and /data partitions then restores them (Based on Bonsia backup/restore scripts)

Formats /system & /data as ext4 with journeling and journel data writeback (Faster read write speeds with better caching)

Tunes said partitions to ensure they are completely clean

Option 1 is perfect for those who are getting poor performance, unexplainable random reboots, poor battery life, etc. It cleans the partitions that are constantly getting written to, thus eliminating any gremlins one might have lurking about.

**NOTE** The backup process is time consuming especially with /system partition...

Option 2 (Filesystem cleaning ONLY)

Wipes /system & /data

Wipes /cache and /dalvik-cache

Formats /system & /data as ext4 with journeling and journel data writeback (Faster read write speeds with better caching)

Tunes said partitions to ensure they are completely clean

DOES NOT make any backup or restores ANY data

Option 2 is ideal for those fresh installs. It ensures your files systems will remain clean and free of gremlins.

How to use:

Make a nandroid backup and/or a Titanium (or your favorite backup app) backup!

Download and place FSC on your external sdcard

Ensure you have enough free space on your sdcard to store the backups if using FSC option 1 (Amount needed varies on how many apps you have)

Reboot to recovery

Flash FSC as you would a regular ROM

Follow the prompts after Aroma starts

Choose either Filesystem cleaning & backup/restore data or Filesystem cleaning ONLY. If you choose Filesystem cleaning ONLY, you will go to another options screen. There you can either leave the selected action choosen (box checked) or uncheck the selected option and still choose Filesystem cleaning & backup/restore data (working on removing this redundant screen)

Once everything has finished, tap the save log button to save your output to your sdcard (it will save from wherever you ran the FSC.zip from, i.e. /sdcard/1flash/FSC.zip.log.txt)

Reinstall gapps

Reboot

Setup/Signin Gmail & Playstore account

Download link:

FSC_v1.zip

**TWRP users**

I'm not very well versed on TWRP. Tried it once, didn't care for it, moved on. When I did try it, it ran from a .zip much like aroma. If this is still the case and you use FSC to format and clean your filesystems, I would strongly suggest after you run FSC, you use the advanced menu in CWM to reboot to recovery to recovery then run TWRP.