[Galaxy S III General] GR0S:
My newest developement

This will delete all rom releated confilicting stuff and will leave your apps and data

ui_print("");
ui_print("Dirty Installer");
ui_print("Cleaning up for dirty installiation");
ui_print("	General cleanup");
delete("/data/ISP_CV");
delete("/data/anr");
delete("/data/app-asec");
delete("/data/app-private");
delete("/data/backup");
delete("/data/baro.dat");
delete("/data/cfw");
delete("/data/dalvik-cache");
delete("/data/data");
delete("/data/dontpanic");
delete("/data/drm");
delete("/data/gg_address");
delete("/data/gldata.sto");
delete("/data/gps");
delete("/data/lbsdata-000.sto");
delete("/data/local");
delete("/data/log");
delete("/data/lost+found");
delete("/data/misc");
delete("/data/property");
delete("/data/radio");
delete("/data/resource-cache");
delete("/data/rngd.pid");
delete("/data/ssh");
delete("/data/st_gbias.dat");
delete("/data/system");
delete("/data/tombstones");
delete("/data/user");
delete("/data/xposed");
ui_print("	Cleaning /data/data");
#Auto generated
delete("/data/app/com.android.backupconfirm");
delete("/data/app/com.android.bluetooth");
delete("/data/app/com.android.calculator2");
delete("/data/app/com.android.calendar");
delete("/data/app/com.android.cellbroadcastreceiver");
delete("/data/app/com.android.certinstaller");
delete("/data/app/com.android.contacts");
delete("/data/app/com.android.defcontainer");
delete("/data/app/com.android.deskclock");
delete("/data/app/com.android.development");
delete("/data/app/com.android.dreams.basic");
delete("/data/app/com.android.dreams.phototable");
delete("/data/app/com.android.email");
delete("/data/app/com.android.exchange");
delete("/data/app/com.android.facelock");
delete("/data/app/com.android.galaxy4");
delete("/data/app/com.android.gallery3d");
delete("/data/app/com.android.htmlviewer");
delete("/data/app/com.android.inputdevices");
delete("/data/app/com.android.inputmethod.latin");
delete("/data/app/com.android.keychain");
delete("/data/app/com.android.lmt");
delete("/data/app/com.android.location.fused");
delete("/data/app/com.android.magicsmoke");
delete("/data/app/com.android.mms");
delete("/data/app/com.android.musicvis");
delete("/data/app/com.android.nfc");
delete("/data/app/com.android.noisefield");
delete("/data/app/com.android.packageinstaller");
delete("/data/app/com.android.phasebeam");
delete("/data/app/com.android.phone");
delete("/data/app/com.android.providers.applications");
delete("/data/app/com.android.providers.calendar");
delete("/data/app/com.android.providers.contacts");
delete("/data/app/com.android.providers.downloads");
delete("/data/app/com.android.providers.downloads.ui");
delete("/data/app/com.android.providers.drm");
delete("/data/app/com.android.providers.media");
delete("/data/app/com.android.providers.settings");
delete("/data/app/com.android.providers.telephony");
delete("/data/app/com.android.providers.userdictionary");
delete("/data/app/com.android.settings");
delete("/data/app/com.android.sharedstoragebackup");
delete("/data/app/com.android.smspush");
delete("/data/app/com.android.soundrecorder");
delete("/data/app/com.android.stk");
delete("/data/app/com.android.systemui");
delete("/data/app/com.android.vending");
delete("/data/app/com.android.videoeditor");
delete("/data/app/com.android.voicedialer");
delete("/data/app/com.android.vpndialogs");
delete("/data/app/com.android.wallpaper");
delete("/data/app/com.android.wallpaper.holospiral");
delete("/data/app/com.android.wallpaper.livepicker");
delete("/data/app/com.cyanogenmod.CMWallpapers");
delete("/data/app/com.cyanogenmod.filemanager");
delete("/data/app/com.cyanogenmod.lockclock");
delete("/data/app/com.cyanogenmod.samsungservicemode");
delete("/data/app/com.cyanogenmod.settings.device");
delete("/data/app/com.google.android.apps.genie.geniewidget");
delete("/data/app/com.google.android.apps.maps");
delete("/data/app/com.google.android.apps.plus");
delete("/data/app/com.google.android.apps.translate");
delete("/data/app/com.google.android.apps.uploader");
delete("/data/app/com.google.android.backup");
delete("/data/app/com.google.android.configupdater");
delete("/data/app/com.google.android.feedback");
delete("/data/app/com.google.android.gm");
delete("/data/app/com.google.android.gms");
delete("/data/app/com.google.android.googlequicksearchbox");
delete("/data/app/com.google.android.gsf");
delete("/data/app/com.google.android.gsf.login");
delete("/data/app/com.google.android.inputmethod.latin.dictionarypack");
delete("/data/app/com.google.android.location");
delete("/data/app/com.google.android.marvin.talkback");
delete("/data/app/com.google.android.onetimeinitializer");
delete("/data/app/com.google.android.partnersetup");
delete("/data/app/com.google.android.setupwizard");
delete("/data/app/com.google.android.street");
delete("/data/app/com.google.android.syncadapters.bookmarks");
delete("/data/app/com.google.android.syncadapters.calendar");
delete("/data/app/com.google.android.syncadapters.contacts");
delete("/data/app/com.google.android.talk");
delete("/data/app/com.google.android.tts");
delete("/data/app/com.google.android.voicesearch);
ui_print("	Cleaning /data/app-lib");
#Auto generated
delete("/data/app-lib/com.android.backupconfirm");
delete("/data/app-lib/com.android.bluetooth");
delete("/data/app-lib/com.android.calculator2");
delete("/data/app-lib/com.android.calendar");
delete("/data/app-lib/com.android.cellbroadcastreceiver");
delete("/data/app-lib/com.android.certinstaller");
delete("/data/app-lib/com.android.contacts");
delete("/data/app-lib/com.android.defcontainer");
delete("/data/app-lib/com.android.deskclock");
delete("/data/app-lib/com.android.development");
delete("/data/app-lib/com.android.dreams.basic");
delete("/data/app-lib/com.android.dreams.phototable");
delete("/data/app-lib/com.android.email");
delete("/data/app-lib/com.android.exchange");
delete("/data/app-lib/com.android.facelock");
delete("/data/app-lib/com.android.galaxy4");
delete("/data/app-lib/com.android.gallery3d");
delete("/data/app-lib/com.android.htmlviewer");
delete("/data/app-lib/com.android.inputdevices");
delete("/data/app-lib/com.android.inputmethod.latin");
delete("/data/app-lib/com.android.keychain");
delete("/data/app-lib/com.android.lmt");
delete("/data/app-lib/com.android.location.fused");
delete("/data/app-lib/com.android.magicsmoke");
delete("/data/app-lib/com.android.mms");
delete("/data/app-lib/com.android.musicvis");
delete("/data/app-lib/com.android.nfc");
delete("/data/app-lib/com.android.noisefield");
delete("/data/app-lib/com.android.packageinstaller");
delete("/data/app-lib/com.android.phasebeam");
delete("/data/app-lib/com.android.phone");
delete("/data/app-lib/com.android.providers.app-liblications");
delete("/data/app-lib/com.android.providers.calendar");
delete("/data/app-lib/com.android.providers.contacts");
delete("/data/app-lib/com.android.providers.downloads");
delete("/data/app-lib/com.android.providers.downloads.ui");
delete("/data/app-lib/com.android.providers.drm");
delete("/data/app-lib/com.android.providers.media");
delete("/data/app-lib/com.android.providers.settings");
delete("/data/app-lib/com.android.providers.telephony");
delete("/data/app-lib/com.android.providers.userdictionary");
delete("/data/app-lib/com.android.settings");
delete("/data/app-lib/com.android.sharedstoragebackup");
delete("/data/app-lib/com.android.smspush");
delete("/data/app-lib/com.android.soundrecorder");
delete("/data/app-lib/com.android.stk");
delete("/data/app-lib/com.android.systemui");
delete("/data/app-lib/com.android.vending");
delete("/data/app-lib/com.android.videoeditor");
delete("/data/app-lib/com.android.voicedialer");
delete("/data/app-lib/com.android.vpndialogs");
delete("/data/app-lib/com.android.wallpaper");
delete("/data/app-lib/com.android.wallpaper.holospiral");
delete("/data/app-lib/com.android.wallpaper.livepicker");
delete("/data/app-lib/com.cyanogenmod.CMWallpapers");
delete("/data/app-lib/com.cyanogenmod.filemanager");
delete("/data/app-lib/com.cyanogenmod.lockclock");
delete("/data/app-lib/com.cyanogenmod.samsungservicemode");
delete("/data/app-lib/com.cyanogenmod.settings.device");
delete("/data/app-lib/com.google.android.app-libs.genie.geniewidget");
delete("/data/app-lib/com.google.android.app-libs.maps");
delete("/data/app-lib/com.google.android.app-libs.plus");
delete("/data/app-lib/com.google.android.app-libs.translate");
delete("/data/app-lib/com.google.android.app-libs.uploader");
delete("/data/app-lib/com.google.android.backup");
delete("/data/app-lib/com.google.android.configupdater");
delete("/data/app-lib/com.google.android.feedback");
delete("/data/app-lib/com.google.android.gm");
delete("/data/app-lib/com.google.android.gms");
delete("/data/app-lib/com.google.android.googlequicksearchbox");
delete("/data/app-lib/com.google.android.gsf");
delete("/data/app-lib/com.google.android.gsf.login");
delete("/data/app-lib/com.google.android.inputmethod.latin.dictionarypack");
delete("/data/app-lib/com.google.android.location");
delete("/data/app-lib/com.google.android.marvin.talkback");
delete("/data/app-lib/com.google.android.onetimeinitializer");
delete("/data/app-lib/com.google.android.partnersetup");
delete("/data/app-lib/com.google.android.setupwizard");
delete("/data/app-lib/com.google.android.street");
delete("/data/app-lib/com.google.android.syncadapters.bookmarks");
delete("/data/app-lib/com.google.android.syncadapters.calendar");
delete("/data/app-lib/com.google.android.syncadapters.contacts");
delete("/data/app-lib/com.google.android.talk");
delete("/data/app-lib/com.google.android.tts");
delete("/data/app-lib/com.google.android.voicesearch);