yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Compact Q&A, Help & Troubleshooting] florstat:
Tested telegram calls in latest Berni's los 18.1, removed aec and ns entries in audio_effects.xml, turned on ANC in mixer_paths.

There is echo as usual.

So there is probably a different way to implement it in android >7.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] Berni-0815:
Have you changed all three mentioned things in one step?

I've tested a "normal" call with my latest los18.1 ROM without any additional changes and the echo is much lower for me as the caller.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] florstat:
Yes, because I was trying to create a setting similar to default los 14.1.

In my case with 14.1 and patch the echo is not lower, it's completely gone. Your tweak is very useful to reduce it but I think that it should be a way to completely avoid echo also in oreo and later.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] florstat:
I think we could to go for something similar, as I see that it the same process is used for multiple phones:

msm8974: Disable VoIP offload · CyanogenMod/android_device_oppo_msm8974-common@089f914

* Use the normal audio paths for VoIP instead of the compressed path on the DSP in order to reduce latency numbers. * Hook up the voice processing effects as well. Change-Id: I48e9fa3dcbf94c8...

github.com

Is it possible to add/edit those files ( in which directory voice_processing_descriptor.c has to be placed? ) or do I have to rebuild?

(tested switching uuids of aec and ns to those used there ( and in other phones ) but mic does not work, so I assume we do not have those references )
[Xperia Z5 Compact Q&A, Help & Troubleshooting] Berni-0815:
You should try this in a terminal:

adb root
adb shell
dumpsys media.audio_flinger > /sdcard/af.txt
exit
adb pull sdcard/af.txt

Then you have a file af.txt which contains our settings for those stuff.

For example:

Library audio_pre_processing
path: /vendor/lib/soundfx/libqcomvoiceprocessing.so
Noise Suppression / Qualcomm Fluence
UUID: 1d97bb0b-9e2f-4403-9ae3-58c2554306f8
TYPE: 58b4b260-8e06-11e0-aa8e-0002a5d5c51b
apiVersion: 00020000
flags: 00000203
Acoustic Echo Canceler / Qualcomm Fluence
UUID: 0f8d0d2a-59e5-45fe-b6e4-248c8a799109
TYPE: 7b491460-8d4d-11e0-bd61-0002a5d5c51b
apiVersion: 00020000
flags: 00000203

Now you have the current settings of this library and the matching UUID's.

And if you take a look into this, you will see that the mentioned patch is already present. File "PreProcessing.cpp" beginning at line 172.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] florstat:
I will give another try with those uuids then, mic stopped working but this could be due to another bug ( I'm facing tons of bugs atm because twrp has used los 14.1+gapps backup in 18.1 installation ).
[Xperia Z5 Compact Q&A, Help & Troubleshooting] florstat:
With this one ( stripped sony effects, switched to others UUIDs) I'm having some results.

The echo is present only at the beginning of the call. Major downside: in some reboots the mic works, in some other just don't ( neither recording a message works ).

DIsclaimer: I'm testing telegram calls only because I cannot switch the sim from my current main device.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] Berni-0815:
How are you disabling the mic during a call? Simply switching it to mute?

If yes: For me that points to the fact that the mic "hears" the devices own speaker and recorded that too; with a delay, logically. That's heard as echo on the other side.

That's nearly the same as covering the mic.

How should this be suppressed by software?
[Xperia Z5 Compact Q&A, Help & Troubleshooting] florstat:
Yes.

It could be, but this is not consistent with earphones behaviour. I'm using in-ear earphones so there is no sound emitted outside, still the issue is present. I cannot think at other than a software explanation in this case.

I don't know, still thinking about it.

Maybe we could try to just disable the speaker ( or just lower its volume ) and see what happens. If it is an hardware issue this should solve it completely.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] florstat:
@norabitox

If you want you could try with these two files for your x-compact, I switched to another audio_preprocess UUID and this seems to have some effect on xz5c. I'm still testing it and a feedback from another device would be very useful in order to understand if it's a general software issue and if there is general solution.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] Berni-0815:
I've just done two tests with that build:

Bluetooth headset (mono speaker and mono mic)

Normal usage (with the device's built-in mic and speaker)

In both cases I can hear a loud echo when calling my z5c. If I leave the room, the echo is getting lower and lower the more I'm away from the z5c.

Two rooms away there is no more echo at all to hear for me as caller.

For me that points to a very sensitive mic.

Edit:

Or a way too much mic gain.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] florstat:
Not sure to understand how you're testing it. If both the caller phone and the receiving one are in the same room clearly there will be an echo as both devices are receiving the same sound input and transmitting it between themselves. I always put the z5c in a separate room in order to avoid interefences.

However, if understand correctly, the hardware issue theory explains the issue in this way:

z5s receive the voice message => reproduce it with the speaker => z5c mic hears this sound => sends back this sound to the other caller => the other caller hears himself after 2-3 secs

If this is the case we should be able to suppress it by reducing the mic gain ( minor sensitivity to ambient sound ), but also reducing audio speaker's volume, as with no sound from speakers the mic has nothing to send back.

I would test the second way, because if with little or no sound form speakers the echo remains this would point clearly to a software issue.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] Berni-0815:
My z5c lays on the table in the living room and I call it with my iPhone. Then I leave the room and go from room to room with my iPhone.

The farer I'm from my z5c the lower is the echo.

If I'm leaving my house completely there is no more echo at all.

I think my conclusion is wrong!

Because if I'm not near to my z5c, no echo is heared.

So my theory of the acoustic feedback (speaker -> mic) can't be true!

Edit:

I want to say, the z5c catches my own voice when I'm near to it.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] Berni-0815:
That also seems to mean, my solution for LineageOS 18.1 seems to work.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] florstat:
Berni's tweaks reduces the issue, however now I'm using this device as my main phone and I noticed a few things:

- Main mic gain is low. eg if you recod an audio message on Whatsapp/Telegram you can barely hear your voice. Tried using another phone aside z5c, the other phone sends a perfect audio, while z5c's has a very low volume.

- Crackled audio: notifications and alarms are distorted, again you can clearly hear the difference another lineageos phone aside. It is not a hardware issue as I replaced the speaker with a new one and it persists.

-The infamous echo issue. With original mixer_paths.xml ( and modded audio_effects.conf ) it is just gone from voip calls ( telegram/whatsapp ) while it is still annoyingly present in normal calls. I think that is the proof that is a software issue, probably voip calls use a different library/compression/path/whatever.

Besides this, speakerphone call quality is pretty bad ( even for speakerphone calls standards ) and the echo is always present to some degree.

All this things together are IMO clearly pointing to some bad audio implementation/missing audio library in lineageos for this device.

Of course there is an hardware issue in the phone as mic takes as an input the speaker's output, but this is a physics issue of all devices and for this reason there is a software filter managing it. For some reason this does not work on z5c especially using lineageos. Tweaking mixer_paths could reduce it as it works on the physics of it ( eg reducing speaker volume, keeping low mic sensitivity ) but it comes at a cost, while there is probably a way to completely solve it.

BTW, I will try also this method, maybe adapting mics address to those of our device.

https://xdaforums.com/t/fix-in-call-echo-and-noise-from-top-mic-pocophone.3886049/

Addendum:

Little how-to for those who wants to tweak config files without root ( it's the fastest way that I've found, you can edit and reboot in less than one minute ). I'm using linux, but this should work in a very similar way also on windows.

-connect your phone to a pc via usb, reboot in recovery ( you can easily do it enabling "advanced restart" in developer options ).

- From recovery mount "system" partition

- On computer open a terminal ad give

<code>sudo adb shell</code>

- Now you should see a root prompt (~#) of your phone.

- Use vi editor to edit files, eg

<code>vi /system/etc/mixer_paths.xml </code>

By default vi opens files on your terminal and is in read mode, to actually edit files you have to press the " i " key. When done, press esc key to go back to read mode, then give " :wq " to write to file and quit vi.

- Now you could type reboot in the shell to just reboot phone.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] Berni-0815:
First of all:

Which OS are you using currently?

Second:

Have you tried to use the stock ROM and compare those issues with that?
[Xperia Z5 Compact Q&A, Help & Troubleshooting] Berni-0815:
Third:

How have you "modded" audio_effects.conf?
[Xperia Z5 Compact Q&A, Help & Troubleshooting] florstat:
1) Los 14.1, built using official repos + the muppets.

Tried your 14.1, 17, 18 and faced the same issues.

2) Nope, where can I find it? Is it possible to flash it after unlocking bootloader?

3) This way. Tweaking audio_effects.conf ( or audio_effects.xml in Los 17-18 ) solves the issue of echo in voip calls ( telegram/whatsapp ) which was happening also with headphones/headset, but seems to have no effect on normal calls. Tried multiple tweaks ( disabling sony effects, disabling aec & ns ) but nothing seems to work.

aec {
library audio_pre_processing
# uuid 0f8d0d2a-59e5-45fe-b6e4-248c8a799109
uuid 29dfd020-e88b-11e5-b505-0002a5d5c51b
}
ns {
library audio_pre_processing
# uuid 1d97bb0b-9e2f-4403-9ae3-58c2554306f8
uuid e4eb6b40-e88b-11e5-b6ad-0002a5d5c51b
[Xperia Z5 Compact Q&A, Help & Troubleshooting] Berni-0815:
You can download stock ROM by installing the FlashTool at windows and using the XperiFirm button. This button does not work at linux; it is a proprietary windows tool.

I remember exprimenting with the uuid's of aec and ns. But at the moment I don't know exactly how and which the results were. But I remember that I don't had any remarkable results.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] florstat:
Also, do you know why this commit of audio_effects.conf has never landed to lineage?

suzuran: Config changes - ivy -> suzuran · Professor-Berni/android_device_sony_suzuran@1cc1437

* Sony package version: 32.4.A.0.160 * Keep some mixer_paths.xml changes from ivy tree Change-Id: I417c1a20f051633995eff44afedbb9a553909d38

github.com

In every los rom that I have tried there is no dolby while aec, ns and sony effects are present.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] Berni-0815:
No. But the file you're pointing to looks like it is the one from stock ROM.

Maybe the HAL doesn't support DOLBY?
[Xperia Z5 Compact Q&A, Help & Troubleshooting] florstat:
I don't know. This commit is for 32.4.A.0.160 firmware revision ( afaik los is stuck to 32.4.A.0.154 ).

Interesting there are some added libraries in proprietary-files.txt.

Like here:

suzuran: Config changes - ivy -> suzuran · Professor-Berni/android_device_sony_suzuran@1cc1437

* Sony package version: 32.4.A.0.160 * Keep some mixer_paths.xml changes from ivy tree Change-Id: I417c1a20f051633995eff44afedbb9a553909d38

github.com

+ vendor/lib64/libhwdaphal.so
+ vendor/lib64/libhwdaphal.so

I checked and I cant't find them in my build proprietary.txt.

OT

There are also some added libraries for camera @ line 832

+vendor/lib/libchromaflash.so
+vendor/lib/liboptizoom.so
+vendor/lib/libtrueportrait.so
+vendor/lib/libubifocus.so

Also those ar not present in lineage proprietary-files.txt.

Could this be related to camera limitations ( 8mp, bad auto focus ) in los 16-18?
[Xperia Z5 Compact Q&A, Help & Troubleshooting] Berni-0815:
No, we're using 32.4.A.1.54

AFAICR they are not needed any longer.

No. They are part of my extra blob repo: Klick
[Xperia Z5 Compact Q&A, Help & Troubleshooting] Berni-0815:
Please try this version: Klick Link removed; included in latest version.

I'm using another file audio_effects.xml with other libraries.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] Berni-0815:
Has anyone tried this version yet?
[Xperia Z5 Compact Q&A, Help & Troubleshooting] florstat:
Not yet, I am using the phone as my main device so I cannot reinstall the whole system atm. Could you provide audio_effects.xml file only?
[Xperia Z5 Compact Q&A, Help & Troubleshooting] Berni-0815:
Sure! Here it is (attached).
[Xperia Z5 Compact Q&A, Help & Troubleshooting] Berni-0815:
Are there any new informations?
[Xperia Z5 Compact Q&A, Help & Troubleshooting] florstat:
I noticed that with Telegram calls after 1-2 seconds from the start there is no echo at all.

So, there are two possible explaination :

1- Telegram has his own echo cancelling

2- The phone uses a different protocol with telegram calls.
[Moto G4 Questions & Answers] timjharvey:
I've been running Keerten's PixelExp-64k ROM, but it's got a couple of major bugs, i.e. GPS not working, there is an unofficial fix but that's not being maintained, I've looked through jer194's great list of ROM's. I just wanted to find out what 64bit ROM's everyone else is running?
[Huawei P20 Lite Questions & Answers] Atif Munir:
notification of different apps like whatsapp or messenger not working. in notifications setting i off vibrate and ringtone. but when i receive new messages cell vibrate and ringing.
[Huawei P20 Lite Questions & Answers] touns_j:
this does not look like a P20 lite notifications management menu (mine looks completely different and has way more options). are you sure you're posting in the right forum?
[Huawei P20 Lite Questions & Answers] Atif Munir:
this is a huawei p20 lite, i am using different theme.

see pic
[Huawei P20 Lite Questions & Answers] touns_j:
yeah it's indeed a P20 lite menu , my bad the theme threw me off , have you checked the notifications settings in whatsapp itself ?maybe the settings on the app itself are overriding the OS settings ? that's the only thing i can think of seeing that it seems your issue is app specific... as in not all the apps are affected
[Huawei P20 Pro Questions & Answers] Unsalted fries:
Anyone experince it? When I was on a whatsap call, I had a normal incoming call and the ringtone blasted into my ear while I was on the call.

Any help from this?
[Asus ZenFone 3 ROMs, Kernels, Recoveries, & Other ] fosseperme:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/

LINK: https://mega.nz/#F!jCRTSY4a!b83LVsbFZ2_eMmUhGCudmw

N.B. To flash this zip you must be on Oreo Asus Firmware because the installer script do a initial check of the modem version installed, and if find a baseband Nougat or Marsmallow interrupt the installation process

XDA:DevDB Information

[ROM][8.1.0][UNOFFICIAL] AOSVP: ViperOS for ZE520KL/ZE552KL, ROM for the Asus ZenFone 3

Contributors

fosseperme

Source Code: https://gitlab.com/AOSVP-O/manifest

Kernel Source: https://github.com/makorn645/android_kernel_asus_msm8953

Special Thanks [MENTION=8232311]planet9[/MENTION] [MENTION=7889472]makorn645[/MENTION]

ROM OS Version: 8.x Oreo

ROM Kernel: Linux 3.x

ROM Firmware Required: Oreo with TWRP

Based On: AOSP

Version Information

Status: Stable

Created 2018-05-22

Last Updated 2018-05-22
[Asus ZenFone 3 ROMs, Kernels, Recoveries, & Other ] fosseperme:
rom uploaded!
[Asus ZenFone 3 ROMs, Kernels, Recoveries, & Other ] fosseperme:
...added screens!
[Asus ZenFone 3 ROMs, Kernels, Recoveries, & Other ] sontranngoc:
Does 4K & 60fps works?
[Asus ZenFone 3 ROMs, Kernels, Recoveries, & Other ] fosseperme:
Yes should
[Asus ZenFone 3 ROMs, Kernels, Recoveries, & Other ] sontranngoc:
Plz update RR to works too bro
[Asus ZenFone 3 ROMs, Kernels, Recoveries, & Other ] kiq1702:
Woooow, The best of rom for me!

Thx Bro :)
[Asus ZenFone 3 ROMs, Kernels, Recoveries, & Other ] kiq1702:
Error in Instalation....

Help me
[Asus ZenFone 3 ROMs, Kernels, Recoveries, & Other ] fosseperme:
What twrp do you use? are you on Oreo? Please install latest TWRP and make wipe all and also format data. Finally in section mount of twrp, mount system. if this not work, update to stock to oreo and retry.
[Asus ZenFone 3 ROMs, Kernels, Recoveries, & Other ] kiq1702:
I'm using TWRP 3.2.1-0

Latest Raw Oreo WW-15.0410.1804.60

I did total Wipe (Dalvik, cache, system, Data, internal memory, dalvik)

Not install... :(
[Asus ZenFone 3 ROMs, Kernels, Recoveries, & Other ] fosseperme:
use 7zip to extract file of recovery.img from raw firmware
[Asus ZenFone 3 ROMs, Kernels, Recoveries, & Other ] SVR:
Could flash it easily. ROM looks awesome but "SD Card corrupt tap to fix" error in this ROM too like few other ROMs built by you. The SD Card is fine TWRP can read it.
[Asus ZenFone 3 ROMs, Kernels, Recoveries, & Other ] deepax.:
Can you render this build a "official build" ?
[ZTE Axon 7 Questions & Answers] FaTAX6:
Hello, I am the owner of the Chinese version of the phone. I have trouble. After installing the unofficially firmware there was a problem.

The switched on phone does not see the connected charger, does not see the PC. (PC does not see my Phone too. No New devices)

If the phone is switched off and connected to the PC, then turn on my Phone, the PC and the phone see each other, until the cable is removed.

If the phone is switched off and connected to the charger, the phone is charging. If turn it on(connected to charge) Phone is charging, but only slow charge (no qc)

I tried different chargers and cables, including official.

I tried to install different firmware via Myflash and Axon7_EDL_Tool

for example:

A2017_B13_FULL_EDL_UNBRICK_DFU

A2017_B17_NOUGAT_FULL_EN

A2017_B11_OREO_FULL_OR

etc.

disassembled the phone, all contacts on the board are normal. externally all is ok.

what do you advise? how to return the phone to its normal state?

(google translate)

Add

If connect turned on Phone to pc an wait, sometimes pc see New device

unknown USB device (port reset failure)

There was a problem with starting the USB device \ VID_0000 & PID_0001 \ 5 & 376aba2d & 0 & 18.

Driver Name: usb.inf

GUID of the class: {36fc9e60-c465-11cf-8056-444553540000}

Service:

Bottom filters:

Upper filters:

Problem: 0x2B

Problem status: 0x0
[ZTE Axon 7 Questions & Answers] FaTAX6:
Still waitin 4 cure
[ZTE Axon 7 Questions & Answers] FaTAX6:
Heey, smbd help me
[ZTE Axon 7 Questions & Answers] Skv012a:
Reinstall the drivers? Try a different cable? Perhaps a fully clean flash?
[ZTE Axon 7 Questions & Answers] FaTAX6:
I tried all this. different chargers, cables and pc

a few hours ago I flashed the phone without the battery. problem still exists.
[ZTE Axon 7 Questions & Answers] Skv012a:
Very strange... it should not just stop working with usb port suddenly like that. You might have to try ordering a new USB board from Ali Express to actually make sure it's not the board. Some chip on it may have bricked that would be harder to ping.
[ZTE Axon 7 Questions & Answers] unknown3rror:
mine does this too, only way to get it to charge is to power off, plug phone in, and then power back on. Tried clearing cashe/delvik and even wiped everything clean and did a fresh install of newest version of bootloader/twrp/rom
[ZTE Axon 7 Questions & Answers] otaconremo:
I am also experiencing this recently. about two weeks already not having quick charging and PC connection nor OTG function not working.

If I have time, I'm gonna open up this phone too. :(
[OnePlus 6 Questions & Answers] DaveHTC200:
What's peoples settings for DPI?

Looking for the best value to get as small as possible :silly:
[OnePlus 6 Questions & Answers] LOGMD:
Check the uploaded images, just enable developer settings and set your own dpi I've got good eyes and 1080p is pretty crisp.

I've just got mine set to small in display settings ATM - I uploaded small default and a custom super small api
[OnePlus 6 Questions & Answers] DaveHTC200:
600 looks pretty sweet :svetius:
[OnePlus 6 Questions & Answers] j0sh1:
I've gone with smallest font size and display settings without fiddling with developer options and im happy with the overall display. Anything smaller would be too small for my taste lol
[OnePlus 6 Questions & Answers] LOGMD:
That's normally what I do too, also smaller somenapps start acting wired with artifacts etc
[OnePlus 6 Questions & Answers] DaveHTC200:
I tried the small on both and its too large for me still, until my eyes start worsening lol
[OnePlus 6 Questions & Answers] j0sh1:
haha sounds like you have magnifying eyes ?
[Honor 7X  Questions & Answers] spyder006:
While taking pictures in aperture mode the camera shows the aperture is applied.. but after I have actually clicked the picture and try to view it there is no aperture or bokeh applied. Even the icon that is used to change the aperture length from gallery after picture is clicked is not showing up.

This was from emui 5.1 and still persists in emui 8.0
[Shift General] pl670:
Just wondering if anyone else has had the same issues when doint the following.

Copy data from external USB HDD to inernal SD card causes Vista ( after 2gb0 to throw BSOD and give mini dump. BAD_USB is the error shown.

Any takers? or is it just me?
[Shift General] NuClear235:
Can help KB patch ?

Can help KB patch ?

MicroSoft HotFix KB934796(USB)

http://support.microsoft.com/kb/934796
[Sprint LG G6 Guides, News, & Discussion] frostwildfire:
Hello guys Im sharing the link to this thread to flash the Oreo update from the Canadian version H875, the OP [MENTION=4691227]PjLyTam[/MENTION] says it's compatible with the LS993.

https://xdaforums.com/lg-g6/how-to/kdz-8-0-oreo-h873-v20c-t3787396

Im not responsible for any data loss or if something went wrong with the flashing procedure, Im just sharing the information.

Sorry for my english.
[Sprint LG G6 Guides, News, & Discussion] sahil00150:
Anyone Tried?
[Sprint LG G6 Guides, News, & Discussion] sCOTTN916:
I tried this using my LG LS993ZVA using LGUP & Uppercut to no avail. Wrong KDZ message. ?????However thank you all the same.
[Sprint LG G6 Guides, News, & Discussion] frostwildfire:
You should try this method https://xdaforums.com/att-g6/how-to/convert-upgrade-att-g6-to-h873-oreo-t3791848, and dont use uppercut. Use the patched dll provided in thread and please let me know if you did it.
[Samsung Galaxy S9+ Questions & Answers] hq15955657:
Hi guys,

Regarding to the tutorials from Xda,

-can we still changing carriers just like the s8 and s8+ with s9?

-can we able to flash the U1 to the U? used to used patched Odin for this purpose.

THANK YOU

BR
[Samsung Galaxy S9+ Questions & Answers] blane3298:
was just wondering the same
[Samsung Galaxy S9+ Questions & Answers] todd3835:
Yes, assuming your on the v1 bootloader still. There's a U1 thread already with all of the relevant information.

If your on the v2 bootloader, there's currently no v2 U1 rom, so you are stuck until Samsung releases an update to the U1 firmware.
[Samsung Galaxy S9+ Questions & Answers] hq15955657:
Thank you!