• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help Headset button priorities

jateed

Newbie
Hello everyone,

I just got the f3 this past weekend and proceeded to root it (using saferoot) and then installed the xposed framework and gravitybox. I used Gravitybox to make a few changes, but they were just to the statusbar and the volume rocker. I also deleted chrome, as it took up too much space. However, now I seem to have a problem with the single click headset button on my headphones.

I open my music app (playerpro), make sure 'headset override' is checked, but when I click the button, it goes straight to my phone app (or asks me to choose 'Phone' or 'Viber'.) I cannot get the headset button to play/pause or skip track w/double click. I have tried numerous headset controller apps and different music apps, but to no avail. These same headphones worked with my old phone running 4.0.3, but not this new one running 4.1.2.

After spending the last couple hours scouring the internet, I have come up empty. I'm pretty sure that this is an issue where the phone prioritizes the phone app above everything else, since I got the long press to work (kind of) by disable get the voice dialer. So, does anyone have any idea why this is happening and what I can do to fix it. I know it's not a huge issue, but it was a feature I used a lot. Thank you for your time.
 
Reflash the stock ROM, install the headset control app and see if it works. If not, it's a limitation of the phone. If it does, it's something that the rooting program you used did in addition to rooting the phone. (Most of them change some system files.) Also, some function in Chrome might be used for part of the headset button control. You can never tell what an app hooks without looking at the source code (and being able to read Java).
 
Reflash the stock ROM, install the headset control app and see if it works. If not, it's a limitation of the phone. If it does, it's something that the rooting program you used did in addition to rooting the phone. (Most of them change some system files.) Also, some function in Chrome might be used for part of the headset button control. You can never tell what an app hooks without looking at the source code (and being able to read Java).

Thank you. I used saferoot to root the phone, and I will run the unroot and try to flash the stock room today (there's no custom recovery, so I'll have to look into it).

I did reset to factory defaults yesterday (using button in settings), and it still didn't work. However, I don't think it was a clean reset, as some things didn't totally revert. I'll have to look into it. Thank you again for your suggestions.
 
I figured it out, and I want to leave my solution here in case anyone else has this issue. Since I had xposed installed, I installed xposed additions 2.3.8 and upgraded to pro v1.0.0. Then, I used the remap function to map the functions for the headset hook to my liking. Pro cost $4, but it was worth it. Thanks again to anyone who tried to help me.
 
Back
Top Bottom