yeah the vacuum would be a little too much overkill on boot.
zipalign wouldnt be too bad after the first time since an app will be zipaligned only once
Yup. Probably a good idea for zipalign.
well as it stands you already recommend in the OP that zipalign CAN be added to init.d without major slowdowns, so i think the -c idea would just speed up the boot time and not affect performance much
as for optimizing sql i think that should be left up to the user
but here's my recommendation for all of this to make it super simple for users
keep the scripts in /system/etc/bolt_scripts/ (as they are) maybe put them in a subfolder just to separate them, and then make some scripts like this;
calls the actual zipalign script but uses -c
calls the actual sqlite optimize script but uses -c
then suggest users copy those respective files to their init.d folder to run at boot so that if a user has a slower device they dont have to load them (or just load zipalign, however they want to do it) and if they have a faster device they can choose to see if the effects of the potentially laggy first few moments of home screen action are worth the benefit for them individually
only reason i recommend the separate scripts is because i dont know how to launch a script with -c from inside the script itself
anyway that's my 2c
Thanks! I'll implement this (and the automount in the next version)