FORUMS

[GUIDE][ROOT] Increase the Headset Volume

2,942 posts
Thanks Meter: 4,741
 
By XeLLaR*, Senior Member on 19th June 2017, 10:29 PM
Post Reply Email Thread
Hello,
As you may know, the EU limits the Musicvolume your phone can put out. For some people like me, it is just too low, i can hear traffic when i listen to music even with decent in-ears.
However, thanks to @Paolo83 there is a solution to this problem.

What you need:
P9 Lite on B370/B380
Root and an Root File explorer.

Note: Single sim devices are Venus, Dualsim devices are Venus2.
Sidenote: Venus and Venus2 are Huaweis company internal codenames for single and dualsim VNS-L21 and L31 if you didnt knew.

Step 1: Navigate to /product/etc/audio/hi6402mixer_volumes###
Step 2: Search for the file " mixer_volumes_VENUS_ce" file on singlesim devices, and for " mixer_volumes_VENUS2_ce" on dualsim devices.
Step 3: Open the file in an text editor, and search for this part
Code:
 <path name="media-headphone" >
        <ctl name="S1 IL PGA GAIN" value="0" />
        <ctl name="S1 IR PGA GAIN" value="0" />
        <ctl name="HPL PGA GAIN" value="10" />
        <ctl name="HPR PGA GAIN" value="10" />
    </path>
Change the values of "HPL PGA GAIN" and HPR PGA GAIN" from 10 to 28 and save.
Note: You dont have to use the 28 value. If 28 is too loud for you just use a lower value like 15.
Step 4: Reboot and thats it!

Warning: Values above 20 are EXTREMELY, INSANELY loud, do not hear music at max volume for extended periods of time.

Credit goes to: https://forum.xda-developers.com/sho...&postcount=416
Again, i am sorry i couldnt give credit where credit is due earlier.

Gz
XeLLaR*
The Following 6 Users Say Thank You to XeLLaR* For This Useful Post: [ View ] Gift XeLLaR* Ad-Free
19th June 2017, 11:02 PM |#2  
simo255's Avatar
Senior Member
Flag Casablanca
Thanks Meter: 571
 
Donate to Me
More
thank you !!
20th June 2017, 02:05 AM |#3  
Senior Member
Flag Cairo
Thanks Meter: 35
 
Donate to Me
More
Pretty neat trick, thank you very much for sharing it.

Though I want to point out that despite my device being the dual sim variant, the trick didn't work until I changed mixer_volumes_VENUS_ce too, so I'm not sure about the Venus and Venus2 thing, but correct me if I'm wrong.
Also there are these files in other folders inside product/etc that has files ending with Venus3 and there is no 3 sim variant🤔
Thank you.
20th June 2017, 06:41 AM |#4  
Senior Member
Flag Novara
Thanks Meter: 65
 
More
Sorry but this trick Is mine... I wrote It a few months ago. The value 28 Is my magic number .
I wrote It here and It an italian forum.
copy the work of others and take the merits... Wow
The Following User Says Thank You to Paolo83 For This Useful Post: [ View ] Gift Paolo83 Ad-Free
21st June 2017, 10:56 AM |#5  
XeLLaR*'s Avatar
OP Senior Member
Flag DevConnection
Thanks Meter: 4,741
 
More
Quote:
Originally Posted by Paolo83

Sorry but this trick Is mine... I wrote It a few months ago. The value 28 Is my magic number .
I wrote It here and It an italian forum.
copy the work of others and take the merits... Wow

Hello @Paolo83,
I know i saw this somewhere, i was searching for your post but i couldnt find it so i left it out.
I hope you accept my apology. Of course i will edit the OP with credits for your good work!

Have a nice day
Gz
X
The Following User Says Thank You to XeLLaR* For This Useful Post: [ View ] Gift XeLLaR* Ad-Free
21st June 2017, 11:01 AM |#6  
Senior Member
Flag Novara
Thanks Meter: 65
 
More
Quote:
Originally Posted by XeLLaR*

Hello @Paolo83,
I know i saw this somewhere, i was searching for your post but i couldnt find it so i left it out.
I hope you accept my apology. Of course i will edit the OP with credits for your good work!

Have a nice day
Gz
X

it's all ok! lol
The Following User Says Thank You to Paolo83 For This Useful Post: [ View ] Gift Paolo83 Ad-Free
21st June 2017, 12:56 PM |#7  
zgomot's Avatar
Senior Member
Flag Arad
Thanks Meter: 217
 
Donate to Me
More
Well, I messed up.

I used QuickEdit Text Editor to open and edit these files (I edited VENUS and VENUS2, just to be sure) and now my device won't play any audio.

I did not backup the original files so now I have to restore TWRP backup.

What I did and what was probably the issue is that I saved these two files on my SD-card with QuickEdit Text Editor and then pasted them back to their place. Maybe that text editor messed up some encoding, I don't know...

Any ideas?
22nd June 2017, 01:18 PM |#8  
Member
Flag Sarajevo
Thanks Meter: 12
 
More
Quote:
Originally Posted by zgomot

Well, I messed up.

I used QuickEdit Text Editor to open and edit these files (I edited VENUS and VENUS2, just to be sure) and now my device won't play any audio.

I did not backup the original files so now I have to restore TWRP backup.

What I did and what was probably the issue is that I saved these two files on my SD-card with QuickEdit Text Editor and then pasted them back to their place. Maybe that text editor messed up some encoding, I don't know...

Any ideas?

Maybe you have wrong permissions now. Check permissions of the others VENUS files you did not touched. Put the same permissions.
22nd June 2017, 02:40 PM |#9  
zgomot's Avatar
Senior Member
Flag Arad
Thanks Meter: 217
 
Donate to Me
More
Quote:
Originally Posted by maka1105

Maybe you have wrong permissions now. Check permissions of the others VENUS files you did not touched. Put the same permissions.

The original files have no permissions at all.
22nd June 2017, 04:12 PM |#10  
Member
Flag Sarajevo
Thanks Meter: 12
 
More
Quote:
Originally Posted by zgomot

The original files have no permissions at all.

They have permissions.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20170622-170919.png
Views:	388
Size:	155.2 KB
ID:	4190244  
22nd June 2017, 04:19 PM |#11  
zgomot's Avatar
Senior Member
Flag Arad
Thanks Meter: 217
 
Donate to Me
More
Quote:
Originally Posted by maka1105

They have permissions.

What file manager are you using? Root Browser shows all permissions unchecked.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes