HBO MAX no sound FIX - Solution for Amlogic boxes - Android TV General

Hello, I've found a solution for the no sound on HBO MAX problem.
Root is needed OR to modify the system.img and upload it to the device.
You need to find this file /etc/media_codecs.xml and edit it.
Search for a line with this sentence OMX.google.eac3.decoder, my is <MediaCodec name="OMX.google.eac3.decoder" type="audio/eac3" />
You need to remove the whole line, or to change it to comment like this <!--<MediaCodec name="OMX.google.eac3.decoder" type="audio/eac3" />--> then save the file.
Reboot the device and sound should work in HBO MAX.

There is an option in droidlogic settings on some devices that limits audio that can have the same effect of forcing aac.

Yes there is, but it doesn't work on my device for some reason.

Related

Galaxy Pro 12.2 easy headphone volume hack

Superb headphone volume boost for the Note 12.2 and it's dead easy to do.
Rooted of course, go to System> Etc and open default_gain.conf
Modify the following lines in the first "headphone" section to the below:
{ "HPOUT1L input 1 volume", 50},
{ "HPOUT1R input 1 volume", 50},
Reboot and it's loud as hell with no distortion. It's set really low because of the usual health and safety crap.
I use ES file explorer, open it with ES Note Editor and remember in ES root explorer settings to select Mount R/W
Hope this helps!
Keith
Sweet!! Does this improve the sound of the device internal speakers?
Sent from my SM-T900 using xda premium
Pretty sure the Headphone hack doesn't affect the speakers.
Sent from my SM-P900 using Tapatalk
No, this is for headphone output only.
You can amend other parts of the file for speakers, but be careful you don't blow them.
Also keep a backup of the original file in case you screw anything up!
kradcliffe said:
Superb headphone volume boost for the Note 12.2 and it's dead easy to do.
Rooted of course, go to System> Etc and open default_gain.conf
Modify the following lines in the first "headphone" section to the below:
{ "HPOUT1L input 1 volume", 50},
{ "HPOUT1R input 1 volume", 50},
Reboot and it's loud as hell with no distortion. It's set really low because of the usual health and safety crap.
I use ES file explorer, open it with ES Note Editor and remember in ES root explorer settings to select Mount R/W
Hope this helps!
Keith
Click to expand...
Click to collapse
I can't find that file...
I have P905, rooted
You need to have system root access and go back to device rather than the SD card
kradcliffe said:
You need to have system root access and go back to device rather than the SD card
Click to expand...
Click to collapse
I have root access and I've searched for that file in system/etc as you said, as far as I know system folder can be found only on device; anyway I want to try something, could you, please, send me that file? I'll try to copy it to that location and see. Thank you!
Here is the modified file. Just unzip
Keith
kradcliffe said:
Here is the molded file. Just unzip
Keith
Click to expand...
Click to collapse
Thank you Sir for providing the file. I have a P905 as well and could not find the file you described to modify.I will use attempt to use the file also depending on the results that gtm55 gets from that experiment. I did not find or identify the speaker file to hack either do you have that file as well.
Thanks again for sharing.
kradcliffe said:
Here is the molded file. Just unzip
Keith
Click to expand...
Click to collapse
Thank you!
Tried, but unfortunately "0" effect... We have to find another trick for the P905
Can't understand why the P905 would be any different. All Samsung devices I've had in a while have had a similar file.
Keith
My note 3 (SM-N9005) doesn't have it either, maybe lte devices have another configuration...
Sent from my SM-N9005 using XDA Premium 4 mobile app
I don't have it either on my SM-N9005 Note 3 or on my SM-P905 Note Pro.
Maby it's only on exynos based devices and not in SD.
Qualcomm based (mostly LTE) models have very different file structure - this is because Qualcomm provides System-on-a-chip solution including gpu/soundboard/radio devices, not only cpu, so every important component has to be configured in DIFFERENT way than elsewhere...
gtm55 said:
I have P905, rooted
Click to expand...
Click to collapse
Could you kindly provide me with the method you used to root the device? Tnx!
Sry for OT
cavkic said:
Could you kindly provide me with the method you used to root the device? Tnx!
Sry for OT
Click to expand...
Click to collapse
CF Autoroot
Sent from my SM-N9005
So has anyone figured out how to hack this yet???? ive been looking every where for a volume hack and this is the only thing ive found.
@esgie, you seem like the person who would know where this file would be for us to change, any solutions????
sonny24 said:
So has anyone figured out how to hack this yet???? ive been looking every where for a volume hack and this is the only thing ive found.
Click to expand...
Click to collapse
I haven't personally tested this, but what about opening /system/etc/mixer_paths.xml
Then finding this:
Code:
<!-- Play Scenario -->
<path name="speaker">
<path name="spk" />
<ctl name="RX4 Digital Volume" value="83" />
<ctl name="RX6 Digital Volume" value="83" />
<ctl name="LINEOUT3 Volume" value="19" />
<ctl name="LINEOUT4 Volume" value="19" />
</path>
<path name="headset">
<path name="ear" />
<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="COMP1 Switch" value="1" />
</path>
If I'm right, for headset "HPHL Volume" stands for left side volume and HPHR for right, and increasing these (to 25 or so??) you can increase headphone playback volume
For speakers it might be RX* Digital Volumes.
But like I said, I have not tested this so I can't know exactly what this do
Yup, been using it for a moment, even 88 seems clear and significantly louder.
Also, in the nearest neighborhood of above lines of xml file there are adjustable values for different scenarios like dock or bluetooth speaker etc.
I still recommend ViPERs audio btw
esgie said:
Yup, been using it for a moment, even 88 seems clear and significantly louder.
Also, in the nearest neighborhood of above lines of xml file there are adjustable values for different scenarios like dock or bluetooth speaker etc.
I still recommend ViPERs audio btw
Click to expand...
Click to collapse
In fact I can't find any way to increase bluetooth volume (I got SM-P905). With V4A I can boost it up a little, but not enough.
More about it HERE
If you know how to increase volume max level for BT playback any help will be appreciated

Headphones Volume Increase for CM11 or KitKat based CM

TO USE THIS MOD, I NEED ALL OF YOU TO USE FX FILE EXPLORER AND ITS FILE EDITOR TO EDIT THE MIXER_PATH FILE. MULTIPLE USERS HAVE REPORTED ERRORS WHEN THEY USE OTHER FILE MANAGERS. I HAVE TESTED THIS ON CM11, GUMMY, MOKEE, AND CR-DROID AND IT WORKS...BUT I DIDN'T HAVE ANY AUDIOMOD ENABLED LIKE VIPER4A. I DONT LIKE HAVING AUDIOMODS SO IF THEY KINDA HAVE CONFLICTS WITH AUDIOMODS I WILL NOT DO ANYTHING ABOUT IT.
I HAVE TESTED VALUES UP TO 30 AND!!!!! 20 IS THE MAXIMUM! GOING OVER 20 MAKES THE SOUND VOLUME LOWER FOR WHATEVER REASON SO SPARE THE EFFORT. FOR THE LATEST XPERIENCE KERNEL, DO NOT GO BEYOND 14 PLEASE, OR ELSE IT WONT WORK WITH FAUXSOUND. THANKS.
(OKY YOU MUST BE ROOTED BLA BLA BLA BLA HAVE A FILEXPLORER THAT CAN ROOT EXPLORE BLA BLA BLA)
now starting
1- open the explorer and got to /system/etc/
2- scroll down till u find this file mixer_paths.xml and open it as text (ES File)
3- now scroll down till u find this line <!-- These are actual sound device specific mixer settings -->
under it look for this
<path name="headphones">
<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="RX1 Digital Volume" value="58" />
<ctl name="RX2 Digital Volume" value="58" />
<ctl name="HPHL Volume" value="11" />
<ctl name="HPHR Volume" value="11" />
CHANGE THE BOLDED VALUES TO ANYTHING THATS NOT OVER 20. YOU CAN PUT 20 FOR MAXIMUM GAIN. DONT CHANGE ANYTHING ELSE PLS. DONT CHANGE ANYTHING ELSE. AFTER CHANGING, REBOOT AND YOU WILL NOTICE THE DIFFERENCE WHEN YOU PLAY MUSIC VIA HEADPHONES. REMEMBER, AFTER MAKING THE CHANGES, SAVE.
SOURCE: http://forum.xda-developers.com/showthread.php?t=2583408
UPDATE!!!
EVERYONE! STOCK ROM and OMNI ROM CAN USE THIS CONFIG TOO, AND CAN GO UP TO 30! (BUT NOT CM AND ITS DERIVATIVES IE THE ROMS AT THE BEGINING OF THIS POST..STILL MAX 20) REMEMBER TO SAVE DEFAULT VALUES IN CASE YOU NEED TO CHANGE EM' BACK!
Do you save after u change and reboot or do you just change the vaules and reboot
Causes music player fc and no sound at all on my Gummy ROM with furnace 1.3.1 but I will keep trying Low headphone volume has been my only complaint about custom roms but I'm glad the issue is getting recognized and solutions start to come up. Thank you!
Update: Flashed a fresh new gummy, did this trick and now it works! There are a few very minor derps with V4A but it's totally bearable
Xavier, you should save when you make the change.
Xavier102296 said:
Do you save after u change and reboot or do you just change the vaules and reboot
Click to expand...
Click to collapse
Obviously you have to save.
If you don't save, then the values will be as same as they were before
Changed the values in cm11 didn't really notice to much of a difference
Xavier102296 said:
Changed the values in cm11 didn't really notice to much of a difference
Click to expand...
Click to collapse
try going to 20 which is the maximum
hottu_doggu said:
Causes music player fc and no sound at all on my Gummy ROM with furnace 1.3.1 but I will keep trying Low headphone volume has been my only complaint about custom roms but I'm glad the issue is getting recognized and solutions start to come up. Thank you!
Update: Flashed a fresh new gummy, did this trick and now it works! There are a few very minor derps with V4A but it's totally bearable
Xavier, you should save when you make the change.
Click to expand...
Click to collapse
I prefer sound to be stock EQ wise, but hey, to each and their own! well for me this solution beats having to fork out money to use that fauxsound app that in turn has to be used with kernels with that support that thing
OldYellowBricks said:
I prefer sound to be stock EQ wise, but hey, to each and their own! well for me this solution beats having to fork out money to use that fauxsound app that in turn has to be used with kernels with that support that thing
Click to expand...
Click to collapse
Editing mixer_paths.xml turned up the volume but the sound quality seemed worse. I read your post and just got FauxSound since it was really cheap and flashed xperience kernel. It does a great job at boosting the volume. What's interesting is that analog output gain defaults to -6. Setting it to 0 (tough you can set it to +6) makes it so much better and louder without affecting the quality. Why is it so that no custom rom's kernel have this feature or the analog output set to 0 or whatever the stock rom is using? I feel like we should be able to have MotoG's stock sound volume on custom roms without having to flash custom kernel and buying any apps. I'm not complaining, I have this issue solved for me, I'm just curious.
hottu_doggu said:
Editing mixer_paths.xml turned up the volume but the sound quality seemed worse. I read your post and just got FauxSound since it was really cheap and flashed xperience kernel. It does a great job at boosting the volume. What's interesting is that analog output gain defaults to -6. Setting it to 0 (tough you can set it to +6) makes it so much better and louder without affecting the quality. Why is it so that no custom rom's kernel have this feature or the analog output set to 0 or whatever the stock rom is using? I feel like we should be able to have MotoG's stock sound volume on custom roms without having to flash custom kernel and buying any apps. I'm not complaining, I have this issue solved for me, I'm just curious.
Click to expand...
Click to collapse
I Swear dog, i feel you, but on my side, there's no quality distortion of any sort. I changed to CM and then Gummy because there was this Moto G stock rom bug where speakers wouldn;t work after unplugging headphones (you'd have to reboot). Google that up. The problem I had wit the faux app was the settings wouldn;t stick after booting. That drove me crazy up until i found this solution, but hey, to each and their own. Thanks for sharing, man
hottu_doggu said:
Editing mixer_paths.xml turned up the volume but the sound quality seemed worse. I read your post and just got FauxSound since it was really cheap and flashed xperience kernel. It does a great job at boosting the volume. What's interesting is that analog output gain defaults to -6. Setting it to 0 (tough you can set it to +6) makes it so much better and louder without affecting the quality. Why is it so that no custom rom's kernel have this feature or the analog output set to 0 or whatever the stock rom is using? I feel like we should be able to have MotoG's stock sound volume on custom roms without having to flash custom kernel and buying any apps. I'm not complaining, I have this issue solved for me, I'm just curious.
Click to expand...
Click to collapse
and, by right, the faux settings should be able to be modded via init.d scripts but after googling, I found out that the fauxsound thing has been coded to not allow init.d. It needs the app. In other words, no app, no fauxsound settings.
hottu_doggu said:
Editing mixer_paths.xml turned up the volume but the sound quality seemed worse. I read your post and just got FauxSound since it was really cheap and flashed xperience kernel. It does a great job at boosting the volume. What's interesting is that analog output gain defaults to -6. Setting it to 0 (tough you can set it to +6) makes it so much better and louder without affecting the quality. Why is it so that no custom rom's kernel have this feature or the analog output set to 0 or whatever the stock rom is using? I feel like we should be able to have MotoG's stock sound volume on custom roms without having to flash custom kernel and buying any apps. I'm not complaining, I have this issue solved for me, I'm just curious.
Click to expand...
Click to collapse
and tbh, i do admit that the fauxsound tweaks (volume boost wise) do sound maybe 20% better compared to this thing over here
OldYellowBricks said:
and, by right, the faux settings should be able to be modded via init.d scripts but after googling, I found out that the fauxsound thing has been coded to not allow init.d. It needs the app. In other words, no app, no fauxsound settings.
Click to expand...
Click to collapse
Not true. I use init.d scripts to mod my faux sound settings. [emoji6] and they work flawlessly.
Moto.G_XT1031_CrDroid.B10_Furnace.1.3.1
justin1221 said:
Not true. I use init.d scripts to mod my faux sound settings. [emoji6] and they work flawlessly.
Moto.G_XT1031_CrDroid.B10_Furnace.1.3.1
Click to expand...
Click to collapse
if so please share it with me bcs Ive been having no avail with init.d :crying: here's a source. Can you share your init.d lines?
http://forum.xda-developers.com/goo...018-nexus-5-3-4-hybrid-uv-oc-t2509655/page440
Pm me if u need the scripts.
Moto.G_XT1031_CrDroid.B10_Furnace.1.3.1
on mixer_paths.xml i put the value 30 and its amazing sound, loud and clear...and the bass? wooow!!!! thanks man
woozie.2007 said:
on mixer_paths.xml i put the value 30 and its amazing sound, loud and clear...and the bass? wooow!!!! thanks man
Click to expand...
Click to collapse
WEIRD ive tried 30 or any value above 20 and it made sound become less loud than stock. What rom are you using? thank you
OP updated with better instructions
stock asia retail dual sim, i am very heppy with this sound, no distortion, very clear and low frecv bass
OldYellowBricks said:
WEIRD ive tried 30 or any value above 20 and it made sound become less loud than stock. What rom are you using? thank you
Click to expand...
Click to collapse
Yea same here, nothing about 20 worked. 20 us great though.
woozie.2007 said:
stock asia retail dual sim, i am very heppy with this sound, no distortion, very clear and low frecv bass
Click to expand...
Click to collapse
ok now i get it. This config is for CM dervivatives. there you go, EVERYONE! STOCK ROM CAN USE THIS CONFIG TOO, AND CAN GO UP TO 30! Will update OP. Thank you!

4.4.2 AllShareCast fix (Requires Root)

OK, since I have been digging and fighting issues with my 2nd hand Note 8.0 for testing with KK, I stumbled upon a quick and dirty way to fix AllShareCast once and for all.
Search on the main search bar for S5 libs... there are S5 4.4.2 build Apps you can download as a zip package.
Once you open it you will see all the Allshare.apk and odex files.
Just rename your originals before copying over the 14 in total, S5 versions. Set the permissions and clear the Allshare files in cache, before rebooting.
You can also copy over the two wfd files for a nicer look for allshare connection.
I decided to revert to stock SystemUI to take advantage of the 6 button setup. Low and behold I get S finder and Quick Connect as well when you change the build.prop to use S5 model and name, instead of the ones used for Note 8.0 properties.
Enjoy stutter free wireless video casting with the S5 files.
gooberdude said:
OK, since I have been digging and fighting issues with my 2nd hand Note 8.0 for testing with KK, I stumbled upon a quick and dirty way to fix AllShareCast once and for all.
Search on the main search bar for S5 libs... there are S5 4.4.2 build Apps you can download as a zip package.
Once you open it you will see all the Allshare.apk and odex files.
Just rename your originals before copying over the 14 in total, S5 versions. Set the permissions and clear the Allshare files in cache, before rebooting.
You can also copy over the two wfd files for a nicer look for allshare connection.
I decided to revert to stock SystemUI to take advantage of the 6 button setup. Low and behold I get S finder and Quick Connect as well when you change the build.prop to use S5 model and name, instead of the ones used for Note 8.0 properties.
Enjoy stutter free wireless video casting with the S5 files.
Click to expand...
Click to collapse
you should packages all apps, libs into zip file and share it with rest of users....
Here is a zip of the allshare files he was talking about. I only found 13 though. I also included the wfd files he talked about.
Dirty fix without replacing files.
Thanks for both of your replies... Jazzespresso, I am not a developer and because of it, I think the peeps who frequent here find my posts interesting for thought for the most part. I have two issues to why I am not active in posting my personal fixes as packages. One, too many find issues to why something may break and will expect expertise. The later is I have yet to make a proper package, as every backup I make on the 4.4.2 device soft bricks the device once flashed. So, if any thing being snake bit by my own hand makes me even more shy about giving out anything that I touch upon in making changes.
Now for a great addition to tweaks for the best image quality and playback with allsharecast.
I perposfully made this wordy, so if anyone should attempt, will be informed of what this tweak does and have an understanding of what it affects and how to assess what they are doing. Remember, I did not tell you to do anything, just gave you enough to look into what can be done.
Because I have no ability to push beyond 72mbs on my wireless router with my tablet, I have a limit to how smooth my allshare up and video down streams can work together. I am bottle necked at 40000000 bps with allsharecast. So I would assume 30000000 bps is at the edge of my video downstream with 90 % of the apps I use.
Until recently I checked out Directv sports streaming via allsharecast, and noticed how choppy and blurry it was. Obviously when pushed at the limits of my wireless router connection, audio only would play back or no connection what so ever. Directv live streaming seems mostly effecting sports not programmes or ads in the sports channels.
I figure the live material is true 720p @ 60fps, which taxes the abilities to allsharecast. The device is native 30fps on both HDMI and Allshare, so it has to do twice the work to make an image. Now for the kicker. Directv throttles stream directly, so no caching of data for you. Since the CPU/GPU has to throttle along with the data stream there is a sync delay being made during the process, in which allsharecast cannot work around. The only work around is to push very close to 2x the data as it is factory set for.
Why so much data... Well because you want allsharecast to take what is given by the app to decode into live packets without having to readjust the image to compensate for higher than expected data rates. Each resolution has a specific data rate to transmit or cast out to the WIDI display device. You will see that in the WFDConfig.xml file... that depending on the device that is connected via allsharecast will allow a particular data stream, governed by an option bit. The option bit or bits will select the maximum and any other data stream that it can handshake. The funny thing is, since android does not request the exact min / max values from its connection, it gives a best guess depending on the option bits it reads from the device, as it expects the device to be compliant. Are all devices compliant??? Coming from China and what not... No.
Because most do not know the capabilities of their wireless display adapters or devices, it will be random at best for them to select which area to tweak to allow a higher than maximum value in the xml file. Thus one must perform a shot gun method of hitting as many possible valid settings at once. Leaving the low bit rate values alone as they are a waist to deal with. Though there is a catch... some devices may have odd bits, that do not reflect their capabilities to android, so android may make the wrong guess and push a lower quality bit rate than what the device can deal with. Or in worst case, higher than what the device can operate with, and get no picture or fail to connect display after obtaining IP.
Now that that info has been stated, if by change during the tweak, you find the picture quality less than expected or no connection... that the changes you made must be changed to compensate for going the wrong way.
Now what can be done, as we all think data is compressed all the time, in allshare, WIDI and what other format, the data stream is uncompressed unlike the data stream sent from the servers. It all depends on ones dongle, tellie, or display with miracast capabilities may not have the ability to go beyond 45000000 mbs. Only testing can be done with what ever device you own.
I tested my dongle as it is HDMI 1.4a compliant, and found for a brief moment I was pushing 50000000, until the download stream failed to cache enough for playback. So until I am able to replace my 10 year old DSL wireless router that is being used as a gateway to my DOCSIS modem, I will never be able to test the limits of what my tweaks can do.
I will give only giving out the settings I am using, and not the file as it is modified to the point of being of use for only one of many various Miracast dongles you can find on Ebay. All I can say about the dongle is that it uses the latest firmware (V 5.0.0 - RC2) which I was able to download and flash.
I have realized every app that streams video from the internet uses different streaming techniques and perform stream caching on their own, while others allow Android to perform the task of data caching. As we see more efforts in making faster and larger data packets in streams, we'll see more and more play back issues with KK and LP because newer techniques are expecting real-time decompression during playback. Probably due to copy write protection, as the data is not stored in any way.
In order to fully test my allshare tweaks for KK, you must remove or # any and all build.prop tweaks associated with data and wifi tweaks. Also freeze or remove any app that helps with internet speeds.
Once you are done cleaning up... open the WFDConfig.xml file in the system/etc folder.
If using a device with native 800 x 1280 display make sure the Horizontal res and vertical res is set at 1280 and 720 respectfully. There is no reason why you want Allsharecast to upscale to the default of 1920 x 1080 when all it does is consume battery and cpu / gpu resources to make the best playback possible. This will allow for smooth and reliable wireless display playback under the most demanding material or live streams.
Now for the fun part... meaning you must do the dirty work of finding where to go or just change everything in regaurds to minimum and maximum values ... blah blah blah
I played with drop frame value and others... the only noticeable benefit being limited with my max bandwidth of 72mbs, was to disable MacroBlocks by setting it to 0. This helps a lot with data streams that are not cached.
Now for the values that will boost image quality.
I have successfully tested connectivity and playback with a 30000000 bps MinBitrate and am limited at 40000000 bps at MaxBitrate.
Right now the bigest trouble is with Hulu studdering with movie playback. Once that is corrected with a better app, allshare cast will play back what you see on the tablet screen. I think once someone tests with at least 75000000 bps as MaxBitrate with a 50000000bps MinBitrate, as long as their device can support 80000000 bps and above, Directv will allsharecast without any issues. As seen in my testing, playback via wireless has cleared up substantially, and can watch Hocky and Tennis with synced audio, as before it was not able to. Though there is some skippy and blur, the playback is functional over being unbearable.
Any help would be greatly appreciated. When copying over files from above zip, (thanks cruise350) to system/app folder and replacing allshare files with one in above zip, where do i place the additional odex files?
christucker97 said:
Any help would be greatly appreciated. When copying over files from above zip, (thanks cruise350) to system/app folder and replacing allshare files with one in above zip, where do i place the additional odex files?
Click to expand...
Click to collapse
At the time I posted this thread, realized the S5 files helped with allsharecast, but does not truly fix the issue. That is why I bothered to write up a lengthy explanation to fix most of all share cast's picture quality issues.
Until someone see's by doing their own comparison between DLNA and casting, they will not see for themselves how limited the stock bandwidth is, which also effects playback when casting streamed video.
I since reverted back to my original allshareplayer-apk as it seems to be bandwidth unlocked. Now will it be a matter of time when others find using our kk version on their s5 helps them when tweaking their XML file. Who knows, as this tablet is old and will be forgotten for most who have newer devices.
Does files belong with their counter parts. So you must replace both files together.
I do note, that one set of files are the same for both devices.
If you want to keep your WiFi tweaks you may replace the all share player.apk with the s5 version. If you want better, keep the original, and tweak the XML file. Until you properly adjust e XML file, you will never get picture quality as good as DLNA with streamed hd video.

[Guide][Root] Removing the charging full sound

The sleep deprivation torture device called the LG G4 shall torture our souls no more. I don't know what went through the minds of the one(s) incompetent enough to think that it would be wise that this phone should make a loud noise when finished charging (even when in priority mode), but here's how to get rid of it.
Might be applicable to other devices (LG G3? G2?). I'm not sure, though, so don't hang me up on it. I haven't found a guide anywhere on Google, and it took me a long while before I figured out this solution, despite its simplicity.
Requires root. Unless you find some other way to move/remove system files.
Steps:
1. Make sure you have root.
2. Install and/or open your favourite root file browser app (ES File Explorer/Root Explorer/Dora the explorer/whatever your preference is)
2.1. Depending on your file explorer, you might have to remount the /system partition as read/write.
2.2. When using ES File Explorer specifically, make sure Root Explorer is on.
3. Navigate to /system/media/audio/ui/
4. Observe the source of your suffering: FullBattery.ogg
5. Remove it, rename it or replace it with an ogg file containing John Cena's theme
See bottom of post for screenshot showing this process in ES File Explorer.
Alternative steps: With adb shell
Code:
adb shell
su
mount -o remount,rw /system
mv /system/media/audio/ui/FullBattery.ogg /system/media/audio/ui/FullBattery.ogg.getout
What to do when you don't have root:
While the sound does play in priority mode, it doesn't play when the phone is in "No Interruptions" mode. That can be exploited in a very dirty hack:
1. Install and/or open your favourite automation tool (Tasker, Condi, whatever)
2. Create the following profile:
- When charging AND
- Battery percentage is between 99% and 100%
- Set to No Interruption Mode
3. Create another profile:
- On the event that the battery is full
- Set the interruption mode to all or priority, depending on your preference (I like my phone being in Priority Mode when I sleep)
Note:
- This approach is hacky
- it has failed me at seemingly random times (I don't know why)
- inserting the power cable while the battery is between 99 and 100 percent will make it stay on No Interruption mode indefinitely.
- There's a window of time in which you will be completely unreachable, even if you want to be.
In short: this solution isn't that great. Use the root solution above.
Thank you very much sir. I already did rename every ogg noise file there is in "ui". Works great for everything except Batteryfull. Now I did delete the sound and I will report back.
Send from outer space using telepathy
It is NOT working... *sigh* I deleted the sound. My LG G4 still plays that sound! What can I do? Is there a place where sounds are cached? Can/should I delete DALVIK or ART Cache or both? How would I do that?
Well I did it: I downloaded a silent sound mp3, renamed it to FullBattery.ogg, placed it into /system/media/audio/ui/. Finally no more annoying sound in the middle of the night. Why the LG G4 keeps playing this sound even when the file is physically deleted is beyond me. Must be some sort of fall back sound that is compiled into the system sources. I had a contact in Threema applied a "New message" sound. After a while I removed this notification, gave this contact notification sound "silent" (stock android). Somehow the LG G4 insists in playing a sound for that contact. The same exact annoying BatteryFull.ogg sound which I never assigned to anything or anyone. So I guess whenever the LG G4 wants to play a sound but can not find any audio it plays that crap which is redundantly in the source code for the lazy coder to work with...
Thanks for this. I'm going to have nightmares about being woken up to AND HIS NAME IS JOHN CENA in the middle of the night now >.>

[Request] Speaker balance mod

There are a lot of users with uneven speakers, some have even exchanged their phones and still had the same problem with their second device. So I don't see the point in exchanging mine atm.
Using power amp I fixed my issue by panning my sound a little more to my bottom speaker, however this only works when listening to music.
Since the fix for music was so simple, is there anyone that can make a mod to change the phones speaker balance for the whole system?
I tried viper4android which has channel pan, but that setting is not available for phone speakers. Is there any other solution?
jamespat93 said:
There are a lot of users with uneven speakers, some have even exchanged their phones and still had the same problem with their second device. So I don't see the point in exchanging mine atm.
Using power amp I fixed my issue by panning my sound a little more to my bottom speaker, however this only works when listening to music.
Since the fix for music was so simple, is there anyone that can make a mod to change the phones speaker balance for the whole system?
I tried viper4android which has channel pan, but that setting is not available for phone speakers. Is there any other solution?
Click to expand...
Click to collapse
I do not have a 6P, but I still follow especially audio-related posts with interest.
One solution (root required!) would be to first play around with the audio mixer while playing music (or other audio material). First, go here and download the tinymix_lollipop.tar.gz file from the second post. This is the user-space mixer interface that at least on my Nexus 5 also works on Marshmallow. Copy the binary (tinymix) from that archive to, for instance, /system/bin and make executable (permission 755). Once installed, go to a root shell on your phone and execute
Code:
tinymix "Left Speaker Gain" X
and/or
Code:
tinymix "Right Speaker Gain" Y
where X and Y seem to be 20 by default. Carefully (!) change X and Y independently of each other until you find a satisfactory balance. I'd suggest you go one "tick" at a time and initially lower the gain instead of increasing it. Without having looked at the device-specific kernel, I don't know what the range of this mixer control is, but you can find out by issuing
Code:
tinymix "Left Speaker Gain"
Note X and Y that sound good to you and hard-code them, I believe, in the "speaker-gain-default" section of your /system/etc/mixer_paths.xml file and reboot.
chdloc said:
I do not have a 6P, but I still follow especially audio-related posts with interest.
One solution (root required!) would be to first play around with the audio mixer while playing music (or other audio material). First, go here and download the tinymix_lollipop.tar.gz file from the second post. This is the user-space mixer interface that at least on my Nexus 5 also works on Marshmallow. Copy the binary (tinymix) from that archive to, for instance, /system/bin and make executable (permission 755). Once installed, go to a root shell on your phone and execute
Code:
tinymix "Left Speaker Gain" X
and/or
Code:
tinymix "Right Speaker Gain" Y
where X and Y seem to be 20 by default. Carefully (!) change X and Y independently of each other until you find a satisfactory balance. I'd suggest you go one "tick" at a time and initially lower the gain instead of increasing it. Without having looked at the device-specific kernel, I don't know what the range of this mixer control is, but you can find out by issuing
Code:
tinymix "Left Speaker Gain"
Note X and Y that sound good to you and hard-code them, I believe, in the "speaker-gain-default" section of your /system/etc/mixer_paths.xml file and reboot.
Click to expand...
Click to collapse
Thank you so much! this is extremely helpful and seems like it will be a great solution. I'm trying to go through the steps now but just need a little help.
I download tinymix_lollipop.tar.gz, extracted the tinymix file and copied it to system/bin. Then I changed its permissions to 755 to make it executable like you said. Next I tried to use terminal emulator and typed 'tinymix "Left Speaker Gain" 1' just to test it. However it just gives me the error message 'failed to open mixer'. I'm rooted and made the file executable so I'm not sure why it didn't work?
jamespat93 said:
Thank you so much! this is extremely helpful and seems like it will be a great solution. I'm trying to go through the steps now but just need a little help.
I download tinymix_lollipop.tar.gz, extracted the tinymix file and copied it to system/bin. Then I changed its permissions to 755 to make it executable like you said. Next I tried to use terminal emulator and typed 'tinymix "Left Speaker Gain" 1' just to test it. However it just gives me the error message 'failed to open mixer'. I'm rooted and made the file executable so I'm not sure why it didn't work?
Click to expand...
Click to collapse
Before executing tinymix you need to make sure that this particular shell session has been granted root privileges. You need to type
Code:
su
in your terminal emulator to accomplish that. The prompt should switch to #
chdloc said:
Before executing tinymix you need to make sure that this particular shell session has been granted root privileges. You need to type
Code:
su
in your terminal emulator to accomplish that. The prompt should switch to #
Click to expand...
Click to collapse
Yeah its working perfectly now thanks! Just going to play with it a bit till I find settings I'm happy with but this is exactly what I was looking for!
The range is 0-31 so does that mean its safe to put the gain anywhere between those numbers?
jamespat93 said:
The range is 0-31 so does that mean its safe to put the gain anywhere between those numbers?
Click to expand...
Click to collapse
Who knows? I'm guessing things will start to audibly distort at gains higher than 20, maybe even to the point of physical damage at the top end.
Wow guess I'll be leaving it below 20 then, but seriously thanks again!
jamespat93 said:
Yeah its working perfectly now thanks! Just going to play with it a bit till I find settings I'm happy with but this is exactly what I was looking for!
The range is 0-31 so does that mean its safe to put the gain anywhere between those numbers?
Click to expand...
Click to collapse
What values did you end up using? And just to confirm....the top speaker is left?? because my top speaker is way louder than my bottom...so should I increase the bottom "1" or decrease the top speaker "-1". Also I'm assuming you can do a negative gain right?
bsg411 said:
What values did you end up using? And just to confirm....the top speaker is left?? because my top speaker is way louder than my bottom...so should I increase the bottom "1" or decrease the top speaker "-1". Also I'm assuming you can do a negative gain right?
Click to expand...
Click to collapse
Yeah top speaker gain is for the left speaker. The gain is '20' at default and it changes to whatever number you change it to. So to reduce it just change it to any number below 20. I changed my left speaker gain to 16.
Also elemental kernel now has left and right speaker gain controls too.
jamespat93 said:
There are a lot of users with uneven speakers, some have even exchanged their phones and still had the same problem with their second device. So I don't see the point in exchanging mine atm.
Using power amp I fixed my issue by panning my sound a little more to my bottom speaker, however this only works when listening to music.
Since the fix for music was so simple, is there anyone that can make a mod to change the phones speaker balance for the whole system?
I tried viper4android which has channel pan, but that setting is not available for phone speakers. Is there any other solution?
Click to expand...
Click to collapse
How did you install Viper4android and get channel pan? I installed using this http://forum.xda-developers.com/nex...er4android-t3250579/post65464645#post65464645
and the setting seems to be missing!

Categories

Resources