yashsingh1/xdaforums huggingface dataset:
[MTCB Software Development] 666cin:
Hi!

I have a problem with my PX3 steering wheel keys. Car: MB W203 with canbus decoder.

In this car buttons next/back on steering wheel are used for changing trip computer screens.

So now if I press next/back on steering wheel my songs are changing and screens on my trip computer too...

I would like to disable those buttons for radio. I do not need to change songs from my steering wheel - i prefer to change my trip screens.

Can I do this via MTC-Keys? and assign to next/back button = no action?

or is there a chance to edit somehow canbus profile in factory settings?

MtcdTools showe that those buttons are 278 and 276

Regards,

Marcin
[MTCB Software Development] rabenkind:
Hi,

did you solve it?

I have the same car and problem ongoing with px-5.
[MTCB Software Development] Kubaat3lover:
IVe got the same issue here...
[MTCB Software Development] Kubaat3lover:
Marcin ive got the same issue, did you fix that?

dziekuje
[MTCB Software Development] rabenkind:
Requested Porblem

Sorry for the real late reply. I had to much work over the years and was ill in between so all turns out to be stressy.

You can solved it by using the hal9k Mod for px3 units. With this custom rom you will be able to block the seeking and changing even you tab the swc buttons.

But much better is to buy a px6 Head Unit with 4gb RAM/64Gb ROM and installing the new hal9k Mod 4.0 Custom Rom. There you can modify the swc function much better, because in the new CR you can set single click and double or long click action for the steering wheel keys., e.g. singleclick = "*" and double/long click = seek up or down.

Mover over it has auto sleep, super fast reaction time a working speech control for steering bt telephon by mtcd dialer or google now also offline and many more features.

We have a S202 with px3 hal9k and a S203 with px5 and we are super sartisfied with them.

Search here hal9k mod 4.0

Regards
[MTCB Software Development] agentdr8:
You should be able to do a soft-reboot from Xposed Installer->Framework. It restarts the shell, which reloads all of the xposed modules.
[MTCB Software Development] FordFocus2007:
Hi there,

big fan of this forum and especially the roms of Malaysk :). But not so much of the buttons of my HU...

So i started figuring out this MTC keys thing, with a bit of succes already :cool:

What i found out yet.

as far as i see in multiple posts on XDA and 4pda.ru this i universal for our type of radios ( rk3066 and rk3188 )

menu=57

navi=51

ams=52

bt=50

band=43 (radio)

dvd=42

eq=49

play/pause=3

mute=4

vol-=27

vol+=19

trk-=58

trk+=59

What i have now is this:

app_52=com.microntek.music --> starts standard MTC musicplayer on AMS button, only worked in radio before and screwed up my stations :mad:

app_49=com.android.settings --> opens the settings menu in place of my EQ button

app_42=com.spotify.music --> opens spotify in place of my DVD button

action_43=back --> introducing a back button in place of my band (RADIO) button

I'm currently looking for an option to go to the Amplifier menu in settings, anybody had any luck?

I think it is in the actvity_xx option, i tried this ( activity_49=com.android.settings/com.android.settings.mtcampsetup) but it did not work ( sends me home.. ) maybe i'm doing it wrong?

If somebody has any ideas, please spill it
[MTCB Software Development] JEMShoe:
If you cannot get it to work then an alternative route would be:

1) Create a task in Tasker to call the activity (com.android.settings/com.android.settings.mtcampsetup), export the task as a standalone app (apk), install that app then use mtc-keys to call that standalone app when key is pressed (app_49=StandaloneAppPackageName).
[MTCB Software Development] carter.w.jason:
event_xx=23

This will bring up the amp menu

or..

event_xx=49

This will cycle through the EQ presets.
[MTCB Software Development] FordFocus2007:
Thanks, this works perfect :good:

---------- Post added at 10:34 ---------- Previous post was at 10:30 ----------

Thanks for the reply, this looked like a lot more work then carter.w.jason 's option so i tried that first and that worked for me. Thanks for your input anyway
[MTCB Software Development] Mr Bigglesworth:
I did get mine to work using the "activity_49=com.android.settings/com.android.settings.mtcampsetup" - except I needed to use some capitals to match the package installer name.

That's interesting on the events - I didn't realise that you could do that. Is there a list of Events? I would like to know if there was one which did the balance change (i.e. like EQ cycle, but for the fader/balance).

Thanks!
[MTCB Software Development] FordFocus2007:
Ah, activity's are Case sensitive.

I did not find anything about balance or fader, these pages are about it ( i use google chrome to open and translate ) http://4pda.ru/forum/index.php?showtopic=704299&view=findpost&p=39969383 and http://4pda.ru/forum/index.php?showtopic=557670&view=findpost&p=32562883

Maybe someone with more experience knows about it ....
[MTCB Software Development] m4f1050:
I need help, I have KGL v2.83 on a VW 8" Yinuo and I ran mtcKeys without the .ini and now none of my buttons work.

My buttons are:

Power

Back

Eject

Vol+

Vol-

Can I install an older MCU as long as its KGL? i.e. KGL v2.80? I need my buttons back. :(
[MTCB Software Development] FordFocus2007:
It might be the best to reflash your rom first and see if it helps, your version of MCU (v2.83 ) is not yet available for downloading so you could try v2.80 but you could not go back...
[MTCB Software Development] m4f1050:
No luck reflashing OR switching to MCU KGL v2.80... I even lost bluetooth, noticed that this morning driving to work, but I can probably fix the BT issue since the device tries to pair to my phone when I turn on the car/radio, this happened to me before. I need to clear the paired devices doing a wipe data, reflash, wipe data, etc etc... I contacted the seller and he's going to try to get it if he can. I hate it when they do this kind of crap...and it's always Rockchips, remember when RK3066/RK3088/RK3188 Android TV's came out, it was a nightmare to keep up with the hardware differences!

I have the *SAME* radio but came with KGL v.2.80 on my F150 with a Metra kit, they didn't have any Android 8" for the F150 so I made the VW one fit with really minor mods. :) The buttons get covered on the F150 but the steering wheel buttons work, so time to swap the radios from one car to the other I guess, until KGL v2.83 comes out.

BTW, is this MCU a partition that can be extracted? No encryption? Anybody has KGL v2.83 that can try?

EDIT: Autotop got me the KGL v2.83 but it didn't solve my issue, somehow I must have changed some NVRAM stuff.... Oh well, put the radio on my F150 since the buttons get covered anyways.... What I would like is an Xmod that adds EJECT button to the notification bar, anybody knows of any???
[MTCB Software Development] doctorman:
Wipe the data 2 to 3 time in recovery and reinstall the MCU and ROM

then reset the ROM after it loads in the setting >back up and reset
[MTCB Software Development] m4f1050:
On it! Thanks for the tip. Will report back.
[MTCB Software Development] veget83:
*moved from main tread:

---------- Post added at 08:12 AM ---------- Previous post was at 08:04 AM ----------

[quote name="agentdr8" post=65045340]You have to create that file yourself, and put the proper stanzas in it to do the key mapping.[/QUOTE]

Don't work...

- I create a "mtc-keys" folder on the Sdcard main root

- create "mtc-keys.ini "

- edit with notepad and add a string:

app_69=com.microntek.avin

not work... :(

[quote name="agentdr8" post=65054465]Try monitoring logcat while pressing buttons and see if there's any information. You can do this via Terminal like so:<br />

<br />

If nothing shows up when you press the assigned buttons, then either mtc-keys isn't working, or the Xposed Framework isn't working.[/QUOTE]

Keys are monitored and button work

"<br />

-keys( 477): keyCode=27<br />

D/mtc-keys( 477): keyCode=57<br />

D/mtc-keys( 477): keyCode=57<br />

D/mtc-keys( 477): keyCode=69<br />

D/mtc-keys( 477): keyCode=69<br />

D/mtc-keys( 477): keyCode=69<br /

"

There are any problem to mtc keys... but the script don't work...[emoji36]
[MTCB Software Development] FordFocus2007:
Try this one.

event_69=72

This website in russian is about these event possibilities 4pda.ru link i open it in Chrome and translate it

In testing i found that if you have something open ( like musicapp ) and you press your reassigned button and it does not work but mtc keys works, it will "press the home button" --> you are now in homescreen, or worse (mtckeys does not work) you go to bluetooth ( 69 = BT )

And as in the quoted message, Sd-card is the GPS-card ( i know its also a sdcard:eek: )
[MTCB Software Development] m4f1050:
Is there a way to map the sleep to Eject?

Only way I can eject on my F150 at the moment is using Factory Settings, keject as password, its an 8" vw radio and the buttons and sdcards are covered by the metra dash kit. I would like to make the sleep touch button the eject button.
[MTCB Software Development] FordFocus2007:
I know who told you that..:highfive:

I dont know anything about programming.. I think you should pm [MENTION=3590033]Malaysk[/MENTION] about this, maybe he could be of assistance as he is the maker of his statusbar. I have seen multiple things come up in that bar through several firmwares of him ( no eject button unfortunatly )
[MTCB Software Development] m4f1050:
Well I asked because there is a hardware button that puts the screen to sleep, maybe the touch button acts like this hardware button? IDK... I tried to talk to him, he won't answer. I asked if he wanted to add the set 12 hour in the misc of mtc xposed module but got no answer...
[MTCB Software Development] FordFocus2007:
I did find this keyevent: KEYCODE_MEDIA_EJECT and KEYCODE_MEDIA_CLOSE this could be used with mtckeys ( but you have no keys.. )

This guy posted about tasker Link

Maybe you can do the same for a keyevent...

http://developer.android.com/intl/ru/reference/android/view/KeyEvent.html
[MTCB Software Development] m4f1050:
Thanks buddy! Will definitely check it out when I get home, im driving the vw cc today.. LOL
[MTCB Software Development] Tumke32:
Google voice search

When i want to ad the microphone option from google (google voice search) to a button which action should i use? Or is it just the google app i must connect to the button? I tried to find the app (the blue icon with the mic logo) in package name viewer but i cant find it.
[MTCB Software Development] FordFocus2007:
Try to find this.. com.google.android.voicesearch in package name viewer and see the list of activity's

And i think you will need activity_xx=packagename/activity this is case SEnsitiVe

I don't use this, so i don't know more..

---------- Post added at 23:58 ---------- Previous post was at 23:13 ----------

I think you are going to swap malaysk's rom for Booroondook's, you can activate a eject button on the statusbar:laugh:

Or find out how to "grab" it and take it to malaysk's

Been reading, and reading, and readi..... and stumbled upon this

Maybe someone is willing to test it for you, or do it yourself _edit_ IT WORKS:laugh::laugh::cool:

There is a file build.prop and in there a string called "ro.product.bareject = false"

open Root explorer ( maybe you already know all this, except the last part )

press all the way back to root, then go to system / usr there you see build.prop ( now be a bit more carefull ) on the left click on mount r/w . next to build.prop there is a tickbox to select the file, select it, in the rightcorner there is a menu (3 dots under each other) click open with -> text editor ( this file is an important system file, just to scare you a bit:rolleyes: ) scroll down, almost to the bottom, all kinds of "ro.product.xxx entries.

There you find ro.product.bareject=false --> change it to ro.product.bareject=true . Rightcorner menu ( 3 dots ) save, 2nd save and exit. Reboot, i used the reboot (power) button of malaysk. Thats all:fingers-crossed:

I actually (finally) pressed a DVD down my units throat.. haha was not sure if that thing even worked, well both work now
[MTCB Software Development] m4f1050:
Another thing to play with ;)
[MTCB Software Development] FordFocus2007:
editted my post

IT works
[MTCB Software Development] m4f1050:
Cool! I use System Tuner Pro for build.prop stuff.. ;) I'll add that line if it aint there, then set it to true.
[MTCB Software Development] FordFocus2007:
I will try that program, does that also control All the statusbar icons?
[MTCB Software Development] m4f1050:
Not sure, because each build.prop is per device I assume.

It lets you edit the build.prop and other stuff.

Done. :)
[MTCB Software Development] waywardzeek:
Mapping Steering Wheel Key to Voice Search

If you figure out how to launch voicesearch with this approach (i.e. steering wheel button) , please share. I am trying to do the same thing but no success. I am using the Malaysk ROM and the mtc-keys apk is a much older version (may have something to do with it). I keep trying to make r/w the directory where app but fails to install.
[MTCB Software Development] SpeedFire-:
You need to use Intent to trigger the following Activity = android.speech.action.WEB_SEARCH

I know it does not seem like the voice search but it is.

P.S. Btw, came to this thread trying to find key remapper for my FlyAudio G9 (Quallcomm 801 based), but it seems that there is no one here..
[MTCB Software Development] waywardzeek:
I thank you for your reply. I will try this. I think for MTC-Keys logic this would be activity_XX=android.speech.action.WEB_SEARCH, in my case my button ID is 114 so essentially (assuming it would be)

activity_114=android.speech.action.WEB_SEARCH. I believe that my version of MTC-KEYS apk is 2.1, so I need to figure out how to upgrade to to 2.5/2.6 for this logic to work? If anybody has suggestions on how to upgrade the app on Malaysk's ROM please let me know.

Thanks for all in advance for any assistance that you may provide.

Zeek
[MTCB Software Development] m4f1050:
If it was installed, you can copy the base.apk from /system/app/(folder of app) and install on your MCU.

If its a "system" app, you need to copy the .apk in /system/priv-app and give it 644 permission.
[MTCB Software Development] FordFocus2007:
if indeed it is the right intent.. it would probably be intent_114=android.speech.action.WEB_SEARCH

Try and hopefully succeed..

Here is the newest mtc-keys.apk

Like the person above says, open up root explorer and place it in root / system / app with right permissions ( 644 ) and press the apk after doing all this and it updates, if it refuses.. delete the old 2.1 version and reboot, it updates itself. You have to probably reactivate mtc-keys in xposed..

mtc-keys 2.11 ( in xposed 2.12 for some reason )
[MTCB Software Development] waywardzeek:
HI all,

Thank you so very much for the suggestions/help. I will certainly try suggested approaches and report back. I admit I am a bit of a noob at this, but I did search extensively before asking my questions LOL

Thanks again,

Zeek
[MTCB Software Development] :
Can i use it too if my touchkeys arent working?

But how will i get the keycodes then?

I tried the App CarService but it doesnt show me any keycodes in log at the left side
[MTCB Software Development] :
Does someone have the seven keycodes for this device?
[MTCB Software Development] FordFocus2007:
Have you already tried to flash the MCU again..

I heard someone with the same problem had to do this a few times with the same MCU file to get them working again

As long as you can not "see" the keycodes, remapping them will simply not work
[MTCB Software Development] :
Yes i tried it so often. I stopped counting how often :(

Gesendet von meinem SM-N910F mit Tapatalk
[MTCB Software Development] m4f1050:
What I want to do is using mtckeys change a key to mute all apps, open google (like saying OK GOOGLE) and to be able to say CALL "contact name", or NAVIGATE TO WORK which already works but not the calling, and after call ends unmute whatever app was muted.

I tested ok google and it mutes propperly, so all i need is for it to dial on phone from my google contacts but my bluetooth app doesnt sync and i dont have contacts on my radio.
[MTCB Software Development] Tumke32:
Oke if your bluetooth app does not work there is a workaround. Load your contacts in a google account, or use the same google account as your telephone is using and put it in your Hui. Then download the app headunit en select "enable call from android" and select / download true contacts app.

If you connect this app i made to a button like this in mtckeys.ini : app_69 = sxp.ksu.nan it will work. It mutes all the music which is playing. If you want to call by voice you have to download the app i mentioned before. Download it and enable the function that you can use voice dailing by oke google.

Reboot

After the reboot open the true contact app. You see that all your contacts are in this app. Press the button you mapped my app. It opens google voice search. Say call "name of the contact" and it will call your contact if your telephone is connected to Bluetooth. You will get an error message that there is no network but you can ignore that.

google voice app

https://drive.google.com/file/d/0B9a-tOFUEeEBeDFKWWlHaGNNdFk/view?usp=sharing
[MTCB Software Development] Mr Bigglesworth:
Hi all,

Did anyone get the mapping of the google voice search to work ok?

I saw some suggestions about using (a) "Activity = android.speech.action.WEB_SEARCH" and also something on (b) "activity_xx = com.google.android.googlequicksearchbox/VoiceSearchActivity"

I had a very very quick look at my package explorer. Couldn't immediately see anything like (a). Looking at (b), I can find something similar, but I think the command should be: "activity_xx = com.google.android.googlequicksearchbox/com.google.android.googlequicksearchbox.VoiceSearchActivity"

Let me know if this works for anyone - I'll try and get around to trying it sometime soon!
[MTCB Software Development] Tumke32:
Check my last post, the one above yours. Download the app i made and map it to a button like it did in mtckeys.ini. It must work we have the same hui (mx) :)
[MTCB Software Development] waywardzeek:
Thanks for this! Awesome of you to create an app. I will download and try today. The weird challenge I was having: If I map a steering wheel key in the 'Steering Wheel Keys' under Settings I can see the MTC read out when I logcat. But if I don't have a key mapped in that program it does not show up as a MTC key when pressed; really weird. Anyway I will try this APK and see how it goes.

Again, very nice of you to help me out. Greatly Appreciated.

Zeek
[MTCB Software Development] TattooHH:
TomTom please help :(

Does anyone know how to install TomTom :(
[MTCB Software Development] jakejm79:
I was wondering if someone could help me with my ini setup.

I was hoping to use the module so I could have a toggle between HOME and the recent apps (I would love to do the app drawer, but I understand toggle with an activity wont work, is there an android action for opening the app draw?), also I was figuring I could use it instead of the RK3088 carservice (the persistent icon annoys me :) ) for the regular media controls

This is what I have:

intent_59=media_next
intent_58=media_previous
intent_03=media_play_pause
action_57=home
action_57=apps

It seems to be partially working, the button I have assigned for home toggles between home and the recent apps, though weirdly when I was finding the button codes it would give me 57 and 114 in the logcat (logcat | grep mtc-keys).

But it is the media controls I am having a problem with.

Any help would be great.
[MTCB Software Development] Mr Bigglesworth:
So out of interest I tried my suggested path and yes it does bring up google voice completely fine. However, it doesn't mute everything else first which is a bit annoying. So I see the point of what you were trying to do with an app to mute other things.

Although I am confused, because on my phone, google voice mutes anything else that is going on, strange it doesn't happen for the HU.

I tried downloading your link but the antivirus on my laptop wouldn't let it past, humph.

As I am trying to learn a bit more and you said you made this using tasker - can I ask for more info, do you use tasker to kill the app and then launch the command?

Thanks
[MTCB Software Development] Tumke32:
" do you use tasker to kill the app and then launch the command? "

Nope i only converted the activity to an app because my path in mtc-keys was not working. I never tried the path you mentioned, but i'am certainly going to try it.

The app i made mutes the app which is playing, but i noticed it's failing sometimes. Maybe it's possible to make it in tasker, first mute the app and then launch the voice search, but i have to figure it out how to do that.
[MTCB Software Development] Mr Bigglesworth:
I found it strange strange that Google voice didn't automatically mute everything else. Maybe I need an updated version of Google voice or there is some seeing to activate with in the Google voice app?
[MTCB Software Development] veget83:
it's possible use mtc-keys to mod mode button of my SWC?
[MTCB Software Development] SKOLSC:
Hi all....

I use MTC keys with success on my HU, but i've a little question :

Is there somewhere a list off all action commands option (home/back/apps....etc) ?

I would like to set my SWC track buttons to Last/Next app (like GMD gesture do with action command)....

Is it possible?

Thank's a lot.

SKOLSC
[MTCB Software Development] McCambletron:
mtc-keys remapping only worked after the first reboot; keys are now no longer remapped. Why? I fresh-installed mtc-keys from my /system/app folder with 644 permissions, and have mtc-keys.ini correctly formatted in /sdcard/mtckeys.

Also can anyone tell me which is the latest version of mtc-keys?

mtc-keys 2.13 has been posted very very recently by Malaysk, and mtc-keys 2.13 is what was recently posted on the xposed repository, but this dedicated mtc-keys thread contains mtc-keys 2.6 from last year.

Which is newer?
[MTCB Software Development] jakejm79:
13 > 6, note 2.6 is not 2.60.
[MTCB Software Development] Mr Bigglesworth:
I made some progress on this (finally!).

So I downloaded Tasker and App Factory. First tried making a set of tasks that killed other apps and started voice, but it didn't seem to work that well. Then decided what could be useful is to actually switch to the bluetooth page, wait 5 secs and launch google voice. This works very well as switching to bluetooth mutes everything else (I don't normally stream from bluetooth, but play radio, dvds or from SD card), then the voice launches. Tried navigate to... and Call... functions and they work well. Then exported as app and installed. Quite pleased with myself at the moment (ok this is probably so simple to others, but it's all new to me).

Then looked up app name using package explorer and mapped using the "app_69=...." edit in the mtc keys ini file.
[MTCB Software Development] Tumke32:
well done! Can you post your apk file? thanks
[MTCB Software Development] Mr Bigglesworth:
as I said learning this all , will find it where it is saved and try to upload it. Will it have any personal info in it?
[MTCB Software Development] ESTIMULO:
Yes please, upload it. I want to do the same.

Thanks

Enviado desde mi SM-N920C mediante Tapatalk
[MTCB Software Development] TT_Vert:
Will carservice work w/ soft keys? I've tried it but it doesn't seem to log anything. That or I don't know where It should show the logged data. I have no hard buttons to test. Or is this JUST for steering wheel buttons?
[MTCB Software Development] jakejm79:
It is for physical keys or SW controls, what do you mean by soft keys?
[MTCB Software Development] TT_Vert:
Sorry I mean these capacitive touch keys.

[IMG="Here"]https://i.ytimg.com/vi/55nR2DvUixM/maxresdefault.jpg[/IMG]
[MTCB Software Development] jakejm79:
The ones on the left hand side of the bezel, should work like they are physical keys, in fact they are physical ones just not mechanical.