yashsingh1/xdaforums huggingface dataset:
[OnePlus 5T  Themes, Apps, and Mods] chdloc:
So you are saying that your setup does not allow for proper camcorder recordings even without the mod installed?

Add

<ctl name="RX0 Mix Digital Volume" value="X" />

inside the "speaker" device tags, where X={0, 1, ..., 124}; X=84 is default and corresponds to 0 dB of gain. Each "tick" in addition to 84 adds one dB, so you could add up to 40 dB (!). I'd be very conservative with that number and keep it well below 100.
[OnePlus 5T  Themes, Apps, and Mods] gunyz:
No no the recording is fine without the mod. Every stereo mod breaks the video sound tho.

I just made some tests with and without customs kernels so :

Ob5 + without mod : all good

Ob5 + stock kernel + your mod : video sound not working

Ob5 + Blu spark kernel r109 + your mod : video sound not working + latency everywhere.

Same problem with all mods

Alright thank you very much !
[OnePlus 5T  Themes, Apps, and Mods] brdfckr:
ob5, stock kernel

i tried every mod, but not working sound record in video
[OnePlus 5T  Themes, Apps, and Mods] gunyz:
I finally managed to increase the volume of the earpiece. But I added the RX0 MIX line code everywhere where the word "speaker" was and I replaced ALL 84 values by 93 in the whole file because it didn't want to work.

I tried values from 84 to 98 and for me the best is 93. No distortion except a little bit for music. it's not even noticeable except when I approach my ear to the earpiece. It's great for voices.

The only issue is when I receive a phone call everybody can hear the discussion because it's way too loud lol ? I guess I shouldn't have replaced all the 84 values ...

Do you know where the phone calls values are ?

Thanks
[OnePlus 5T  Themes, Apps, and Mods] DrGreem:
Quick question, why does the volume is slightly decreased while the screen is on?
[OnePlus 5T  Themes, Apps, and Mods] chdloc:
I don't really see where the latency may come in. What happens with OB5 + Blu spark r109 without the mod?

Now we need to figure out what device is being used for camcorder audio recordings.

After starting a camcorder recording (it does not matter whether the mod is installed or not) run the following command in a root shell

logcat | grep audio_hw > /sdcard/camcorder_audio_device.txt

and post the contents of /sdcard/camcorder_audio_device.txt

Did you also change the value toward the top of the file? Those values that are not tied to a specific device are default values. You may want to keep that one at 84 and only modify as needed.

Are you referring to handset or speakerphone mode?

The speaker device in handset mode is aptly called "handset". For speakerphone operation, look at the "voice-speaker-XXX" ones.

You seem to have my app installed and set to "Mode: adaptive" in the permanent notification. The idea is to have true stereo with balanced speakers active when the screen is on (for personal media consumption). In order to get balanced speakers the main speaker's volume needs to be reduced.

If you don't like this behavior set the mode to "Mode: Stock" or uninstall the app.
[OnePlus 5T  Themes, Apps, and Mods] DrGreem:
Yes I know that but the volume reduces on both speakers while the screen is on I set the mode to stereo not adaptive like. I also have hidden the notification (I don't know if that affects the functionality) of the module can't understand what's going on.
[OnePlus 5T  Themes, Apps, and Mods] zeeshanonlyme:
Currently using xxx No limits, and both the stereo speakers and audio recording from camcorder is working.
[OnePlus 5T  Themes, Apps, and Mods] brdfckr:
which rom are you using?
[OnePlus 5T  Themes, Apps, and Mods] gunyz:
Ob5+r109 kernel-no mod: everything is good but as soon as I flash any mod (tried directly with TWRP too) I get that bug

I attached I don't know if I did it correctly just let me know if it's not good

I used stock Cam and gcam

Yes I did. I literally changed everything because at the first place it didn't want to increase the volume.

I was referring to just regular earpiece mode. Not headset neither speaker mode. But it's fine I guess I just have to turn down the volume and it also maybe be good actually in noisy environment I could get more sound from the earpiece.

I have another question though. Do you know if it's possible to increase the volume of the headphones (via 3.5mm jack)
[OnePlus 5T  Themes, Apps, and Mods] chdloc:
As a first shot, add the following device to your mixer (the modded one) at the bottom prior to the </mixer> end tag and reboot:

<path name="handset-mic-re-default">
<path name="camcorder-mic"/>
</path>

Look for the "headphones" device. In there you'll want to increase "RX1 Mix Digital Volume" and "RX2 Mix Digital Volume". However, it is already set at +1 dB, so you will get distortion if you increase it further. You may want to look into getting higher-efficiency headphones.
[OnePlus 5T  Themes, Apps, and Mods] brdfckr:
ob5, stock kernel
[OnePlus 5T  Themes, Apps, and Mods] osm0sis:
Seems working here so far! I made a 1080p 60fps recording and the playback has sounds! :)

[MENTION=1346563]CazeW[/MENTION], could you please update your zip uploads with this fix? :highfive:
[OnePlus 5T  Themes, Apps, and Mods] CazeW:
I only need to add those lines to the mixer_paths file that's in the zip now?
[OnePlus 5T  Themes, Apps, and Mods] gunyz:
I agree with osm0sis it's recording with sound in stock Cam and gcam. Everything is good now. Great job it's a quick fix and efficient. Thank you ! ?

Yes this is why I uploaded my tasha file, I already increased the value of RX1 and RX2 to 85 (it was 78 or 81 I can't say for sure) but I can't notice much difference ...maybe I am deaf :/ is there another file to modify or the tasha.xml file is all what manages sound ?

Nevermind I am out sorry I misunderstood lol
[OnePlus 5T  Themes, Apps, and Mods] CazeW:
Both chdloc files updated with the fix in my post.
[OnePlus 5T  Themes, Apps, and Mods] brdfckr:
is there a app version in this mod?
[OnePlus 5T  Themes, Apps, and Mods] gunyz:
Here I share the mod I am using right now it might be useful for some people who are looking for a boost in volume. I modified:

-earpiece set to 93 (default is 84). Very good for voices, watching videos and streams is way better imo. A little bit of distortion to expect when playing music though

-headphones set to 85 (default is 78 or 81 I don't remember sorry) no distortion at all.

-changed 96 values to 97.

-applied fix for camcorder sound

All I did is changing values thanks to chdloc answers.

Hope it helps some people.
[OnePlus 5T  Themes, Apps, and Mods] osm0sis:
Excellent! Using the updated noApp zip now and so far so good! Thanks!

And of course thanks [MENTION=2760454]chdloc[/MENTION] for his expertise and the fix and [MENTION=8935349]gunyz[/MENTION] for testing. :)
[OnePlus 5T  Themes, Apps, and Mods] CazeW:
The other version requires the app from chdloc's post.
[OnePlus 5T  Themes, Apps, and Mods] brdfckr:
i don't understand very well :( sorry about my english :(

i want to use ''stock, mono'' version in the app. so which zip file i need to flash?
[OnePlus 5T  Themes, Apps, and Mods] KLit75:
What exactly are you guys flashing here?

I saw the noapp zip but is that a modified version of the one in the OP? Or do you need to flash that in addition to the OP zip?

Thanks

It looks like some people got it working without ear piece distortion or breaking the audio in video recording. If that's true I'd like to try it. Any guidance is very much appreciated.
[OnePlus 5T  Themes, Apps, and Mods] osm0sis:
The OP's are just a repackage of CazeW's, and CazeW's are now also updated with chdloc's video recording audio fix where the OP ones are still the old broken version.

If you want to use chdloc's stereo control app you can get that from chdloc's post and flash one of CazeW's zips (any chdloc one but the noApp version). If you don't want the app and want it just automatically handled use the noApp version which contains a boot script I wrote to keep the volumes balanced. (You can also edit that script once flashed if you want to adjust the volumes further.)
[OnePlus 5T  Themes, Apps, and Mods] gunyz:
The first post is kinda old and not updated at all and it installs an app in order to run. In my opinion it's annoying but the ones (updated) you can find in page 13 :

https://xdaforums.com/oneplus-5t/themes/stereo-sound-mod-oneplus-5t-oos-t3724736/page13

do not require an app to run and do not break sound of camcorder anymore (try chdloc and noapp version for no distortion)

Now the one I posted in previous page has more sound in the earpiece. It's great for YouTube, twitch etc .. (voices are good and louder) but it has a little bit of distortion when playing music especially low frequencies.
[OnePlus 5T  Themes, Apps, and Mods] KLit75:
Sorry but I just want to clarify. In the link you posted there's 5 different versions. 2 are labeled Oreo, does that mean the others are only compatible with Nougat?

They also say Magisk 15. I assume they'll flash fine in Magisk 16 (just being a little cautious)

And if I have any issues, do I dirty flash my rom or can it be disabled by Magisk.

Thanks for the reply!
[OnePlus 5T  Themes, Apps, and Mods] gunyz:
There are 4 versions posted by CazeW. As far as I know they are all compatible with Oreo I tested all of them on open beta 4 but on the open beta 5 I just tried the chdloc version but osm0sis confirmed for the noapp version. I don't really know for the other 2 but on the open beta 4, the 2nd one had way too much distortion and the 1st one even more.

And yes they are compatible with magisk 16.

If you want to revert back you just have to uninstall via magisk and you'll get your stock files.
[OnePlus 5T  Themes, Apps, and Mods] osm0sis:
The first 2 from CazeW's post are the original OP versions updated for Magisk 15+ I think. They didn't give stereo in a number of apps. The chdloc-based ones are the way to go, especially now that video recording audio is fixed.
[OnePlus 5T  Themes, Apps, and Mods] maquina80:
Thank you, well done ?
[OnePlus 5T  Themes, Apps, and Mods] KLit75:
I flashed the noapp version. It works like it's supposed to but do you guys notice the overall volume is lower?

Even with Viper enabled it's not as loud for me as it was before. Overall, the added speaker makes it sound a little more full.

Is it just me?

I suppose that's a good thing...Otherwise it might damage the speaker.

Thanks for the help!

Edit--sorry. I didn't mean to quote you twice. One was intended for [MENTION=4544860]osm0sis[/MENTION]

He helped me out too.
[OnePlus 5T  Themes, Apps, and Mods] osm0sis:
Yeah if you read page 13 like was suggested you'll see I purposefully did that when I wrote the script to balance the overall sound better. And as I just wrote, you can edit the script once installed to adjust the volumes further.
[OnePlus 5T  Themes, Apps, and Mods] KLit75:
Sorry. I missed that.

I don't know how much more I'd tinker with it. I get a little paranoid about damaging the speaker.

Im sure you did some experimenting and the values are pretty close to optimal, considering this speaker wasn't intended to to output music.

Very cool mod! I appreciate your work.
[OnePlus 5T  Themes, Apps, and Mods] gunyz:
[MENTION=4544860]osm0sis[/MENTION] [MENTION=2760454]chdloc[/MENTION] talking about earpiece potential damage do you think it can really cause irreversible damage to the speaker because of the distortion or the fact that it's not made for this purpose?
[OnePlus 5T  Themes, Apps, and Mods] xocomaox:
I updated to your version and it's really great!

One question, since you have the knowledge and skill to alter the actual settings of the mod, that I have is can you make the earpiece volume start at the highest possible (safe, like the 84) volume and remain that way instead of scaling with the main speaker volume? What I want to accomplish is be able to just use the first or second volume steps to hear both speakers. The problem I keep having is that the main speaker overpowers the earpiece whenever you get to a higher volume (naturally, since it's a better speaker).

Perhaps you cannot override this scaling? I don't know, just wondering. Regardless, thanks for the update. It works flawlessly on non-stock 8.1!
[OnePlus 5T  Themes, Apps, and Mods] chdloc:
No, the distortions you now hear are due to digital clipping and not due to the loudspeaker becoming overly non-linear.

Both digital and analog gain are maxed out by default already (0 dB for digital and +6dB for analog). By increasing digital gain past 0 dB, all you are doing is adding compression, which makes it sound louder and more distorted, but the D/A converter does not increase its maximum output voltage (the signal's crest factor approaches one, though). Permanent damage could only occur if the voice coil (assuming it's a dynamic driver) gets excited past its power rating and/or due to (sometimes related) thermal over-stress.
[OnePlus 5T  Themes, Apps, and Mods] xocomaox:
I think the biggest problem is that we don't really know how well-rated this earpiece speaker is. That being said, it is likely not going to cause a problem because people have conversations on the phone all the time at max volume for hours without it overheating or becoming damaged. And even at default max volume it can incur clipping.
[OnePlus 5T  Themes, Apps, and Mods] gunyz:
I know what you're talking about but I already tried to alter volumes values but I had that issue in phone calls where I couldn't adjust volumes.

I have these lines I don't know what they exactly alter

<ctl name="LINEOUT1 Volume" value="13" />

<ctl name="LINEOUT2 Volume" value="13" />

<ctl name="LINEOUT3 Volume" value="13" />

<ctl name="LINEOUT4 Volume" value="13" />

<ctl name="HPHL Volume" value="20" />

<ctl name="HPHR Volume" value="20" />

<ctl name="ADC1 Volume" value="12" />

<ctl name="ADC2 Volume" value="12" />

<ctl name="ADC3 Volume" value="13" />

<ctl name="ADC4 Volume" value="13" />

<ctl name="ADC5 Volume" value="13" />

<ctl name="ADC6 Volume" value="12" />

<ctl name="IIR0 INP0 Volume" value="54" />

If you want to have the same volume (subjectively ) you can use osm0sis mod (which makes the main speaker sound lower) and then just change 84 values of the earpiece to 93 (my setting, to make it sound louder than the stock mod) to actually seem like they both sound the same. But overriding the earpiece volume setting is kinda hard for me. Perhaps [MENTION=2760454]chdloc[/MENTION] can help you on this one.

Great thanks for this answer ! This actually relieves me a lot because I was also paranoid about damaging it with my settings.
[OnePlus 5T  Themes, Apps, and Mods] CazeW:
Get the noApp version. Easier to use.

I've updated the post, removed the old files and updated the names on the remaining to show that they are indeed for Magisk 15+.
[OnePlus 5T  Themes, Apps, and Mods] gunyz:
Maybe a moderator should update the OP as the thread creator is not really active anymore. It would be much easier for people looking for this mod the first time. The OP is out of date and the main updated mods are now in page 13 and only people who ask can get info on it.

Personally when I look for something in forums I only check like 4 pages and not read the whole thread ( I think nobody can read 100 pages Everytime ).

Trying to be helpful with newcomers ?
[OnePlus 5T  Themes, Apps, and Mods] quocanh21081992:
great work...tks so much

---------- Post added at 04:08 AM ---------- Previous post was at 04:02 AM ----------

can you create new topic?
[OnePlus 5T  Themes, Apps, and Mods] gunyz:
I don't know if I can do that even the forum rules post is empty. I'll try to dm a mod
[OnePlus 5T  Themes, Apps, and Mods] osm0sis:
First let's try actually mentioning the OP... [MENTION=5090315]andrizmitnick[/MENTION]
[OnePlus 5T  Themes, Apps, and Mods] n0j0e:
Which post number? Page number is relativ! [emoji39]

Send with much love & Android.
[OnePlus 5T  Themes, Apps, and Mods] osm0sis:
This is the link to use:

https://xdaforums.com/oneplus-5t/th...lus-5t-oos-t3724736/post75438442#post75438442

It's CazeW's post, but within the thread to allow scrolling up for chdloc's app and down to learn about editing the noApp script I wrote.
[OnePlus 5T  Themes, Apps, and Mods] xocomaox:
I'm glad AOSP-based firmwares do not suffer from all of these problems everyone on OOS is having.
[OnePlus 5T  Themes, Apps, and Mods] osm0sis:
Does this even apply to this thread? (I know it applies to many, but I don't see the connection here.)
[OnePlus 5T  Themes, Apps, and Mods] xocomaox:
In this thread you will find a bunch of people having problems with this mod who are using OOS. I'm not sure what you mean by this?
[OnePlus 5T  Themes, Apps, and Mods] n0j0e:
For me doesn't work right well also on lasted RR6.0. tested on my 5T with OB4-6 and get mostly no sound at all or 1-2s sound

Send with much love & Android.
[OnePlus 5T  Themes, Apps, and Mods] osm0sis:
Oh, chdloc's (via CazeW's zips) have always worked totally fine for me and my needs. Open Betas the whole time, currently on OB6. Only issue was the video recording audio, but now that's also fixed and it's perfect here.
[OnePlus 5T  Themes, Apps, and Mods] aj38584:
Doest it will cause any conflict using it with v4a?
[OnePlus 5T  Themes, Apps, and Mods] osm0sis:
Maybe? I don't use v4a. Try it out and report back. It's a Magisk module so it's painless to revert.
[OnePlus 5T  Themes, Apps, and Mods] SpiderNhan:
I noticed that V4A would have a channel imbalance with Stereo Sound activated. I use headphones most of the time so I uninstalled it and kept V4A.
[OnePlus 5T  Themes, Apps, and Mods] SANTUMIL:
Same for me , and the mod also lags videos ,its working but it's too laggy
[OnePlus 5T  Themes, Apps, and Mods] SANTUMIL:
I attach the log here
[OnePlus 5T  Themes, Apps, and Mods] MrPhilo:
Yeah doesn't work on Open Beta 6, was working fine for me on 5.
[OnePlus 5T  Themes, Apps, and Mods] osm0sis:
noApp zip still working fine here on OB6.
[OnePlus 5T  Themes, Apps, and Mods] andrizmitnick:
sorry for leaving things like this.. is there any new modification since the last post from you and [MENTION=2760454]chdloc[/MENTION] in page 13? pardon for my lost presence here

edit:

got it, should i add the one from @CazeW to the first page? or the one from @gunyz?
[OnePlus 5T  Themes, Apps, and Mods] gunyz:
Hi. Yes you should update the OP because people usually do not read the whole thread and only look for the OP. You could add ones from CazeW which are osm0sis and chdloc updated mods and working on ob6. You can also add mine which is the same but just louder (very good for voices) Working perfectly on ob6 too.

Thanks !
[OnePlus 5T  Themes, Apps, and Mods] osm0sis:
Instead of uploading/mirroring more zips which may go out of date, you might be better off taking down the OP attachments, and instead putting links to CazeW's zip post, and then chdloc's post for those that want to try the app.
[OnePlus 5T  Themes, Apps, and Mods] MrPhilo:
I'm using chdloc noApp and I'm still getting video lag and no sound problem on speaker. Anyone else? I'm on Beta 6 but probanly update to stable which seems to be the same as Beta 6
[OnePlus 5T  Themes, Apps, and Mods] andrizmitnick:
done, i hope everything is clear for now.. i mirrored and renamed the zip with post date and added the information & link related to the modification of the module
[OnePlus 5T  Themes, Apps, and Mods] gunyz:
Thumbs up, thanks !
[OnePlus 5T  Themes, Apps, and Mods] MrPhilo:
This is working for me on open beta 6, for some reason others don't work. No idea why.
[OnePlus 5T  Themes, Apps, and Mods] osm0sis:
They're probably using V4A, it's known incompatible
[OnePlus 5T  Themes, Apps, and Mods] DorianX:
Do you have a custom kernel installed? Try using stock kernel

Enviado desde mi ONEPLUS A5000 mediante Tapatalk
[OnePlus 5T  Themes, Apps, and Mods] n0j0e:
Hi,

i'm RR6 rom with OB6 firmware & Singularity kernel 2.2. Magisk 16.3. No other Audio MOD!

What must i do to get it work with my setup (no stock kernel please)?

What files to analyzing needs the dev?

How can i help with my limited coding knowledge?

:victory::confused:
[OnePlus 5T  Themes, Apps, and Mods] DorianX:
Maybe [MENTION=2760454]chdloc[/MENTION] or [MENTION=7047928]Dante63[/MENTION] can help in that situation, but the culprit on custom kernels is "sound control" for sure

Enviado desde mi ONEPLUS A5000 mediante Tapatalk
[OnePlus 5T  Themes, Apps, and Mods] osm0sis:
I use Franco Kernel, which has sound control, but I don't have any issues. :confused:
[OnePlus 5T  Themes, Apps, and Mods] DorianX:
I use Flash kernel and have that issue using this mod, on stock kernel don't have the problem... So don't know maybe [MENTION=6842057]nathanchance[/MENTION], [MENTION=3292224]franciscofranco[/MENTION], [MENTION=4684315]flar2[/MENTION] can help

Enviado desde mi ONEPLUS A5000 mediante Tapatalk
[OnePlus 5T  Themes, Apps, and Mods] MrPhilo:
Same problem. Sometime I reboot it works fine and normal, sometime it doesn't. Weird.
[OnePlus 5T  Themes, Apps, and Mods] MrPhilo:
What other audio Magisk module do you have installed?
[OnePlus 5T  Themes, Apps, and Mods] core720:
app version incluye app???

I can not find application
[OnePlus 5T  Themes, Apps, and Mods] osm0sis:
Nope. It's in chdloc's post on page 13.
[OnePlus 5T  Themes, Apps, and Mods] JellyPie:
So, the mod is working fine for me on the new (stable) OOS 5.1.0 Oreo 8.1 with stock kernel (OP5T), but I was wondering with which custom kernels it would work? I'm asking the question because when I was on OB6 with custom (Flash) Kernel it wouldn't work (none of the versions above). Any feedback is appreciated :)
[OnePlus 5T  Themes, Apps, and Mods] osm0sis:
Franco Kernel worked for me on OB6 and is working great on OOS 5.1. I use the noApp version of the zip from CazeW's post on page 13, and no other sound mods.
[OnePlus 5T  Themes, Apps, and Mods] gunyz:
I tried Blu spark kernels from open beta 3 to 6 and it always broke sound. I recently tried singularity kernel and sound is broken too. So now I am just using stock kernel with the mod.
[OnePlus 5T  Themes, Apps, and Mods] [Lexx]:
Try RenderZenith V3.2.0

Works fine for me
[OnePlus 5T  Themes, Apps, and Mods] Muntasir Mahmud Saif:
which version to flash in latest 5.1 stable?
[OnePlus 5T  Themes, Apps, and Mods] osm0sis:
Read literally 3 posts before yours.
[OnePlus 5T  Themes, Apps, and Mods] Muntasir Mahmud Saif:
and on los15.1? which version?
[OnePlus 5T  Themes, Apps, and Mods] fatexf:
which
[OnePlus 5T  Themes, Apps, and Mods] paatha13:
Works briliantly newer version to me.:good:

I'm on OP6 with elementalX kernel 3.03

Also having viper4FX module everything fine.(mostly using it by tuning music quality for Bluetooth listening,not with 3.5 jack)
[OnePlus 5T  Themes, Apps, and Mods] dodgeviper12003:
I am still having the issue on stock 8.1 with new kernel and viper. It works fine till I restart the phone then the mic is like your in a windstorm for 2 seconds on every video recording.
[OnePlus 5T  Themes, Apps, and Mods] distorter:
OB6 with flash kernel here. Getting odd results, Spotify has no sound for about 50 seconds then plays but ear piece is super quiet, guessing I need the app to tweak that.

YouTube is laggy as for about 30 seconds but no sound at all.
[OnePlus 5T  Themes, Apps, and Mods] ankushgautam:
I have only this stereo mod installed with app...no other sound mod..but i am getting echo during calls with speaker turned on..is it a known bug?? Or is there any fix for this
[OnePlus 5T  Themes, Apps, and Mods] gunyz:
Have same issue but still using it because I can edit video and cut these 2 seconds

Same happened to me from open beta 3 with many custom kernel. I always ask the kernel editor if he did anything sound related he always say no. Maybe not compatible with custom kernel
[OnePlus 5T  Themes, Apps, and Mods] 3lMghraby:
hey

I want to use the module fixed to the mono mod

how to do that ?

I installed the noapp version but the mono button works for a second and goes back to stereo mod
[OnePlus 5T  Themes, Apps, and Mods] kamisan:
Anyone have this working with any LOS based roms on oneplus 5t? running AICP tried a few versions of this but none did anything. No viper, tried with jamesdsp and without same results,, kernel is flash kernel tried elementalX also, both support sound mods. magisk 16.3 for magisk .