[Moto Maxx Android Development] bubblesd306:
This is my script. Is anything in there that should effect lockscreen weather.

ui_print("............................");

ui_print("...ChanceIIWII.....");

ui_print("............................");

ui_print("..please wait...............");

ui_print("Mounting files...");

run_program("/sbin/busybox", "mount", "/system");

run_program("/sbin/busybox", "mount", "/sdcard");

run_program("/sbin/busybox", "sleep", "5");

ui_print("Removing system bloat");

delete_recursive("/system/media/audio/ringtones");

delete_recursive("/system/media/audio/notifications");

delete_recursive("/system/media/audio/alarms");

delete_recursive("/system/app/BasicDreams");

delete_recursive("/system/app/Browser");

delete_recursive("/system/app/Camera2");

delete_recursive("/system/app/DocumentsUI"); delete_recursive("/system/app/CMFileManager");

delete_recursive("/system/app/CMWallpapers");

delete_recursive("/system/app/Eleven");

delete_recursive("/system/app/Email");

delete_recursive("/system/app/Exchange2");

delete_recursive("/system/app/Galaxy4");

delete_recursive("/system/app/Gallery2");

delete_recursive("/system/app/GooglePinYin");

delete_recursive("/system/app/HoloSpiralWallpaper");

delete_recursive("/system/app/LiveWallpapers");

delete_recursive("/system/app/LiveWallpapersPicker");

delete_recursive("/system/app/NoiseField");

delete_recursive("/system/app/PhaseBeam");

delete_recursive("/system/app/PhotoTable");

delete_recursive("/system/app/PrintSpooler");

delete_recursive("/system/app/SoundRecorder");

delete_recursive("/system/app/Stk");

delete_recursive("/system/app/Terminal");

delete_recursive("/system/app/PhotoPhase");

delete_recursive("/system/app/VisualizationWallpapers");

delete_recursive("/system/priv-app/Trebuchet");

delete_recursive("/system/priv-app/AudioFX");

delete_recursive("/system/priv-app/CellBroadcastReceiver");

delete("/system/framework/com.google.android.camera2.jar");

delete_recursive("/storage/emulated/0/Alarms");

delete_recursive("/storage/emulated/0/Ringtones");

delete_recursive("/storage/emulated/0/Notifications");

delete_recursive("/storage/emulated/0/Podcasts");

delete_recursive("/storage/emulated/0/media");

delete_recursive("/storage/emulated/0/Pictures");

delete_recursive("/system/addon.d");

ui_print("crap removed");

run_program("/sbin/sleep", "3");

ui_print("Installing ****");

package_extract_dir("system", "/system");

ui_print("Fixing permissions...");

set_perm_recursive(0, 0, 0755, 0644, "/system/media/audio/ringtones");

set_perm_recursive(0, 0, 0755, 0644, "/system/media/audio/notifications");

set_perm_recursive(0, 0, 0755, 0644, "/system/media/audio/alarms");

set_perm_recursive(0, 0, 0755, 0644, "/system/fonts");

set_perm_recursive(0, 0, 0755, 0644, "/system/app");

set_perm_recursive(0, 0, 0755, 0644, "/system/priv-app");

set_perm(0, 0, 0644, "/system/media/bootanimation.zip");

set_perm(0, 0, 0644, "/system/etc/media_profiles.xml");

set_perm(0, 0, 0644, "/system/lib/libjni_mot_mosaic.so");

set_perm(0, 0, 0644, "/system/lib/libslowmotionconverter.so");

run_program("/sbin/busybox", "sleep", "5");

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

ui_print("...Script copied.");

ui_print("Setting permissions and executing script...");

set_perm(0, 0, 0755, "/tmp/tweakprop.sh");

set_perm(0, 0, 0755, "/tmp/tweak.prop");

set_perm(0, 0, 0777, "/system/build.prop");

run_program("/tmp/tweakprop.sh");

ui_print(".../tmp/tweakprop.sh executed.");

set_perm(0, 0, 0644, "/system/build.prop");

ui_print(".../system/build.prop made rw-r--r-- again.");

ui_print("Deleting script file...");

delete("/tmp/tweakprop.sh");

delete("/tmp/tweak.prop");

ui_print("deleting caches");

delete_recursive("/cache");

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

ui_print("Unmounting Files...");

run_program("/sbin/busybox", "umount", "/system");

run_program("/sbin/busybox", "umount", "/sdcard");

ui_print("ChanceIIWII");