[MTCD Software Development] whitewolf8111:
Mtce-utils Button Remapping Guide

Actually, it is rather easy to do. And you can always uninstall these if you have problems. There is a little bit of a learning curve but this should help:

A little more background:

Some years ago, I had set out on a mission to get my steering wheel controls to work on my 01 BMW 540i with I-Bus controls, to work with my Xtrons PX5 4Gb RAM, 32Gb ROM. Nothing I tried would read my controls, or most importantly, allow me to remap them. I finally came across MTCD-Tools (

Download Link

) and MTCE-Utils (

Download Link

). And finally after some time, Malaysk added this to his Android 8 ROM in an update.

But it was time for an OS upgrade and I just switched up from Malaysk 8 ROM (Xposed) to the Hal9k Mod v4 ROM (Magisk)(donated for full ROM). And like I mentioned before, going from Xposed to Magisk, I lost the use of some of my favorite Xposed Modules; mostly the MTCE-Utils module that allowed for a lot of custom settings, mainly, button remapping on the head unit and steering wheel controls.

I also tried out Malaysk's android 9 Full ROM (donated for full ROM) to see if it still has MTCE-Utils and sadly it does not... as far as I could tell, it doesn't even have Xposed or at the very least, Magisk to install the fix below, so I put Hal9k Mod 4 back on.

I have put in a request with [MENTION=5092263]Hal9k_[/MENTION] and [MENTION=3590033]Malaysk[/MENTION] to possibly make this as part of their ROM's. :fingers-crossed:

Malaysk was surprised that my SWC's didn't work in the WheelKey Study app, but they have never worked in that app, on any ROM. And I told him that I think the WheelKey Study is for add on type SWC's (?) and not for factory SWC's that run on "CanBus" or in my case, "I-Bus". I tried to change the SWC or CAN Key settings in Factory Settings and no change. I've tried many different CanBus settings under the CanBus tab as well and in my case, anything other than CanBus set to NO, none of my SWC's would work.

MTCD-Tools has always been able to read my keycodes from my SWC's, so I never really understood why it's so hard to for the WheelKey Study to work. But I'm kind of glad because it forced me to discover what you can do with MTCE-Utils and it's much more customizable as you can assign any function, activity or app to any key, or remap any key to another key. Though one thing I couldn't figure out was how to have different options for single press vs press and hold for my SWC's, like you can somewhat do in the factory settings, for the head units buttons.

Before you proceed, if you wanted to try to my favorite and hands down the BEST Car Launcher, check out FCC Car Launcher, though I'm not sure if for the steering key part, you might need premium. I can't remember as I bought it a couple years ago. But it's TOTALY worth the cost (around $7 I think), and even if the SWC's don't work in there, you all should try it out anyway because everything else that launcher has to offer is nothing short of awesome! And the developer [MENTION=4292729]SpeedFire-[/MENTION] is very active and supportive here on the forums. Here is the Dedicated Thread.

Same thing for the "Wheel Buttons" option within FCC, it has never been able to detect my SWC's, though I haven't tried FCC's in a while. I wish I could use FCC's because remember it having some good options.

The Setup:

I would only use MTCD-Tools (

Download Link

) to find the KeyCodes of my buttons that I wanted to remap, as I couldn't really figure out how to make the rest of the app work properly, and would crash when trying some actions.

If you want to try and figure out how to work the app, and maybe you can accomplish all you want with just MTCD-Tools, then check out THIS MTCD TOOLS HOW TO THREAD. It's just an APK and doesn't require messing with the rest of this post. But good luck :)

Then [MENTION=4916555]okij[/MENTION] told me about EdXposed and was kind enough to link all the files needed and support links:

Hal9k ROM's already has Magisk installed!! The only thing you need to make sure of is DO NOT TRY TO UPDATE MAGISK! If you do, you WILL have bootloop problems!!!

All I had to do to install MTCE-Utils was to install the 3 EdXposed files, then MTCE-Utils; reboot after each file install (it will prompt you on most of them):

**You can install these first ones through Magisk by going to "Downloads" then search for Riru or manual download and install by clicking the links

**Install 1st: Riru - Core V19.7

**Install 2nd: Riru - EdXposed v0.4.6.1 (YAHFA)

Install 3rd: EdXposed Manager >>> Couldn't find in Magisk and had to manually download and install

Install 4th: MTCE-Utils >>> Install's like a normal APK, then go to the EdXposed Manager and go to the "Modules" option and activate the XposedMtceUtils module and reboot again)

Now all that is left to do is make a folder in "0" directory called: mtce-utils

I like to use ES File explorer but I'm sure the built in FileBrowser will work or use whatever you like.

Then you can use my backup settings.ini that I've attached, and place it in that folder. Or you can use mine as a template to tune yours. I'm sure you will at least have to change some of the KeyCodes around and stuff, but it will give you a good idea what needs to done. This was my backup from Malaysk A8 ROM, so there are some Russian description parts that I never removed (or knew if I could remove, but I'm sure I could).

Then using an app called Quick Shortcut Maker, that can tell you all the activites of an app (e.g to find the google assistant activity which is: com.google.android.apps.googleassistant/com.google.android.apps.googleassistant.AssistantActivity), and along with the help of THIS GREAT THREAD, I was able to tune my settings.ini file the way wanted.

My Steering Wheel Controls (SWC), and the buttons on the head unit, are now reprogrammed and working the same way I had set them up before! Super cool! :good:

Hope this helps!