There might be a loose connection, or just a singular pin that is used for these functions. Try opening the phone, and then unplugging and replugging everything.
open