[OnePlus 6 Guides, News, & Discussion] DocRambone:
My hardcore script to clean up an OOS rom :)

delete_recursive("/system/system/app/Account");
delete_recursive("/system/system/app/AndroidPay");
delete_recursive("/system/system/app/AntHalService");
delete_recursive("/system/system/app/BasicDreams");
delete_recursive("/system/system/app/BluetoothMidiService");
delete_recursive("/system/system/app/BookmarkProvider");
delete_recursive("/system/system/app/BTtestmode");
delete_recursive("/system/system/app/Bugle");
delete_recursive("/system/system/app/card");
delete_recursive("/system/system/app/CalendarGoogle");
delete_recursive("/system/system/app/CaptivePortalLogin");
#delete_recursive("/system/system/app/Chrome");
delete_recursive("/system/system/app/CtsShimPrebuilt");
delete_recursive("/system/system/app/DeskClock");
delete_recursive("/system/system/app/DivesIconPack");
delete_recursive("/system/system/app/DocumentsUI");
delete_recursive("/system/system/app/DMAgent");
delete_recursive("/system/system/app/Drive");
#delete_recursive("/system/system/app/EngineeringMode");
#delete_recursive("/system/system/app/EngSpecialTest");
delete_recursive("/system/system/app/EasterEgg");
delete_recursive("/system/system/app/FaceLock");
delete_recursive("/system/system/app/Galaxy4");
delete_recursive("/system/system/app/GooglePay");
delete_recursive("/system/system/app/Gmail2");
delete_recursive("/system/system/app/GmailExchange");
delete_recursive("/system/system/app/GoogleTTS");
delete_recursive("/system/system/app/GoogleContactsSyncAdapter");
#delete_recursive("/system/system/app/GmsSampleLayout");
delete_recursive("/system/system/app/GooglePrintRecommendationService");

#delete_recursive("/system/system/app/HTMLViewer");
delete_recursive("/system/system/app/Hangouts");
delete_recursive("/system/system/app/HoloSpiralWallpaper");
#delete_recursive("/system/system/app/LiveWallpapers");
#delete_recursive("/system/system/app/LiveWallpapersPicker");
delete_recursive("/system/system/app/LogKitSdService");
delete_recursive("/system/system/app/LatinImeGoogle");
delete_recursive("/system/system/app/Maps");
delete_recursive("/system/system/app/Music");
delete_recursive("/system/system/app/Music2");
delete_recursive("/system/system/app/NoiseField");
#delete_recursive("/system/system/app/NfcNci");
#delete_recursive("/system/system/app/NFCTestMode");
delete_recursive("/system/system/app/NVBackupUI");
delete_recursive("/system/system/app/OemAutoTestServer");
delete_recursive("/system/system/app/OPBackup");
delete_recursive("/system/system/app/OPBackupRestore");
delete_recursive("/system/system/app/OEMLogKit");
delete_recursive("/system/system/app/OPBugReportLite");
delete_recursive("/system/system/app/OPMusic");
delete_recursive("/system/system/app/OPLauncher2");
delete_recursive("/system/system/app/OPSocialNetworkHub");
delete_recursive("/system/system/app/OPWallpaperResources");
delete_recursive("/system/system/app/OPWidget");
#delete_recursive("/system/system/app/OPOnlineConfig");
#delete_recursive("/system/system/app/OPPush");
#delete_recursive("/system/system/app/OpenWnn");
delete_recursive("/system/system/app/OnePlusWizard");
delete_recursive("/system/system/app/SetupWizard");
delete_recursive("/system/system/app/com.quicinc.wbcserviceapp");

delete_recursive("/system/system/app/PartnerBookmarksProvider");
delete_recursive("/system/system/app/PhaseBeam");
delete_recursive("/system/system/app/Photos");
delete_recursive("/system/system/app/PhotosOnline");
delete_recursive("/system/system/app/Protips");
#delete_recursive("/system/system/app/PrintSpooler");
#delete_recursive("/system/system/app/RifonIconPack");
delete_recursive("/system/system/app/SensorTestTool");
delete_recursive("/system/system/app/SwiftKey");
delete_recursive("/system/system/app/SwiftKeyFactorySettings");

delete_recursive("/system/system/app/talkback");
delete_recursive("/system/system/app/Videos");
delete_recursive("/system/system/app/YouTube");
delete_recursive("/system/system/app/Weather");
delete_recursive("/system/system/app/VoicePrintService");
delete_recursive("/system/system/app/WifiRfTestApk");
delete_recursive("/system/system/com.touchtype");
delete_recursive("/system/system/app/SoundRecorder");
#delete_recursive("/system/system/app/CtsShimPrebuilt");
delete_recursive("/system/system/app/Duo");
#delete_recursive("/system/system/app/WfdService");
#delete_recursive("/system/system/app/LiveWallpapersPicker");
delete_recursive("/system/system/app/OPLauncher");
delete_recursive("/system/system/app/OPWallpapers");

delete_recursive("/system/system/vendor/app/Perfdump");
delete_recursive("/system/system/etc/usb_drivers.iso");
delete_recursive("/system/system/vendor/pittpatt");
#delete_recursive("/system/system/usr/srec");
delete_recursive("/system/system/media/bootanimation.zip");

delete_recursive("/system/system/reserve");

delete_recursive("/system/system/etc/wigig_logcollector.ini");
delete_recursive("/system/system/bin/wigig_remoteserver");
delete_recursive("/system/system/vendor/bin/WifiLogger_app");

delete_recursive("/system/system/priv-app/MusicFX");
delete_recursive("/system/system/priv-app/Tag");
delete_recursive("/system/system/priv-app/Velvet");

delete_recursive("/system/system/priv-app/GmsCore");
delete_recursive("/system/system/priv-app/GoogleBackupTransport");
delete_recursive("/system/system/priv-app/GoogleFeedback");
delete_recursive("/system/system/priv-app/GoogleLoginService");
delete_recursive("/system/system/priv-app/GoogleOneTimeInitializer");
delete_recursive("/system/system/priv-app/GooglePartnerSetup");
delete_recursive("/system/system/priv-app/GoogleServicesFramework");
delete_recursive("/system/system/priv-app/Phonesky");

#delete_recursive("/system/system/priv-app/OPDeviceManager");
#delete_recursive("/system/system/priv-app/OPDeviceManagerProvider");
#delete_recursive("/system/system/priv-app/OPCellBroadcastReceiver");
#delete_recursive("/system/system/priv-app/CtsShimPrivPrebuilt");
#delete_recursive("/system/system/priv-app/OnePlusGallery");

delete_recursive("/system/system/app/Books");
delete_recursive("/system/system/app/CalculatorGoogle");
delete_recursive("/system/system/app/CalendarGooglePrebuilt");
delete_recursive("/system/system/app/CloudPrint2");
delete_recursive("/system/system/app/EditorsDocs");
delete_recursive("/system/system/app/EditorsSheets");
delete_recursive("/system/system/app/EditorsSlides");
delete_recursive("/system/system/app/FaceLock");
delete_recursive("/system/system/app/FitnessPrebuilt");
delete_recursive("/system/system/app/GoogleCalendarSyncAdapter");
delete_recursive("/system/system/app/GoogleCamera");
delete_recursive("/system/system/app/GoogleCamera");
delete_recursive("/system/system/app/GoogleContactsSyncAdapter");
delete_recursive("/system/system/app/GoogleEars");
delete_recursive("/system/system/app/GoogleEarth");
delete_recursive("/system/system/app/GoogleHindiIME");
delete_recursive("/system/system/app/GoogleHome");
delete_recursive("/system/system/app/GoogleJapaneseInput");
delete_recursive("/system/system/app/GooglePinyinIME");
delete_recursive("/system/system/app/GoogleTTS");
delete_recursive("/system/system/app/GoogleZhuyinIME");
delete_recursive("/system/system/app/Hangouts");
delete_recursive("/system/system/app/KoreanIME");
delete_recursive("/system/system/app/Newsstand");
delete_recursive("/system/system/app/PlayGames");
delete_recursive("/system/system/app/PlusOne");
delete_recursive("/system/system/app/PrebuiltBugle");
delete_recursive("/system/system/app/PrebuiltDeskClockGoogle");
delete_recursive("/system/system/app/PrebuiltExchange3Google");
delete_recursive("/system/system/app/PrebuiltGmail");
delete_recursive("/system/system/app/PrebuiltKeep");
delete_recursive("/system/system/app/PrebuiltNewsWeather");
delete_recursive("/system/system/app/Street");
delete_recursive("/system/system/app/TranslatePrebuilt");
delete_recursive("/system/system/app/Tycho");
delete_recursive("/system/system/app/Videos");
delete_recursive("/system/system/app/Wallet");

#delete_recursive("/system/system/priv-app/ConfigUpdater");
delete_recursive("/system/system/priv-app/GCS");
delete_recursive("/system/system/priv-app/GoogleBackupTransport");
delete_recursive("/system/system/priv-app/GoogleContacts");
delete_recursive("/system/system/priv-app/GoogleDialer");
delete_recursive("/system/system/priv-app/GoogleFeedback");
delete_recursive("/system/system/priv-app/GoogleLoginService");
delete_recursive("/system/system/priv-app/GoogleOneTimeInitializer");
delete_recursive("/system/system/priv-app/GooglePartnerSetup");
delete_recursive("/system/system/priv-app/GoogleServicesFramework");
delete_recursive("/system/system/priv-app/HotwordEnrollment");
delete_recursive("/system/system/priv-app/Phonesky");
delete_recursive("/system/system/priv-app/PrebuiltGmsCore");
delete_recursive("/system/system/priv-app/TagGoogle");

delete_recursive("/system/system/priv-app/HotwordEnrollmentOKGoogleWCD9340");
delete_recursive("/system/system/priv-app/HotwordEnrollmentXGoogleWCD9340");
delete_recursive("/system/system/priv-app/SetupWizard");
delete_recursive("/system/system/priv-app/OnePlusWizard");
delete_recursive("/system/system/priv-app/DocumentsUI");