yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Android Development] olokos:
It depends how the application is built and what methods does it modify. For example there's major lag when using superuser mod from xposed module and modded camera app. Nothing u can do about this, zip is the only lagless way.

I'm not saying it has to, but sound is quite important for me and there's just no actual reason to do that. Maybe for more devices, but that's it.

I also use stock rom with LB, most of guys here do. You can install a recovery with LB and actually, you dont really need a recovery to flash this mod. You can just extract the zip and move mixer_paths.xml to /system/etc and it will do the same thing, just don't forget to set correct permissions to the file :)
[Xperia Z2 Android Development] Filipeknot:
[MENTION=4300205]olokos[/MENTION]

I've copied manually and it worked fine!

My ears are blowing up! kkkk :)

Thx for support!
[Xperia Z2 Android Development] NetSkill:
I am checking this thread almost every day in hope that will see speakers volume boost...are you planing to do it? I know you mentioned something about this but dont know where and what...i just wanna ask, how is it going with speakers vol. boost?
[Xperia Z2 Android Development] olokos:
You're welcome! Just a reminder - you can always use the "thanks" button on the left side of the posts of other people to thank them. In my case I prefer if people just write something nice to me and I'm fine, but since I see that you're fairly new then I thought that might be useful for you. :)

Oh yea, sorry, I kind of forgot as I got busy with some other projects and school... and other stuff xD

I actually think to do some kind of "TODO PROJECTS" list in the link in my sig to remind me, thanks! :)
[Xperia Z2 Android Development] NetSkill:
Okay thanks! :) one last question doesnt this ruin the smart call handling function... when it plays trough both speakers its not pleasant to put it on ear for the phone to auto pick up i mean the speaker will yell to your ear or it plays only from one when smart call ha..is enabled?
[Xperia Z2 Android Development] olokos:
It's using the default settings, but with the second speaker enabled so it might ruin it a bit. I haven't thought of this and nobody mentioned that. :P
[Xperia Z2 Android Development] NetSkill:
Okay thank you very much... I stopped using the feature and now enjoying your mod
[Xperia Z2 Android Development] TippMan:
I think that the speakers are to weak... It will be impossible to boost them.

With MusicFx+Poweramp i can get the max from the speakers(before the distortion) and im not happy. Sorry for bad english. :P
[Xperia Z2 Android Development] bdithug:
Just want to say great mod. I'm loving it. An absolute must for z2 owners.
[Xperia Z2 Android Development] bdithug:
Last night I played some music via Bluetooth on my hottub stereo. I noticed the music was crackling a little. Is there a Bluetooth boost included in this or is that a side effect of the headphones boost?

If I wanted to get rid of the headphones boost, what's the best way to do so? Flash the revert to stock zip, then the boost without headphones zip? Or just flash the boost without headphones zip?

Edit: Apparently the revert to stock does not work. Now I have absolutely NO sound. Notifications, phone calls, (cant even answer the phone calls without Phone Activity Crashing), nothing.. Tried reflashing, still no sound. How can I get my sound back?
[Xperia Z2 Android Development] olokos:
Revert to stock works if you flashed the zip w/ backup. My mod does completely nothing regarding bluetooth although it might have some influence, no idea why. Try to flash the zip for your firmware again and the sound will be back ;p
[Xperia Z2 Android Development] bdithug:
Yea I got it back. I took my backup file and overwrote the file in system / etc, and set permissions and rebooted. I'll try the mod without headphones boost tonight to see if it crackles as well. Then stock. I'll let ya know how it goes
[Xperia Z2 Android Development] Jiyeon90:
I only want headphone volume boost for music, my call volume is already excellent, using both speakers would make everyone around me hear my conversations.

Is there any way to only install headphone volume boost?

Edit: Nvm, I missread the OP

Edit 2: mod is working great, ty dear OP!

Edit 3: unfortunately this added a lot of background noise, reverting back [emoji30]

Sent from my Xperia Z2
[Xperia Z2 Android Development] Jiyeon90:
Guys how to revert back? I installed the "Z2 soundmod revert to stock" but it doesn't change anything, mod still present ?

Sent from my Xperia Z2
[Xperia Z2 Android Development] olokos:
Get stock mixer_paths.xml for your firmware and push it to /system/etc with correct permissions
[Xperia Z2 Android Development] JiraffeLeung:
I don't think anybody mentioned this yet,

but is there anyone else not getting any sound at all from the primary top speaker with the loudspeaker disabled?

I flashed the 1.3 version, I have the locked bootloader dualrecovery installed, flashed using TWRP 2.7.1.0

The two speakers are working fine when I enable the loudspeaker, but just when I disable it or make calls normally, the top speaker doesn't work.

EDIT:

I see that someone also added this question earlier.

Would I be able to flash the 1.0 version on top of the 1.3 without restoring first? I'm not sure if I have the .403 firmware. My build number is 17.1.A.2.55

EDIT: SOLVED - I flashed the revert for 1.3 and then immediately flashed over with the 1.0 (without headphone boost). Works like a charm now! Thanks for this mod!
[Xperia Z2 Android Development] Jiyeon90:
Thank you for the tips, I can't believe I didn't try this before, now my headphone noise is gone but I preserved the loud speakers [emoji106]

Sent from my Xperia Z2
[Xperia Z2 Android Development] bdithug:
Just an update. Flashed 1.3 without headphone boost, listened to music on my hottub Bluetooth system, no static whatsoever. For some reason, the headphones boost was giving me static when connected to some Bluetooth systems.
[Xperia Z2 Android Development] BRNRD:
I just wanna say thank you soooo much! the Z2's original headphone volume level was pretty damn low even at max, and you've changed all that :D this mod along with Viper4Android is the ultimate sound combination
[Xperia Z2 Android Development] rokrd1579:
Camera recording just one speaker

I have applied this mod on my z2 tablet and im happy because the sound is louder than before but, when im recording a video and i play it i can hear the audio from one speaker, i don't know why happens this, could someone help me :c with original mixer.xml works both speakers when im recording but with this, it doesnt :c
[Xperia Z2 Android Development] olokos:
This mod is for Z2, not Z2 tablet... I already sent you pm about it.
[Xperia Z2 Android Development] jake460:
Does this work on Z1 compact?

Sent from my D6503
[Xperia Z2 Android Development] aotaotaot99:
Can you make only notification and louder speaker(during call) from both speaker ?

(without stereo incoming call ringtone.)
[Xperia Z2 Android Development] Filipeknot:
[MENTION=4300205]olokos[/MENTION]

You need to decrease the headphones volume! When a music becomes silent, we can hear some noises...

Thx for your good job!
[Xperia Z2 Android Development] xianpu:
i like the volume boost on earphone/headphone, many local brand earphone (ehem..china made per se) can compete now from original ones with this boost specially on Bass, only problem is the top and bottom speaker. i cant hear my alarm and notifications..
[Xperia Z2 Android Development] olokos:
Added to my todolist [MENTION=5839760]xianpu[/MENTION] - make sure you chose the right zip
[Xperia Z2 Android Development] vikrant7027:
Can you please provide mic enhancement as its very low on Z2
[Xperia Z2 Android Development] Swarai:
?

So if I understand this thread correctly I need to unlock my bootloader first before I can use this mod? Thanks
[Xperia Z2 Android Development] olokos:
Not really. All you need is root.
[Xperia Z2 Android Development] Homurato:
Hey [MENTION=4300205]olokos[/MENTION]

Is there an ETA for the speakers volume enhancement ?
[Xperia Z2 Android Development] Swarai:
Do what step am I missing? I have (Z2 soundmod 1.3 KK_stereo+headphones boost with backup-1.zip) unzipped on my phone, but I still here my voicemail through one speaker? Thanks
[Xperia Z2 Android Development] bdithug:
First, you need root access.

Second, If you have a recovery, just flash the zip. I would back up your mixer_paths.xml file on your phone just in case. It is found in "system/etc". Just copy it to another folder (call the folder backups if you want).

If you don't have a recovery, you will again want to backup your mixer_paths.xml file, but just unzip the file you downloaded here in the OP, find the replacement mixer_paths.xml file from the zip, and overwrite the one on your phone (in system/etc). Then fix the permissions for that file and reboot. Then enjoy :)
[Xperia Z2 Android Development] Swarai:
My phone is rooted, but what apps should I use to complete these tasks?
[Xperia Z2 Android Development] bdithug:
OK, let's take it one step at a time. Do you have a recovery installed on your device? When you rooted, did you just root and that's it? Or did you follow all the steps and install a recovery as well? From there I'll walk you through it.
[Xperia Z2 Android Development] olokos:
[MENTION=4564092]bdithug[/MENTION] told you what you need. Please spend some time to actually understand what's root, recovery and a zip file in android world. If you will continue to just blindly do stuff here on xda then it's a straight way to brick your device. You can't really brick your phone with this, but there is a lot of stuff here on xda that will brick your device if you will do something wrong.
[Xperia Z2 Android Development] Swarai:


---------- Post added at 02:07 AM ---------- Previous post was at 01:10 AM ----------

I don't think I have a recovery installed custom or otherwise. I am rooted and I have rooted apps ie titanium backup, busybox, xposed etc. But that's it
[Xperia Z2 Android Development] bdithug:
OK. Well first I would take Okolos advice and read up a little bit before doing much else root wise. As he said, you can brick your phone by doing things you don't quite understand.

That being said, my previous post pretty much sums it up. For a file Explorer, I use root Explorer. It's simple and easy. Find your system/etc folder on your phone. Backup your mixer_paths.xml file. Take the new mixer_paths.xml file from the zip you downloaded here, over write the one in system/etc, and fix permissions, reboot.

To disable the mod, just copy your backup of mixer_paths.xml back into system/etc and fix permissions again, and reboot.
[Xperia Z2 Android Development] Swarai:
Is it possible to use both the speakers and headphone mod at the same time?
[Xperia Z2 Android Development] bdithug:
Please read the OP of the thread. There are different versions of the mod. As Okolos said, flashing things here on XDA without an understanding can be dangerous.
[Xperia Z2 Android Development] Swarai:
I see that I already have mixer_paths.xml in /system/etc* but I also have mixer_paths_auxpcm.xml located there also. Would this cause a conflict? I ask because I experience no changes.
[Xperia Z2 Android Development] bdithug:
Nope that wouldn't cause a conflict. Mixer_paths.xml that's already there is most likely the stock (default) file. I would back that file up. Then overwrite it with the mixer_paths.xml from the zip. Then fix the permissions for the file and reboot. I'm assuming whatever app you used to flash the zip file didn't flash it properly. That's my guess.
[Xperia Z2 Android Development] Swarai:
You may have been right as my music player, video player and dialer no longer work. I'm not sure how i can fix this issue. Maybe I'll install a custom ROM?
[Xperia Z2 Android Development] olokos:
Yeah, that's probably it. I've never seen before an app that flashes zip files to your device without recovery. Well, except for device dedicated apps like cm recovery installer, but it flashes predefined files without actually using a zip file which is fine contrary to flashing any zip file on any device using an app for that.

It's not ios, "there's an app for that" saying doesn't apply to android. Thanks to this you can do stuff like I did here and much, much more. That's why I'll never go grab any crapple device. (maybe if it's a bargain and I really need it for particular task, but never as a main driver).

Sure you can use an app for that, even from Google play, but there's no way it would work the same, perfect way as this mod does.

Oh my, that's a long post on nothing important really xd
[Xperia Z2 Android Development] bdithug:
That sounds like the permissions need to be fixed. When I restored my stock mixer_paths.xml file the first time, I forgot to fix the permissions. My sound was broken, videos didn't play and dialer didn't work either.

What mixer_paths.xml file is in your system/etc folder? Is it the stock file or this mod's file?
[Xperia Z2 Android Development] Swarai:
So i put my stock mixer back and it worked. The mod mixer did not. I installed both and there's no change. What permissions should it be? I have:

RW-R-R

ROOT

ROOT
[Xperia Z2 Android Development] bdithug:
Read, write, execute (rwxrwxrwx)

If you have your sound back and your dialer, videos, etc all work then you're all good.

What Rom are you running? If stock, which version?
[Xperia Z2 Android Development] Swarai:
I have stock .314

---------- Post added at 02:44 AM ---------- Previous post was at 02:35 AM ----------

I have stock .314
[Xperia Z2 Android Development] bdithug:
And you downloaded version 1.3 from the OP? If so, It should work.
[Xperia Z2 Android Development] Swarai:
I redownloaded 1.3 just to make sure and I set the permissions to rwx rwx rwx. How I'm testing is by using my voicemail. I listen to my voicemail on speakerphone and it only comes through the bottom speaker.
[Xperia Z2 Android Development] bdithug:
That's very weird. It should work. Did you reboot after copying the file and setting permissions? That's exactly how I test mine is with voicemail.
[Xperia Z2 Android Development] Swarai:
Yeah right now I'm stuck I've checked the permissions and I've rebooted at least 4 times today.
[Xperia Z2 Android Development] bdithug:
Not sure what to say. Sorry I can't help ya. When you listen to music, both speakers play? Maybe your top speaker is broken?
[Xperia Z2 Android Development] DennisDD78:
olokos, could you, please, make the same mod for Z3 device ? :) I attached needful file, so, if you will have some free time, maybe you will take a look at this ? ;)

Thank you!
[Xperia Z2 Android Development] Swarai:
No the both speakers work. Maybe Olokos can shed some light?
[Xperia Z2 Android Development] DennisDD78:
olokos, by the way, i`ve tried your mod from Z2 on Z3, sound profile was working, but still one speaker when incoming call :(

I`m afrain Sony changed something else this time.
[Xperia Z2 Android Development] olokos:
I'd suggest you to flash a recovery. Then we'll talk as I have no idea what's your issue at all.

Just did this mod for Z3. Grab it from Z3 Development section or from the link in my signature.
[Xperia Z2 Android Development] Swarai:
Would I have to unlock bootloader to do this? Thanks
[Xperia Z2 Android Development] olokos:
Pick installer zip

http://nut.xperia-files.com/
[Xperia Z2 Android Development] Swarai:
I don't know why these procedures are so difficult for me? Any time I have to turn off the phone then turn it back on while holding volume up or down it never works. All I get is the Sony screen the bootload image. Nothing else. I can't this recovery thing down. I don't see a light come on either.
[Xperia Z2 Android Development] bdithug:
Then you don't have a recovery installed. Which root method did you use?
[Xperia Z2 Android Development] olokos:
You are also not supposed to hold, but to press continuously volume down after you feel vibration/notification led changes colours on the sony logo.
[Xperia Z2 Android Development] waynekirby:
You only need to press a button (any HW button) once mate :)
[Xperia Z2 Android Development] olokos:
Whereas I agree with this then I'd tell newbies to continuously press it since you have to press it in one exact moment. If you miss it then device will boot normally and newbie may get confused. :)

Hell, I did that when I started and sometimes I still do when I'm not paying attention :P
[Xperia Z2 Android Development] Swarai:
I installed rootkitXperia_20140719. What are my options now?
[Xperia Z2 Android Development] Swarai:
I'll try this, looking for vibrations. My light does not turn on except when charging (orange or green) or in fastboot mode (blue). Otherwise my light does not come on :-\
[Xperia Z2 Android Development] bdithug:
Not 100% sure if you can just run adb and flash a recovery with every type of root so I won't say for sure. But I would check the thread of that root method you used to see if there's instructions on how to flash a recovery using that specific root method. I won't clog this thread anymore regarding that, as this thread is for its own purpose. Good luck.
[Xperia Z2 Android Development] aragorn771:
The .314 links are to missing files. will the other fw files work?
[Xperia Z2 Android Development] olokos:
Just updated the links. AFH went https without notice.
[Xperia Z2 Android Development] omergh:
İs this mode increase speaker volume and how can i apply this mod to locked bootloader device because i havent got recovery sorry for my bad english
[Xperia Z2 Android Development] olokos:
Both speakers will play audio all the time now and headphones will be louder.

recovery
[Xperia Z2 Android Development] omergh:
I dont want install recovery i want keep my waranty can i just replace mixer file manually
[Xperia Z2 Android Development] olokos:
You don't have to unlock your bootloader. Just install it. You still need root with r/w to /system so this doesn't really matter whether you install recovery or you do this manually. You will have perfectly clean phone just by using PC Companion "repair" option or by flashing .ftf file. Your warranty will still be OK after you do either repair or flash .ftf file even if u do this. Just remember not to unlock bootloader.
[Xperia Z2 Android Development] Pandemic:
[MENTION=4300205]olokos[/MENTION]

This mod works great on my Z2 the stereo speakers works awesome now ^^
[Xperia Z2 Android Development] olokos:
Thanks to all of you guys for nice words :)
[Xperia Z2 Android Development] beniamin24:
Hei can you make a extreme mod for headphones speaker and earpiece?
[Xperia Z2 Android Development] olokos:
What do you mean by extreme? Isn't that volume high enough for you?
[Xperia Z2 Android Development] beniamin24:
Actualy is not, in the yearpiece i can hardly hear, the only mod that work well with the yearpiece dep is this http://xdaforums.com/showthread.php?t=2476498 but it doesnt have stereo mod and the notif volume is low. So can you make it happen :D, pretty please. I mean to have the highest volume on headphones, speaker (stereo + notifi volume) and yearpiece?
[Xperia Z2 Android Development] olokos:
ok, I will do that at some point.
[Xperia Z2 Android Development] kenanffb:
doesnt work on my D6503

Tried both files:

Z2 soundmod 1.3 with headphones boost with backup

Z2 soundmod 1.3 without headphones boost with backup

But nothing happens. Any Ideas? Im on Stock.
[Xperia Z2 Android Development] pride_kr:
Guys will this make calls volume up? Thats my problem, I cant hear incoming calls

thanks
[Xperia Z2 Android Development] pride_kr:
+1 !!!

PLease make the earpiece louder too

Tks for ur work mate
[Xperia Z2 Android Development] hendry:
i flashed this mod on 314 firmware locked.. but still the sound is very low.. no change..

does this mods only work with unlock boot loader ?
[Xperia Z2 Android Development] spuri78:
It works on LB as well.
[Xperia Z2 Android Development] kenanffb:
I have the same problem. No change at all. Im I doing anything wrong?
[Xperia Z2 Android Development] olokos:
Check headphones volume after flashing guys
[Xperia Z2 Android Development] kenanffb:
Do we need to change any settings? Why isn't it working :(
[Xperia Z2 Android Development] bdithug:
Was there an update lately with changes?
[Xperia Z2 Android Development] manemzjum:
Just went through the whole thing from scratch

Rooted phone

Unlocked Bootloader

Installed custom recovery

Flashed zip

Made absolutely no difference at all

Running 314 used the 314 zip without headphone boost turned all sounds up to max

Still the same as it was before
[Xperia Z2 Android Development] benengyj:
Oops. Nvm....links are working again.
[Xperia Z2 Android Development] bonkel:
this mod is only for normal headphones

not for the digital noise cancelling headphones

if you want to use it on DNC headphones

search (2266):

<path name="anc-off-headphone">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM RX2 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX2 MIX1 INP1" value="RX2" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
<ctl name="HPHL DAC Switch" value="1" />
<ctl name="HPHR DAC Switch" value="1" />
<ctl name="COMP1 Switch" value="0" />
<ctl name="HPHL Volume" value="20" />
<ctl name="HPHR Volume" value="20" />
<ctl name="RX1 Digital Volume" value="77" />
<ctl name="RX2 Digital Volume" value="77" />
</path>

change this two values:

<ctl name="RX1 Digital Volume" value="77" />

<ctl name="RX2 Digital Volume" value="77" />

"77" to what you want, higher=louder, but this is only working, if dnc is disabled

if you want it if dnc is enabled

search for (2468):

<path name="anc-on">
<ctl name="ANC Function" value="ON" />
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM RX2 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX2 MIX1 INP1" value="RX2" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
<ctl name="HPHL DAC Switch" value="1" />
<ctl name="HPHR DAC Switch" value="1" />
<ctl name="COMP1 Switch" value="0" />
<ctl name="HPHL Volume" value="20" />
<ctl name="HPHR Volume" value="20" />
<ctl name="RX1 Digital Volume" value="77" />
<ctl name="RX2 Digital Volume" value="77" />
<ctl name="ADC3 Volume" value="10" />
<ctl name="ADC2 Volume" value="10" />
<ctl name="ANC1 FB MUX" value="EAR_HPH_L" />
</path>

again

change this:

<ctl name="RX1 Digital Volume" value="77" />

<ctl name="RX2 Digital Volume" value="77" />

to value what you want
[Xperia Z2 Android Development] olokos:
Thanks mate. :)
[Xperia Z2 Android Development] benengyj:
Quick question - will any of these work for .167?
[Xperia Z2 Android Development] olokos:
They could, can't tell for sure.
[Xperia Z2 Android Development] franziro:
please updated it for the .167 fw and would be great to have the Notifications from Both speakers like these http://xdaforums.com/xperia-z2/themes-apps/sound-mod-xperia-z2-android-4-4-4167-t2929709
[Xperia Z2 Android Development] mik101:
Someone should upload the mixerpath.xml file from the latest firmware so hopefully the op can modify it quickly and we'll drop it back in a flashable zip.
[Xperia Z2 Android Development] adamdvd:
mixer_paths.xml from .167 ;)
[Xperia Z2 Android Development] benengyj:
People are complaining of an annoying echo of my voice and their own voice after using 1.2 of the sound mod. Is it possible to have a version that only makes both speakers ring and nothing else is modded? :eek:
[Xperia Z2 Android Development] olokos:
I am the first one that actually did that and it is included in the files here aswell. I'll propably upload the updated files today, but no problem.
[Xperia Z2 Android Development] drup88:
Jumped onto the forums to find a solution to this as well. I have always been using this mod with CM11 and had no echo. Now that ive flashed

http://xdaforums.com/xperia-z2/development/stock-4-4-4-23-0-1-0-167-bug-free-t2929402

I and then flashed this mod im getting alot of echo.

Any advice [MENTION=4300205]olokos[/MENTION] ?
[Xperia Z2 Android Development] benengyj:
I'm getting the echo problem on stock .438 ROM - if that helps.