7floor Sound Mod For MTCD

Search This thread

typos1

Senior Member
Apr 3, 2007
9,514
1,749
UK
Pachis83 made it work on Android 6, and now I am working on a fork of his work. I think I've been able to bundle the jna .so files in the APK - it now installs. But since I don't have emulator of Android 8 with Xposed installed, I will be able to try it tonight when I get home.

I saw what is done in the code in order to work with Android 6. I will at least try to make it work on 7 or 8 - there's only Android 7 and 8 Malaysk ROMs for my device.

Here's my repository:
https://github.com/sparkybg/mtc-sound

It is already bundled there. It only needs building with Android Studio and makes an APK with .so's in it, which installs, at least on my phone and emulator. But they both don't have Xposed installed so I cannot tell for tthe moment if the problem with libjnidispatch.so is rectified.

Unfortunately I cant help, limited knowledge like you, but it seems to me just a case of finding how to make it recognise the lib, so I can only offer encouragement - it seems youre not far from making it work.

By the way, there isnt just Malaysk's ROM for your device, theres also Booroondook's and the SVA ROM, plus you can root the standard ROM, although I m not sure if it would work without mod on either of those. Also @Hal9k_ is working on an Oreo to, it ll be a while before its ready, maybe he could offer some help ?
 

sparkybg

Member
Feb 6, 2017
22
3
No luck with bundling either. I think Xposed or Oreo itslf, or the ROM has something to do with it. It now installs, and does not look in XposedBridge.jar any more, but the status stays "Cannot find native JNA support". So definitely the .so file is where it is supposed to be, but for some reason the system cannot use it.
 

sparkybg

Member
Feb 6, 2017
22
3
I did not know about it, so I'm trying to make a completely software solution in a modified MCU firmware, similar to a hardware solution from 7floor, but independent of a particular version of Android and not requiring Xposed

I am using your "SoundPatched" mcu update now. Let me know if I can be of any help.
 

sparkybg

Member
Feb 6, 2017
22
3
Downgraded to Malaysk android 6 ROM - everything works and I am doing exactly the same with same .so file. I am out of ideas.

Is there Android 7 ROM for these devices? Possibly with Xposed preinstalled?
 
Last edited:

typos1

Senior Member
Apr 3, 2007
9,514
1,749
UK
Downgraded to Malaysk android 6 ROM - everything works and I am doing exactly the same with same .so file. I am out of ideas.

Is there Android 7 ROM for these devices? Possibly with Xposed preinstalled?

No Android 7 for RK3368/PX5 units.

You could try one of the other Oreo ROMs I listed above.
 

Pachis83

Senior Member
Apr 15, 2012
73
17
Downgraded to Malaysk android 6 ROM - everything works and I am doing exactly the same with same .so file. I am out of ideas.

Is there Android 7 ROM for these devices? Possibly with Xposed preinstalled?

Sorry to hear that sparkybg, my Android/Java knowledge is pretty limited so I can't help you. At least you can use it with Android 6.

I hope cs-x(RU) will implement a software only solution compatible with Android 8.0. I guess it would be enough to "bridge" in any way the I2C buses (SoC-->MCU-->BD37xx); native sound control logic would still be functional but also we would be able to send i2c data directly to the BD37xx chip from the Android system.

Talking about MTCD and Android 8.0: I'm reading a lot of issues with bluetooth module if you have the MD725 V2 one. Did someone find a solution?.

Regards.
 

An92

Senior Member
Oct 29, 2013
141
8
I have a mcu klyde, it would actually eonon with mcu code www. How can I make the change, compared to the images of the guide for KLD is different

 

Kheissi

Member
Nov 19, 2017
22
0
I have noted that there is slight but clearly hearable background noise always when sound is coming from Android. When switching to Radio the noise is gone. When pressing mute the noise is gone as well. It does not go up when turning volume up.

I don't recall there were any noise after the mod but now after time has passed the noise is there. Does anyone else have any background noise?

I'm now trying to update mcu and hal9k mod to see if it makes a difference.
 

typos1

Senior Member
Apr 3, 2007
9,514
1,749
UK
I have noted that there is slight but clearly hearable background noise always when sound is coming from Android. When switching to Radio the noise is gone. When pressing mute the noise is gone as well. It does not go up when turning volume up.

I don't recall there were any noise after the mod but now after time has passed the noise is there. Does anyone else have any background noise?

I'm now trying to update mcu and hal9k mod to see if it makes a difference.

Have you tried re-soldering the connections ?
 

marchnz

Senior Member
Nov 26, 2012
5,523
1,198
NZ
I have a mcu klyde, it would actually eonon with mcu code www. How can I make the change, compared to the images of the guide for KLD is different


With all due respect to 7floor, this hardware mod is no longer needed to control the sound processor, thanks to Wadzio efforts, all mods in software.
 

typos1

Senior Member
Apr 3, 2007
9,514
1,749
UK
With all due respect to 7floor, this hardware mod is no longer needed to control the sound processor, thanks to Wadzio efforts, all mods in software.

Wadzio's mod is buggy on some units, plus every time a new MCU comes out it has to be modified before you can use it so this mod still has its place.

For KK, L and MM units at least. I m sure it could be made to work on Oreo relatively easily too.
 

Kheissi

Member
Nov 19, 2017
22
0
I have 5.1 unit with RK3188 and I'm using latest Hal9k 1.3 mod with it. After I updated the unit to the latest 1.3 mod I had to do software part again to make this 7floor's hardware mod work.

I got it to work but with these problems:
1. Putting reverse gear in lowers the volume, but it does not return to normal level. (Workaround is to go in setting and choose not lower the volume but it is not what I want because it still kind of stays in the "reversing audio mode")
2. Very small issue: Bluetooth volume for calls is set to the max in the factory settings to hear the caller better. This causes very brief high volume cracking sound when the call ends and system switches back to radio or other source. It's not a big deal but annoying. Maybe some small delay could be applied in the switching part of the app?

Does anyone else have these bugs? Any solutions?
 

mulderfbi

Senior Member
Jun 7, 2006
92
9
Sofia
I have 5.1 unit with RK3188 and I'm using latest Hal9k 1.3 mod with it. After I updated the unit to the latest 1.3 mod I had to do software part again to make this 7floor's hardware mod work.

I got it to work but with these problems:
1. Putting reverse gear in lowers the volume, but it does not return to normal level. (Workaround is to go in setting and choose not lower the volume but it is not what I want because it still kind of stays in the "reversing audio mode")
2. Very small issue: Bluetooth volume for calls is set to the max in the factory settings to hear the caller better. This causes very brief high volume cracking sound when the call ends and system switches back to radio or other source. It's not a big deal but annoying. Maybe some small delay could be applied in the switching part of the app?

Does anyone else have these bugs? Any solutions?

I am on Malaysk ROM and i have same issue with lowering the volume when switching in reverse. I have to put the same settings to "ON" to go back to the normal volume. Not sure if the sound is different after that though.....

P.S. if you don`t mind asking you, what software part you do in order to get a sound with Hal9k 1.3 mod because din not have any luck with sound on this ROM and 7floor HW sound Mod....
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    I ve discovered that the 7floor sound mod has been made to work on an RK3188 MTCD unit by @kumarai.

    I ve searched all threads in this forum and it doesnt seem to be known amongst you MTCD guys (or even to have been mentioned), whereas over in the MTCB forums (the mod was developed for MTCB units) quite a few people have done it.

    I thought it would be worth mentioning here.

    What it does, basically is remove control of the sound processor from the MCU and give it to Android for a very worth while improvement in sound quality and more features.

    It does require some soldering and there is a small difference in what has to be done to the software (see first pic) to get it to work on MTCD units. Cant say it will work on Sofia or PX5 units, but theres no reason to think it wouldnt or couldnt be made to work on them.

    Here are some links :

    @kumarai on youtube :

    https://www.youtube.com/watch?v=KyDFyirit9I&feature=youtu.be

    @7floor's original thread :

    https://forum.xda-developers.com/an.../mtc-sound-controlling-bd37xxx-sound-t3234660

    7floor's Xposed repo page (which now mentions MTCD units) :

    http://repo.xposed.info/module/com.sevenfloor.mtcsound

    Screenshots from 4pda.ru (links from there not allowed ot be posted on xda)
    3
    PX5 2gb GS 7floor mod (hardware)

    I just finished the mod on my Xtrons tb706apl (GS Firmware) PX5 2gb. The mod really is straight forward with a minor difference for my PX5.
    20180120_200100_zpsywxbjstm.jpg
    sketch-1516516808625_zpswndv3xa0.png
    the wm8758b has different pin locations. Sclk is on pin 16 and sdin is on pin 17. The black tails coming off of the circles are the corresponding resistors they connect to. The far right side of the resistor is the 1k ohm side and the left is the codec side. Also this media codec is on the som, not on the mainboard.
    20180120_200613_zpsmsiig9by.jpg
    Another note, I found that the lines coming off of the bd37xxx on my board are 100ohm.
    *****BIG NOTE: R71 is SCLK and R70 is SDIN. this is opposite of what the px3 diagram is. R71 goes to pin 16 and R70 goes to pin 17*****
    The picture isn't great but I tried to just lift the surface mount resistors first but with them being so fragile in that orientation I just replaced them with 1k through hole resistors. Connected them to the pads closest to the bd37xxx left the pads furthest away blank.
    20180120_205555_zpswl4xugp9.jpg
    I did replace them with 1k ohm to be sure of communication compatibility/stability. In the first page posts someone speculated that the 100ohm resistors coming from the bd37xxx are to reduce hiss. I will explore if this is true. These are digital signal lines so i dont see how they would create hiss. I do know that the resistors coming from the codec are 1k ohm. Besides that, the soldering was pretty tricky trying to solder in between 2 sets of resistors on the som. But it all went well and hopefully the software works just as well. I will be installing the unit back into my car and will let you know how it works.
    3

    Very hearable, at least in my case.
    After equalizing it, bass now is more defined and you don't get that continuous "booom-booom-booom" with resonance that hides everything else.
    Trebble is also really improved, you can configure it to +20db gain instead of +10db gain of the stock eq.

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

    Well, here is my github repository with the mods I applied to the source code from 7floor to get it working in my MTCD PX5 Android 6.0 unit.

    As you can read in readme file, I fixed (or almost fixed :rolleyes:) the following:

    1-Volume attenuation when reverse gear not working (fixed)
    2-GPS mixing with FM radio not working (fixed, some glitches now and then)
    3-Error/Warning upon startup (fixed, big thanks to DSA8310 who provided me the code)

    You all are free to contribute to the project. Programming code is not one of my strengths, I only program some small tools under .NET as a hobbie, I'm unfamiliar with Java code.

    https://github.com/PachisPachis/mtc-sound
    1
    thats very cool,

    however does it get rid of the constant hiss sounds, and the noise generated when mcu is processing.

    regards

    I ve got an MTCB/C unit and I never had those issues even with the MCU controlling the sound processor, so I dont know, if the sounds are caused by the MCU processing sound then maybe.
    1
    unfortunately the current solution from 7floor is compatible only with Android 5.1.1

    Pachis83 made it work on Android 6, and now I am working on a fork of his work. I think I've been able to bundle the jna .so files in the APK - it now installs. But since I don't have emulator of Android 8 with Xposed installed, I will be able to try it tonight when I get home.

    I saw what is done in the code in order to work with Android 6. I will at least try to make it work on 7 or 8 - there's only Android 7 and 8 Malaysk ROMs for my device.

    Here's my repository:
    https://github.com/sparkybg/mtc-sound

    It is already bundled there. It only needs building with Android Studio and makes an APK with .so's in it, which installs, at least on my phone and emulator. But they both don't have Xposed installed so I cannot tell for tthe moment if the problem with libjnidispatch.so is rectified.