[HTC EVO 3D] dementio:
FINALLY, here's the completed script. It completely? removes Sense, the stock lockscreen (I use Hidden Lock), and a bunch of apps that I never use, and installs Titanium Backup Premium so I can restore everything else. The progress bar doesn't actually work, but it runs so quick I don't really care.

show_progress(0.1, 10);
ui_print(" ===============================================");
ui_print(" | Removing Sense |");
ui_print(" ===============================================");
mount("ext4", "EMMC", "/dev/block/mmcblk0p23", "/system");
delete("/system/app/com.htc.FMRRadioWidget.apk");
delete("/system/app/com.htc.FriendStream3DWidget.apk");
delete("/system/app/com.htc.htcmsgwidgets3d.apk");
delete("/system/app/com.htc.MusicWidget.apk");
delete("/system/app/com.htc.Sync3DWidget.apk");
delete("/system/app/com.htc.TrendsdWidget.apk");
delete("/system/app/com.htc.Twitter3DWidget.apk");
delete("/system/app/FusionStockWidget.apk");
delete("/system/app/GenieWidget.apk");
delete("/system/app/HtcAddProgramWidget.apk");
delete("/system/app/HtcAutoRotateWidget.apk");
delete("/system/app/HtcBackgroundDataWidget.apk");
delete("/system/app/htcbookmarkwidget3d.apk");
delete("/system/app/HtcCalculatorWidget.apk");
delete("/system/app/htccalendarwidget3d.apk");
delete("/system/app/HtcClock3DWidget.apk");
delete("/system/app/htccontactwidgets3D.apk");
delete("/system/app/HtcDataRoamingWidget.apk");
delete("/system/app/HtcDataStripWidget.apk");
delete("/system/app/HtcFootprintsWidget3d.apk");
delete("/system/app/HtcGreaderWidget.apk");
delete("/system/app/htcmailwidgets3d.apk");
delete("/system/app/HtcPhotoGridWidget3D.apk");
delete("/system/app/HtcPhotoWidget.apk");
delete("/system/app/HtcPowerStripWidget.apk");
delete("/system/app/HtcProfileWidget.apk");
delete("/system/app/HtcRingtoneWidget.apk");
delete("/system/app/HtcScreenBrightnessWidget.apk");
delete("/system/app/HtcScreenTimeoutWidget.apk");
delete("/system/app/htcsettingswidget.apk");
delete("/system/app/HtcWeather3DWidget.apk");
delete("/system/app/Rosie.apk");
delete("/system/app/Stock.apk");
ui_print(" ===============================================");
ui_print(" | Removing Sense Lockscreen |");
ui_print(" ===============================================");
delete("/system/app/com.htc.idlescreen_SN.apk");
delete("/system/app/HtcLockScreen.apk");
delete("/system/app/Idlescreen_Base.apk");
delete("/system/app/idlescreen_photo.apk");
delete("/system/app/idlescreen_shortcut.apk");
delete("/system/app/IdleScreen_Stock.apk");
delete("/system/app/IdleScreen_Weather.apk");
ui_print(" ===============================================");
ui_print(" | Removing Bloatware |");
ui_print(" ===============================================");
delete("/system/app/AppSharing.apk");
delete("/system/app/BlueSky.apk");
delete("/system/app/Burgundy.apk");
delete("/system/app/DockMode.apk");
delete("/system/app/Flickr.apk");
delete("/system/app/FriendStream.apk");
delete("/system/app/HtcCarPanel.apk");
delete("/system/app/HtcConnectedMedia.apk");
delete("/system/app/HtcFacebook.apk");
delete("/system/app/HtcFMRadio.apk");
delete("/system/app/HtcFootprints.apk");
delete("/system/app/HtcGreader.apk");
delete("/system/app/HTCLivewallpaperStreak.apk");
delete("/system/app/HtcRingtoneTrimmer.apk");
delete("/system/app/HtcTwitter.apk");
delete("/system/app/HtcWeatherWallpaper.apk");
delete("/system/app/MagicSmokeWallpapers.apk");
delete("/system/app/Maps.apk");
delete("/system/app/MyReportAgent.apk");
delete("/system/app/MyShelf_Widget.apk");
delete("/system/app/Protips.apk");
delete("/system/app/Swype.apk");
delete("/system/app/TaskManager.apk");
delete("/system/app/Twitter.apk");
delete("/system/app/vtt-sprint.apk");
delete("/system/app/WeatherAgentService.apk");
delete("/system/app/WeatherLiveWallpaper.apk");
delete("/system/app/WeatherProvider.apk");
delete("/system/app/WeatherSyncProvider.apk");
unmount("/system");
ui_print(" ===============================================");
ui_print(" | Installing Titanium Backup |");
ui_print(" ===============================================");
mount("ext3", "EMMC", "/dev/block/mmcblk0p26", "/data");
package_extract_dir("data", "/data");
unmount("/data");