On Android, you'll need to use a "Button Remapper" app. There's https://play.google.com/store/apps/details?id=flar2.homebutton - I haven't tried it but it claims to do what you want.