Anyone out there using other than stock headset (like the samsung headsets) with Moto G3 may have noticed that the headset button launches Google Voice instead of playing or pausing the music like the stock headset did. Tried using different Headset Button Controller Apps but it didn't work.
So here in this guide I will show you how to use the headset button for playing the music. There already exists some threads for other devices that do the same, but have different key mappings unlike the Moto G3. My default Music player is Walkman and hopefully this will work for any music player.
REQUIREMENTS
* ROOTED DEVICE
* SINGLE BUTTON HEADSET
* KEY TEST APP ( Download here)
* ANY ROOT EXPLORER (ES FILE EXPLORER)
STEPS
1. Install Key Test App from the above link
2. Plug In the earphone and launch Key Test App
3. Press the headset button and it will show you the button map like this
Code:
keyCode=KEYCODE_VOICE_ASSIST,
scanCode=582, metaState=0, flags=0x8,
4. Now open ES File Explorer, (don't forget to enable Root Explorer feature in the app), grant root access if prompted
go to /device/system/usr/keylayout
5. We have to edit Generic.kl with ES Note Editor (backup this file to sd card, in case you mess up)
6. Open Generic.kl . Scroll to
Code:
key 582 VOICE_ASSIST
change it to
Code:
key 582 MEDIA_PLAY_PAUSE
7. Save the file and Reboot the phone. Done :good:
PREFACE
* Play/Pause (Single Press)
* Next Track (Double Press)
* Previous Track (Triple Press)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sory on my JBL T100A all things are working fine like one click song play and pause and on long press launch google now,,,
Tested in Samsung earphone also,,,
Moto g 3 stock android 6.0.1
Well
subins mani said:
Sory on my JBL T100A all things are working fine like one click song play and pause and on long press launch google now,,,
Tested in Samsung earphone also,,,
Moto g 3 stock android 6.0.1
Click to expand...
Click to collapse
Not everyone faces this problem.
Related
Windows Mobile touch screen devices have a “Run” option that lets you start a program by entering its executable file name. For example, if you wanted to use Run to start Internet Explorer Mobile, you would follow these steps:
1. Press and hold down on the center key of your D-pad and then tap and hold on the time display in the upper right corner of the screen. Then release the D-pad button. A small pop-up menu appears displaying two options: Run and Clock.
2. Select the Run option and the Run dialog box appears.
3. Enter the name of Internet Explorer’s executable file (“iexplore.exe”) into the box labeled “Open.”
4. Press the OK button and Internet Explorer should start up.
Thats a good find, Serf. Probably faster for executing some commands than browsing the windows folder.
Wow, this is perfect for running programs with options. I had to download Resco file explorer just to run DMRouter.exe with an option to do the aGPS hack. This will doing it on my friend's phones much faster.
That was a GEM of a find! I can now run the ESPT app whenever I need to look at my profile.... not that I ever need to but that's NICE!
Thanks for posting this! I accidentally did the proper sequence to bring up the run box once, and didn't remember how I actually did it... was never able to replicate it.
Awesome! Did you figure this out by accident?
segadc said:
Awesome! Did you figure this out by accident?
Click to expand...
Click to collapse
Does finding the right answer through Google count as an accident?
I needed to bring up DMRouter.exe and didn't want to install a new proggy, glad it helped more than just me.
learned something new for the day. I met my quota.
BUMP
bump...
Some people were asking me how to do this.
Windows Mobile Classic and Professional can 'Run Dialog';
!!! The ‘Action’ key is usually the center of the D-Pad or CTRL if you are using the former SIP emulator;
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
(It's just a picture, I don't have this 'skin', I am still looking for it though ).
!!! As an additional tip, did you know that if you tap and hold without the ‘Action’ key being pressed, a different popup menu will appear? This one allowing you to select between an analogue ~ and digital clock being displayed on the navbar!
Senax
Hi Guys,
Anyone ran into an app that let you control the (running) music player from the locked screen like the I-Phone does it? (back / pause / fwd)
I tried the app Lock2.0 but don't like it because its just a work around the actual problem, with way to much other BS. I think you will need root access in order to implement it properly (might be wrong)
Thanks for the help.
If I could write a app that would be the first thing I would try
The new CyanogenMod ROM have option where you can long press volume keys to control the music player. Pretty nifty.
helipilotx said:
Hi Guys,
Anyone ran into an app that let you control the (running) music player from the locked screen like the I-Phone does it? (back / pause / fwd)
I tried the app Lock2.0 but don't like it because its just a work around the actual problem, with way to much other BS. I think you will need root access in order to implement it properly (might be wrong)
Thanks for the help.
If I could write a app that would be the first thing I would try
Click to expand...
Click to collapse
One of the many benefits of Sense UI:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
popophobia said:
The new CyanogenMod ROM have option where you can long press volume keys to control the music player. Pretty nifty.
Click to expand...
Click to collapse
What version? I updated yesterday to the latest version of CyanogenMod ROM and I tried your suggestion but can not get it working from the locked screen.
Do you have to activate it some where?
Thanks
popophobia said:
The new CyanogenMod ROM have option where you can long press volume keys to control the music player. Pretty nifty.
Click to expand...
Click to collapse
No settings have to be changed. Just have to long press. You can't pause (that I know of), but next and previous track work.
As someone who listens to music very often on my phone, I have always been jealous that iPhone users have so many choices of 3 button headsets that not only control media, but volume as well. There are some 3 button headsets that work for some android devices, but as far as I know, none of them work with the moto x. Personally I am looking for my headset to have 5 functions:
-play/pause
-next track
-previous track
-volume down
-volume up
I have recently figured out how to find a setup that achieves this with minimum inconvenience. There are many apps in the playstore that add more functionality to 1 button headsets, but they have 2 issues that I have have seen.
1) they allow the user at most 4 functions
2) they break the lock screen music controls that were introduced in ICS.
Problem #1 can be fixed by an app I recently discovered that allows you to program up to 5 clicks on your headset and therefore allows me the 5 functions I'm looking for. The app can be found here https://play.google.com/store/apps/details?id=com.shengande.degausslabs
There is unfortunately no way to fix the 2nd problem. There are 3rd party music widgets that can be placed on the lock screen, but they are inconsistent at best with google play music. The work around I have found is to use The app Nils lockscreen notification: https://play.google.com/store/apps/details?id=com.roymam.android.notificationswidget
This app can display the notifications you allow it to over the lock screen as a widget. I am only allowing it access to music right now, but you can allow it access to any notification. Now when I listen to music, my lock screen looks like:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I know there are other solutions if you're rooted or on a custom rom , but this will work stock. Hopefully this information is useful to those who want 3 button functionality on a 1 button headset.
The actual media player can have a great effect on that functionality as well. I use GoneMAD which has options that allow me to create whatever I want using just a 1-button remote with a variety of button presses/sequences, no extra app required.
br0adband said:
The actual media player can have a great effect on that functionality as well. I use GoneMAD which has options that allow me to create whatever I want using just a 1-button remote with a variety of button presses/sequences, no extra app required.
Click to expand...
Click to collapse
True. I was going on the assumption that most people use Google play music, but I'm sure many are still using others.
Hi all
I seem to be having a bit of an issue with my Brosmartek android 11 head unit, even though it was bought from a UK seller I assume its basicly a chinese unit. I use musicolet or poweramp to play music files from the external USB but despite both apps being set to remember the position of audio tracks neither of them seem to do it. I tend to listen to audiobooks whilst driving so when i turn off the unit by taking out the keys the unit shuts down(assume it fully shuts down as does the full reboot when I put the keys back in), when I get back in and start the unit the track goes back to the beginning. I'm running car launcher pro or Agama as much prefer the interface than the stock launcher. The built in player in the unit does keep the track position but I cant set it as active player in car launcher pro.
I have both musicolet and power amp on my phone and it saves position ok even if turning off the phone and back on so I wonder if I have overlooked something in the settings.
On the car head unit I have tried pausing the track before taking the keys out but still doesn't work and power amp sometimes flashes up saying poeramp has detected it was killed while playing an active track with a go to setting button(android app settings) but it doesn't say what to change.
Can anyone please help? or point me in the direction of a player that will keep track position(a player that supports mp3, m4a and m4b files)
Well that problem has escalated, it now wont boot up, just been out to go to the shop and it just hangs on this screen, have tried restting using rst button, pressing and holding for a minute ect no joy, looks like I have a dud, its not even been in a week
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I want to use a Samsung Galaxy S10E as a motorcycle dashboard.
I was wondering if it is possible for a rooted S10E to:
1.) Auto turn on device when it is charging
2.) Auto turn off the screen when charging stops
And is there a "How To" somewhere within this forum?
You may need to root to do this. Play with this.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
nils 6l said:
I want to use a Samsung Galaxy S10E as a motorcycle dashboard.
I was wondering if it is possible for a rooted S10E to:
1.) Auto turn on device when it is charging
2.) Auto turn off the screen when charging stops
And is there a "How To" somewhere within this forum?
Click to expand...
Click to collapse
I used an app call'd Tasker, because I wanted more than your 2 steps, which you can very likely accomplish if you play around with settings as @blackhawk suggests.
My setup uses an old S4mini for the music player in my VW buggy:
Turning my accessory switch ON starts phone charger which turns on the phone and then opens the music player app which shows a list of songs. I choose a song by tapping its icon on screen. This starts the song playing rotation from that song. Next song will be whatever is in playlist queue (unless I choose to press the Shuffle button, which I do very rarely). List plays till last listed song is done, and then starts playing first listed song in queue (if my drive is that long, usually not).
Turning my accessory switch OFF cuts off phone charger which causes Tasker to close the player app, bringing up homescreen launcher, which shows for 5 seconds (because it lets me see the time, battery level, etc.) and then Tasker's last task is to run a little app that puts the phone to sleep.
Thanks, I know Tasker, but I thought it would only work when the phone is on.
Will try that first then.