yashsingh1/xdaforums huggingface dataset:
[MTCD Software Development] Ronaldo_9:
Hello, my android px3 automatically loads the stock music app. Will this tool allow me to prevent this?

also the default launcher doesn’t let you map the music app icon. Does this tool work for that too?
[MTCD Software Development] typos1:
You mean when you insert an sdcard ? You can turn off opening the music app when an sdcard is inserted in settings.

Waht do you mean by "map the music app icon" ?
[MTCD Software Development] pakoner:
can someone kindly explain step by step how to set up to resume various apps after sleep? On Px6 android 10

Thanks in advance
[MTCD Software Development] c3po_droid:
Hi there,

so I installed your version of MTCDTools 1.10 for Android 10 and was amazed that it worked flawlessly. Though, I did now a Virustotal scan and your version is the only one here that has a trojan match by one scanner:

"Android.faketoken.snt" which is described by the following:

Trojan:Android/FakeToken steals SMS messages containing mTAN numbers generated by banks to validate online transactions.

Can you look into your APK and comment on this? I know, it is only one of 63 scanners, that finds something, but still... the other APKs here don't have even a single match.
[MTCD Software Development] AirOne70:
Hi there,

Well I have no idea on this, and my headunit is not even capable of receiving SMS anyway.

Full source code is available on Github, so everyone is free to look into it if needed.
[MTCD Software Development] louismcguire:
Hi,

I've managed to bind physical touch buttons to launch an app but I can't get it to recognise a long press. Did you have to enable a setting that I am missing?
[MTCD Software Development] Fatmonk8:
How do you install this?
[MTCD Software Development] umiteks:
Pls tell me how to install this app.

There is a zip and tar.gz file in download link
[MTCD Software Development] kill_one:
could you explain exactly how this is done? thank you
[MTCD Software Development] strados:
no problem. Don't use just any similar tool, only the one here from post #493 !

Then... first on screen "CREATE NEW ACTION LIST" an "object" must be created which includes the app you want to start by a key.

Second on screen "OBTAIN KEYS SEQUENCE" push the key you want to connect with the app and select the "object" from step 1.

Finished. (may be a button "save" has to be activated, I'm just writing this from memory) :cool:
[MTCD Software Development] Toronadian:
Does anyone have a breakdown of how to set an app to open with the long press of a button? I've been reading through this thread and to be honest, there's mostly just questions but not answers about this. There's one on going through the factory settings first but I'm not seeing it there either. If anyone has a simpler breakdown that be great, thanks.

Also, is it possible to map buttons for increasing/decreasing volume with this app? I'm looking through the actions and can't seem to find it. Thank you.
[MTCD Software Development] Bthamburg:
First you have to set different actions in system settings for short and long pressing. Define actions that are not used. Maybe radio if you disabled system radio app.

In mtcdtools make for each button a own sequence. Be sure you press the button long for the long action.
[MTCD Software Development] Toronadian:
Hey, thanks for the reply. I've tried that for the touch controls and I'm not sure if it's working. I've binded the long touch button to an action that was nonexistent. I haven't tried binding it to a sequence, only launch action. Not really sure how to work the bind sequence option.

As well, does this work with long touch/hold of physical buttons that are on my centre console? There doesn't appear to be a key or panel study that allows me to create a bind for a long press of a physical button unfortunately.
[MTCD Software Development] Star-Lite:
I just installed my new android HU in my car and I am looking for a way to change the mode button behaviour and this tools seems like the perfect one.

Except my HU does not have an MTCD MCU.

It is a PX5 with an MTCH_CHS MCU .

Will MTCDTools still work for this, or do I need another version? I am just interested in the MODE LIST functionality atm.

As far as I know MTCHTools does not exist ;)
[MTCD Software Development] typos1:
It might do as MTCH is an updated version of MTCD/E, best thing is to try.
[MTCD Software Development] Star-Lite:
I have tried both the 1.9 apk on github and the 1.10 version (that AirOne70 made).

The 1.9 version straight up refuses to launch and crashes when I start it.

I kinda got jamal2367's version to work.

The problem I am facing right now is that the tool doesn't seem to recognize my buttons.

I have unassigned the mode button via the wheelkeystudy app, but the 'obtain keys sequence' screen does not seem to want to recognize the keys. I press the steering wheel key (or one of the keys on the HU itself) and no key number will show up.

I have also tried to assign the mode key to different other functions (nr 9, etc) in WKS but that also didn't help.

I can hear a beep when I press the key if it's assigned, I don't hear a beep if it's unassigned in the WKS app.

So unless I am doing something wrong (which is certainly possible of course), the tool does not seem to support MTCH :(
[MTCD Software Development] manari:
Hi there. I have a MTCH_MX_V3.84_1 with Android 11 in a Citroen C4 ii. I tried 1.9 and 1.10. I have the same issue. Both versions refuse to launch and crash when I start them. Is there a fix, a trick, a functional version or some other tool?
[MTCD Software Development] Star-Lite:
I have not gotten it to work and have not found an alternative app.

1 solution would be to grab a custom ROM with the functionality bult in (like Hal9K and maybe Malaysk?).

I ended up binding the source button to 'Home' and making sure I have all apps I want to use in my launcher. It's not perfect, but a workable solution for me
[MTCD Software Development] manari:
Many thanks for your answer!
[MTCD Software Development] jnshk:
I don't know if you ever got the answer that you were looking for (I previously gave info for sending an intent to the MCU from Tasker, but not from MtcdTools to Tasker), but I was just revisiting this thread because I wanted to use MtcdTools to run a Tasker task on hardware button press. It took me a while to figure out how to make the two apps communicate properly, but here is what I did:

Since Tasker is not configured to receive Activity or Service intents, you have to use a Broadcast intent. You will need to fill the fields below as such (the others you can leave empty):

Action= net.dinglisch.android.tasker.ACTION_TASK

Extra= {task_name:YOURTASKNAME}

Name= Name given to MtcdTools object

Then bind the broadcast intent object that you've just made to the key of your choice.

You will have to also go into the Tasker preferences and enable "Allow External Access" under the MISC tab. This should be enough to get it working.

I hope this helps someone else!
[MTCD Software Development] Sertacakin:
Hi

Can you help me how to install zip file to HUR?
[MTCD Software Development] paralias7:
Is there a way with this tool to remap volume knob(rotary encoder)? What are the steps i must follow?
[MTCD Software Development] DC69:
Hello everyone.

I have a PX5 running Android 10. MCU version is MTCE_HXD_V3.62e_1 and tried using this to assign a phisical button to open TorquePro.

After some trial and error I managed to make a "source" button on my steering wheel (which is used to cycle through radio/DVD/media player/etc.) open Torque, like I wanted. The problem is that it also mantains the original function, so it launches Torque AND changes the media source on the same time.

I guess I need to "disconnect" the original functio. Any ideas on how to do this?

Thanks!
[MTCD Software Development] RichardCA:
Does your particular ROM include the Wheelkey Study app? You need to find an "Intent Icon" that is not bound to an intent that's already in use.

Read this post, in particular the part about "assign all buttons you want to program to unused functions."

https://xdaforums.com/t/release-px3...s-voice-control.3436789/page-25#post-83435797
[MTCD Software Development] DC69:
Thanks for the tip.

Yes, I do have the Wheelkey Study app, although there is also something wierd about that. My wheel has Vol.+, Vol.-, Source, Track», Track«, Folder» and Folder« keys. Of these, the only ones that do show up in Wheelkey Study are the volume +/- keys and a supposed "mute" key, which I have no idea what it is assigned to since there is no actual "mute" key.

This is how it was from the start. Everything should be automatically mapped there or should I reset it and map manually like you do in the factory settings to remap the head unit keys? I never really got this part...

Will experiment a bit and report back on what happens.
[MTCD Software Development] RichardCA:
If the keys are not showing up in Wheelkey Study, that means the head unit is not reading them from the canbus.

Can you share the details about your head unit and what year/make/model your car is?
[MTCD Software Development] DC69:
Sure thing, thanks for the help.

The head unit is a PX5 (SilverStrong) running Android 10, MCU is MTCE_HXD_V3.62e_1. The car is a 2009 Seat Ibiza.

The Canbus version is currently set to VW-RZ-08-0024-B1. I actually also thought that the fact that the keys are not showing up might have something to do with that and went into the factory configurations to look for other Canbus types, but apparently this is the only one available for VAG vehicles, covering VW, Skoda, Seat and Audi. Also, it was the one that came configured from the factory and this is a head unit specifically designed for the 6J Ibiza, so I decided not to mess with it.

Yesterday I also confirmed that the skip track keys also work like they should (although not showing up on Wheelkey Study) but the skip folder doesn't seem to be working, at least when playing music from the memory card. Will try again later with a CD or DVD, just in case the outcome is different.
[MTCD Software Development] RichardCA:
Try switching between Software Key (SWC) and Can Key in the settings. Also try using the MtcdTools app to detect key codes under both settings (SWC vs CanKey). If you can detect the keycode in MtcdTools then you can change the binding. I'm sorry you had to go down this tedious path but it sounds like you're making progress with it.
[MTCD Software Development] megane:
Hi and congratulation for the great work. I have an nissan xtrail and i want to make the avm icon for 360 camera to work with physical button or touch button of the unit. Can someone help how to do that? Now the avm button is on screen and i can move it all over the screen but i dont like it.
[MTCD Software Development] sandpita:
Turn off the AVM screen button in the settings. Use the Steering Wheel app to use any key to activate the AVM.
[MTCD Software Development] megane:
Thanks for the reply. When i go to stearing wheel app to assign a button there is no avm fuction to assign with :( it is possible to create it?
[MTCD Software Development] shawn929034:
Hi there,

Can someone explain to me how to install this software to my android head unit? I can't find an apk and building from android studio gives outdated dependencies errors.

Very much appreciated.
[MTCD Software Development] f1x:
You mentioned that doubleTwist does not work even in case of mp3 playback. Do you remember what version of doubleTwist you have installed on your device? I have 2.6.5 (c60039d) and it works. I tried to play a bit with settings, but no matter what I turned on/off - it always works.

The only difference is that you have Malaysk Rom, and on my device I have a stock one (1.61).
[MTCD Software Development] sterod:
Exact same version as you, I guess it's possible it's a ROM compatibility issue.
[MTCD Software Development] f1x:
I will try to follow features of Malaysk rom - maybe I will find something which can cause problems.
[MTCD Software Development] sterod:
Ok, I will donate to your app now, as it does do the job, its not your fault this isnt working :)
[MTCD Software Development] dongali:
This app works great with Amazon Music.

I also have a bug to report.

Keybinds don't work if you put the head unit to sleep temporarily (remove key for 5 secs, then insert key again). You need to open the MTCDTools app in order for the keybinds to work again.

Other than this bug, everything seems to work perfectly. Great work!
[MTCD Software Development] CadillacMike:
i can live with that. Service works great with Spotify, which is all I can ask for

made a donation, thanks for making this
[MTCD Software Development] Samoawbc:
You still can go into Systemsettings -> Apps -> Mtcdtools and disable notifications. No more Icon in the Statusbar.
[MTCD Software Development] CadillacMike:
whaaaaaaaaaaaaaaaaaaaaaaaaat. I gotta try that
[MTCD Software Development] sterod:
Ok for no apparent reason poweramp is no longer responding to the steering wheel controls. I've deleted mtcd tools and reinstalled and recreated they binding and it still won't work. What the heck happened?

---------- Post added at 11:35 AM ---------- Previous post was at 11:17 AM ----------

I uninstalled and reinstalled poweramp and the buttons started working again. I have no explanation.
[MTCD Software Development] f1x:
Really weird. One question, what is your default music player? Do you remember any characteristic action thqt you made before it stopped working?
[MTCD Software Development] sterod:
I wasn't aware you could set a default music player so I don't know where to check that. I didn't do anything that would have affected poweramp, I just started my car this morning and launched poweramp as usual and the keys weren't responding.
[MTCD Software Development] CadillacMike:
this worked to get rid of the notification for me
[MTCD Software Development] sterod:
Okay I figured out why I lost my steering wheel controls. I use an app named All-In-One Toolbox to control the startup items in Android and I had removed Poweramp (so it does not run on startup). I have no idea why removing the application from automatic start kills the steering wheel controls, but as soon as I re-enabled automatic start for Poweramp the steering wheel controls worked again, and I didn't even need to reboot. To be clear I am definitely talking about removing Poweramp from auto start, not the MTCDtools app. This makes no sense to me.
[MTCD Software Development] f1x:
Hello,

MtcdTools 1.2 has been released.
[MTCD Software Development] DanB0y:
Is there any way I could map the NEXT/PREV buttons to do NEXT FOLDER/PREV FOLDER with a long press ?
[MTCD Software Development] jbleasdale:
Great app!

To add to the tested working apps list:

Soundcloud

Bandcamp
[MTCD Software Development] guybrushix:
Yes Great app!

Apple Music works as well
[MTCD Software Development] jaanuseonu:
Sorry for my bad English. I have small problem.

NEXT/PREV works fine in Spotify, when MTCRAdio app is off.

If the Radio app is active and I press NEXT/PREV, then it automatically opens the Spotyfy and manages with both programs.

Is it possible to configure it so that it manages only that program which is the active and will not start Spotify himself?
[MTCD Software Development] f1x:
Probably you just paused Spotify but it is still active in background. When you expand notification bar, Spotify widget should be visible on it. Tap close ( X ) in right upper corner and it should close Spotify.

Unfortunately stock media player app does not respect android audio focus - this is the reason why it works this way.
[MTCD Software Development] 2jocke2:
I have registered to say many thanks!

It works with Stellio player like a charm.
[MTCD Software Development] larppaxyz:
Works with Digitally Imported (di.fm)
[MTCD Software Development] RWerksman:
Works with Slacker beautifully.
[MTCD Software Development] koimr:
Just tried it on my MTCB (not D!) head unit and it works fine with Gonemad Music Player.

Nice work. :)
[MTCD Software Development] ACSlater:
Tried it on my Klyde Android 5.1 MTCC head unit and it made all kinds of other apps stop working. Too bad! I really looked forward to using the steering wheel keys for skipping through songs. Great work by the way and I hope you'll keep on developing this app.
[MTCD Software Development] f1x:
Hello. Could you please describe more detailed what actually stopped working? What kind of apps? If you will provide more details then we can try to help you.
[MTCD Software Development] Mighty_X:
Works with Poweramp. But only after some time. Before like 2 minutes its not reacting. How do you guys handle the mode functionality. I cant seem to turn off the standard mode function of the headunit. Now its jumpung like crazy between the standard mode apps and the costom ones i chose with the tool..
[MTCD Software Development] f1x:
You have to change action for mode button in factory settings. For 'press' select any dummy action (e.g. 0,1) then bind it in MtcdTools. For long press you can set device MODE action to do not loose the original functionality.
[MTCD Software Development] Mighty_X:
Thanks for your tip. I played with those options (my PW is "3368" btw). But I was refering to the mode button on the steering wheel. I dont have a mode button on the headunit itself. I can choose the car type for can bus detection and i can export those adjustments but there is no option to import those (if there was i could just rewrite the canbus adjustments).
[MTCD Software Development] f1x:
So key study panel in Factory settings does not detect your MODE button on Steering Wheel? As far as I know there is also "Wheelkey study" preinstalled app provided by Microntek where you can try to change behavior for your steering wheel keys.
[MTCD Software Development] Mighty_X:
Nop. It only detects the units' buttons. My preinstalled wheelkey thing in the Settings menu does not work at all. I think it is just if you connect other signals but not canbus. =/
[MTCD Software Development] ACSlater:
It stopped the Gmail app and some other apps/services that I can't recall at this moment. I just flashed Malaysk's rom and will try again. If it still has these issues I'll upload a video of them for you. It might be some other conflicting app/service but the problems disappeared when I removed Mtcdtools. The keys did register in the app but there was some trouble with saving them.
[MTCD Software Development] snake_08:
It worked perfectly on my mtcd 5.1. Thank you.
[MTCD Software Development] Flockrock:
Works with spotify.

Btw.: Does anybody know how to setup spotify to autostart and play a song/playlist by itself?
[MTCD Software Development] f1x:
It can be hard to achieve because Spotify needs to be online to save last played song. If you are using it offline then only possibility is to trigger playback manually. I saw such feature on the Spotify's wishlist but it was postponed...
[MTCD Software Development] CadillacMike:
This is the only thing I see Spotify missing that Google Play Music had. With GPM you could save a Playlist as a Widget. So save that Widget to your home screen, and when you tap the widget it went right into that Playlist
[MTCD Software Development] Mighty_X:
[MENTION=7621504]f1x[/MENTION] Could you also add "seek forward" function? That would be sweet!
[MTCD Software Development] f1x:
I had few attempts to implement this functionality but not all players react on seek events. Second problem is that in case of MTCD devices we can obtain only keyDown event, so it is hard to say when we should stop seeking :).

But autumn is comming, it is raining all the time - maybe I will make another attempt to implement this functionality :D.
[MTCD Software Development] brennendw:
awesome work with the app. i have a request hopefully you can implement this or maybe already know how to do it.

My unit has a BT button which will go to the phone app not bluetooth audio. I always use the audio not the phone. problem is the app is the same for bluetooth phone+audio and will always default to the phone...

I have tried changing the key inputs file from "com.microntek.bluetooth" to "com.microntek.bluetooth/com.microntek.bluetooth.BtMusicActivity" but it just crashes is there anyway around this? Would be amazing if you could add this!

Much appreciated :)
[MTCD Software Development] f1x:
Try to change in factory settings (password 126) action of your button to any dummy action (e.g. 1,2,3), then in MtcdTools bind it as LAUNCH of A2DP application.
[MTCD Software Development] brennendw:
It not that MTCD isn't working, it is and does open the apps which is great! The problem Im having is the fact that on my head unit the A2DP app is the same app as the phone dialer. So in the apps list it just one app named "Bluetooth". So when selected it will always load the dialer but you can't access the audio section once the dialer is loaded. I tried to load to the activity stack within the app by editing the key file but it crashes unfortunately. I have a shortcut creater app which can makes the shortcuts to the activity and it works but I can't selected the shortcut in MTCD.

I've been trying to find a way around this for weeks!
[MTCD Software Development] aarick:
So I upgraded to Malaysk v6, after a few reboot, physical key and steering wheel button all stopped working. Full wipe device end started working again. After a few days, I reinstall mtcdtools today. Setup my button, all seems fine. Reboot my head unit, physical buttons and steering wheel button all stopped working again. Any idea why this is happening?
[MTCD Software Development] JCBomb:
Awesome, will try this out later.

I just returned a bluetooth FOB that wouldn't pair. Bought it because the default key binding for fw/bk didn't work with G Music.

Kudos!
[MTCD Software Development] JCBomb:
Ok, I'm playing around with this. Pretty cool.

Took me a little bit to realized I first had to bind an existing function in the Button Study.

I think I have everything how I like it, there's ONE thing that I wonder could be dealt with.

With the original SRC button, when you leave the radio app, the radio stops playing music.

However with the Mode inside of the this tool, it will keep playing.

Would it be possible to add an option for the Radio app to mute or pause when going through Mode button?
[MTCD Software Development] aarick:
Just trying to troubleshoot an issue I am having so want to ask a few questions about this app.

Does it work the same way as mtc keys? But just with a gui and root/xposed not required?

Will it conflict with mtc keys as I am using malaysk rom which has it installed by default?

Should I remove mtc keys first before trying this app?

Thanks
[MTCD Software Development] sterod:
It will conflict, or at least it did for me. I disabled the mtc keys xposed module and also uninstalled the JY SWC Service app from the Malaysk ROM and use only this app now.
[MTCD Software Development] f1x:
[MENTION=4816338]sterod[/MENTION], [MENTION=2370138]aarick[/MENTION].

In my opinion something is wrong with Malaysk firmware or with Xposed integration. I read many posts about loosing key config issues and all of them had one common point - "autorun". When someone tried to add any application to run after Android bootup then mentioned problem always occured. It is strange, because "autorun" is standard Android functionality and should not cause any problems (in case of Stock ROM it works perfectly).

I have never used mtc-keys or JY SWC but if they are playing somehow with Microntek Key Study app config, there is possibility that they can be root cause of the problem. MTCDTools app use only standard Android API and does not play anyhow with system stuff.