yashsingh1/xdaforums huggingface dataset:
[MTCD Hardware Development] sslinkyy:
That's the only way I could get anything to stay on the media codec side. I can't get the 1k surface mount resistors in my town. So I just weaved a couple small wires through the heatsink and soldered to the pads. Weaving it through the heatsink holds it enough that working with the wires doesn't break the soldering joint. I didn't take new pics because the whole thing is just ugly now. Haha!
[MTCD Hardware Development] sslinkyy:
Wrong MTCmanager app error

I found something searching through a extracted PX5 MTCmanager.apk

so line 311 of module.java of MTCsound on github is:

for (String mName : new String[]{"EQSwitch", "E"}) {

Where it says "EQswitch" I believe for PX5 it should read "EQmode". This is the only thing I can find related to the equalizer in the PX5 MTCmanager.apk in classes.dex

I wish I was better at this but I will try to decompile and recompile Pachis83's PX5 modded MTCsound. Hopefully this fixes the hardware button issue. Also, I don't have a hardware EQ button so all I have to go by is the xposed log

Edit: I went through and made the change I believe is necessary New file is attached. I will test when I can. Feel free to test and post your results!
[MTCD Hardware Development] karolp1993:
Hey guys, great work! Is really worth to make this mod in PX5? Difference is hearable?
[MTCD Hardware Development] typos1:
Yes, hearable.
[MTCD Hardware Development] Pachis83:
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
[MTCD Hardware Development] mrjule:
Latest Compiled APK for PX5 6.0

So far I have no luck with sound from music player app and streaming music apps.(Google music) Also get the Wrong MTCmanger app message. Only my radio functions with last MTCsound_debug.APK that I found here. Is there a compiled APK release of 6.0 compatible code listed below? Thank you very much.
[MTCD Hardware Development] mrjule:
Malaysk 6.2 PX5 7floor support

RK3188 mtcd KGL with latest Malaysk android 6.2. Upgraded processor board from px3 1gb to px5 4gb. Performed sound mod at same time. Replaced lib and lib64 files(644) Only error recorded in log is wrong mtcmanager app - equalizer will not auto start. Mtcmanager eq works on radio sound. No sound from apps and they freeze and need to be force stopped. Not sure if any of his sound mods are interfering with app. I haven't tried removing the "33i2cset" file in folder system\etc\init.d. Thank you so much for your time and assistance.
[MTCD Hardware Development] Pachis83:
You said "Mtcmanager eq works on radio sound". Do you mean original EQ app (the one with 9 or 10 bands) is working and you can equalize the sound??. If so, I think you didn't make the mod properly.

Did you remember to cut in some form the connection between BD37xxx chip and MCU??

Regards.
[MTCD Hardware Development] mrjule:
https://drive.google.com/file/d/1vOdczpOzMaswE31Le8FCQ4izdXOUQs79/view?usp=drivesdk

The radio utilizes the 7floor equalizer app. The app doesn't auto launch do to error in log that says "wrong mtcmanager" With radio on i can hear changes done on 7floor app when manually launched (no change in sound from 10 band eq) my mainboard differs slightly from all others on this forum. Kgl 6188 v8.1. I did find and remove resistors breaking the path to mcu. If I soldered to wrong end of r70/r71 (away from chip) could that cause my problem? I suspect apk compatability issue because replacing files in lib/lib64 results in media player freezing. (Even Google play) Has anyone successfully applied patch to latest malaysk 6.2 rom? thanks for help.
[MTCD Hardware Development] Diam0n_UA:
how i can make this mod without wm codec?

mtcd_lm with sofia
[MTCD Hardware Development] Pachis83:
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.
[MTCD Hardware Development] mrjule:
PX5 KGL Malaysk 7.0 7floor MOD

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
[MTCD Hardware Development] Pachis83:
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.
[MTCD Hardware Development] Blackmambo900:
Hi there

Any one got it to work on android 7?
[MTCD Hardware Development] typos1:
I think one person tried it form memory, reading the threads will find you your answer.
[MTCD Hardware Development] Blackmambo900:
I think i saw it, but it was not finished
[MTCD Hardware Development] typos1:
If thats the only mention in all 3 threads, then theres your answer.

The Nougat units use the RK616 chip for audio, so things may or may not be different compared to the WM chip.
[MTCD Hardware Development] Blackmambo900:
Thx :) will start a new search with rk616 :)
[MTCD Hardware Development] RomP44:
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)
[MTCD Hardware Development] Kheissi:
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...
[MTCD Hardware Development] RomP44:
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 :)
[MTCD Hardware Development] RomP44:
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?
[MTCD Hardware Development] Pachis83:
You can try to wire a non smd resistor, not very elegant but functional.
[MTCD Hardware Development] RomP44:
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...
[MTCD Hardware Development] RomP44:
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.
[MTCD Hardware Development] sev:
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.
[MTCD Hardware Development] marlowe551:
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?
[MTCD Hardware Development] RomP44:
If you have a 64 bits system (PX5), here is the relevant post: https://xdaforums.com/showpost.php?p=75142104&postcount=764
[MTCD Hardware Development] RomP44:
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"?
[MTCD Hardware Development] typos1:
Alternative navigation mix, I think [MENTION=322215]7floor[/MENTION] mentioned it earlier in the thread.
[MTCD Hardware Development] RomP44:
I have activated this option, no change. What is the goal of it?
[MTCD Hardware Development] typos1:
I would guess its an alternative mix for nav.
[MTCD Hardware Development] wizzsb:
Im struglig with 7floors mod on android 8 on my PX5 HA MTCE (dasaita 10" for peugeot 208)

it works really great on android 6, so seems that HW connection is OK

- this is my connection:

[IMG="BD37033FV - i2c"]https://s15.postimg.cc/g4cai7bkr/WIN_20180609_144343.jpg[/IMG]

[IMG="WM8758B"]https://s15.postimg.cc/6xtzuj12z/WIN_20180612_111826.jpg[/IMG]

(MTC sound 2.0.4 and 64b libjnidispatch.so)

but I would like to use stock oreo rom. I laready have pernament root acording this post.

but MTC sound still gives me "warning" text.

xposed logs says:

i think it should be related to android 8 java paths
[MTCD Hardware Development] typos1:
Did you put libjnidispatch.so in com/sun/jna/android-aarch64/ ?
[MTCD Hardware Development] wizzsb:
i did not find this folder structure, even if i created com/sun/jna/android-aarch64/ in the root and put libjnidispatch.so to it - same error (and folders was deleted after device reboot)
[MTCD Hardware Development] typos1:
Hmm, I guess someone needs to figure out how to get it working on Oreo.
[MTCD Hardware Development] Pachis83:
Did you place the 64 bit version of libjnidispatch.so in /system/lib64 (not /system/lib) and set 644 permissions???

More info here:

https://xdaforums.com/android-auto/...7xxx-sound-t3234660/post75142104#post75142104
[MTCD Hardware Development] wizzsb:
yes I did. (checked maybe 50x)
[MTCD Hardware Development] verkion:
No go on Oreo so far? I was sooooo ready to try it out but I'm running Malaysk Oreo ROM...oh well.

Thanks!

verkion
[MTCD Hardware Development] Pachis83:
Everyone, specially who is trying to install Oreo, check this thread: https://xdaforums.com/android-auto/...ent/mod-cs-x-mod-mtcd-e-mcu-firmware-t3816042

It seems user cs-x(RU) modified MCU code so now stock eq app works in different (more suitable) bands and Q-factor. I think it only gets +-10dB eq range for each band, instead of +-20dB you get with 7floor mod, but it's a start.

If cs-x improves the mod it could be a solution for Oreo users.

Regards.

---------- Post added at 12:37 PM ---------- Previous post was at 11:57 AM ----------

Try the following, don't know if it can be done or if it works:

Go to file /system/framework/XposedBridge.jar

Open XposedBridge.jar with winrar or equivalent and add the libjnidispatch.so file to it's base folder

Check permissions and give it a try

Let me know.

Regards.

P.D. Also search for "armeabi", "arm64-v8a" or similar folder in your device. If found add libjnidispatch.so to it.
[MTCD Hardware Development] typos1:
I thought youd got the sound mod working on Oreo ?
[MTCD Hardware Development] Pachis83:
No, I modded it to get it working in 6.0 marshmallow. Original development from 7floor only works ok in 5.1 lollipop.

Regards.
[MTCD Hardware Development] typos1:
It originally only worked only Kit Kat, it was then modded for Lollipop, then you modded it for MM.

Maybe I m mistaken then, but I thought someone had got it working on Oreo.
[MTCD Hardware Development] Pachis83:
[MENTION=8940356]wizzsb[/MENTION] is pretty near to have it working on Oreo. I'm waiting for her feedback about the libjnidispatch.so file problem.

Regards.
[MTCD Hardware Development] typos1:
Ah, maybe I read some of his posts and thats why I thought it was working.
[MTCD Hardware Development] sparkybg:
Could you please describe shortly what was changed in order for it to run on Android 6?

Done. No luck. This is with 64bit file, taken from two versions of JNA - 4.0.0 and 4.5.0.

Done. No luck either. But when added to the root of XposedBridge.jar, the error changed to:

"MTC Sound status: mcu, Exception Could not find JNA native support",

And the program now says:

"This software will not work: Unable to control the sound processor."

So there is a small progress, but nothing more.
[MTCD Hardware Development] sparkybg:
OK, here's all that I tried:

1. Copy 64bit 4.2.0 and 4.5.1 libjnidispatch.so to system\lib64 and system\fake_lib64 - no luck - it continues to search for it in XposedLib.jar

2. Copy 32bit 4.2.0 and 4.5.1 libjnidispatch.so to system\lib and system\fake_lib - same as above\

3. Add libjnidispatch.so to com/sun/jna/android-aarch64/ in XposedBridge.jar - no luck - the message changed from:

"MTC Sound status: mcu, Exception Native library (com/sun/jna/android-aarch64/libjnidispatch.so) not found in resource path (/system/framework/XposedBridge.jar)"

to:

"MTC Sound status: mcu, Exception Could not find JNA native support"

So i suppose it finds it in the XposerBridge.jar but still cannot use it (permissions/security/signing?).

All this is done with root explorer on Malaysk oreo 8.0 ROM, all permissions set to 644.

I did some research in the net, and concluded that the library needs to be bundled with APK, because if not in system, it ties to extract it from a jar somwehere, but android won't allow this.

4. Tried to add it to the application's libs folder in android studio. Made a jar with "/lib/android-aarch64/libjnidispatch.so" and "/lib/android-arm/libjnidispatch.so" in it and now when the APK is built, the files are included in lib folder in the APK, but when I try to install this APK with ApkInstaller it says "APK not installed.

So my conclusion is that on Android 8.0 Oreo copying .so to system/lib64 does not work for some reason, and bundling in APK does not work for some reason. I suspect this has something to do with signing/security or similar shlt, but I cannot tell what exactly.

I think that if there's a way to make Oreo 8.0 installable APK with bundled libjnadispatch.so in it, it will start working, but I am a novice in android programming, and don't have an idea how to do it in Android Studio. Moreover, if we find a way to bundle it in APK, nothing will have to be copied manually when installing.

Any Ideas?
[MTCD Hardware Development] cs-x(RU):
unfortunately the current solution from 7floor is compatible only with Android 5.1.1
[MTCD Hardware Development] sparkybg:
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.
[MTCD Hardware Development] cs-x(RU):
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
[MTCD Hardware Development] typos1:
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 [MENTION=5092263]Hal9k_[/MENTION] is working on an Oreo to, it ll be a while before its ready, maybe he could offer some help ?
[MTCD Hardware Development] sparkybg:
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.
[MTCD Hardware Development] sparkybg:
I am using your "SoundPatched" mcu update now. Let me know if I can be of any help.
[MTCD Hardware Development] sparkybg:
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?
[MTCD Hardware Development] typos1:
No Android 7 for RK3368/PX5 units.

You could try one of the other Oreo ROMs I listed above.
[MTCD Hardware Development] Pachis83:
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.
[MTCD Hardware Development] An92:
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
[MTCD Hardware Development] Kheissi:
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.
[MTCD Hardware Development] typos1:
Have you tried re-soldering the connections ?
[MTCD Hardware Development] marchnz:
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.
[MTCD Hardware Development] An92:
Yes, i installed this mod
[MTCD Hardware Development] typos1:
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.
[MTCD Hardware Development] Kheissi:
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?
[MTCD Hardware Development] mulderfbi:
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....
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] Siddhant Naik:
CUSTOM KERNEL FOR THE GALAXY A5 AND A7 2017​

VARIANTS SUPPORTED:

A520F

A720F

A520W

A520K (not tested)

A520L (not tested)

A520S (not tested)

KERNEL INFORMATION

Kernel Base: A520FXXU1AQAD (Latest)

Ramdisk Base: A520FXXU1AQAD / A720FXXU1AQC5 (Latest)

Linux Version: 3.18.14

FEATURES

Activated Interactive Governor

Added a lot of CPU Governors

Disabled DM_VERITY

Disabled Forced File Encryption

Disabled TIMA

Disabled Secure Storage

I/O Schedulers

Frandom

Swap with LZ4 Compression

Dynamic FSync

A lot of performance tweaks

MORE FEATURES WILL BE ADDED LATER

CHANGELOG

TheFlash Kernel V1.0

Initial Build

DOWNLOADS IN 2ND POST​

TELEGRAM GROUP

I have a telegram group for the Kernel.

If you want you can join in the following link: TheFlash Kernel Telegram Group

USE MY FLASH KERNEL MANAGER APP TO TWEAK THE PARAMETERS​

FOR THOSE WHO ARE INSTALLING ON STOCK ROM (Probably Encrypted) NEED TO FORMAT /data IN TWRP AFTER INSTALLING THE KERNEL TO REMOVE FORCE ENCRYPTION

HIT THANKS IF YOU LIKE MY WORK THIS MOTIVATES ME FOR FURTHER DEVELOPMENT​

XDA:DevDB Information

(A 2017) Flash Kernel, Kernel for the Samsung Galaxy A Series 2017 A3, A5, A7

Contributors

TheFlash, [MENTION=6371894]jesec[/MENTION] (For fingerprint fix)

Source Code: [url]https://github.com/Siddhant-Naik/TheFlash-Kernel-A5-A7-2017[/URL]

Kernel Special Features:

Version Information

Status: Stable

Current Stable Version: 1.0

Stable Release Date: 2017-06-19

Created 2017-06-19

Last Updated 2017-06-19