yashsingh1/xdaforums huggingface dataset:
[Note Edge Android Development] sshafranko:
[quote name="sshafranko" post=57356760]Which one?[/QUOTE]<br />

How good is the front speaker compared to the back speaker? <br />

<br />

Note edge snapdragon<br/>

Its a bit hard to explain but let me try...

The two speakers on your phone are very different. The biggest difference is distance.

Take the main speaker which is a normal looking speaker and keep it 3 feet away from you, sounds fine right, now pull that speaker right up to your ear and boom youll hurt your eardrum.

Take the front top speaker "earphone" put it right up to your ear, no prob right, now put it 3 feet away, you can barely hear it.

So its very difficult to achieve any type of balance with two different speakers ruled by distance. You would have to lower the main speaker to 3, on a 1 to 10 scale and the earphone at say 9 to get a close balance.

To achieve that on our phones the sound would be very low and almost defeat the purpose.

So in conclusion i dont think you will achieve much balance with the current speaker design but you may get a bit more balance and less volume with a stock volume surround mod.
[Note Edge Android Development] sshafranko:
Yea you must always change permissions when replacing a file. Yes you do, but i think it may be a good idea to link this thread in your thread op incase there are issues or questions you may not be able to anwser. Also give me a few minutes and i will zip up a couple versions for you so its complete and easier for users.
[Note Edge Android Development] sshafranko:
Well the surround mod in Daniels rom was created and given to him by me. He most likely sent me the moxer file to mod directly from his rom. The only thing i can tell you is send me the mixer file from cm rom, and i will do my best.
[Note Edge Android Development] hhairplane:
Here it is. Thanks for all your hard work!
[Note Edge Android Development] vibrantliker:
How did you install it? (T-mobile n4)
[Note Edge Android Development] bbrannack:
Rename your media xml file then flash the zip. Then make sure the new file doesn't have an extra xml and if it does delete the extra. Reboot and you should be golden. It's all explained in the op in better detail.

Sent from my SM-N910T using Xparent BlueTapatalk 2
[Note Edge Android Development] vibrantliker:
Thanks. Didn't see in instructions anything other than to flash.
[Note Edge Android Development] NeoAndroid:
Flashed this on Note 4 FireKat V5 and all is well and worked great. Except afterwards I started getting random reboots. I restored my nandroid backup of the System partition and all is good again but no more front speaker, lol. I've cleared Cache and Dalvik and even Fix Permission prior to restore to no avail. Any TMO Note 4 users not having any reboots after this mod?
[Note Edge Android Development] sshafranko:
Theres a user a page back who flashed it on the same phone and rom as you. He said it works great. So not sure what could be your issue. Did you delete the extra .xml extension? If not than thats it
[Note Edge Android Development] sshafranko:
Post 2 updated. Added N3 Sprint CM11. Fixing all zips now.
[Note Edge Android Development] sshafranko:
915G fixed
[Note Edge Android Development] sshafranko:
N3_9005 fixed
[Note Edge Android Development] NeoAndroid:
Thank you for responding quickly. I renamed the original file .bak and removed the extra .xml on the new one. Rebooted and like what I said, it worked great after that except for the reboots. I downloaded the 3 files from OP#2 for Note 4. I think I'm going to try and find the added/edited lines and just manually add them to the original file using Root Explorer and try that. Otherwise, great job on this mod. Thanks.

EDIT: nevermind about doing it manually, lol. There's a ton of lines of codes to check. I might just manually move the new file myself using Root Explorer. I'll keep you posted.
[Note Edge Android Development] hhairplane:
Is this file okay to use?
[Note Edge Android Development] sshafranko:
Why dont you wait until i fix the zips and dl them again and flash the correct one see if that helps. Im fixing n4 next. Should be 10 min
[Note Edge Android Development] sshafranko:
N3 TMO fixed
[Note Edge Android Development] lifestar53:
Sprint Note 3 thread here if u would like to chime in.

http://xdaforums.com/note-3-sprint/development/mod-sm-n900p-surround-sound-t2966042#post57339005
[Note Edge Android Development] sshafranko:
N4_TMO fixed
[Note Edge Android Development] NeoAndroid:
Thank you. I will re-download. I went ahead and manually move the file and applied proper permission and then rebooted with no issues so far. I'll wait til tomorrow before I flash the new one and will report back.
[Note Edge Android Development] sshafranko:
Nexus5 fixed☺ done for tonight...ill add the ones from today in post 2 tomorrow.
[Note Edge Android Development] sshafranko:
Great hope it works. I just looked over the entire N4 TMO mixer file and everything looks to be in order. Check your etc folder and make sure you dont have 2 mixer files. Should only be one. It happened to me before. I had and xml and another with xml.xml
[Note Edge Android Development] romvahav:
Wowww now it's working!

Can you make loud version for this model ?

Thanks a lot !
[Note Edge Android Development] sshafranko:
Great news....sure tomorrow ill do it for you. I will post the zips in post 2 also.
[Note Edge Android Development] hhairplane:
Working great. Thank you so much. Amazing sound! Seems like my friend's HTC One M8.
[Note Edge Android Development] m0han:
my device is Xolo Q3000. xda forum here and thread here. my thread about your mod is here.

i'm rooted with twrp v2.8.0.0 recovery. current rom is stock kitkat of a clone, viz., bq Aquaris 5.7.

let me know which folders i should get screenshots of. i shall provide files that you specify. please help. :fingers-crossed:
[Note Edge Android Development] edboy21:
Is the fix just to remove the extra .xml on the file name? Thanks for this mod.
[Note Edge Android Development] Ianchua:
You can just remove it by renaming the XML file

Sent from a Omega powered Note 3 rigged with f2fs awesomeness with Lean Kernel. Peace✌
[Note Edge Android Development] edboy21:
I got it working already, just wanted to make sure that was the only fix, so I don't have to flash the zip again.
[Note Edge Android Development] mkim055:
Could you pm me or share link for Note 4 N910U exynos variant, please?

Thank you.
[Note Edge Android Development] sshafranko:
Awesome....glad it worked for you
[Note Edge Android Development] sshafranko:
Yea the fix was only for the zips adding an extra .xml...thats it. Now they all flash correctly?
[Note Edge Android Development] sshafranko:
Ok ill look into it but can you also.....check your system folder and see if you see a file called mixer_paths.xml. Usually its in System/etc. You may also have a default_gain_config, or something that looks close to this "snd_soc_msm_2x_Fusion3.xml" im not sure but thats the first step. Let me know if you see any of those. THNNX
[Note Edge Android Development] sshafranko:
I dont have any links for that phone sir. I dont even know what that phone is. You have to post your mixer_paths.xml file and i modify it for you, create a zip, put it in my mediafire account, get a link and post it here for you.

So go to System/etc, scroll down to mixer_paths.xml, hold it down, send to your dropbox, got to dropbox and touch the three dot icon next to the mixer_paths file, hit share, copy to your clipboard, and post the link here.
[Note Edge Android Development] jimzmaycry:
can you please make it for N910H variant? it's exynos version. i will attach my media_paths.xml here for you.

thank you..
[Note Edge Android Development] sshafranko:
I will take a look but the Exynos versions have been very difficult for me. I havent completed one yet. The main problem is i dont have an exynos phone to test with. Sometimes i need to make small edits and reboot 5 times in 5 min. Thats very hard to do without the phone. I will try though..
[Note Edge Android Development] Ianchua:
Deleted

Sent from a Omega powered Note 3 rigged with f2fs awesomeness with Lean Kernel. Peace✌
[Note Edge Android Development] jimzmaycry:
thank you really appreciate your effort. i am ready to help you if you need my help.

here i attach the mixer_paths.xml of n910h variant. please take your time .. thank you very much.
[Note Edge Android Development] kabuk1:
Working awesomely on my N910T on DynamicKat. Thanks for this, it's so cool!
[Note Edge Android Development] sshafranko:
Kool..DK actually has this mod built in DK settings. Its the same file. Bri had it in the rom since i made it.☺
[Note Edge Android Development] sshafranko:
Post 2 updated. Added N4 910F and N4 910C
[Note Edge Android Development] willowpc:
Sorry bro, i was on beach on the last couple days... so, i've tried your mod that was posted on the main page but doesn't worked, no audio from the front earpiece speaker...

Someone who have a N910C have confirmed that works ?

Thanks so much !
[Note Edge Android Development] jagdesh:
Hey op sorry could not reply or test your mod, was traveling.

Well I installed the loud version for 915G... And it worked

I checked the etc folder and found that after flashing the zip file in the 2nd post there were 3 files present in the etc folder. One for the mixer path.xml file, second was mixer path.bak file and the third was mixer path.xml.xml file.

Well I deleted the 2 files and kept the. Xml file only. Did I do something wrong? Was there supposed be 3 files?

Another thing I would like you to try and make for me for 915G if possible is that when on call and loudspeaker is activated the sound only comes from the rear loud speaker and not the earpiece like when playing media. Can this me added for calls taken on the speaker....?
[Note Edge Android Development] MSK1:
does it work
[Note Edge Android Development] kabuk1:
Welp, goes to show you how observant I am :eek:
[Note Edge Android Development] vibrantliker:
Hi jagdesh, I see you have both Note 4 and Edge. If you had to get rid of 1, which would it be?
[Note Edge Android Development] sshafranko:
Those files may have been left over from when you flashed the bad zips i had posted previously. It should flash fine now.
[Note Edge Android Development] sshafranko:
No noone. Ive been waiting for someone but noone tried it so i zipped it and hoped for the best. Ill look at it tonight and see if i can fix it.
[Note Edge Android Development] sshafranko:
It happens.
[Note Edge Android Development] sshafranko:
Which one?
[Note Edge Android Development] MSK1:
How good is the front speaker compared to the back speaker?

Note edge snapdragon
[Note Edge Android Development] willowpc:
I can test for you anytime.. I'll wait for your contact.. Thanks so much.
[Note Edge Android Development] jagdesh:
I would get rid of the note 4. Since the note edge does everything the note 4 can and then some more.

I like the uniqueness of the note edge. It's like when samsung first launched the note line up with first gen note. Note edge is different feels like different like how the first note was..

---------- Post added at 06:46 AM ---------- Previous post was at 06:43 AM ----------

Thanks OP

Two things

1. What about enabling the sorround sound when the caller is on the loudspeaker? Can this be enabled? This way if the back speaker is covered the caller will still sound nice and loud because the back speaker can easily be muffled with hands or when on a table or bed.

2. I had also attached my mixer path. Xml file for note 4 910G earlier could look into it as well and make a loud boost mod for it please...
[Note Edge Android Development] notmyepic:
I would like to thank you in a post, this way maybe more users of your mod will actually hit the thanks button every once in a while.

I am on Sprint Note 4 and works great.

Thanks again
[Note Edge Android Development] sshafranko:
Hey epic i really appreciate the sentiment and am very grateful but i honestly didnt do this for the thanks or for money. Im not one of those hit the thanks button if i helped guys, honestly just happy to help people and share what i discovered for myself thats all.

But just for chitz and giggles to give you some numbers, on the S4 file alone, 380 down loads, and between all files around 950 downloads so far. LOL my thank yous definitely dont reflect those numbers but hey like i said im happy to help. Thanks again tho i appreciate it.
[Note Edge Android Development] jagdesh:
Hey OP Any update on my two points above
[Note Edge Android Development] sshafranko:
Dual speaker for in call is next on my list to investigate but i fear its a bit more complicated although i dont think impossible. We see....

As for N910G i cannot find that file anywhere. Please post it again and I'll take care of it tomorrow.
[Note Edge Android Development] sshafranko:
Will i need you to flash the surround zip again, go to your System/etc folder and scroll down to mixer. Let me know if you see anything strange such as 2 mixer files or 2 xml extensions. I looked over the modified one i did and it looks fine. It should work. Thanks
[Note Edge Android Development] jagdesh:
Here you go buddy, there are two files in zip folder... This is for 910G

https://www.dropbox.com/s/k5z3m81zmhi1ph2/mixer files SM-N910G.zip?dl=0
[Note Edge Android Development] tospace2006:
Sorry if it has been asked before but it's a rather large thread

Hey, so I was wondering about this mod. Do you guys think it might degrade the earpiece speaker over time? I don't think those were exactly designed for being that loud for long periods of time.

Is there support for this mod on the Exynos Edge? If not will providing certain files help you with development?
[Note Edge Android Development] kingdazy:
something that I wasn't sure if I understood; does this create true stereo? L/R channels that hopefully flip according to orientation?
[Note Edge Android Development] sshafranko:
Yea but your never gonna get true stereo sound on a phone with these tiny phone speakers. You want stereo plug in headphones or use a dedicated external speaker. Maybe you can come close on the HTc with dual front speakers but phone speakers are just too small and not designed for it.

I would say it gives you a fuller sound more so than stereo. Its more of a fuller surround type of sound IMO.
[Note Edge Android Development] sshafranko:
Feel free to post tour mixer file but exynos is very different. I will try.
[Note Edge Android Development] sshafranko:
Try this and let me know please. ..

https://www.dropbox.com/s/bkse8lefxufitmy/N4_N910G_LoudSurround_mixer_paths.xml?dl=0
[Note Edge Android Development] willowpc:
Tried to flash again but doesn't worked.. Nothing strange on my folder.. Just the normal file.. I'm on a custom ROM with a custom kernel.. May this can cause some issues? I think no because I'm not using any other mod that change audios settings.. Thanks
[Note Edge Android Development] R187J:
E:unable to open zip

ERROR

NOTE 4 910T stock rom custom kernel AEL 4.9
[Note Edge Android Development] Ianchua:
Could be a bad download. Match up the size of the zip with the one on Media fire. If it mismatches, than redownload it

Sent from a Omega powered Note 3 rigged with f2fs awesomeness with Lean Kernel. Peace✌
[Note Edge Android Development] jagdesh:
Tested it in 910G and it worked but the mod needs to have higher boost.

Please make the same mod with higher surround sound levels so. Louder version please
[Note Edge Android Development] R187J:
Already did all that downloaded 3x 3 different connection 3 different download devices
[Note Edge Android Development] sugar 7:
I thanks a lot I m testing tonight :)

Envoyé de mon SM-N910F en utilisant Tapatalk
[Note Edge Android Development] sshafranko:
You get this error when you flash it in TWRP?

If so, extract the file from the zip and install manually. Not sure what it could be as it works for everyone else. Sry
[Note Edge Android Development] sshafranko:
I cant make much louder than that. If you go too high with the volume boost you get issues and past a certain point you loose all sound. You can change the volume yourself its very easy.

Just go to etc folder and mount RW in your root explorer app.

Open mixer file with text editor.

Scroll down to Play Scenario, its the fourth or third set of dashed line right after devices. Go to speaker and change the Rx digital volume values. Save and exit and it will save the original version with .bak in the name. Reboot and walla.
[Note Edge Android Development] sshafranko:
TY, let me know
[Note Edge Android Development] abhi08638:
[MENTION=5108383]sshafranko[/MENTION] I tried it on the OnePlus One, but I don't think I did it right.

Would love it if you could give it a shot!
[Note Edge Android Development] jagdesh:
So Kool then you add the 910G file to your second post and maybe create a flashable zip file.
[Note Edge Android Development] sshafranko:
Will do
[Note Edge Android Development] sshafranko:
Will please try this one. Also anyone with a N4 910C please try this and let me know if it works. TY

https://www.dropbox.com/s/vi92c59zg7kr2op/N4_910C_FinalSurroundmixer_paths.xml?dl=0
[Note Edge Android Development] jagdesh:
Thanks for the tip to increase the sound output only increased from 89 to 91 and its awesome

Could please tell whick value to increase and where if I want to increase the incall earpiece and incall loud speaker volume? I want to increase by 1 point or 1 level only..
[Note Edge Android Development] sshafranko:
Sure.. its simple look at the pictures and the ones i corcled are all volumes. Just like play scenario, there is video call scenario, voip scenario, if you scroll down you will see them all and you can change the volume for any and all of them.
[Note Edge Android Development] sshafranko:
Is this the stock file? In other words did you mod this one at all? If so i need the stock one please...ty
[Note Edge Android Development] pongoface:
Sshafranko. Can I get permission from you to add this mod to my ported rom in next release please. Full credit will be in op. Thanks
[Note Edge Android Development] abhi08638:
[MENTION=5108383]sshafranko[/MENTION], yeah this is the stock file. I saved the original as a .bak file before trying this.
[Note Edge Android Development] willowpc:
Doesn't worked.. No audio from the earpiece speaker..
[Note Edge Android Development] sshafranko:
Absolutely....no need to ask?
[Note Edge Android Development] sshafranko:
Will i donno what else to do. Every line of code is where it should be, and all the mixer files for Snapdragon N4 are almost exact. I modified the file same as N4 tmo, 910G, etc...and it works for them so im inclined to think it may be something with your phone?

I wish someone else with a 910C would let me know if it works for them.
[Note Edge Android Development] sshafranko:
Please try this and let me know. Ty

http://www.mediafire.com/view/pwqiu7kbc1jlymb/HTC_1+1_Surround_mixer_paths.xml
[Note Edge Android Development] willowpc:
May you can create a topic on the exynos development forum.. I'm thinking to back to stock just for test your mod.. I really want that your mod works on N910C.. The stock sound of the note 4 sucks and the idea of surround sound it's so awesome that I certainly would get rid of the custom Roms to get this thing working..

Please.. Consider to create a thread on the exynos development.. May it's really a problem with my phone..

Thanks so much :)
[Note Edge Android Development] sshafranko:
Can you do a little research and see if you have a default_gain_config file, or anything else that has to do with audio files please? If you do send me that as well.
[Note Edge Android Development] sshafranko:
Ill think about the ezynos thread but i cannot take care of multiple threads right now im too busy at work.
[Note Edge Android Development] willowpc:
Yes, i have...

Here is the link for download:

https://www.dropbox.com/s/t1a5xt91d6jbg5d/default_gain.conf?dl=0

Thanks.
[Note Edge Android Development] abhi08638:
unfortunately, it didn't work
[Note Edge Android Development] sshafranko:
Ok ill try again and post it. Ty
[Note Edge Android Development] kingdazy:
sorry to bother your dev work, but no one was able to answer my query.

does this mod create true stereo l/r channels?

and if so, does it flip with orientation?

and thanks for your work, trying to get a dev I know to include this in a rom!
[Note Edge Android Development] abhi08638:
Alright I think I got it. It was really hard to tell because the OPO has really strong speakers! I ended up creating a new profile and merging the "spk" and "ear" profiles, while reducing the speaker volume.
[Note Edge Android Development] sshafranko:
Send it to me let me see. Im curious..ty dont see how that can work theres no "Hphl Dac switch value in the ear scenario amongst others which would have to be added and inputs and rx values changed...
[Note Edge Android Development] sshafranko:
Yes

No
[Note Edge Android Development] sshafranko:
Will try this make sure u have both modded mixer and config installed.

https://www.dropbox.com/s/0srrrpkkqpped34/ModN4_910C_exynos_default_gain.txt?dl=0
[Note Edge Android Development] abhi08638:
Sure thing! This is what I modified to enable it only for audio playback.

RX1 is the headset

RX3 is the speaker

"ear" path

<path name="ear">

***Added***<ctl name="SLIM RX1 MUX" value="AIF1_PB" />

***Added***<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="RX1 Digital Volume" value="90" />

<ctl name="EAR PA Gain" value="POS_6_DB" />

<ctl name="DAC1 Switch" value="1" />

</path>

custom speaker-ear path

<path name="spk-ear">

<path name="ear" />

<ctl name="RX3 MIX1 INP1" value="RX1" />

<ctl name="RDAC5 MUX" value="DEM3_INV" />

<ctl name="COMP2 Switch" value="1" />

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

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

</path>

output paths

<path name="handset">

***removed two lines and added to "ear" path***

<path name="ear" />

</path>

<path name="speaker">

***change path to custom***<path name="spk-ear" />

***Increase headset***<ctl name="RX1 Digital Volume" value="90" />

***reduce speakers***<ctl name="RX3 Digital Volume" value="70" />

<ctl name="RX4 Digital Volume" value="80" />

</path>

May I create a thread and share this mod in the OPO thread? With proper credits of course.
[Note Edge Android Development] willowpc:
I'm sorry, but doesn't worked.. tried with every mixer_paths that you have posted here but none worked.

I have some files named: audio-effects.config and audio_policy.conf , I don't know if they interfere on something...

Here is a link of all the files that i took of the original ZIP of the ROM, none of they are modified.

https://www.dropbox.com/s/8o9ta8kpj6wh1iy/N910C - Note 4.rar?dl=0

So, as you can see, looks like it's just me that is asking for the N910C here. If you want to quit with this, i'm fine, i think that i am making you loose a good time with this ;P

i'm very thankfull for everything that you have done until now.., so, tell me that you decide.. i'll keep my eyes here... Thanks so much again. :highfive:
[Note Edge Android Development] sshafranko:
I will NEVEr quit as long as you test for me and as long as 1 person is interested. Ty
[Note Edge Android Development] sshafranko:
Of course man be my guest? and great job. You lowere the rx3 to 70, wow...speakers must be powerful. Cool tho im happy you got it down.

Woulf you mind if i put the file in post 2 here also and credit your work as well. Trying to create a repository of sorts
[Note Edge Android Development] abhi08638:
Not a problem! Yeah the duel speakers are really frickin loud lol
[Note Edge Android Development] willowpc:
Thanks so much bro :victory:

You can count on me, so, right now i've to go to college, when i arrive at home i can test anything for you... so, thanks so much again, let's make that thing work. :highfive:
[Note Edge Android Development] sshafranko:
Lol thats awesome....hey ab is your mixer file in System/etc? BTW awesome work i just looked at the file. Dont forget test it with headphones plugged in, on call etc....before you throw it up just in case...