In this post at Android Central, the suggestion is:
- Open a root explorer, go to
/system/media/audio/ui
- Rename
PowerOn.ogg →
toPowerOn.ogg.disabled
,PowerOff.ogg →
toPowerOff.ogg.disabled
This requires root.
This seems promising, but in my HTC E9 phone (Android 5) these files don't exist :(