yashsingh1/xdaforums huggingface dataset:
[MTCB Software Development] treech:
A little feedback now that i've tested it a bit.

Well.. how do i put it, i went back to 4.4.4 ROM (booroondook) sa it's clean, has OTA support and just works/is faster than any 5.x/LP rom i've tried.

I have the ini file (mtc.ini iirc) in /external/external_sd/mtc-keys/mtc-keys.ini (fat32 formated)

I'm not 100% sure that it can actually find the config file, i'll take a better look at it tomorrow but judging from this quote you seem to be able to have it in a few diff places.

I would *kill* for toast messages when using swc and/or more debug to file/screen and OMG a *GUI* to set it up with modifiers and assignement of keys to specific programs and to write to config in the right place as to avoid stupid user errors :)

I'de happily pay beer or vodka money for it ;)

I'll give it another shot this week, but if i don't make progress i'll just stick to RK3066 by petro.ws coz.. it works, but i'de love the possibility to config one key to do diff things depending of what program is active like mtc-keys seems to do, that + double presses... :\
[MTCB Software Development] oscyp:
for me and many other from this forum - it never worked on FAT32 formatted SD card. Only after reformatting it to NTFS I got it working.
[MTCB Software Development] treech:
And what would be the propper path considering androif 4.4..4 ?

(/ mnt / sdcard or / mnt / internal_sd depending on the version of Android)

Also, it would be "sane" to pick a path in the internal storage as to avoid weird things like having a ntfs sdcard and what not ;) (the author would need to do that ofc)
[MTCB Software Development] oscyp:
/external_sd
[MTCB Software Development] Mr Bigglesworth:
Just catching up and seen these updates. Very nice for some additional functionality like play/pause on poweramp instead of mute.

Tried the same on the music and dvd apps and couldn't get it work the same... any ideas?

I tried:

[com.microntek.music.1]

intent_4=com.microntek.playpause

#and

[com.microntek.music.1]

replace_4=3

#and

[com.microntek.music.1]

rdefault_4=3
[MTCB Software Development] nicolas90340:
Hello Guys and thanks for your jobs

Sorry for my english, my english lecons it's very far behind me :)

I have a Eonon 5161F MTCB 3188 with a ford S-Max.

And i have a pb with the steering wheel command. The Previous and next are inversed.

The code 45 are 46 and the 46 are 45 :(

I would like to use Spotify for default appli music. and i try to get a bouton #3 to Play/pause on spotify , stop appli radio, answer or reject a call, and the double click for change appli Radio/Spotify/Bluetooth

I would like to use the #45 for Next song/radio and the #46 for previous song/radio when the app's is on the screen and when i have the home on screen i would like the action Next , previous, and play/pause for the spotify appli.

I am lost in the files.

I modify the mtc-keys or the mode.ini in the mtc-manager folder ?

I don't anderstand .

I read all pages but i'm lost...

Could you help me ?

Thanks
[MTCB Software Development] StoneRoses:
latest mtc-keys is version 4.1

http://4pda.ru/forum/index.php?showtopic=704299&st=0#entry41212085

Someone with 4pda please post the download link.
[MTCB Software Development] oscyp:
Here you go:

xposed-mtc-manager
Version 1.1 - Added an alternative screensaver;
Version 1.2 - Added a quick start user services.
Version 1.3 - Added redesignation obd-devices;
Version 1.4 - improvements for renaming obd-devices;
version 1.5 - set the program list to toggle the MODE button;
Version 1.6 - bug fixes;
Version 1.7 - small changes in the call screen saver;
Version 1.8 - Changes in the restoration of sound radio;
Version 1.9 - the latest start off running program, correction of errors;
version 1.10 - bug fixes when disconnecting run the latest software, time synchronization using GPS;
version 1.11 - the last running program does not start after the winding of the auto with the included PG when setting enabled clear_last_app;
version 1.12 - the care GU sleep remembers the last running program;
Version 1.13 - Added ability to enable w-fi at the start.

mtc-keys
Version 1.1 - fix minor bugs;
Version 1.2 - Support for Android 4.4;
Version 1.3 - Changed the algorithm return from the called program;
Version 1.4 - The algorithm of the program call, adds support for the volume change of the speed programs;
Version 2.0 - Added options call: action, activity, intent;
Version 2.1 - Added the ability to take a configuration file with external_sd;
Version 2.2 - Added ability to renaming the button code via a variant event;
Version 2.3 - Fix for Android 4.4;
version 2.4 - in the case of read errors configuration file, it is read after mounting external card;
Version 2.5 - improved stability of the program;
Version 2.6 - Added action sleep, reading algorithm modified configuration file;
Version 2.7 - Removed support for Android 4.2, the configuration file must be located only on the outside of the map, made code optimization;
Version 2.8 - Added options for the call: media, keyevent, command, changed activity processing algorithm;
Version 2.9 - Added action sreeenoff;
Version 2.10 - Added ability to read the settings after mounting external card;
Version 2.11 - Added ability to call an internal function without parameters;
Version 2.12 - Changes in version call media;
version 2.13 - bug fix in the event the call option;
Version 3.0 - Treatment of double clicking;
Version 3.1 - bug fixes;
Version 3.2 - bug fixes;
version 4.0 - set of button presses for different applications;
Version 4.1 - improvements.
[MTCB Software Development] StoneRoses:
Thank you very much. Would you mind if I ask for one more thing ^^

I use poweramp as main music player so

xposed-mtc-poweramp version 1.1

would be nice.
[MTCB Software Development] Wolf Hamburg:
I've never heard of a module called xposed-mtc-poweramp. What makes this module?
[MTCB Software Development] oscyp:
Module xposed-mtc-poweramp to display PowerAmp player tag in the modified screensaver.

attached
[MTCB Software Development] Wolf Hamburg:
Thank you for the information. Since I do not use Screensaver, I do not need this module ;)
[MTCB Software Development] StoneRoses:
Thanks for you kindness. But sadly I too don't use screensaver.

I though this module can display media tags on the launcher.

Overall I happy with the customization right now.

Here is my settings. I use MX Player Pro as a Video Player and PowerAmp as Music Player (I disable MTC Music and Video apps)

mtc-keys.ini

[settings]
doubleclick.time=500

[click.1]
#--------PLAY/PAUSE - Play/Pause
media_3=play
#--------MUTE - MUTE (default for doubleclick)
event_4=4
#--------SWC-PREV - Previous
media_45=prev
#--------SWC-NEXT - Next
media_46=next
#--------TUNEDOWN - Previous
media_58=prev
#--------TUNEUP - Next
media_59=next
#--------TUNEKEY - PowerAmp
app_23=com.maxmpz.audioplayer

[click.2]
#--------MUTE - Back
action_4=back
#--------TUNEKEY - Apps
action_23=apps

[com.maxmpz.audioplayer.1]
#--------MUTE - Play/Pause
media_4=play

[com.mxtech.videoplayer.pro.1]
#--------MUTE - Play/Pause
media_4=play

[com.microntek.radio.1]
#--------DEFAULT
event_58=58
event_59=59
#--------PLAY/PAUSE - NULL (prevent media player from playing in radio app)
action_3=null
#--------HANGUP - Back (exit radio app)
action_70=back

[com.microntek.bluetooth.1]
#--------DEFAULT
event_3=3
event_45=45
event_46=46
event_58=58
event_59=59
event_69=69
event_70=70
[MTCB Software Development] polgoz:
Hello all, I have a MTCC unit runing Boom's ROM 5.1.1 on a BMW E46 who don't have CANBUS, it have IBus, so SWC is learn by the HU decoder and do it your job, but I don't have possibility to modify the factory setup using the SWC learn app because is iBus.

Is there some way to modify/disable this default setup and use MTCKeys to replace the factory commands?

Thanks in advance.
[MTCB Software Development] Redrockzz:
Hey Guys, I have a Joying JY, RK 3188, running Malaysk ROMs Lollipop 5.1.1, which included xposed and this module MTC_Keys.

Now I wanted to change the standard music player to another one like jet music player or something else.

I already got experiences in flashing but i dont have any experiences in change any data or ini data. :/

So I have to activate the xposed module and I have to create an .ini in the named folder?

What should I do now? Dont understand the way to get the commands.

I only want to change the play/pause, track+, track- to another music player ..

Can anyone help me please? I am not a geek in this direction. :D

Also my HU is built-in my car now, so I have not much time because of the acc. :D

Thank you for you help and any suggestions
[MTCB Software Development] ktibor69:
Does the double click feature work with Kitkat 4.4.4 ROM?
[MTCB Software Development] oscyp:
yes, it works on KK.
[MTCB Software Development] jakejm79:
Has the syntax for the ini file changed. Since I have updated too Booroondocks 5.1 ROM MTC keys no longer works using the original ini file I had working with an older version of MTC Keys on a stock 4.4.4 ROM
[MTCB Software Development] oscyp:
depends on what version of mtc-keys do you have

please read some previous posts :)
[MTCB Software Development] jakejm79:
I have what I believe to be the most recent version which is 3.1, care to provide a link to the specific post, I have looked back a few pages and didn't find anything. Thanks.
[MTCB Software Development] oscyp:
oh come on.... it is very old version and there is not so much to crawl through... don't be so lazy - is it so hard to look just one page back?
[MTCB Software Development] jakejm79:
OK I found it and I am using version 4.0 which I believe to be the newest and I still can't get it to work, using the [click.2] and [click.2] tags.

I've placed the mtc-keys folder in both the internal sd and external sd (where I had it when it was working the last time on a 4.4.4 ROM).

I really don't think it is compatible with Booroondoocks 5.1.1. ROM, can anyone confirm or deny this?
[MTCB Software Development] TattooHH:
I ask for a specific user, step by step. My mtc-keys.ini has 0kb :(
[MTCB Software Development] oscyp:
MTC-Keys 4.2 and sample config file attached (please change the extension from .txt to .ini as the forum is not accepting ini files)

Changes:

Version 1.1 - fix minor bugs;

Version 1.2 - Support for Android 4.4;

Version 1.3 - Changed the algorithm return from the called program;

Version 1.4 - The algorithm of the program call, adds support for the volume change of the speed programs;

Version 2.0 - Added options call: action, activity, intent;

Version 2.1 - Added the ability to take a configuration file with external_sd;

Version 2.2 - Added ability to renaming the button code via a variant event;

Version 2.3 - Fix for Android 4.4;

version 2.4 - in the case of read errors configuration file, it is read after mounting external card;

Version 2.5 - improved stability of the program;

Version 2.6 - Added action sleep, reading algorithm modified configuration file;

Version 2.7 - Removed support for Android 4.2, the configuration file must be located only on the outside of the map, made code optimization;

Version 2.8 - Added options for the call: media, keyevent, command, changed activity processing algorithm;

Version 2.9 - Added action sreeenoff;

Version 2.10 - Added ability to read the settings after mounting external card;

Version 2.11 - Added ability to call an internal function without parameters;

Version 2.12 - Changes in version call media;

version 2.13 - bug fix in the event the call option;

Version 3.0 - Treatment of double clicking;

Version 3.1 - bug fixes;

Version 3.2 - bug fixes;

version 4.0 - set of button presses for different applications;

Version 4.1 - improvements;

Version 4.2 - Choice of media to store the settings file.

Default location of the file is

\external_sd\mtc-keys\mtc-KEYS.INI​

If there is a need to place the configuration file on other media, it can be done in build.prop:

# Card (media) to store the configuration file for the modules of the V70-MVG

persist.sys.mvgv70.card = / mnt / internal_sd​
[MTCB Software Development] TattooHH:
My key.ini is still empty :( if I do something wrong?
[MTCB Software Development] oscyp:
yes. you need to write something in it
[MTCB Software Development] TattooHH:
exactly what you need it to write?
[MTCB Software Development] oscyp:
how should I know what do you need?
[MTCB Software Development] drkovcim:
I would like to ask for help in changing the hardware button.

I need change this button:

[IMG="pumpkin c-0346"]https://s24.postimg.org/h3rmfoe3p/pumpkin.jpg[/IMG]

I would like to after click button to start adjusting the volume.

No volume UP or DOWN but only show volume controll.

What need to write to mtc-keys.ini?
[MTCB Software Development] marioedani:
In the sample file you can read this: "# Some buttons (eg Eject) are hardware and can not be intercepted by pressing the program. "
[MTCB Software Development] Grumpycat62:
Hey everyone - I'm trying to get my steering wheel "Voice" button (Key code: 4) to activate the Google Now/Voice App included in Malaysk's (latest) 4.4 ROM. It's really tough not having hands free calling, and any help would be greatly appreciated.
[MTCB Software Development] Syphe:
Really liking MTC-Keys with all the new improvements, have managed to reduce the amount of software i've installed on my device by quite a margin.

I am having a wee problem though, couldn't see anyone else with this problem on here by searching, basically mtc-keys doesn't initialize until a minute or so after the device boots, I see some people mention keys can be detected using double press, I'll try that next time i'm in my car (at work atm), has anyone else had this problem/ managed to fix it?

For reference, i'm running stock Joying rom 4.4 with latest xposed and mtc-keys 4.13. Have looked at startup builder but couldn't see anything related to ensuring xposed modules started up early on boot or anything like that.
[MTCB Software Development] Johny DJ:
Did you manage to get mtc-keys working from internal flash? I copied the folder and added this line: persist.sys.mvgv70.card = / mnt / internal_sd to build.prop, but it's not working...
[MTCB Software Development] oscyp:
try without spaces
[MTCB Software Development] migueljtd:
Hello everyone, I have to solve a problem and I want to know if I can with the volume knob and with the command to tune `I can re-program to do their function. Since now the volume by turning it clockwise goes up or down randomly and the knob tuning does the same with the frequency of the radio.

Thanks in advance.
[MTCB Software Development] oscyp:
check the others tab in factory settings to fix it
[MTCB Software Development] migueljtd01:
I did

Enviado desde mi SM-G935F mediante Tapatalk
[MTCB Software Development] dom_christo:
Would like to know how you modified your SWC module, Keen on having a mode button with 3 or so functions.

Cheers.
[MTCB Software Development] jzhuka:
Hi there,

I am trying to do the same thing on my HU, can you share your mtc-keys.ini configuration please?

Have tried many times but can't get it to work.

Thank you
[MTCB Software Development] brookesrook:
would this let us modify the color of the keys as well?
[MTCB Software Development] Feelipebr:
mtc-keys.ini

Can anybody help me?

I wanted the buttons of the next / previous steering wheel, you are going to look for station by radio station, it was in favorites, that is if I have P1 P2 P3, and this in P2, if I press next it goes to P3, if I Press back it goes to P1, and if it is not in station 98.50 it searches the next station 98.90 and so on, can you do that ??

My settings

RK3066

KITKAT 4.4

Already installed and rooted.

2.78V MCU

KLD

Which layout do I have to create in mtc-keys.ini?

keyevent_88=61

keyevent_87=62

or

event_88=61

event_87=62
[MTCB Software Development] oscyp:
It is working exactly like that by default, without using mtc-keys....
[MTCB Software Development] Feelipebr:
Mine does not work, when I squeeze the next wheel, it searches the next station, not the next favorite. The only place that works like that is if I click on the radio icon on the main screen in the gadget, there goes from favorite to favorite, other than that it will go through all the stations.
[MTCB Software Development] oscyp:
Ah ok,

you need to use mtc-manager in xposed it allows to control radio and pcradio app as well via prev/next physical keys.

try it out
[MTCB Software Development] Feelipebr:
Could you help me with that?

The modules are already enabled in xposed.

How do I configure the keys in mtc-keys.ini?

Could you send me already filled out correctly?
[MTCB Software Development] oscyp:
you don't need to use mtc-keys for that as mtc-manager is handling next/prev buttons, really
[MTCB Software Development] Feelipebr:
So my not doing it correctly, could you help me with how to configure it?

Well I activated it in xposed but it does not open any configuration menu at all. Where do I see this? Because when I click on next / previus on the steering wheel, it searches next radio frequency and not the next saved station.
[MTCB Software Development] oscyp:
will do some photos tomorrow
[MTCB Software Development] Feelipebr:
See my photos.
[MTCB Software Development] Feelipebr:
Can anybody help me?

I would like when I press the next / previus on the steering wheel, it will change the radio station in the favorites only.

P1 / P2 / P3 etc ... and not the frequencies.

The keycode of the steering wheel is:

22 - previus

24 - next

As I configure the mtc-keys.ini for the RADIO FM event and not forward / return the stations, but the favorites.

If I click the arrows on the widget that has on the desktop it works like this.
[MTCB Software Development] oscyp:
# When running the radio
# 5.43 - The next range
# 88 - On / Off.. TA
# 87 - On / Off.. AF
# 77 - Auto without saving (Intro) with increasing frequency since the beginning of the range
# 62 - The next channel
# 61 - Previous channel
# 22.63 - Searching with decreasing frequency
# 24.64 - search with increasing frequency
# 29 - Switch to Channel 1
# 30 - Switch to Channel 2
# 31 - Switch on Channel 3
# 32 - Switch to Channel 4
# 33 - Switch on Channel 5
# 34 - Switch on channel 6
# 18 - On / Off.. ST (stereo)
# 21 - On / Off.. LOC
# 17 - Auto (?) - It is not clear how it works
[MTCB Software Development] Feelipebr:
So would that be correct?

Event_88 = 61

Event_87 = 62
[MTCB Software Development] oscyp:
try it out
[MTCB Software Development] Feelipebr:
I tested it, but it did not work, it still keeps changing frequencies through frequency ... it's the favorite ones.

What needs to be installed?

Xposed and its modules are all active / installed. Mtc-service 2.5 also.
[MTCB Software Development] oscyp:
the functionality that you are missing is really something that is working out of stock, even without any modules installed....

did you try reflashing the most recent MCU for your unit?

And if you are trying to have a workaround using mtc-keys, are you sure that the module itself is configured properly and working?
[MTCB Software Development] Feelipebr:
I have the latest version of MCU that is: MTCB KLD v2.78.

About the mtc-keys module, I'm not sure what's working, how could I do another test and see if it's working properly?
[MTCB Software Development] EagleSoldier:
Hi,

I know this is not the right place, but I hope somebody can help me :)

I am looking for the newest moduls:

+ xposed-mtc-manager

+ xposed-mtc-radio

+ xposed-mtc-music

+ xposed-mtc-bluetooth

Can somenody upload those files ?

Didnt have a account in 4pda.ru :(

Best regards :fingers-crossed:
[MTCB Software Development] Johny DJ:
Here you are:

https://www.dropbox.com/sh/bv68au97w2gf5ec/AAC-pc2BB5aX4qkRdJqQ6tabal
[MTCB Software Development] EagleSoldier:
Thank you very much :)
[MTCB Software Development] JZ84100:
Ignore 58, 59 (right knob)

Hello,

I would like that android 5.1.1 ignore commands 58 and 59 but I can not do it with mtc-keys.

I wrote

action_58 = null

action_59 = null

Thank you
[MTCB Software Development] TT_Vert:
Hey guys i'm hoping you can help me out. I just upgraded to a new version of Malays ROM and it seems mtc-keys double press is working a hair differently for me on just the volume knob double press. I have it configured to mute on single press and open recent apps on double. This always would work properly before but now when I double press it will mute first and then open apps, not supress the first press. For my navi button it opens waze on single and another app on double and that works fine. The double press app always opens on double press w/o ever opening waze. I have played w/ the click speed (I assume that is ms) and have set it to 100 and 1000 just to test (From default 500) and the 100 doesn't allow it to double press open but the 1000 is the same behavior. Any input?

Here is my config"

And here is the log when double pressing the volume knob:

Here is a log when pressing the navi button which appears to work properly:

Thanks much,

Dave
[MTCB Software Development] TT_Vert:
Can anyone perhaps help me out? Question above.

Thanks much,

Dave
[MTCB Software Development] TT_Vert:
I played around a bit more and it seems it is just pushing that command from the volume knob so quickly. Can someone look at my config and see if I'm missing something, sorry had to zip as it said the ini was invalid? Note in this config I have time at 500 just as a test. Also had it as high as 1200 and low as 100 w/o any luck.

Here you can see it is detecting 1 keypress first and it opens both.

D/mtc-keys( 474): keyCode=4 (1)

D/mtc-keys( 474): event_4=4

D/mtc-keys( 474): keyCode=4 (2)

D/mtc-keys( 474): handle 4 (2) 1 za.co.henry.hsu.adbwirelessrootbyhenry

D/mtc-keys( 474): action=apps

D/mtc-keys( 474): inject key 187

D/mtc-keys( 474): keyCode=57 (1)

Here on another key you can see it is not doing this:

D/mtc-keys( 474): keyCode=51 (1)

D/mtc-keys( 474): keyCode=51 (2)

D/mtc-keys( 474): handle 51 (2) 1 com.android.launcherjy511

D/mtc-keys( 474): run app=com.franckyl.yav1
[MTCB Software Development] tmiller101:
Has anyone tried to replace, remove, swap or change any of the actual physical buttons? After reconfiguration of the software I was wanting to try to change the actual buttons to reflect the new function.

Just wondering if anyone else has tried it?
[MTCB Software Development] valk791:
Hi guys i would ask your help. I have an Alfa Romeo Giulietta, Installed in the dash a nexus 7 2013 and I want use the steering wheel buttons. The car use the protocol is 15765-4 29bit and I have on Bluetooth obd reader. Can you please help me out? Thanks in advance.

Inviato dal mio FRD-L09 utilizzando Tapatalk
[MTCB Software Development] LRail:
Anyone know of documentation that explains how to map a key to a widget ? (not the main app)

I'l like to launch the "listen" mode of the Saiy app with a physical button.

Launching the main Saiy app itself only brings up the apps configuration menu (as expected)

I wondered if AutoStart Manager would show "intents" for widgets... But no luck so far.

Update: Saiy has a "install shortcut app" function in it's "Super user" menu.

So this should work....

app_xx=ai.saiy.ql.android
[MTCB Software Development] skezza:
Is it possible to get this working on Oreo 8.0 PX5 unit?
[MTCB Software Development] tonybod:
Hello all,

I think I'm in the right place.

I've got a head unit, and the steering wheel controls only work with the radio app. I'd like to get them to work with DAB+ and a music player.

Is this the tool I need? I've tried reading from post #1, but it seems something is missing, is this thread a continuation of an older one?

Thanks in advance,

Tony.