[Galaxy Note GT-N7000 Android Development] antiochasylum:
Since people are suggesting using this, let me break it down. Since in reality it doesn't so ANYTHING you cant already do in clockwork.

Nice pretty interface in clockwork.

ui_print("*****************************************************");

ui_print("* jBroid Kernel Cleaning Script *");

ui_print("* Edition 1 *");

ui_print("* for N7000 device *");

ui_print("*****************************************************");

show_progress(0.100000, 0);

ui_print("* Preparing your device... *");

ui_print("*****************************************************");

In case your cache and data partitions are mounted, this will unmount them.

unmount("/cache");

unmount("/data");

format("ext4", "EMMC", "/dev/block/mmcblk0p7"); - this erases the cache partition - next lines we are mounting them again.

mount("ext4", "EMMC", "/dev/block/mmcblk0p7", "/cache");

mount("ext4", "EMMC", "/dev/block/mmcblk0p10", "/data");

Now we are erasing the ("/cache") folder on the blk0p7 partition - which is the cache folder

ui_print("* Formatting cache... *");

ui_print("*****************************************************");

delete_recursive("/cache");

show_progress(0.100000, 20);

now we are formatting dalvik.

ui_print("* Formatting Dalvik... *");

ui_print("*****************************************************");

delete_recursive("/data/dalvik-cache");

show_progress(0.100000, 40);

Now this is what I dont get, this looks for specific files. If you wanted it to clean the entire folder, why not do delete_recursive("/system/etc/init.d") - In a nut shell if you do not have these files, this next part does nothing for you.

ui_print("* Deleting old kernel files... *");

ui_print("*****************************************************");

delete("/system/etc/init.d/S70zipalign");

delete("/system/etc/init.d/S90scheduler");

delete("/system/etc/init.d/S99finish");

delete("/system/etc/init.d/89system_tweak");

delete("/system/etc/init.d/98system_tweak");

delete("/system/etc/init.d/S89system_tweak");

delete("/system/etc/init.d/S98system_tweak");

delete("/system/etc/init.d/S90screenstate_scaling");

delete("/system/etc/init.d/90screenstate_scaling");

delete("/system/etc/init.d/98screenstate_scaling");

delete("/system/etc/init.d/S98screenstate_scaling");

show_progress(0.100000, 60);

Normally, this would locate a file named "script" and extract it and execute it. However there is not a "script" file in the zip to extract. So this does absolutely nothing.

ui_print("* Cleaning olds modules... *");

ui_print("*****************************************************");

package_extract_dir("script", "/tmp/script");

set_perm(0, 0, 755, "/tmp/script/cleaningmodules");

run_program("/tmp/script/cleaningmodules");

show_progress(0.100000, 70);

And again we are deleting cache and dalvik, WHY?

ui_print("* Finishing cleaning cache... *");

ui_print("*****************************************************");

delete_recursive("/cache");

delete_recursive("/data/dalvik-cache");

show_progress(0.100000, 90);

Nice pretty ending.

ui_print("* You can flash a new kernel now *");

ui_print("* Thanks to you *");

ui_print("* jBroid Kernel Cleaning Script *");

ui_print("* by jBLANC *");

ui_print("*****************************************************");

ui_print(" ");

So in a nutshell this "script" does nothing.