HomeBot is a simple, open source Android app that lets you remap the home button long press on your Android device.
You can set different actions to the home button such as:
- Opening another app
- Opening a web page
- Toggling the flashlight
- Opening the recent apps screen
- Toggling brightness
The app doesn't need root access but has to be set as your Assistant app in Settings > Apps > Advanced > Default apps > Assist & voice input