7floor Sound Mod For MTCD

Search This thread

Pachis83

Senior Member
Apr 15, 2012
73
17
xposed log error
02-23 23:14:15.337 I/Xposed ( 198): -----------------
02-23 23:14:15.337 I/Xposed ( 198): Starting Xposed version 89, compiled for SDK 23
02-23 23:14:15.337 I/Xposed ( 198): Device: px5 (rockchip), Android version 6.0.1 (SDK 23)
02-23 23:14:15.337 I/Xposed ( 198): ROM: px5-Malaysk 6.0.1 MXC89L user.hct.20180201.104627 test-keys
02-23 23:14:15.337 I/Xposed ( 198): Build fingerprint: Android/px5/px5:6.0.1/MXC89L/hct02011051:Malaysk/test-keys
02-23 23:14:15.337 I/Xposed ( 198): Platform: arm64-v8a, 64-bit binary, system server: yes
02-23 23:14:15.337 I/Xposed ( 198): SELinux enabled: no, enforcing: no
02-23 23:14:17.824 I/Xposed ( 198): -----------------
02-23 23:14:17.825 I/Xposed ( 198): Added Xposed (/system/framework/XposedBridge.jar) to CLASSPATH
02-23 23:14:18.532 I/Xposed ( 198): Detected ART runtime
02-23 23:14:18.537 I/Xposed ( 198): Found Xposed class 'de/robv/android/xposed/XposedBridge', now initializing
02-23 23:14:19.008 I/Xposed ( 198): Loading modules from /data/app/com.sevenfloor.mtcsound-1/base.apk
02-23 23:14:19.058 I/Xposed ( 198): Loading class com.sevenfloor.mtcsound.xposed.Module
02-23 23:14:19.092 I/Xposed ( 198): Loading modules from /data/app/xposedmtcpcradio/xposedmtcpcradio.apk
02-23 23:14:19.107 I/Xposed ( 198): Loading class com.mvgv70.xposed_mtc_pcradio.Main
02-23 23:14:24.916 I/Xposed ( 199): -----------------
02-23 23:14:24.916 I/Xposed ( 199): Starting Xposed version 89, compiled for SDK 23
02-23 23:14:24.916 I/Xposed ( 199): Device: px5 (rockchip), Android version 6.0.1 (SDK 23)
02-23 23:14:24.916 I/Xposed ( 199): ROM: px5-Malaysk 6.0.1 MXC89L user.hct.20180201.104627 test-keys
02-23 23:14:24.916 I/Xposed ( 199): Build fingerprint: Android/px5/px5:6.0.1/MXC89L/hct02011051:Malaysk/test-keys
02-23 23:14:24.916 I/Xposed ( 199): Platform: arm64-v8a, 32-bit binary, system server: no
02-23 23:14:24.916 I/Xposed ( 199): SELinux enabled: no, enforcing: no
02-23 23:14:27.204 I/Xposed ( 199): -----------------
02-23 23:14:27.205 I/Xposed ( 199): Added Xposed (/system/framework/XposedBridge.jar) to CLASSPATH
02-23 23:14:27.824 I/Xposed ( 199): Detected ART runtime
02-23 23:14:27.829 I/Xposed ( 199): Found Xposed class 'de/robv/android/xposed/XposedBridge', now initializing
02-23 23:14:28.282 I/Xposed ( 199): Loading modules from /data/app/com.sevenfloor.mtcsound-1/base.apk
02-23 23:14:28.324 I/Xposed ( 199): Loading class com.sevenfloor.mtcsound.xposed.Module
02-23 23:14:28.351 I/Xposed ( 199): Loading modules from /data/app/xposedmtcpcradio/xposedmtcpcradio.apk
02-23 23:14:28.379 I/Xposed ( 199): Loading class com.mvgv70.xposed_mtc_pcradio.Main
02-23 23:14:29.275 I/Xposed ( 596): MTC Sound version: 2.0.4
02-23 23:14:29.983 I/Xposed ( 596): MTC Sound status: i2c, Controlling via /dev/i2c-5
02-23 23:14:31.130 I/Xposed ( 596): Attempting to patch class android.microntek.service.MicrontekServer
02-23 23:14:31.134 I/Xposed ( 596): Wrong Device: unknown MTCManager app (will not start Equalizer by hardware button)

Any app that tries to utilize sound in any way (Google maps, power amp, music player) all freeze/crash and require force stop after placing lib64 patch file in system. Radio works fine with 7floor eq. 10 band has no function. Any ideas?



Hi have the same log and error and it's working ok for me. I don't have Equalizer hardware button so no problem for me. I don't see anything wrong/broken in the log, it should be working.
Did you set the file permissions? I would try to reinstall everything from scratch and test. Too many variables if doing the mod and also upgrading your SoM to PX5 4GB from PX3 1GB at the same time.
Anyway I have it working with Malaysk 6.2 and a PX5 XRC 2GB. Only I had to mod the apk, it's attached in one of my posts.

Regards.
 
  • Like
Reactions: mrjule

mrjule

Member
Jun 20, 2015
9
0
PX5 KGL Malaysk 7.0 7floor MOD

Hi have the same log and error and it's working ok for me. I don't have Equalizer hardware button so no problem for me. I don't see anything wrong/broken in the log, it should be working.
Did you set the file permissions? I would try to reinstall everything from scratch and test. Too many variables if doing the mod and also upgrading your SoM to PX5 4GB from PX3 1GB at the same time.
Anyway I have it working with Malaysk 6.2 and a PX5 XRC 2GB. Only I had to mod the apk, it's attached in one of my posts.

Regards.
View attachment 4431075
View attachment 4431076
Ive attached layout of my KGL unit. I made connections as arrows indicate. I have found no related image of my mainboard revision. I traced Pins 25 and 26 of sound processor to the two circled 100ohm resistors.(no resistors labeled R70-R71 on my board) They were removed and 1K resistors connected as indicated by arrow that I measured common to sound chip. In my case it appears that Pin 25 is SCL(left resistor) and 26 is SDA(right resistor) I soldered the other end of 1k resistors in between resistors on SOM card. The two adjacent resistors measured common so I did not worry about them making contact. Top set SDIN (pin 17) Bottom set SCLK (Pin 16) This configuration gave no errors and radio apk works with 7floor mod.(Not with any android sound apps - Music etc.) I have discovered my apps crash even when 7floor app is not installed (only Patch) leading me to believe I do have a hardware issue. Any insight or confirmation of my conclusion before I rip radio out for 4th time. Thanks so much for your time.
View attachment 4431089

View attachment 4431090
 
Last edited:

Pachis83

Senior Member
Apr 15, 2012
73
17
View attachment 4431075
View attachment 4431076
Ive attached layout of my KGL unit. I made connections as arrows indicate. I have found no related image of my mainboard revision. I traced Pins 25 and 26 of sound processor to the two circled 100ohm resistors.(no resistors labeled R70-R71 on my board) They were removed and 1K resistors connected as indicated by arrow that I measured common to sound chip. In my case it appears that Pin 25 is SCL(left resistor) and 26 is SDA(right resistor) I soldered the other end of 1k resistors in between resistors on SOM card. The two adjacent resistors measured common so I did not worry about them making contact. Top set SDIN (pin 17) Bottom set SCLK (Pin 16) This configuration gave no errors and radio apk works with 7floor mod.(Not with any android sound apps - Music etc.) I have discovered my apps crash even when 7floor app is not installed (only Patch) leading me to believe I do have a hardware issue. Any insight or confirmation of my conclusion before I rip radio out for 4th time. Thanks so much for your time.
View attachment 4431089

View attachment 4431090

Pretty sure it's hardware related.
Check WM resistors which go to pin 25 and 26, they should give 1k Ohm. Maybe you fried them while soldering, it would explain why android audio isn't working (no communicación between SoM and WM chip) while FM radio works.
Also check pin 25 and pin 26 connnection to their resistors pad, maybe you broke the pcb path.

Regards.
 

RomP44

Member
Dec 17, 2017
18
3
Hi all,
Do you have news on this topic? Is this modification is reliable? I hesitate to do the mod for a MTCE XRC PX5 (Android 6.0.1)
 

Kheissi

Member
Nov 19, 2017
22
0
For me ITS working great! You should check first that you’re able to root your device and install xposed. I have still Android 5 from hal9k and I have not updated it because I’m not sure if xposed can be installed on android 7...
 

RomP44

Member
Dec 17, 2017
18
3
For me ITS working great! You should check first that you’re able to root your device and install xposed. I have still Android 5 from hal9k and I have not updated it because I’m not sure if xposed can be installed on android 7...
I have installed Malaysk ROM this morning without any issue. I have updated the mtcsound app with version from Pachis83. I have copied the lib libjnidispatch.so 64 bits. Xposed log displays I2C communication error, but as I haven't done the hardware mod yet, seems good.
So everything should be ready :)
 
Last edited:

RomP44

Member
Dec 17, 2017
18
3
I have soldered 1 wire, this one is ok. But trying soldering the other one, i have fried the smd resistor... :(
Is it a 1kOhms size 0402? Where can I found this component without paying a lot just for shipping?
 

Attachments

  • IMG_20180523_180103.jpg
    IMG_20180523_180103.jpg
    245.7 KB · Views: 265

RomP44

Member
Dec 17, 2017
18
3
I have done the mod at work, better soldering equipment than at home.
But unfortunately it doesn't work. I get an error message in log of Xposed: "I2C error, no answer from device", something like that. I have no sound at all (radio, app or external audio input).
I have checked wiring, everything seems ok:
WM8756 SCLK (16) - 1 k Ohms SMD resistor - wire - 1 k Ohms classic resistor - BD37033 SCL (25)
WM8756 SDIN (17) - 1 k Ohms SMD resistor - wire - 1 k Ohms classic resistor - BD37033 SDA (26)
I have measured 2 k Ohms between 16-25 and 16-26.

MTC sound 2.0.4
PX5 MTCE XRC

Edit: error found, my fault... I have soldered pins 8 and 9 instead of 16 and 17 on WM8758. The dot on the chip is not at the same place on the datasheet (top left corner on datasheet, bottom left corner on component). I'll fix it on Monday...
 
Last edited:
  • Like
Reactions: marchnz

RomP44

Member
Dec 17, 2017
18
3
I have managed to do it this evening, and it works!
No time yet to adjust the sound (I have a measurement microphone), but radio and apps are working. MTC sound app works too.
 
  • Like
Reactions: marchnz

sev

Senior Member
Aug 23, 2006
123
9
i am totally perplexed. I have a PX3 XRC unit. I took it apart to do this mod and nowhere on the unit could i find a WM87xx chip.

Turns out my PX3 is a later revision that doesnt have the WM87xx chip. Mine uses the RK616 chip, and has a micro HDMI port on the SOM... I guess no go for me.
 
Last edited:

marlowe551

New member
Jan 8, 2014
3
0
Oreo?

Has anybody tried this mod sucessfully on the malaysk 8.0 Rom for PX5?
Thanks in advance :)
EDIT: BTW I can't download the libjnidispatch.so file from github, does anyone have a better link?
 
Last edited:

RomP44

Member
Dec 17, 2017
18
3
Tested, and approved!
As already said, the sound is not better because of the hardware mod, but it gives much more possibilities to adjust the sound. I'm very happy with these new settings.
What is option "Alt. navigation mix"?
 

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.