How can I turn off vibration without going into silent mode on a rooted Nexus 5 with stock firmware?
Install Vibration Tuner Xposed module and set "global vibration strength" to 0%. 

Compatible with at least Android 5-7 (I don't personally own a device with Oreo installed).