yashsingh1/xdaforums huggingface dataset:
[MTCD Hardware Development] solmer:
I'm interested , also I've soldering skills but that I can't solder that kind of chip without a proper machine.....so I let it pass
[MTCD Hardware Development] marchnz:
Guys - read the linked post containing full details on how to order / confirming interest in that thread.

Note that you will need to find a repairer/rework to solder the BGA chips.
[MTCD Hardware Development] internest:
PX5 RAM to PX3 Board

Hi all,

I have a PX5 2GB RAM / 32GB internal memory dead. can I use this modules in my PX3 unit?

thanks in advance,

Ernest.
[MTCD Hardware Development] OldRon:
PX5 2GB corebord for sale

Hi all,

yesterday I replaced my Witson 2GB PX5 coreboard for a 4GB model.

So, if anybody is interested in buying my 6-month-old coreboard, drop me a message.

I live in Germany, so I prefer shipping within Europe ;)

Also, I made some pictures from the last time the unit was up and running...

MCU is MTCE-HA-V2.75_1

Please send me a realistic offer and no eBay-like-asking-for-last-price ;)

Regards...
[MTCD Hardware Development] Salvapie:
Interested

Hi, Friend

I'm interested to buy a item, are ok € 30 comprensive shipping to Italy?

Regards

Pietro
[MTCD Hardware Development] OldRon:
Sorry,

the unit is already sold.

Regards...
[MTCD Hardware Development] zerozoneice:
i still have 2x1GB ram bga-s for anyone still interested in the 2GB mod.
[MTCD Hardware Development] mensand:
Where did you get the upgrade board. All i see are upgrades for android 6.0 4GB versions.
[MTCD Hardware Development] OldRon:
The 2GB Upgrade was also available at AliExpress from witson, but I think that it is no longer available. Why don't you buy a 4GB upgrade? It's the same except more memory...
[Google Pixel XL Themes, Apps, and Mods] Juzman:
Great work mate!
[Google Pixel XL Themes, Apps, and Mods] nycdiplomat:
YESSSSS!!!! Been waiting for this!! Excellent work!!
[Google Pixel XL Themes, Apps, and Mods] evilive27:
This mod plus viper4android is amazing! Sounds so good! Thank you!
[Google Pixel XL Themes, Apps, and Mods] chdloc:
Update: Full stereo support added to the OP. Note that for best stereo imaging, the gain for the main speaker needs to be reduced significantly. Stereo media playback is likely only useful for personal media consumption or gaming in a relatively quiet environment. This mod lends itself nicely to Tasker (or native app) integration with which stereo can be enabled on-demand.

Next, I'll look into an HTC 10 like setup where the earpiece is used as a tweeter. The idea is that the earpiece (and by extension the main speaker) gain can be kept higher because distortions that are caused by high frequency clipping are less audible than the ones that result from low-frequency clipping.

Update: There currently is a problem with this implementation in that there is, initially, no audio coming out of the earpiece when *receiving* a phone call. You can force audio to come out of the earpiece by quickly toggling to and from speakerphone mode. Outgoing phone calls are fine. Please keep this in mind when trying the mod. I'm currently investigating the exact cause.

Update 2: I think I'm understanding the problem. See the OP for an explanation and possible solutions
[Google Pixel XL Themes, Apps, and Mods] Juzman:
Edit: All working well.

So what you're saying is when answering a call, switch to loudspeaker then ear piece?
[Google Pixel XL Themes, Apps, and Mods] treIII:
I'm a bit lost. 1. Do I need to change everything from "this" to " with" as above for the mod to work and 2. Once necessary files are replaced do I just save and let root create the XML.bak file or does the file I create go in su etc? Thanks
[Google Pixel XL Themes, Apps, and Mods] chdloc:
Yes, that is the current workaround. I'm currently testing additional mixer_path.xml mods that may address this issue.

Yes

Well, to stay in the spirit of system-less root, you don't want to modify /system. Instead, copy the modified mixer_paths.xml file to /su/etc

and create a file (bind mount) called 10mixer_paths in /su/su.d/

#!/su/bin/sush
mount -o bind /su/etc/mixer_paths.xml /system/etc/mixer_paths.xml

change the permissions to 700 (rwx------), and reboot.
[Google Pixel XL Themes, Apps, and Mods] treIII:
Does I need to make a file bind mount inside of su/su.d/ thanks
[Google Pixel XL Themes, Apps, and Mods] chdloc:
Yes, you need to bind mount the 10mixer_paths file I quoted above in /su/su.d and simply copy the modified mixer_paths.xml to /su/etc
[Google Pixel XL Themes, Apps, and Mods] Mostafa Wael:
from what i read, the mod seems applicable on the OP3 as well, or is the S821 having a different hardware setup than the S820 ?
[Google Pixel XL Themes, Apps, and Mods] chdloc:
The main codec is identical, but they may have a different speaker DAC/amp. As root run the following two shell commands

ls /sys/module | grep snd_soc

and

find /sys -name '*AUDIO_CTR*'

and post the result.
[Google Pixel XL Themes, Apps, and Mods] Mostafa Wael:
Here are my results. I guess it could not be applicable here :(
[Google Pixel XL Themes, Apps, and Mods] airmaxx23:
Are there any chances this mod becomes available as a script or zip eventually?
[Google Pixel XL Themes, Apps, and Mods] chdloc:
Yes
[Google Pixel XL Themes, Apps, and Mods] chdloc:
Update: The procedure described below is outdated. See this post for the new method.

I think I found a way to fix the silent earpiece speaker when a call comes in. It requires additional mixer_paths edits. I have attached an archive with three files:

mixer_paths.xml.stereo

: copy (and rename!) to /su/etc/mixer_paths.xml; I dialed the earpiece gain back to 84 dB to get rid of distortions.

20speakerctrl

: copy to /su/su.d and make executable (700, rwx------). This script is executed on boot and sets the speakers for stereo and lowers the level of the main speaker by around 18 dB.

mixer_paths.xml.stock

: this is the stock mixer_paths file; if you want to go back to stock behavior, copy this file to /su/etc/mixer_paths.xml and delete /su/su.d/20speakerctrl

Please test this setup and report back. Note that you can currently only modify the main speaker gain and have it "stick" with the 'echo' command as described in the OP. To play around with the earpiece volume while media is playing you can use the following command in a root shell

tinymix "RX0 Mix Digital Volume" X

where X={0,1,...,84,85,...,124}. The default is X=84 which applies 0 dB of gain. Each "tick" up or down changes the gain by 1 dB. Add gain very carefully. At maximum volume, I would highly advise not to go beyond 90. Note that changing the earpiece volume this way does not "stick" and it defaults back to 84 as soon as you change the media stream (skip, different app, etc). You will need to run a custom kernel with sound control to be able to fully control the volume of the earpiece speaker.

There is still the issue that a speakerphone call resets the main speaker's volume to default. Over the next couple of weeks, I'll come up with a Tasker app -- which means you do not need to have Tasker installed -- which initially

re-applies the currently chosen gains after a phone call

lets you quickly toggle between the low-volume stereo setup and the high-volume stock setup

Other things this app could do is go back to stock behavior when the screen is off, so you won't miss notifications and/or alarms due to the lower overall volume of the stereo mod.
[Google Pixel XL Themes, Apps, and Mods] Juzman:
So, after each call, we have to run the script in /su/su.d to reapply the volumes correctly? If that's the case, can always use Script Manager, and set a widget icon on home screen. After a call, tap the widget to execute the script again.
[Google Pixel XL Themes, Apps, and Mods] chdloc:
Correct. The idea, though, is to eventually have this done automatically by a Tasker app.
[Google Pixel XL Themes, Apps, and Mods] Juzman:
Sweet as. Question two:

mixer_paths.xml.stock

: this is the stock mixer_paths file; if you want to go back to stock behavior, copy this file to /su/etc/mixer_paths.xml and delete /su/su.d/20speakerctrl

Could we not just delete /su/etc/mixer_paths.xml instead? Since we will still have original in /etc/
[Google Pixel XL Themes, Apps, and Mods] chdloc:
Sure, but then you probably also may want to delete the bind mount in /su/su.d as I'm not sure what would happen if the file the mount points to has been deleted.

In addition, there are a few more mods I'm going to release soon that some folks may want to play with (stereo camcorder recording and hardware audio filtering), so keeping that file around may come in handy.
[Google Pixel XL Themes, Apps, and Mods] renzo.olivares:
I was already rooted, I still can not get it to show up. I just ended up changing the aroma script to not hide the root options during install. All is working well now
[Google Pixel XL Themes, Apps, and Mods] Blue305:
so i successfully pushed the package into my pixel. but how to i do this:

"Then enter an adb shell and copy the following string of commands into a root shell" ? thanks in advance

I figured it out but is it normal to get a lot of errors when you type in the 3rd command in the root shell?
[Google Pixel XL Themes, Apps, and Mods] chdloc:
It is not normal to get errors. Are you sure you are executing the commands as root? If so, post the error messages.
[Google Pixel XL Themes, Apps, and Mods] Blue305:
Ok I'll do it again and I'll paste the errors. Can I repeat the procedure even if I have the apps already installed in my phone?
[Google Pixel XL Themes, Apps, and Mods] Blue305:
nvm ive managed to install them. i forgot to type su in adb shell. thanks a lot. and by the way, any recommended settings for biquads?
[Google Pixel XL Themes, Apps, and Mods] chdloc:
There are no specific recommended settings. I'd start by finding published frequency response data and user reviews of your headphones and note generally accepted shortcomings such as sibilance or boomy bass. Armed with that knowledge you can design a couple of biquads to address these shortcomings. Peak/notch- as well as shelf- filters are very useful in this context. Then use the remaining biquads to fine-tune based on your personal preference on how you generally like your music to sound like.
[Google Pixel XL Themes, Apps, and Mods] jfive74:
Hey everyone, ive installed this mod, the dual speaker no ull version and people report hearing themselves during calls on speaker phone or regular. Is there a way to avoid this? Thanks.
[Google Pixel XL Themes, Apps, and Mods] chdloc:
Since you said that echo is present on speakerphone and handset my first reaction is that this is unrelated to this mod.

Anyway, to debug this from my mod's perspective, please share your /system/etc/mixer_paths.xml file (to double-check it's been applied correctly) and the output of the following (root) shell command during an active phone call:

logcat | grep audio_hw_primary

Also, are you experiencing the issues with cellular telephony and/or with other voice communication apps, such as Skype, Whatsapp, Facebook Messenger, etc.?
[Google Pixel XL Themes, Apps, and Mods] jfive74:
I have since restored my device and currently setting it up again. During call on speaker phone, the receiver was also playing sound of which people said they heard themselves twice (using pixel_no ull). I reflashed the mod (using pixel_ull) and no sound from receiver during phone calls and people dont hear them selves.
[Google Pixel XL Themes, Apps, and Mods] chdloc:
The differences between the *ull and *no_ull version should have no impact on cellular telephony audio as the low-latency path is selected and not the ultralow-latency one, unless that path can be dictated by the service provider (that's why I wanted to see the logcat). Regardless, I found a couple of telephony use-cases/devices where the top speaker was not muted. I'll fix that after the next security update has been made available.
[Google Pixel XL Themes, Apps, and Mods] jfive74:
Think the mod is great by the way. I saw there was a way to raise earpiece volume. tried it but it doesnt seem to increase much. That normal?
[Google Pixel XL Themes, Apps, and Mods] chdloc:
Yes, that is normal. At the codec level, the perceived earpiece volume can only be increased by 3 dB.

Here is why:

By default, the codec's digital gain is set to 84, which corresponds to 0 dB. Assuming that your program material is mastered to max out at (very close to) full-scale, as is nowadays typically is, then increasing the digital gain past 0 dB (higher than 84) will cause the signal to clip at the codec level and produce very audible non-linear distortions. By increasing the gain that way you can only increase the overall volume by 3 dB max, which is determined by the so-called crest factor. Most loudness measurements are done with sine waves (any sound can be represented as a superposition of sine waves) with respect to RMS values. A full-scale [-1.0...1.0) sine wave has an RMS value of 1/sqrt(2)=0.707 . Increasing the gain for this signal further will cause the sine wave to eventually become a square wave (the fundamental sine wave plus lots of harmonics). A full-scale square wave has an RMS value of 1, which is 3 dB more than that of the original full-scale sine wave. That square wave will be 3 dB louder than the sine wave, but of course sounds nowhere near the original signal.
[Google Pixel XL Themes, Apps, and Mods] imaverik:
Perhaps i missed something???

I love this mod!!!! I can't stress that enough.

This is basically a community recommendation request.

I have one issue that perhaps my education on audio needs some tweaks and im not afraid of some friendly pointers/advice.

1. My overall phone volume is just not even close to loud enough. I miss texts and calls all the time. (this is likely to ear damage)

2. I use IEM monitors for earbuds and AKG/Sennheiser headphones.

3. I am hyper sensitive to highs.

4. I prefer a balance of SQL but highs are an issue for my ear drums.

Can someone suggest a some settings to try that will get me more "overall volume" for common notifications and phone calls but still retain the SQL for actual music settings?
[Google Pixel XL Themes, Apps, and Mods] chdloc:
If you suspect you are having a hearing problem, I highly suggest you see an audiologist. At the very minimum, the audiogram he/she would generate could help you find filters that work best for you.

And yes, a separate set of filters can be applied to the earpiece. If you are interested in filters for the earpiece, though, you would need to let me know as I would need to make this capability available in an update to this mod.

Unfortunately, the volume of the main loudspeaker cannot be raised (or filters adjusted) with my mod. In your case you may want to look into something like Viper to see whether it offers a compressor.
[Google Pixel XL Themes, Apps, and Mods] chdloc:
March update

Small update posted to OP.

Changelog:

dual speaker mod fix that (hopefully) eliminates the echo reported in speakerphone use-cases
[Google Pixel XL Themes, Apps, and Mods] [Gorgasm]:
Sorry if I am a little off-topic, but do you know a software which let me increase the volume of my videos ? I'm using Adobe Premiere Clip and Cyberlink Powerlink on Android, but I would like to use a more powerful tool... Thanks !
[Google Pixel XL Themes, Apps, and Mods] chdloc:
I have no first-hand experience with any video editing app on Android. If you think that the two apps you mentioned are not powerful enough to do what you want to do I have two suggestions:

Edit the video on your PC

One of the most powerful audio-video editing/conversion tools available can actually also run on your phone, but it is only a command-line tool. It is called ffmpeg. First you would need to install "Termux" from the Play Store. Termux allows you to run Ubuntu-like version of Linux on your phone. Extremely powerful stuff! After installation you would have to open the app, which drops you into a Linux shell. From there you should first run (as root!)

apt-get upgrade

then

apt-get update

and finally

apt-get install ffmpeg

I saw a couple of error messages, but everything installed fine.

The following ffmpeg command increases the audio volume by 10 dB:

ffmpeg -i /sdcard/DCIM/PATH_TO_VIDEO_FILE_IN -vcodec copy -af "volume=10dB" /sdcard/DCIM/PATH_TO_VIDEO_FILE_OUT
[Google Pixel XL Themes, Apps, and Mods] Blue305:
So I've been running this mod for a while, and today I played a bit with my daydream kit after a while. The problem is now, whenever i play a video from YouTube, the video is crippled and i cant hear anything except some clipping noise in my headphones. Could this be because of the mod? Before it was working well. Cheers
[Google Pixel XL Themes, Apps, and Mods] xDanVitox:
Would it be possible to get an update to the app/service to give us (a) Quick settings toggle(s) for the different speaker modes instead of a notification? I'm a bit of a minimalist and would love to not have the notification always there if possible! Or at the very least - not have the icon in the status bar.

Thanks!
[Google Pixel XL Themes, Apps, and Mods] Freak07:
You can set your choice and hide the notification in settings/apps alltogether
[Google Pixel XL Themes, Apps, and Mods] chdloc:
I have not seen (or heard reports of) this problem. Please share your mixer_paths.xml file so I can try to reproduce the issue.
[Google Pixel XL Themes, Apps, and Mods] Blue305:
Sorry but I've dirty flashed my ROM and the issue is gone now. I will install the mod again after my rom will get updated and I'll let you know if the issue is still there. Thank you
[Google Pixel XL Themes, Apps, and Mods] chundrik:
Cant install it , fail to open the file (2nd step).

Is there any specific terminal app i need to use ?

Could u provide a step by step installation guide please ?
[Google Pixel XL Themes, Apps, and Mods] chdloc:
Step-by-step instructions are given in the OP. You likely forgot to execute the string of commands in a root shell.

I highly recommend setting up adb on your PC as it can be used to (potentially) repair a non-booting system as long as the issue is not kernel-related. As for an on-device terminal app, I recommend "Material Terminal".
[Google Pixel XL Themes, Apps, and Mods] chundrik:
Thanks for the replay , ofc i have adb :)

Any way , I used the terminal you suggested the outcome is the same.

"Cant gzopen chdloc_hardware_audio_mods_pixel_no_ull_mar7.tar.gz"

Update :

I tried to change the permissions , that didn't help , at a certain point i just for an error that the permissions was off.

What am i missing here ?
[Google Pixel XL Themes, Apps, and Mods] chdloc:
I've updated step 2 in the OP slightly. I suggest you start again from step 1 and make sure you type

su

before executing the string of commands in step 2.
[Google Pixel XL Themes, Apps, and Mods] chundrik:
Well i dont know which one sovled it , but it works now.

Thanks a-lot !
[Google Pixel XL Themes, Apps, and Mods] phamine:
Would this mod wear down the earpiece speaker more so? Since Google never intended to use the earpiece speaker for stereo, I'd assume they cut cost on the speaker.

Second, is this mod only working for the XL?
[Google Pixel XL Themes, Apps, and Mods] chdloc:
In this mod the earpiece is driven to the same exact levels as in the handset telephony use-case. So no, this mod will have not have any impact on the earpiece's longevity.

No, it is also working for the "regular" Pixel.
[Google Pixel XL Themes, Apps, and Mods] d0ce:
Nice! Any reason why this shouldn't work on the latest 7.1.2 beta before I have another go at this? Thanks!!
[Google Pixel XL Themes, Apps, and Mods] chdloc:
Please post the mixer_paths.xml file of the latest 7.1.2 beta and I'll take a look.
[Google Pixel XL Themes, Apps, and Mods] d0ce:
Attached. Thanks
[Google Pixel XL Themes, Apps, and Mods] bossei:
Anyone using this with Resurrection ROM?
[Google Pixel XL Themes, Apps, and Mods] chdloc:
mixer_paths has not changed from 7.1.1 to 7.1.2 beta, so this mod should work on 7.1.2 beta.
[Google Pixel XL Themes, Apps, and Mods] d0ce:
The install completes without error, however I don't see the permanent notification after second unlock. I've checked and the app (PixelSpeakerCtrl?) is installed and its notifications are not blocked. No stereo. 7.1.2b2.
[Google Pixel XL Themes, Apps, and Mods] chdloc:
The PixelSpeakerCtrl app/service is derived from a Tasker project. It is possible that 7.1.2 beta is somehow preventing the notification to show up. What happens if you tap the app's icon? Can you initiate a logcat capture just before trying to start the app and share the results?

Can you execute the following two commands in a root shell:

echo 0x8093 > /sys/kernel/debug/tfa98xx-34/regs/04-I2SREG # tell main speaker to play right channel only

and

echo 0x210f > /sys/kernel/debug/tfa98xx-34/regs/06-AUDIO_CTR # decrease main speaker gain

(A reboot will get you back to stock behavior.)
[Google Pixel XL Themes, Apps, and Mods] jreink01:
Had anyone had a issue with not being able to hear a caller when they call. I substituted the mixer paths file and changed the original file name. It works perfectly but this issue happens. When i call the same person back i can then hear them. It only happens when a caller calls my phone. I have tried different people and it's the same issue. I deleted the modified file and changed the name of the original file and rebooted and i have already had a few different calls and have been able to hear everyone which leads me to believe there is a issue with the modified file? Does anyone have any suggestions on how to fix this because i do like the sound difference with the modification. Please help.
[Google Pixel XL Themes, Apps, and Mods] asad510:
anyone have mixerfile for pixel on purenexus?
[Google Pixel XL Themes, Apps, and Mods] jreink01:
Anyone have any ideas?
[Google Pixel XL Themes, Apps, and Mods] chdloc:
First, it sounds like you replaced the mixer file manually. Please use the installer from the OP instead and test again.

If you are still encountering issues, please share a logcat and kernel messages that you obtained during a "bad" call.
[Google Pixel XL Themes, Apps, and Mods] asad510:
any modified mixer_path files?
[Google Pixel XL Themes, Apps, and Mods] jreink01:
I thought it said to use a root explorer, in my case i used solid explorer to change the files. Didn't know i was suppose to use a installer?
[Google Pixel XL Themes, Apps, and Mods] kirschdog1:
Is this thread dead? Wondering if it's worth it to add this mod and wether I should use ull or no ull?
[Google Pixel XL Themes, Apps, and Mods] chdloc:
It's the XDA members who decide on the thread's viability.

I'm still actively maintaining the mod.

Only you can decide whether this mod "is worth it".

The compromise between "ull" and "no ull" is outlined in the OP.
[Google Pixel XL Themes, Apps, and Mods] kirschdog1:
Are people still having issues with ear piece on no ull? Or has this been fixed I appreciate your work chdloc
[Google Pixel XL Themes, Apps, and Mods] chdloc:
FYI, the latest Pixel update, 7.1.2 (N2G47E), does not require an update to this mod. You can continue to use the one posted in the OP.
[Google Pixel XL Themes, Apps, and Mods] renzo.olivares:
I am having an issue with the mod since 7.1.1. I am not sure if it a hardware issue but the mod just stopped working, and when I clean flashed 7.1.2 and flashed ull again it still does not work. Thanks

Edit: only works on Google play music. Running 7.1.2 Elemental Kernel 1.09
[Google Pixel XL Themes, Apps, and Mods] chdloc:
Which option did you select during the installation phase? If you installed the stereo playback option, do you see the permanent notification of the app/service that comes with it?

Do you have any other sound mods installed? It would also be helpful if you post your current (modified) mixer_paths.xml file.