[Motorola Edge 40 Pro  / Moto X40 (China)] mxz55:
I spent the last couple hours researching to put together this debloating list. This list is only guaranteed to be complete (make use of all debloating opportunities) for the Motorola Edge 40 Pro which is EU version, im not sure if Chinese version, Moto X40 or US/Canada version, Edge+ (2023) have any additional packages on top of this, or as replacement for some of this. Anyone that has input on that can reply it, and i will check it to be added to OP.

So, here are the debloating instructions:

adb shell

rtwo:/ # >> type "su" if you are rooted (may reach more protected packages, not neccesary)

rtwo:/ # >> Copy-paste this all at once and press Enter:

pm uninstall --user 0 com.motorola.moto
pm uninstall --user 0 com.motorola.motocare
pm uninstall --user 0 com.motorola.personalize
pm uninstall --user 0 com.motorola.aiservices
pm uninstall --user 0 com.motorola.sprint.setupext
pm uninstall --user 0 com.dish.wireless.activation
pm uninstall --user 0 com.motorola.paks
pm uninstall --user 0 com.motorola.paks.notification
pm uninstall --user 0 com.motorola.wifi.motowifimetrics
pm uninstall --user 0 com.qualcomm.qti.cne
pm uninstall --user 0 com.motorola.dynamicvolume
pm uninstall --user 0 com.motorola.screenshoteditor
pm uninstall --user 0 com.android.companiondevicemanager
pm uninstall --user 0 com.android.phone.overlay.motcommon
pm uninstall --user 0 com.facebook.appmanager
pm uninstall --user 0 com.motorola.livewallpaper3.prebuilt.sunlit_smile
pm uninstall --user 0 com.google.android.printservice.recommendation
pm uninstall --user 0 com.google.android.captiveportallogin
pm uninstall --user 0 com.motorola.ccc.devicemanagement
pm uninstall --user 0 com.motorola.android.launcher.overlay.retail
pm uninstall --user 0 com.motorola.launcherconfig.overlay.retus
pm uninstall --user 0 com.motorola.actions.overlay
pm uninstall --user 0 com.motorola.gesture
pm uninstall --user 0 com.google.android.apps.googleassistant
pm uninstall --user 0 com.android.dreams.phototable
pm uninstall --user 0 com.google.android.ondevicepersonalization.services
pm uninstall --user 0 com.motorola.setup.overlay.amx
pm uninstall --user 0 com.motorola.android.launcher.overlay.amx
pm uninstall --user 0 com.motorola.android.networkstack.tethering.overlay.motCommon
pm uninstall --user 0 com.dolby.daxservice
pm uninstall --user 0 com.motorola.dolby.dolbyui
pm uninstall --user 0 com.motorola.ccc.mainplm
pm uninstall --user 0 com.motorola.android.providers.chromehomepage
pm uninstall --user 0 com.motorola.launcherconfig.overlay.retru
pm uninstall --user 0 com.motorola.msimsettings
pm uninstall --user 0 com.motorola.ccc.notification
pm uninstall --user 0 com.motorola.help
pm uninstall --user 0 com.motorola.android.coresettingsext.overlay.doubletap
pm uninstall --user 0 com.motorola.android.coresettingsext.overlay.rtwo
pm uninstall --user 0 com.motorola.entitlement
pm uninstall --user 0 com.motorola.motolights
pm uninstall --user 0 com.motorola.timeweatherwidget
pm uninstall --user 0 com.motorola.launcherconfig.overlay.cc
pm uninstall --user 0 com.motorola.android.settings.overlay.fps.display
pm uninstall --user 0 com.motorola.carriersettingsext
pm uninstall --user 0 com.motorola.att.phone.extensions
pm uninstall --user 0 com.google.android.hotspot2.osulogin
pm uninstall --user 0 com.google.android.apps.tachyon
pm uninstall --user 0 com.spectrum.cm.headless
pm uninstall --user 0 com.motorola.safetycenter.resources.overlay
pm uninstall --user 0 com.motorola.settings
pm uninstall --user 0 com.motorola.omadm.service
pm uninstall --user 0 com.qualcomm.qti.xrcb
pm uninstall --user 0 com.motorola.hiddenmenuapp
pm uninstall --user 0 com.motorola.android.systemui.overlay.sprint
pm uninstall --user 0 com.motorola.android.overlay.common
pm uninstall --user 0 com.motorola.bug2go
pm uninstall --user 0 com.aura.oobe.motorola
pm uninstall --user 0 com.motorola.comcast.settings.extensions
pm uninstall --user 0 com.motorola.android.launcher.overlay.koodo
pm uninstall --user 0 com.motorola.systemserver
pm uninstall --user 0 com.motorola.android.server.telecom.overlay.gms.boost
pm uninstall --user 0 com.motorola.genie
pm uninstall --user 0 com.motorola.motosignature.app
pm uninstall --user 0 com.android.egg
pm uninstall --user 0 com.motorola.appforecast
pm uninstall --user 0 com.motorola.android.overlay.livewallpapers.alloy_drift
pm uninstall --user 0 com.google.android.apps.youtube.music
pm uninstall --user 0 com.google.android.apps.youtube.music.setupwizard
pm uninstall --user 0 com.google.android.apps.wellbeing
pm uninstall --user 0 com.google.ar.core
pm uninstall --user 0 com.google.android.apps.turbo
pm uninstall --user 0 com.google.android.gms.supervision
pm uninstall --user 0 com.google.android.apps.scone
pm uninstall --user 0 com.google.android.youtube
pm uninstall --user 0 com.android.chrome
pm uninstall --user 0 com.android.hotwordenrollment.okgoogle
pm uninstall --user 0 com.android.hotwordenrollment.xgoogle
pm uninstall --user 0 com.motorola.android.fmradio
pm uninstall --user 0 com.thundercomm.ar.core
pm uninstall --user 0 com.google.android.projection.gearhead
pm uninstall --user 0 com.motorola.launcherconfig.overlay.amxcl
pm uninstall --user 0 com.motorola.rcsConfigService
pm uninstall --user 0 com.motorola.launcherconfig.overlay.amxco
pm uninstall --user 0 com.motorola.android.systemui.overlay.usc
pm uninstall --user 0 com.verizon.loginengine.unbranded
pm uninstall --user 0 com.motorola.livewallpaper3
pm uninstall --user 0 com.motorola.gamemode
pm uninstall --user 0 com.motorola.systemui.desk
pm uninstall --user 0 com.motorola.slpc_sys
pm uninstall --user 0 com.motorola.motodisplay
pm uninstall --user 0 com.motorola.actions
pm uninstall --user 0 com.motorola.launcherconfig
pm uninstall --user 0 com.motorola.android.launcher.overlay.applabeltwolines
pm uninstall --user 0 com.motorola.discovery
pm uninstall --user 0 com.motorola.launcherconfig.overlay.boost
pm uninstall --user 0 com.motorola.android.overlay.rtwo.na
pm uninstall --user 0 com.motorola.setup
pm uninstall --user 0 com.motorola.nfwlocationattribution
pm uninstall --user 0 com.motorola.android.launcher.overlay.amx
pm uninstall --user 0 com.motorola.mototour
pm uninstall --user 0 com.motorola.livewallpaper3.prebuilt.alloy_drift
pm uninstall --user 0 com.motorola.android.systemui.overlay.tmo
pm uninstall --user 0 com.motorola.bach.modemstats
pm uninstall --user 0 com.motorola.revoker.services
pm uninstall --user 0 com.motorola.spaces
pm uninstall --user 0 com.motorola.enterprise.service
pm uninstall --user 0 com.motorola.spectrum.setup.extensions
pm uninstall --user 0 com.motorola.callredirectionservice
pm uninstall --user 0 com.motorola.omadm.dish
pm uninstall --user 0 com.motorola.android.launcher.overlay.telus
pm uninstall --user 0 com.motorola.msimsettings.overlay
pm uninstall --user 0 com.motorola.launcherconfig.overlay.amxla
pm uninstall --user 0 com.motorola.launcherconfig.overlay.retca
pm uninstall --user 0 com.motorola.launcherconfig.overlay.amxmx
pm uninstall --user 0 com.motorola.android.connectivity.resources.overlay
pm uninstall --user 0 com.motorola.android.systemui.overlay.att
pm uninstall --user 0 com.motorola.contacts.preloadcontacts
pm uninstall --user 0 com.motorola.contacts.preloadcontacts.overlay.vzw
pm uninstall --user 0 com.motorola.telprov
pm uninstall --user 0 com.motorola.android.provisioning
pm uninstall --user 0 com.motorola.omadm.vzw
pm uninstall --user 0 com.motorola.securityhub
pm uninstall --user 0 com.motorola.vzw.pco.extensions.pcoreceiver
pm uninstall --user 0 com.motorola.leanbacklauncher
pm uninstall --user 0 com.motorola.android.nativedropboxagent
pm uninstall --user 0 com.motorola.motcameradesktop
pm uninstall --user 0 android.autoinstalls.config.motorola.layout
pm uninstall --user 0 com.motorola.coresettingsext
pm uninstall --user 0 com.motorola.launcherconfig.overlay.amxpe
pm uninstall --user 0 com.motorola.carrierconfig
pm uninstall --user 0 com.motorola.android.overlay.wfd
pm uninstall --user 0 com.motorola.attvowifi
pm uninstall --user 0 com.motorola.setup.overlay.boost
pm uninstall --user 0 com.motorola.smart5g
pm uninstall --user 0 com.motorola.android.systemui.overlay.vzw
pm uninstall --user 0 com.motorola.launcherconfig.overlay.spectrum
pm uninstall --user 0 com.motorola.freeform
pm uninstall --user 0 com.motorola.enterprise.adapter.service
pm uninstall --user 0 com.motorola.demo
pm uninstall --user 0 com.motorola.setup.overlay.pai
pm uninstall --user 0 com.motorola.android.settings.overlay.global
pm uninstall --user 0 com.motorola.easyprefix
pm uninstall --user 0 com.motorola.brapps
pm uninstall --user 0 com.motorola.thermalservice
pm uninstall --user 0 com.motorola.android.networkstack.overlay.mcc460
pm uninstall --user 0 com.motorola.android.launcher.overlay.boost.apptray
pm uninstall --user 0 com.motorola.android.launcher.overlay.mvnos
pm uninstall --user 0 com.motorola.mobiledesktop.core
pm uninstall --user 0 com.motorola.imagertuning_V2
pm uninstall --user 0 com.motorola.faceunlock
pm uninstall --user 0 com.motorola.android.overlay.lpptoga
pm uninstall --user 0 com.motorola.android.overlay.crystaltalkai
pm uninstall --user 0 com.motorola.appdirectedsmsproxy
pm uninstall --user 0 com.motorola.dciservice
pm uninstall --user 0 com.motorola.motocit
pm uninstall --user 0 com.motorola.android.launcher.overlay.animation.scale
pm uninstall --user 0 com.motorola.motosignature2.app
pm uninstall --user 0 com.motorola.securevault
pm uninstall --user 0 com.motorola.android.settings.overlay.webcam
pm uninstall --user 0 com.motorola.help.extlog
pm uninstall --user 0 com.motorola.lifetimedata
pm uninstall --user 0 com.motorola.mobiledesktop
pm uninstall --user 0 com.motorola.android.overlay.wlc
pm uninstall --user 0 com.android.dreams.phototable

You can see this is "adb shell pm uninstall" but cut down for shell, that's to avoid having to paste each line individually as otherwise it would only process first and last

As you can see, Motorola did a good job at bloating this device.. even for a flagship like this, the performance gain post-debloat is extremely noticable. Now you are closer to AOSP and all core features keep working.