[OnePlus 6 & 6T Cross Device Development] Pcsl:
Ok, thanks a lot!

It was just inteded for personal use and I even copied some descriptions from your script, I hope you don't mind. I case you find any useful info, here you have:

#Script to remove bloatware
#Some descriptions and info has been taken from this tool https://xdaforums.com/oneplus-6/development/tool-tomatot-debloater-basic-script-to-t3869427

ui_print("------------------------");
ui_print("|PuleOP v0.4 by Pcsl|");
ui_print("------------------------");
ui_print(" ");

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

#
ui_print("Removing apps and apps data");

delete_recursive("/data/data/app/net.oneplus.odm");	delete_recursive("/data/data/net.oneplus.odm");
delete_recursive("/system/system/app/AndroidPay");	delete_recursive("/data/data/com.google.android.apps.walletnfcrel");
delete_recursive("/system/system/app/ARCore_stub");	delete_recursive("/data/data/com.google.ar.core");
delete_recursive("/system/system/app/BasicDreams");	delete_recursive("/data/data/com.android.dreams.basic");
delete_recursive("/system/system/app/Calculator");	delete_recursive("/data/data/com.google.android.calculator");
delete_recursive("/system/system/app/CalendarGoogle");	delete_recursive("/data/data/com.google.android.calendar");
delete_recursive("/system/system/app/card");	delete_recursive("/data/data/com.oneplus.card");
delete_recursive("/system/system/app/Chrome");	delete_recursive("/data/data/com.android.chrome");
delete_recursive("/system/system/app/DMAgent");	delete_recursive("/data/data/com.google.android.apps.enterprise.dmagent");
delete_recursive("/system/system/app/Drive");	delete_recursive("/data/data/com.google.android.apps.docs");
delete_recursive("/system/system/app/Duo");	delete_recursive("/data/data/com.google.android.apps.tachyon");
delete_recursive("/system/system/app/Galaxy4");	delete_recursive("/data/data/com.android.galaxy4");
delete_recursive("/system/system/app/Gmail2");	delete_recursive("/data/data/com.google.android.gm");
delete_recursive("/system/system/app/GmailExchange");	delete_recursive("/data/data/com.google.android.gm.exchange");
delete_recursive("/system/system/app/GooglePay");	delete_recursive("/data/data/com.google.android.apps.walletnfcrel");
delete_recursive("/system/system/app/GooglePrintRecommendationService");	delete_recursive("/data/data/com.google.android.printservice.recommendation");
delete_recursive("/system/system/app/Hangouts");	delete_recursive("/data/data/com.google.android.talk");
delete_recursive("/system/system/app/HoloSpiralWallpaper");	delete_recursive("/data/data/com.android.wallpaper.holospiral");
delete_recursive("/system/system/app/LiveWallpapers");	delete_recursive("/data/data/com.android.wallpaper");
delete_recursive("/system/system/app/LiveWallpapersPicker");	delete_recursive("/data/data/com.android.wallpaper.livepicker");
delete_recursive("/system/system/app/Maps");	delete_recursive("/data/data/com.google.android.apps.maps");
delete_recursive("/system/system/app/Messenger");	delete_recursive("/data/data/com.google.android.apps.messaging");
delete_recursive("/system/system/app/Music2");	delete_recursive("/data/data/com.google.android.music");
delete_recursive("/system/system/app/NoiseField");	delete_recursive("/data/data/com.android.noisefield");
delete_recursive("/system/system/app/OnePlusWallpapers");	delete_recursive("/data/data/com.oneplus.wallpapers");
delete_recursive("/system/system/app/OpenWnn");	delete_recursive("/data/data/jp.co.omronsoft.openwnn");
delete_recursive("/system/system/app/OPPush");	delete_recursive("/data/data/net.oneplus.push");
delete_recursive("/system/system/app/OPSocialNetworkHub");	delete_recursive("/data/data/net.oneplus.opsocialnetworkhub");
delete_recursive("/system/system/app/OPWidget"); delete_recursive("/data/data/net.oneplus.widget");
delete_recursive("/system/system/app/PhaseBeam");	delete_recursive("/data/data/com.android.phasebeam");
delete_recursive("/system/system/app/Photos");	delete_recursive("/data/data/com.google.android.apps.photos");
delete_recursive("/system/system/app/PhotosOnline");	delete_recursive("/data/data/cn.oneplus.photos");
delete_recursive("/system/system/app/Protips");	delete_recursive("/data/data/com.android.protips");
delete_recursive("/system/system/app/RifonIconPack");	delete_recursive("/data/data/com.oneplus.iconpack.rifon");
delete_recursive("/system/system/app/SwiftKey");	delete_recursive("/data/data/com.touchtype.swiftkey");	delete_recursive("/system/system/app/SwiftKeyFactorySettings");	delete_recursive("/system/system/com.touchtype");
delete_recursive("/system/system/app/SwiftKeyFactorySettings");	delete_recursive("/data/data/com.swiftkey.swiftkeyconfigurator");
delete_recursive("/system/system/app/talkback");	delete_recursive("/data/data/com.google.android.marvin.talkback");
delete_recursive("/system/system/app/Videos");	delete_recursive("/data/data/com.google.android.videos");
delete_recursive("/system/system/app/WifiRfTestApk");	delete("/system/system/bin/WifiLogger_app"); delete_recursive("/data/data/com.example.wifirftest");
delete_recursive("/system/system/app/YouTube");	delete_recursive("/data/data/com.google.android.youtube");
delete_recursive("/system/system/priv-app/DocumentsUI");	delete_recursive("/data/data/com.android.documentsui");
delete_recursive("/system/system/priv-app/DownloadProviderUi");	delete_recursive("/data/data/com.android.providers.downloads.ui");
delete_recursive("/system/system/priv-app/GoogleFeedback");	delete_recursive("/data/data/com.google.android.feedback");
delete_recursive("/system/system/priv-app/OPLauncher2");	delete_recursive("/data/data/net.oneplus.launcher");
delete_recursive("/system/system/priv-app/OPMms");	delete_recursive("/data/data/com.android.mms");
delete_recursive("/system/system/reserve/OPFilemanager");	delete_recursive("/data/data/com.oneplus.filemanager");
delete_recursive("/system/system/reserve/OPForum");	delete_recursive("/data/data/net.oneplus.forums");
delete_recursive("/system/system/reserve/OPIconpackCircle");	delete_recursive("/data/data/com.oneplus.iconpack.circle");
delete_recursive("/system/system/reserve/OPIconpackH2Default");	delete_recursive("/data/data/com.oneplus.iconpack.h2default");
delete_recursive("/system/system/reserve/OPIconpackH2Folio");	delete_recursive("/data/data/com.oneplus.iconpack.h2folio");
delete_recursive("/system/system/reserve/OPIconpackH2Light");	delete_recursive("/data/data/com.oneplus.iconpack.h2light");
delete_recursive("/system/system/reserve/OPIconpackOnePlus");	delete_recursive("/data/data/com.oneplus.iconpack.oneplus");
delete_recursive("/system/system/reserve/OPIconpackSquare");	delete_recursive("/data/data/com.oneplus.iconpack.square");
delete_recursive("/system/system/reserve/OPNote");	delete_recursive("/data/data/com.oneplus.note");
delete_recursive("/system/system/reserve/SoundRecorder");	delete_recursive("/data/data/com.oneplus.soundrecorder");
delete_recursive("/system/system/reserve/Weather");	delete_recursive("/data/data/net.oneplus.weather");
delete_recursive("/system/system/reserve/YuloreFramework"); delete_recursive("/data/data/com.yulore.framework");

#Optional apps, some may be required
ui_print("...");
ui_print("Removing optional apps (if their lines are uncommented)");
#delete_recursive("/system/system/app/AutoRegistration");	delete_recursive("/data/data/com.qualcomm.qti.autoregistration"); #Related with Qualcomm. Not so much info. Still not tested
#delete_recursive("/system/system/app/BlockedNumberProvider");	delete_recursive("/data/data/com.android.providers.blockednumber");
#delete_recursive("/system/system/app/BookmarkProvider");	delete_recursive("/data/data/com.android.bookmarkprovider");
#delete_recursive("/system/system/app/FaceLock");	delete_recursive("/data/data/com.android.facelock");
#delete_recursive("/system/system/app/KeyChain");	delete_recursive("/data/data/com.android.keychain"); #Related with keys and companies
#delete_recursive("/system/system/app/NxpNfcNci"); delete_recursive("/data/data/com.android.nfc");
#delete_recursive("/system/system/app/NxpSecureElement"); delete_recursive("/data/data/com.android.se");
#delete_recursive("/system/system/app/PrintSpooler");	delete_recursive("/data/data/com.android.printspooler"); #Breaks Bluetooth
#delete_recursive("/system/system/app/OPBackup");	delete_recursive("/data/data/com.oneplus.opbackup"); #Could be needed to make updates work. To be confirmed
#delete_recursive("/system/system/app/OPBugReportLite");	delete_recursive("/data/data/com.oneplus.opbugreportlite");
#delete_recursive("/system/system/app/OPSafe");	delete_recursive("/data/data/com.oneplus.security"); #No info
#delete_recursive("/system/system/app/OPSesAuthentication");	delete_recursive("/data/data/com.oneplus.ses"); #No info
#delete_recursive("/system/system/app/OpSkin");	delete_recursive("/data/data/com.oneplus.skin");
#delete_recursive("/system/system/app/PartnerBookmarksProvider");	delete_recursive("/data/data/com.android.providers.partnerbookmarks"); #This class exists only for compatibility reasons to prevent apps querying it from getting null cursors they do not expect and crash
#delete_recursive("/system/system/app/RfToolkit");	#Probably safe to remove
#delete_recursive("/system/system/app/Stk");	delete_recursive("/data/data/com.android.stk"); #Simcard toolkit, safe to remove if you don't use it
#delete_recursive("/system/system/app/TimeService");	delete_recursive("/data/data/com.qualcomm.timeservice");
#delete_recursive("/system/system/app/uimlpaservice");	delete_recursive("/data/data/com.qualcomm.qti.lpa"); #No info
#delete_recursive("/system/system/app/WebViewStub");	delete_recursive("/data/data/com.google.android.webview"); #Could cause problems with Webview even if you install new versions or Chrome
#delete_recursive("/system/system/priv-app/BackupRestoreConfirmation");	delete_recursive("/data/data/com.android.backupconfirm"); #Google Service. Confirm with the user that a requested full backup/restore operation is legitimate.
#delete_recursive("/system/system/priv-app/CallLogBackup");	delete_recursive("/data/data/com.android.calllogbackup");
#delete_recursive("/system/system/priv-app/Contacts");	delete_recursive("/data/data/com.android.contacts");
#delete_recursive("/system/system/priv-app/EmergencyInfo");	delete_recursive("/data/data/com.android.emergency"); #Could break camera open with double tap
#delete_recursive("/system/system/priv-app/GoogleBackupTransport");	delete_recursive("/data/data/com.google.android.backuptransport"); #No info
#delete_recursive("/system/system/priv-app/GoogleRestore");	delete_recursive("/data/data/com.google.android.apps.restore"); #Google service to restore apps
#delete_recursive("/system/system/priv-app/OnePlusGallery");	delete_recursive("/data/data/com.google.android.printservice.recommendation");
#delete_recursive("/system/system/priv-app/OPAod");	delete_recursive("/data/data/com.oneplus.aod"); #Removing Always-on-Display
#delete_recursive("/system/system/priv-app/OPAppLocker");	delete_recursive("/data/data/com.oneplus.applocker"); #Lock OnePlus UI
#delete_recursive("/system/system/priv-app/seccamservice");	#No info nor package name
#delete_recursive("/system/system/priv-app/SharedStorageBackup");	delete_recursive("/data/data/com.android.sharedstoragebackup"); #Service that the Backup Manager Services delegates OBB backup/restore operations to because those require accessing external storage.
#delete_recursive("/system/system/priv-app/Tag"); delete_recursive("/data/data/com.android.apps.tag");
#delete_recursive("/system/system/system/priv-app/HotwordEnrollmentOKGoogleWCD9340");	delete_recursive("/data/data/com.android.hotwordenrollment.okgoogle"); #makes OK Google work.
#delete_recursive("/system/system/system/priv-app/HotwordEnrollmentXGoogleWCD9340");	delete_recursive("/data/data/com.android.hotwordenrollment.xgoogle");
#delete_recursive("/system/vendor/etc/apps");	delete_recursive("/vendor/etc/apps");
delete_recursive("/system/system/app/Account");	delete_recursive("/data/data/com.oneplus.account");
delete_recursive("/system/system/app/AntHalService"); delete_recursive("/data/data/com.dsi.ant.server"); #Fitness radiofrecuencia
delete_recursive("/system/system/app/BackupRestoreRemoteService");	delete_recursive("/data/data/com.oneplus.backuprestore.remoteservice"); #Looks like a OP service to restore data with Oneplus Switch
delete_recursive("/system/system/app/BluetoothMidiService");	delete_recursive("/data/data/com.android.bluetoothmidiservice"); #Compatibility with Bluetooth Midi services
delete_recursive("/system/system/app/BTtestmode");	delete_recursive("/data/data/com.oppo.bttestmode");
delete_recursive("/system/system/app/BuiltInPrintService");	delete_recursive("/data/data/com.android.bips"); #Printing service
delete_recursive("/system/system/app/BuiltInPrintService"); delete_recursive("/data/data/com.android.bips"); #App for printers which support the Internet Printing Protocol (IPP)
delete_recursive("/system/system/app/datastatusnotification");	delete_recursive("/data/data/com.qti.qualcomm.datastatusnotification"); #Related with Qualcomm
delete_recursive("/system/system/app/DeskClock");	delete_recursive("/data/data/com.android.deskclock");	delete_recursive("/data/data/com.oneplus.deskclock");
delete_recursive("/system/system/app/DivesIconPack");	delete_recursive("/data/data/com.oneplus.iconpack.dives");
delete_recursive("/system/system/app/EasterEgg");	delete_recursive("/data/data/com.android.egg");
delete_recursive("/system/system/app/EngineeringMode"); delete_recursive("/data/data/com.oneplus.factorymode");
delete_recursive("/system/system/app/EngSpecialTest");	delete_recursive("/data/data/com.android.engineeringmode.specialtest");
delete_recursive("/system/system/app/GoogleTTS");	delete_recursive("/data/data/com.google.android.tts");
delete_recursive("/system/system/app/HTMLViewer");	delete_recursive("/data/data/com.android.htmlviewer");
delete_recursive("/system/system/app/ims");	delete_recursive("/data/data/org.codeaurora.ims"); #No info but probably related with IoT
delete_recursive("/system/system/app/LatinImeDictionaryPack");	delete_recursive("/data/data/com.google.android.inputmethod.latin.dictionarypack");
delete_recursive("/system/system/app/LatinImeGoogle");	delete_recursive("/data/data/com.google.android.inputmethod.latin");
delete_recursive("/system/system/app/Launcher3");	delete_recursive("/data/data/com.android.launcher3");
delete_recursive("/system/system/app/LauncherLayout");	delete_recursive("/data/data/com.google.android.launcher.layouts.oneplus");
delete_recursive("/system/system/app/LogKitSdService"); delete_recursive("/data/data/com.oem.logkitsdservice");
delete_recursive("/system/system/app/Music");	delete_recursive("/data/data/net.oneplus.music");
delete_recursive("/system/system/app/NFCTestMode");	delete_recursive("/data/data/com.oem.nfc");
delete_recursive("/system/system/app/NVBackupUI");	delete_recursive("/data/data/cn.oneplus.nvbackup");
delete_recursive("/system/system/app/oem_tcma");	delete_recursive("/data/data/cn.oneplus.oem_tcma"); #Tiered contention multiple access (TCMA): a method for priority-based shared channel access. Probablemente poco util
delete_recursive("/system/system/app/OemAutoTestServer");	delete_recursive("/data/data/com.oem.autotest");
delete_recursive("/system/system/app/OEMLogKit");	delete_recursive("/data/data/com.oem.oemlogkit");	delete("/system/system/bin/oemlogkit");
delete_recursive("/system/system/app/OPBackupRestore");	delete_recursive("/data/data/com.oneplus.backuprestore"); #OnePlus Switch
delete_recursive("/system/system/app/OPBugReport");	delete_recursive("/data/data/com.oneplus.opbugreport");
delete_recursive("/system/system/app/OPBugReport_Complete");	delete_recursive("/data/data/com.oneplus.opbugreport");
delete_recursive("/system/system/app/OPBugReportLite");
delete_recursive("/system/system/app/OPLiveWallpaper");	delete_recursive("/data/data/com.oneplus.wallpaper");
delete_recursive("/system/system/app/OPMmsLocationFramework");	delete_recursive("/data/data/cn.oneplus.opmms"); #No info, looks important
delete_recursive("/system/system/app/OPWallpaperResources");	delete_recursive("/data/data/net.oneplus.wallpaperresources");
delete_recursive("/system/system/app/OPYellowpage");	delete_recursive("/data/data/OPYellowpage"); #com.recognize.number
delete_recursive("/system/system/app/PlayAutoInstallConfig");	#basically allows the OEM or the carrier to download application behind your back
delete_recursive("/system/system/app/QdcmFF");	delete_recursive("/data/data/com.qti.snapdragon.qdcm_ff"); #Some Qualcomm software to make the screen better. I don't think it's used on the OP6 and it would probably make colors less accurate.
delete_recursive("/system/system/app/RFTuner");	delete_recursive("/data/data/com.example.rftuner"); #No info
delete_recursive("/system/system/app/SecureSampleAuthService");	#No info y no presente en mi dispositivo
delete_recursive("/system/system/app/SeempService");	delete_recursive("/data/data/com.qualcomm.qti.seemp.service"); #Solution from Qualomm meant to possibly fight against Malware... Don't trust it.
delete_recursive("/system/system/app/SensorTestTool");	delete_recursive("/data/data/com.fingerprints.fingerprintsensortest"); #Probably just another testing app
delete_recursive("/system/system/app/SoterService");	delete_recursive("/data/data/com.tencent.soter.soterserver"); #Looks like payments related with fingerptint with Alipay and WeChat
delete_recursive("/system/system/app/uimremoteclient");	delete_recursive("/data/data/com.qualcomm.uimremoteclient"); #Qualcomm bull****
delete_recursive("/system/system/app/WallpaperBackup");	delete_recursive("/data/data/com.android.wallpaperbackup");
delete_recursive("/system/system/app/WapiCertManage");	delete_recursive("/data/data/com.wapi.wapicertmanage"); #WAPI (WLAN Authentication and Privacy Infrastructure) is the wireless local area network (WLAN) standard officially supported by the Chinese state government. No es un estandar internacional.
delete_recursive("/system/system/app/WifiRfTestApk");	delete_recursive("/data/data/com.example.wifirftest"); #Looks like a sample app
delete_recursive("/system/system/etc/usb_drivers.iso"); #delete cd drive when connecting as USB
delete_recursive("/system/system/media/themes/oneplus_1");	delete_recursive("/system/system/media/themes/oneplus_2");	delete_recursive("/system/system/media/themes/oneplus_3");	delete_recursive("/system/system/media/themes/oneplus_4");	delete_recursive("/system/system/media/themes/oneplus_5");
delete_recursive("/system/system/media/themes/oneplus_11");	delete_recursive("/system/system/media/themes/oneplus_12");	delete_recursive("/system/system/media/themes/oneplus_13");	delete_recursive("/system/system/media/themes/oneplus_14");	delete_recursive("/system/system/media/themes/oneplus_15");
delete_recursive("/system/system/media/themes/oneplus_16");
delete_recursive("/system/system/media/themes/oneplus_6");	delete_recursive("/system/system/media/themes/oneplus_7");	delete_recursive("/system/system/media/themes/oneplus_8");	delete_recursive("/system/system/media/themes/oneplus_9");	delete_recursive("/system/system/media/themes/oneplus_10");
delete_recursive("/system/system/priv-app/CNEService");	delete_recursive("/data/data/com.quicinc.cne.CNEService"); #Redirects traffic from Wifi to 4G if 4G is faster
delete_recursive("/system/system/priv-app/DiracAudioControlService");	delete_recursive("/data/data/se.dirac.acs");
delete_recursive("/system/system/priv-app/ManagedProvisioning");	delete_recursive("/data/data/com.android.managedprovisioning"); #Work Profile Setup apk.
delete_recursive("/system/system/priv-app/MusicFX");	delete_recursive("/data/data/com.android.musicfx");
delete_recursive("/system/system/priv-app/OPCellBroadcastReceiver");	delete_recursive("/data/data/com.android.cellbroadcastreceiver"); #Emergency notifications for some countries
delete_recursive("/system/system/priv-app/OPDeviceManager");	delete_recursive("/data/data/net.oneplus.odm"); #Access for OnePlus, could lead to privacy issues
delete_recursive("/system/system/priv-app/OPDeviceManagerProvider");	delete_recursive("/data/data/net.oneplus.odm.provider"); #Access for OnePlus, could lead to privacy issues
delete_recursive("/system/system/priv-app/Turbo"); #No info ni nombre de paquete. Device health services dicen algunos
delete_recursive("/system/system/priv-app/Velvet");	delete_recursive("/data/data/com.google.android.googlequicksearchbox");
delete_recursive("/system/system/system/app/DiracManager"); delete_recursive("/data/data/com.oneplus.dirac.simplemanager");
delete_recursive("/system/system/system/app/OPCommonLogTool"); delete_recursive("/data/data/net.oneplus.commonlogtool");

#System files
delete("/system/system/bin/bugreport");	delete("/system/system/bin/bugreportz");
delete("/system/system/bin/fmfactorytest");
delete("/system/system/bin/fmfactorytestserver");
delete("/system/system/bin/OPDiagnoseservice");
delete("/system/system/bin/wigig_logcollector");	delete("/system/system/etc/wigig_logcollector.ini");	delete("/system/system/bin/wigig_remoteserver");
delete("/system/system/vendor/bin/WifiLogger_app");	delete("/vendor/bin/WifiLogger_app");

#Camera Sounds
delete("/system/system/media/audio/ui/camera_click.ogg");
delete("/system/system/media/audio/ui/camera_focus.ogg");
delete("/system/system/media/audio/ui/camera_shutter.ogg");
#delete("/system/system/media/audio/ui/Camera_Timer.ogg");
#delete("/system/system/media/audio/ui/Camera_Timer_2sec.ogg");
delete("/system/system/media/audio/ui/camera_shutter.ogg");
delete("/system/system/media/audio/ui/VideoRecord.ogg");
delete("/system/system/media/audio/ui/VideoStop.ogg");

#Remove after settings up the phone
#delete_recursive("/system/system/priv-app/GoogleOneTimeInitializer");
#delete_recursive("/system/system/priv-app/OnePlusWizard");
#delete_recursive("/system/system/priv-app/SetupWizard");

run_program("/sbin/busybox", "umount", "/data");
run_program("/sbin/busybox", "umount", "/system");
run_program("/sbin/busybox", "umount", "/vendor");
ui_print("Script finished running. Thank you for using it");

It's not clean code at all but I prefer it this way because I can activate, disable and comment about apps easily in every line. I hope you can get some info from here.