[Moto G General] lost101:
Anything not hashed is removed.

ui_print(">>> Moto G Debloat Script - LessMoto v005<<<");

ui_print(">>> Mounting /SYSTEM PARTITION... <<<");

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

ui_print(">>> Deleting Apps... <<<");

#****Motorola stock apps****

#delete("/system/app/3c_main.apk");

#delete("/system/app/3c_main.odex");

delete("/system/app/atfwd.apk");

delete("/system/app/atfwd.odex");

delete("/system/app/BasicDreams.apk");

delete("/system/app/BasicDreams.odex");

#delete("/system/app/AonIntLT.apk");

#delete("/system/app/AonIntLT.odex");

#delete("/system/app/Bug2GoStub.apk");

#delete("/system/app/Bug2GoStub.odex");

#delete("/system/app/com.motorola.android.nativedropboxagent.apk");

#delete("/system/app/com.motorola.android.nativedropboxagent.odex");

#delete("/system/app/com.motorola.android.settings.diag_mdlog.apk");

#delete("/system/app/com.motorola.android.settings.diag_mdlog.odex");

delete("/system/app/FMRadioService.apk");

delete("/system/app/FMRadioService.odex");

delete("/system/app/FMRecordService.apk");

delete("/system/app/FMRecordService.odex");

#delete("/system/app/Mesh.apk");

#delete("/system/app/Mesh.odex");

delete("/system/app/MediaUploader.apk");

#delete("/system/app/MotGeoFenceSvc.apk");

#delete("/system/app/MotGeoFenceSvc.odex");

#delete("/system/app/MotoSignatureApp.apk");

#delete("/system/app/PartnerBookmarkersProvider.apk");

#delete("/system/app/PartnerBookmarkersProvider.odex");

delete("/system/app/SmartActionFW.apk");

delete("/system/app/SmartActionFW.odex");

delete("/data/app/com.motorola.migrate-1.apk");

#delete("/system/priv-app/3c_checkin.apk");

#delete("/system/priv-app/3c_checkin.odex");

#delete("/system/priv-app/3c_devicemanagement.apk");

#delete("/system/priv-app/3c_devicemanagement.odex");

#delete("/system/priv-app/3c_notification.apk");

#delete("/system/priv-app/3c_notification.odex");

#delete("/system/priv-app/3c_ota.apk");

#delete("/system/priv-app/3c_ota.odex");

#delete("/system/priv-app/3c_sso.apk");

#delete("/system/priv-app/3c_sso.odex");

#delete("/system/priv-app/AonLT.apk");

#delete("/system/priv-app/AonLT.odex");

delete("/system/priv-app/AudioEffects.apk");

delete("/system/priv-app/AudioEffects.odex");

delete("/system/priv-app/BodyGuardApp.apk");

delete("/system/priv-app/BodyGuardApp.odex");

delete("/data/app/com.motorola.bodyguard-1.apk");

#delete("/system/priv-app/cce.apk");

#delete("/system/priv-app/cce.odex");

#delete("/system/priv-app/ContextEngineClient.apk");

#delete("/system/priv-app/ContextEngineClient.odex");

delete("/system/priv-app/DemoMode.apk");

delete("/system/priv-app/DemoMode.odex");

#delete("/system/priv-app/EmaraPhoneExtns.apk");

#delete("/system/priv-app/EmaraPhoneExtns.odex");

delete("/system/priv-app/FMPlayer.apk");

delete("/system/priv-app/FMPlayer.odex");

delete("/data/app/com.motorola.fmplayer-1.apk");

delete("/system/priv-app/fswriter.apk");

delete("/system/priv-app/fswriter.odex");

delete("/system/priv-app/GuideMe.apk");

delete("/system/priv-app/GuideMe.odex");

delete("/data/app/com.motorola.genie-1.apk");

delete("/system/priv-app/LMIRescueSecurity.apk");

#delete("/system/priv-app/Moodles.apk");

#delete("/system/priv-app/Moodles.odex");

#delete("/system/priv-app/MotAuthService.apk");

#delete("/system/priv-app/MotAuthService.odex");

#delete("/system/priv-app/MotCamera.apk");

#delete("/system/priv-app/MotCamera.odex");

#delete("/system/priv-app/MotGallery2.apk");

#delete("/system/priv-app/MotGallery2.odex");

delete("/system/priv-app/MotoAssist.apk");

delete("/system/priv-app/MotoAssist.odex");

delete("/data/app/com.motorola.contextual.smartrules2-1.apk");

delete("/system/priv-app/MotoCare.apk");

delete("/system/priv-app/MotoCare.odex");

delete("/system/priv-app/MotoCareInt.apk");

delete("/system/priv-app/MotoCareInt.odex");

#delete("/system/priv-app/MotoOneTimeInitializer.apk");

#delete("/system/priv-app/MotoOneTimeInitializer.odex");

#delete("/system/priv-app/MotorolaSettingsProvider.apk");

#delete("/system/priv-app/MotorolaSettingsProvider.odex");

delete("/data/data/com.motorola.setup");

#****Essential stock apps****

delete("/system/app/Exchange2.apk");

delete("/system/app/Exchange2.odex");

delete("/system/priv-app/Email.apk");

delete("/system/priv-app/Email.odex");

delete("/system/app/Email.apk");

delete("/system/app/Email.odex");

delete("/system/app/PrintSpooler.apk");

delete("/system/app/PrintSpooler.odex");

delete("/system/app/PhotoTable.apk");

delete("/system/app/PhotoTable.odex");

#****Google's Extra Keyboards****

delete("/system/app/GooglePinyinIme.apk");

delete("/system/lib/libjni_googlepinyinime_5.so");

delete("/system/lib/libjni_googlepinyinime_latinime_5.so");

delete("/system/lib/libpinyin_data_bundle.so");

#****Roms preloaded apps****

delete("/system/app/HoloSpiralWallpaper.apk");

delete("/system/app/HoloSpiralWallpaper.odex");

delete("/system/app/LiveWallpapers.apk");

delete("/system/app/LiveWallpapers.odex");

delete("/system/app/MagicSmokeWallpapers.apk");

delete("/system/app/MagicSmokeWallpapers.odex");

delete("/system/app/NoiseField.apk");

delete("/system/app/NoiseField.odex");

delete("/system/app/PhaseBeam.apk");

delete("/system/app/PhaseBeam.odex");

#****Google apps (downloadable through PlayStore)***

delete("/system/app/Books.apk");

delete("/system/app/Chrome.apk");

delete("/system/app/CloudPrint.apk");

delete("/system/app/Drive.apk");

delete("/system/app/Gmail.apk");

delete("/system/app/Gmail2.apk");

delete("/system/app/GMS_Maps.apk");

delete("/system/app/GoogleTTS.apk");

delete("/system/app/Hangouts.apk");

delete("/system/app/HPLegacyPlugin.apk");

delete("/data/app/com.google.android.talk-1.apk");

delete("/system/app/Magazines.apk");

delete("/system/app/Music2.apk");

delete("/system/app/PlayGames.apk");

delete("/data/app/com.google.android.play.games-1.apk");

delete("/system/app/PlusOne.apk");

delete("/system/app/Quickoffice.apk");

delete("/system/app/SoundRecorder.apk");

delete("/system/app/SoundRecorder.odex");

delete("/system/app/Street.apk");

delete("/system/app/Translate.apk");

delete("/system/priv-app/Velvet.apk");

delete("/system/app/Videos.apk");

delete("/system/app/YouTube.apk");

delete("/data/app/com.android.chrome-1.apk");

delete("/data/app/com.google.android.apps.books-1.apk");

delete("/data/app/com.google.android.apps.docs-1.apk");

delete("/data/app/com.google.android.apps.docs-2.apk");

delete("/data/app/com.google.android.apps.magazines-1.apk");

delete("/data/app/com.google.android.apps.maps-1.apk");

delete("/data/app/com.google.android.apps.plus-1.apk");

delete("/data/app/com.google.android.apps.translate-1.apk");

delete("/data/app/com.google.android.gm-1.apk");

delete("/data/app/com.google.android.music-1.apk");

delete("/data/app/com.google.android.tts-1.apk");

delete("/data/app/com.google.android.videos-1.apk");

delete("/data/app/com.google.android.youtube-1.apk");

#****Google's Accessibility****

delete("/system/app/talkback.apk");

delete("/data/app/com.google.android.marvin.talkback-1.apk");

#****Miscellaneous System Apps****

delete("/system/app/QualcommSettings.apk");

delete("/system/app/FaceLock.apk");

ui_print(">>> DELETING EXTRA MEDIA FILES... <<<");

delete_recursive("/system/etc/motorola/MotoDemo");

delete("/system/vendor/media/LMprec_508.emd");

delete("/system/vendor/media/PFFprec_600.emd");

#****Essential media files****

delete("/system/media/bootanimation.zip");

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

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

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

#delete_recursive("/system/media/audio/ui/");

ui_print(">>> Extracting System Files... <<<");

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

ui_print(">>> Unmounting /SYSTEM PARTITION... <<<");

unmount("/system");

ui_print(">>> FINISHED... <<<");