yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 3 Q&A, Help & Troubleshooting] L.Konys:
Excuse my English.

After a few rom installations, I have a faint sound when making calls and ringing (50% compared to other phones)

Everything is set to the maximum.

I did not use flash stock rom. Now I use OS lineage. I do not know what to try. If I try some soundbooster in the speaker is crackling.
[Galaxy Note 3 Q&A, Help & Troubleshooting] JJEgan:
Wipe phone flash stock rom and test.
[Galaxy Note 3 Q&A, Help & Troubleshooting] L.Konys:
I'm already trying. Without success.
[Galaxy Note 3 Q&A, Help & Troubleshooting] JJEgan:
In that case its hardware.
[Networking] Vanaxel:
hi there,

is there any way to tell the pda that....

- it should first turn on wifi

- try to connect to internet

....AND if there's no access point available he can connect to

- connect to Internet via GPRS settings

i found some postings regarding this topic but nothing realy helped.

Regardless which program i use - it always connects via gprs if a internet-connection is essential.

greez Van
[Xiaomi Mi 5 Questions & Answers] bukandenny:
what is the best karnel for PE rom

use for multi tasking and social media
[Xiaomi Mi 5 Questions & Answers] HelpMeruth:
kernel*
[Xiaomi Mi 5 Questions & Answers] tweetsoud:
Linux it seems as its mentioned on the post
[LeEco Le 1S Guides, News, & Discussion] techiedude:
Here how you can fix safety net is getting not passed on LetvEco 1s (( X500/ X507,x509))

If your Letv1s is running on custom or China stock EUI ROM, then magisk will not be passed because that ROM is not verified by Google. To fix this issue, follow the below instructions carefully.

1. In case if you are using china stock EUI only, extract boot.img file from the Letv 1s Indian version stock Rom and transfer to your internal phone memory.

2. Boot your phone into recovery mode. Tap to install option, select boot.img, and chose boot option and swipe to flash it. Don't clear Dalvik cache

3. After flashing boot.img file, now it is time to flash magisk. Go to install option, select magisk and swipe to flash it. Again do not clear Dalvik cache.

4. REBOOT your phone. Reboot might takes few minutes so do not worry.

5. Download the magisk manager apk, install it & open it.

6. Tap on the top left corner of magisk, go to download option and search for "PROPS"

7. Download it, and it will be install automatically. After that reboot your phone.

8. Open playstore and type "termux", or you can also use any other terminal app.

9. Once the app installs, grant permission when superuser pop up.

10. Now type props >select option 1>f>choose xiaomi for the given list>select xiaomi redmi note 3 pro(6.0.1) and finally reboot your phone.

Open magisk and tap to startsafetynet check button.

Congratulations safetynet should be passed now.

Note: If you are using xposed in your phone, completely remove it otherwise magisk will not work.
[LeEco Le 1S Guides, News, & Discussion] santoshhh000:
At least give credits from where u got the trick ?...

Ya ,I posted that on YouTube...
[LeEco Le 1S Guides, News, & Discussion] techiedude:
I am new here, xda doesn't allow me post external links unless I have 10 posts on xda forum. Yes, I found this trick on YouTube. If you are the person who posted this trick first on YouTube, I would like Thank You vey much.
[LeEco Le 1S Guides, News, & Discussion] santoshhh000:
​

U should have mentioned the channel name at least ...
[LeEco Le 1S Guides, News, & Discussion] nitinjeurkar123:
please make 1 tutorial video for this trick

please make 1 tutorial video for this trick and thanks
[LeEco Le 1S Guides, News, & Discussion] santoshhh000:
There is already a video from which he watched and created this post..... And didn't mentioned any credits
[Xperia Z5 Compact Q&A, Help & Troubleshooting] twoid:
During calls the people can hear an echo of themselves. With a slight delay.

I have found this suggestion for changing making changes in the mixer_paths.xml.

<!-- Gain offset target for dmic1 unit calibration -->
<path name="dmic1-adj-gain">
<ctl name="DEC7 Volume" value="84" />
</path>

<!-- Gain offset target for dmic2 unit calibration -->
<path name="dmic2-adj-gain">
<ctl name="DEC9 Volume" value="84" />
</path>

Increasing DEC7 volume and decreasing DEC9 volume.

It doesn't quite do it for me. Can you suggest other values? Or other parameters that can be changed? Or maybe another fix?

Hope you can help.

Thanks.

/ Twoid
[Xperia Z5 Compact Q&A, Help & Troubleshooting] StromekCZ:
I had the same problem. Do you have any issues with main microphone? For example, my main mic (down) is fine but my secondary mic (up) is broken => a lot of noise. You have probably the same problem as me.

You can try this value. I boosted the secondary mic and little bit decreased main mic. This edit not working good for me but maybe you'll have more luck. :)

<!-- Gain offset target for dmic1 unit calibration -->
<path name="dmic1-adj-gain">
<ctl name="DEC7 Volume" value="82" />
</path>

<!-- Gain offset target for dmic2 unit calibration -->
<path name="dmic2-adj-gain">
<ctl name="DEC9 Volume" value="129" />
</path>

This problem arising due to resonating phone body when you making a phone call. Main mic probably consider the sound from speaker as voice. I tried turn off noise reduction but still without any result.

Let me know if it helps. :)
[Xperia Z5 Compact Q&A, Help & Troubleshooting] StromekCZ:
I found new solution for this problem.

1. In path "anc-handset" you have to turn OFF ANC (Active Noise Cancelling).

<path name="anc-handset">
<ctl name="ANC Function" value="OFF" />
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
<ctl name="DAC1 Switch" value="1" />
<ctl name="RX1 Digital Volume" value="81" />
<ctl name="ANC Slot" value="6" />
<ctl name="ANC1 MUX" value="DMIC4" />
<ctl name="ANC1 FB MUX" value="EAR_HPH_L" />
</path>

2. In path "handset" you have to change RX1 Digital Volume to ~64 (it's general volume of speaker during phone call)

<path name="handset">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
<ctl name="DAC1 Switch" value="1" />
<ctl name="RX1 Digital Volume" value="64" />
<ctl name="PM8994_Ear_Enable_States" value="Enable" />

3. If you have broken main mic (down), I will recommend increase dmic1 & dmic2. If main mic works fine I will recommend a little bit decrease dmic1 & dmic2 to ~80-82.

<!-- Gain offset target for dmic1 unit calibration -->
<path name="dmic1-adj-gain">
<ctl name="DEC7 Volume" value="82" />
</path>

<!-- Gain offset target for dmic2 unit calibration -->
<path name="dmic2-adj-gain">
<ctl name="DEC9 Volume" value="82" />

4. For camcorder is originally set the secondary mic. If your secondary mic is broken I will recomend change path "camcorder-mic-common" for main mic.

<path name="camcorder-mic-common">

<ctl name="AIF1_CAP Mixer SLIM TX8" value="1"/>
<ctl name="SLIM_0_TX Channels" value="One" />
<ctl name="SLIM TX8 MUX" value="DEC7" />
<ctl name="DEC7 MUX" value="DMIC1" />
<ctl name="IIR1 INP1 MUX" value="DEC7" />
</path>

<path name="camcorder-mic">
<path name="camcorder-mic-common" />
<ctl name="DEC7 Volume" value="104" />
</path>

<path name="camcorder-mic-gain-low">
<path name="camcorder-mic-common" />
<ctl name="DEC7 Volume" value="104" />
</path>

<path name="camcorder-mic-gain-mid">
<path name="camcorder-mic-common" />
<ctl name="DEC7 Volume" value="117" />
</path>

<path name="camcorder-mic-gain-high">
<path name="camcorder-mic-common" />
<ctl name="DEC7 Volume" value="126" />
</path>

I hope it will help :)

Sry for my Eng.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] twoid:
Thank you for the reply! I tried it and I believe it has worked to some degree. People can only hear themselves in the first 10 secs of the conversation after which it fades out. Do you know what could be the cause of this?

I did the microphone test and the main microphone was crisp, but the secondary was noisy.

Best

Twoid
[Xperia Z5 Compact Q&A, Help & Troubleshooting] nitsch2:
nearly solved

hi. i'm new here, so sorry if i'm asking stupid questions :)

i tried these changes below on my z5c and it works much better than before. calling now is nearly normal, the echo is pretty gone! but now i have the problem that if i change to speaker during call the other one cannot hear me. anyone has a clue what the probnlem could be? does anyone know if the z5c uses the secondary mic when on speaker during a call? besides, i changed the value at mic 2 to zero.

wolud be happy if anyone can help,

greetings
[Xperia Z5 Compact Q&A, Help & Troubleshooting] fetchaspade:
As many unfortunate users of the Z5 compact, the other person during a phone call always complains about hearing an echo of their voice. After I switched from a stock ROM to Lineage it seems the problem got worse. I noticed that the ear speaker is louder under Lineage. When using headphones there is no problem at all. The phone is ****ty, whether it is the case, the speaker, or the microphone, it is a fu***ng phone this should work out of the box! Never mind about the screen quality or how smoothly the last Candy Boom Boom Extra runs, you expect the sound of the speaker not to leak to the microphone because it is how any decent phone has worked since Alexander Graham Bell :silly:

Anyway, thank you very much for the advice in this thread. I've had fun modifying the values from VI on a terminal in TWRP and it seems to have done the trick.... almost.

Here I wanted to contribute with how I experimented by myself without bothering anyone who posesses an actual telephone with a silly conversation such as "hi! me again... could you speak and tell me if you still hear yourself?".

You need to install Call Recorder from fdroid https://f-droid.org/en/packages/com.github.axet.callrecorder/

Then, just make a phone call to your voicemail and let the voice of the menu talk (or play stored voicemails).

Go back to call recorder and listen to the new audio file: you should now be living the hell your family and friends go through every time you call.

Tweak the values in mixer_paths.xml, then try again.

At some point you (almost) shouldn't hear the echo anymore.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] Omid.azimi:
Echo

Hello

Im new here and have this issue

Where can i found this xml file
[Xperia Z5 Compact Q&A, Help & Troubleshooting] foxyone0809:
I will test.

Thanks for advance.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] foxyone0809:
I have test modification 1 and 2 on my xperia z1 compact. But echo is still the same.

Don't find lines of tweak 3 in my XML

Maybe my mic has material bug....
[Xperia Z5 Compact Q&A, Help & Troubleshooting] florstat:
Tried everything ( multiple mixer_paths.xml end different roms ) without great success. In my case things go very bad when using headphones, it is like the phone is giving back his voice to the person I'm calling instead of mine.

It is clearly a software issue because it does not start immediately, but only a few seconds after the call begins ( at least with handset call ), while in the case of headphones I can make crystal clear calls with them on a old Moto g.

Any hint for the values to tweak? Is there maybe a bad working piece of software to turn off? Is the phone confusing mics and audio tracks?

It's such a waste having a good phone which is so bad at doing the most essential thing that a device has to do.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] florstat:
So, it seems that the very same problem affects also some other devices.

Here is fairphone:

Taiga

Taiga is a project management platform for startups and agile developers & designers who want a simple, beautiful tool that makes work truly enjoyable.

bugtracker.fairphone.com

In their case they solved switching from qcom echo cancellation ( which was bad implemented ) to the echo cancellation provided by android itself.

Could it be the same issue with z5s?

Here is how it is implemented in Google Pixel 3:

audio: enable AEC and EC audio effects · LR-Devices/android_device_google_crosshatch@57b17e4

enable AEC and EC audio effects Bug: 71526853 Test: dumpsys media.audio_flinger Library audio_pre_processing path: /vendor/lib/soundfx/libqcomvoiceprocessing.so Noise Suppression / Qualcomm F...

github.com
[Xperia Z5 Compact Q&A, Help & Troubleshooting] florstat:
Maybe I have solved the issue. So, as far as I understand the problem is a that acoustic echo cancellation fails to work properly, so I tried to disable it and let work only the sony one. In audio_effects.conf i commented aec and ns ( noise suppression, maybe this is not necessary ):

loudness_enhancer {
library loudness_enhancer
uuid fa415329-2034-4bea-b5dc-5b381c8d1e2c
}
# aec {
# library audio_pre_processing
# uuid 0f8d0d2a-59e5-45fe-b6e4-248c8a799109
# }
# ns {
# library audio_pre_processing
# uuid 1d97bb0b-9e2f-4403-9ae3-58c2554306f8
# }
sonyeffect {
library proxy
uuid af8da7e0-2ca1-11e3-b71d-0002a5d5c51b

libsw {
library sonyeffect_sw
uuid 50786e95-da76-4557-976b-7981bdf6feb9
}

libhw {
library sonyeffect_hw
uuid f9ed8ae0-1b9c-11e4-8900-0002a5d5c51b
}
}

Needs more testing, but the echo is just gone, and the call audio quality also seems way better.

I'm using LOS 14.1, with the default mixer_paths.xml as I think that the problem was not there.

Afaik after Android 9 there has been some changes in audio configs file ( now there is also an audio_effects.xml besides audio_effects.conf ) so idk if this very same trick works for versions other than Nougat, but I should be easy to implement an equivalent way.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] Berni-0815:
There have been changes, yes. But the xml file replaces the outdated conf file: Klick

I don't know if the xml file can bee changed this way. I mean, if those changes should have any wanted effect.

Give it a try.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] florstat:
I see. Maybe we could just remove these entries:

<effect name="aec" library="audio_pre_processing" uuid="0f8d0d2a-59e5-45fe-b6e4-248c8a799109"/>
<effect name="ns" library="audio_pre_processing" uuid="1d97bb0b-9e2f-4403-9ae3-58c2554306f8"/>

in xml file.

Another way could be to replace aec libraries with the others that are commented in default conf file, (switching from audio_pre_processing to pre_processing,. From the default conf:

# Default pre-processing effects. Add to audio_effect.conf "effects" section if

# audio HAL implements support for them.
#
# agc {
# library pre_processing
# uuid aa8130e0-66fc-11e0-bad0-0002a5d5c51b
# }
# aec {
# library pre_processing
# uuid bb392ec0-8d4d-11e0-a896-0002a5d5c51b
# }
# ns {
# library pre_processing
# uuid c06c8400-8e06-11e0-9cb6-0002a5d5c51b
# }

It might be interesting to note that on pie usually audio_effects.xml has those lines in the end ( here is Fairphone2 as an example ):

audio - device/fairphone/fp2 - Gitiles

<preprocess>
<stream type="voice_communication">
<apply effect="aec"/>
<apply effect="ns"/>
</stream>
</preprocess>
</audio_effects_conf>

While here is nougat version for the same device:

audio - device/fairphone/fp2 - Gitiles
[Xperia Z5 Compact Q&A, Help & Troubleshooting] florstat:
For those who want to test:

In @Berni-0815 repos you can find audio_effects.conf ( for 14.1 ) and audio_effects.xml ( for 15.1 and later ).

Change branch to select the correct version.

android_device_sony_kitakami-common/audio at cm-14.1 · Professor-Berni/android_device_sony_kitakami-common

My device tree for Sony XPeria Z5 devices (kitakami) - Professor-Berni/android_device_sony_kitakami-common

github.com

If your phone is not rooted you have first to edit files with a text editor, then from twrp set the right permissions ad copy the file to destination.

-Reboot to recovery

-Mount /system/

- Advanced => terminal

set permissions:

chmod 644 /sdcard/yourfile.xml ( or conf )
chown root.root /sdcard/yourfile.xml ( or conf )

copy it to the right location:

cp /path_to_your_file.conf /destination_path.conf

in destination the file has to be named as the original

eg in 14.1 is

cp /sdcard/yourfile.conf /system/vendor/etc/audio_effects.conf

#in 15.1 the path differs a little but you can easily find it with twrp file manager

If you have a rooted phone you can just edit the with a text editor on your phone or copy the file with a terminal.

Reboot and it is done.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] Berni-0815:
I really can't help you because I don't know enough of these mechanisms.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] norabitox:
Hello

I'm suffering from a strong echo of the X compact (which happens to the person I'm talking to)

I have audio_effects.xml in system / vendor / etc and vendor / etc

Which audio_effects.xml should I edit?

Please tell me so that beginners can understand

If you don't mind, please.

I'm sorry

I forgot to say

The device has lineage-17.1 installed.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] norabitox:
The audio_effects.xml of no echo Z5 compact (lineage17.1 of thanks to Berni-0815)

Can I copy it to X compact?

Please forgive me in a stupid question of the beginner.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] florstat:
I'm not an expert actually, but you should look for sources of your phone or you can copy the xml file to your sdcard and then on your pc and see if it is the same. Even if not there are anyway chances that you can try a similar trick.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] norabitox:
Thank you

I will try the copy.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] Berni-0815:
There is only one file present. I don't know exactly what it means, but it's called system-as-root. Please refer to google's manuals for further information.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] Berni-0815:
I've included these lines in my file "audio_effects.xml". Here you can download a version of my ROM.

Please test and report.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] florstat:
@norabitox

You could upload the file here, use pastbin or just insert it in the post so that everyone can have a look.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] norabitox:
Hello Berni

Thanks for the advice

But I'm an amateur when it comes to programming

I can't do anything by looking at the Google manual.

Your rom is the best

That's why I have the z5 compact as my main device.

If possible, I would like to use xcompact with a little better performance.

Echo and battery consumption don't make it happen.

Thank you.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] norabitox:
Thank you

My question is good in this forum?

This is the X compact xml

Please.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] norabitox:
mixer_paths_wcd9335.xml
[Xperia Z5 Compact Q&A, Help & Troubleshooting] florstat:
Ok, assuming that aec implementation is the issue, personally I would try a few strategies and see what happens.

First one, try to remove

</effects>
<preprocess>
<stream type="voice_communication">
<apply effect="aec"/>
<apply effect="ns"/>
</stream>
</preprocess>

If this does not work, edit again the default xml changing aec libriaries references from:

<effect name="aec" library="audio_pre_processing" uuid="0f8d0d2a-59e5-45fe-b6e4-248c8a799109"/>
<effect name="ns" library="audio_pre_processing" uuid="1d97bb0b-9e2f-4403-9ae3-58c2554306f8"/>

to:

<effect name="aec" library="pre_processing" uuid="bb392ec0-8d4d-11e0-a896-0002a5d5c51b"/>
<effect name="ns" library="pre_processing" uuid="c06c8400-8e06-11e0-9cb6-0002a5d5c51b"/>

EDIT: in order to ( have a chance to ) work this second solution needs also to insert:

<library name="pre_processing" path="/system/lib/soundfx/libaudiopreprocessing.so"/>

In library section at the beginning of the file.

Save your default file somewhere in order to restore it if things go bad, then create those two alternatives files and give them a try ( remember to set permissions as first step ).
[Xperia Z5 Compact Q&A, Help & Troubleshooting] norabitox:
Thank you

I will give it a try.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] norabitox:
Is this okay?
[Xperia Z5 Compact Q&A, Help & Troubleshooting] florstat:
Try these. Remember to give them the right name ( audio_effects.xml ) when you move them to the system path.

Z5C uses also some sony libraries, maybe there is a way to import them but needs more work.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] norabitox:
Can it be used with my X compact (f5321)?

Japan is already late at night, so I'll try it tomorrow.

thank you for your kindness.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] florstat:
I edited the xml file that you uploaded, so they have a chance to work only with X compact.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] norabitox:
:D
[Xperia Z5 Compact Q&A, Help & Troubleshooting] Berni-0815:
Have someone tried my test version for z5c? Post #22 ...
[Xperia Z5 Compact Q&A, Help & Troubleshooting] florstat:
I can't now, I broke my speaker while I was changing the display of my device and now I'm waiting for the replacement to be shipped. Hopefully tomorrow it will be fixed and I will have again the possibility to test.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] norabitox:
Hello florstat

Unfortunately, it had no effect.

Thank you.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] florstat:
Ok.. Did you notice any kind of change ( even issues ) when you tried different files?
[Xperia Z5 Compact Q&A, Help & Troubleshooting] norabitox:
I change the file and I never notice

Echo is because happen to my story opponent.

Flash the AOSP-10 rom and copy audio_effects.conf, audio_effects.xml, mixer_paths.xml

I think let's paste it into LineageOS.

AOSP-10 has no echo problems, so

What do you think.

Although the folder of these files is there some,

Where on earth should I copy it?

I'm wondering if I should copy it to all folders.

Best regards.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] Berni-0815:
Unfortunately this is not working.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] Berni-0815:
Nothing is working; NOTHING!

Neither removing the lines with "aec" and/or "ns" in it nor the use of "pre_processing" instead of "audio_pre_processing" and the approprietated uuid's.

It's simply a hardware problem! If you cover your microphone, the echo is gone.

I've given up!
[Xperia Z5 Compact Q&A, Help & Troubleshooting] norabitox:
Hello

Thank you

Volume of the phone has become a little smaller

However, the echo of the problems has been improved considerably.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] Berni-0815:
Try this one: Klick
[Xperia Z5 Compact Q&A, Help & Troubleshooting] florstat:
Maybe we're facing a different issue.

My case:

LOS 14.1 ( built by myself, feb 2021 security ). Other mods: disabled big cores with ramdisk ( to prevent heat issues ). Los default mixep_paths.xml file.

The issue:

The other caller hears a big echo of himself with a 2-3 sec lag, which makes impossible to have a conversation.

Tested with telegram calls, tested with earphones, the issue remains. This looks to me as a software issue as switching from handset to earphone makes no difference and because the very same earphones are perfectly working with other devices.

If I disable the microphone during call, the issue is gone.

The patch (?)

I can confirm ( tried again switching files ) that commenting audio_effects.conf as mentioned solves the issue.

Weird behaviour: if I'm having a telegram call and I receive a sound notification from another chat, the echo seems to appear again for few seconds.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] Berni-0815:
I don't think so. I'm talking about this too.

As I've written: Covering the mic does the same trick.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] florstat:
This is weird.

Hypothesis 1: different behaviour due to different version/structure ( android 7 vs 8-11).

Hypothesis 2: different behaviour due to mixer_paths.xml tweaks ( this one ?):

<path name="anc-handset">
<ctl name="ANC Function" value="ON" /> ( los default )
<ctl name="ANC Function" value="OFF" /> ( tweaked )

Hypothesis 3: Different hardware revisions (?).

I will test.