[Guide][Root] Removing the charging full sound - G4 General

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 >.>

Related

Disabling annoying startup/rebooting sound

Hey gang any way to Disable annoying startup/rebooting sound, with root manager I manage to remove most of the unwanted app that came with the vibrant, I wonder if anybody has figure out how to remove sound ?
Thank you all in advanced.
Settings>Sound and display>System volume
Turn all the way down.
Just FYI this also turns off the annoying click noises in some of the UI elements when clicking them.
bchalk said:
Settings>Sound and display>System volume
Turn all the way down.
Just FYI this also turns off the annoying click noises in some of the UI elements when clicking them.
Click to expand...
Click to collapse
thanks for the tip
You should be able to remove the sound by removing the file /system/etc/PowerOn.wav
Hope that helps
Awesome..
Thank you both..
FYI, Turning system sounds all the way down also disables the camera shutter sound. Removing the .wav file is the best way but you need root.
Step by step directions to get rid of annoying startup and shutdown sounds on Vibrant
suchaputz said:
You should be able to remove the sound by removing the file /system/etc/PowerOn.wav
Click to expand...
Click to collapse
Standard disclaimer: YMMV, etc. And assuming a rooted phone.
Using Terminal Emulator (is something better?) and the Android keyboard (the erase on the Swype keyboard doesn’t work in this app) I first:
su -
Then I do this (it is easier for me to cd multiple times):
cd system
cd etc
mv PowerOn.wav notPowerOn.wav
Actually I made it 0 length, momentarily forgetting to be careful, but it works.
To get rid of the Very Loud power off sound I unfortunately was still forgetful and made it zero length and the phone hung at “Goodbye!”. I had to pull the battery.
Fortunately, merely getting rid of the file works fine (as does copying something to the filename).
Try this to get rid of the shutdown noise:
cd system
cd media
cd audio
cd ui
mv Shutdown_128.ogg notShutdown_128.ogg
suchaputz said:
You should be able to remove the sound by removing the file /system/etc/PowerOn.wav
Hope that helps
Click to expand...
Click to collapse
thanks... Do you know the name/location for the poweroff wave?
/system/media/audio/ui/Shutdown_128.ogg
Astitious said:
/system/media/audio/ui/Shutdown_128.ogg
Click to expand...
Click to collapse
thanks,
so, poweron is a wave and shutdown is an ogg? Wonder why they used to different formats and stored them in different locations.
so following the logic of this thread, if i put my own sound files with the same name as the orginal, it should work, right? what about boot animations, is there an easy way to replace or customize those?
Put the phone in silent mode before shutting down once booted up (no sound will be heard on shut-down or boot-up). Of course you will need to turn silent mode off if you want ringing when phone is active.
Sent from my SGH-T959 using XDA App
Yup. They are using some file system with the extension .qmg to tie into the png's, but you can (one of the first things i did) change the bootup and shutdown sounds by simply replacing the stock files with something more to your liking
PhilSlater said:
Standard disclaimer: YMMV, etc. And assuming a rooted phone.
Using Terminal Emulator (is something better?) and the Android keyboard (the erase on the Swype keyboard doesn’t work in this app) I first:
su -
Then I do this (it is easier for me to cd multiple times):
cd system
cd etc
mv PowerOn.wav notPowerOn.wav
Actually I made it 0 length, momentarily forgetting to be careful, but it works.
To get rid of the Very Loud power off sound I unfortunately was still forgetful and made it zero length and the phone hung at “Goodbye!”. I had to pull the battery.
Fortunately, merely getting rid of the file works fine (as does copying something to the filename).
Try this to get rid of the shutdown noise:
cd system
cd media
cd audio
cd ui
mv Shutdown_128.ogg notShutdown_128.ogg
Click to expand...
Click to collapse
Great tip, thanks!
PhilSlater said:
Standard disclaimer: YMMV, etc. And assuming a rooted phone.
Using Terminal Emulator (is something better?) and the Android keyboard (the erase on the Swype keyboard doesn’t work in this app) I first:
su -
Then I do this (it is easier for me to cd multiple times):
cd system
cd etc
mv PowerOn.wav notPowerOn.wav
Actually I made it 0 length, momentarily forgetting to be careful, but it works.
To get rid of the Very Loud power off sound I unfortunately was still forgetful and made it zero length and the phone hung at “Goodbye!”. I had to pull the battery.
Fortunately, merely getting rid of the file works fine (as does copying something to the filename).
Try this to get rid of the shutdown noise:
cd system
cd media
cd audio
cd ui
mv Shutdown_128.ogg notShutdown_128.ogg
Click to expand...
Click to collapse
this is not working for me, it keeps on saying read-only file system.
i have root and terminal is whitelisted. i also tried chmod to 777 but i cannot, getting the same error message. any ideas?
ultraman69 said:
this is not working for me, it keeps on saying read-only file system.
i have root and terminal is whitelisted. i also tried chmod to 777 but i cannot, getting the same error message. any ideas?
Click to expand...
Click to collapse
Prior to making changes to this file did you type 'su' ?
You have to be superuser to mess with these files.
su
cd system
cd etc
mv PowerOn.wav notPowerOn.wav
cd system
cd media
cd audio
cd ui
mv Shutdown_128.ogg notShutdown_128.ogg
Click to expand...
Click to collapse
Wow. Thank you for posting this. Got rid of those suckers straight-away!!!
You know... I don't mind a subtle boot-up or shutdown sequence + sound, but T-Mo has historically installed the loudest/longest files that they can find. The shutdown sound especially was REALLY, REALLY loud. Honestly... stop it, T-Mo!
Anyhow, glad it's easy enough to "fix"
This should really be in the sticky. The sounds are damned annoying...
yipcanjo said:
Wow. Thank you for posting this. Got rid of those suckers straight-away!!!
You know... I don't mind a subtle boot-up or shutdown sequence + sound, but T-Mo has historically installed the loudest/longest files that they can find. The shutdown sound especially was REALLY, REALLY loud. Honestly... stop it, T-Mo!
Anyhow, glad it's easy enough to "fix"
Click to expand...
Click to collapse
They sure do. lol
Does anyone have the poweron.wav for the i9000?

File for silencing the camera sound on HD2

Just for starters, please don't reply to this thread with messages such as "If you go into the camera setting you can just turn the sound off" because in many ROMs (such as the telstra one) the selection has been removed. Also don't go telling people to just flash a ROM, if they wanted to they would have done so. With that said, I have had many PMs about this, so attached is the file, just unzip it (7-zip)stick it into the "windows" directory on the phone (overwrite the existing one, you may need "total commander" to do this).
NOTE: this will only stop the camera sound. On these ROMs when the camera application is started the sound on the phone is turned on to maximum (even if you had it on silent before), so if you get a call or message it will ring at max volume (you can overcome this by replacing these with a blank sound, or turning your phone on airplane mode at the time)

[Q] Any mods to disable that studpid battery full popup in DK28?

Anyone? Found one thread for DK05 and a bunch of 2.1... can anyone point me the right direction?
I'm still amazed that this "feature" has made it to 2.2...
hi. don't know if you've gotten an answer to this because the answer might be already posted w/flashing from clockwork.
but if you don't want to go down that route, this is something to consider. For me, what bugs most is the sound and not so much the screen turning on giving me a notification. The sound wakes me up at night. so to prevent the sound from be played, i just renamed the sound file so it doesn't play.
Using Root Explorer (which can be bought from the market), go into the "system" folder. Then, Media/Audio/ui. Make sure your Mounted r/w in root explorer. Rename (or remove/delete/move elsewhere) "TW_Battery_caution.ogg"
Now, when it comes on, the sound wont come on. It's a half solution but i hope it helps.

[Q] Remove Camera Click Sound

Heya, new to fiddling with root files but really wanted to get rid of camera click. Followed advice about renaming camera_click.ogg in terminal Emulator using:
ADB shell
SU
mount -o remount,rw /dev/block/mtdblock4 /system
mv /system/media/audio/ui/camer_click.ogg /system/media/audio/ui/camera_click.ogg.old
(source: www droidforums net/forum/droid-hacks/23107-droid-remove-camera-click-shutter-sound html) - sorry new poster not allowed to post url
Now have issue when open stock camera and vid in Motorola Atrix (gingerbread 2.2.2) where:
1) camera opens, but have lost all previous images.
2) camera takes silent shot
3) camera 'locks' open and can't return to 'desktop', can't view image taken,, can't access menus etc
Basically camera is stuffed...
is there a solution, is there code to go back and follow some of the other advice in here etc?
It is a setting. What's the point?
Sent from my MB860 using xda premium
it's a setting what's the point? Thanks for taking the time to reply. I did mention this is all new to me. I asked a question because i do't know the answer. It's a swttibg whats the point is hardly helpful.
To anyone else, i'd appreciate any help or advice. As i mentioned i'd just like to undo what i've done usibg script i found on another forum. looking forward, hopefully, to hearing from you!
have you tried to add the following line to local.prop file located in /data?
ro.camera.sound.forced=0
If you don't have the file then just create the file and add it, otherwise append it to the end of file.
File permission is: 0644
Good Luck
I never heard of adding ".old" on the end of the file. I always add ".bak", then reboot. Works everytime.
EchoK8 said:
it's a setting what's the point? Thanks for taking the time to reply. I did mention this is all new to me. I asked a question because i do't know the answer. It's a swttibg whats the point is hardly helpful.
To anyone else, i'd appreciate any help or advice. As i mentioned i'd just like to undo what i've done usibg script i found on another forum. looking forward, hopefully, to hearing from you!
Click to expand...
Click to collapse
I giggled when I read gingerbread 2.2.2
Sent from my SAMSUNG-SGH-I777 using Tapatalk
Thanks for pointing that out, that gave me a good laugh to start the day off.
Phalanx7621 said:
I giggled when I read gingerbread 2.2.2
Sent from my SAMSUNG-SGH-I777 using Tapatalk
Click to expand...
Click to collapse
EchoK8 said:
it's a setting what's the point? Thanks for taking the time to reply. I did mention this is all new to me. I asked a question because i do't know the answer. It's a swttibg whats the point is hardly helpful.
To anyone else, i'd appreciate any help or advice. As i mentioned i'd just like to undo what i've done usibg script i found on another forum. looking forward, hopefully, to hearing from you!
Click to expand...
Click to collapse
I was on my phone at the time (tiny keyboard) and was trying to succinctly say that if you open the camera app and touch "settings", there is an option to quiet the click.
When I first read your OP I didn't notice that you identified Gingerbread as v2.2. You are confused. v2.2 was named Froyo (frozen yogurt). Gingerbread is v2.3. My answer relates to Gingerbread. If you are actually on Froyo, I don't remember if the setting was available on that release.
So, in Gingerbread silencing the camera is a setting and there is no point performing internal surgery.
Yep, ok, noob blunder. Novice blunder, amatuer, beginner whatever blunder. Glad you all got a giggle, and thanks for pointing it out. I was told at the shop it's Gingerbread. The About phone states 2.2. So, if that makes it Froyo then great, i've learnt the basics today. Thanks for your help again!
Well re- the settings, froyo or otherwise, yes there is a setting to turn sound off. You turn it to off and it still makes the click sound, volume can't be altered. Hence diving off the deep end and into something i know very little about - internal surgery!!
Live4nyy - is there a simple way to rename to .bak (you see my level of expertise here - none! - in asking).. forward some script for me at all?
or
CSharpHeaven that sounds gr8... any way to explain to a complete novice how to do that?
I thank anyone who sticks with me to reply after this MUCHLY as you know you are dealing with a friking novice
Seriously....why would you want to silence your camera again?
Do you have root? If yes, then you can just use any file manager that has root access, ES File Explorer works I've heard, and just go to the folder where the sound file is (/system/media/audio/ui) and just select to rename the file and add ".bak".
EchoK8 said:
Yep, ok, noob blunder. Novice blunder, amatuer, beginner whatever blunder. Glad you all got a giggle, and thanks for pointing it out. I was told at the shop it's Gingerbread. The About phone states 2.2. So, if that makes it Froyo then great, i've learnt the basics today. Thanks for your help again!
Well re- the settings, froyo or otherwise, yes there is a setting to turn sound off. You turn it to off and it still makes the click sound, volume can't be altered. Hence diving off the deep end and into something i know very little about - internal surgery!!
Live4nyy - is there a simple way to rename to .bak (you see my level of expertise here - none! - in asking).. forward some script for me at all?
or
CSharpHeaven that sounds gr8... any way to explain to a complete novice how to do that?
I thank anyone who sticks with me to reply after this MUCHLY as you know you are dealing with a friking novice
Click to expand...
Click to collapse
I'd like to replace my shutter sound. Does anyone have a sound file of a shotgun blast/ slide rack?
Thannnks
island-guy said:
Seriously....why would you want to silence your camera again?
Click to expand...
Click to collapse
i actually dont want or need to silence it again. my query is how to restore my camera to a mode where it is functional bcs at the moment its stuffed. If theres a simple string to go back that'd be ideal.
live4nyy said:
Do you have root? If yes, then you can just use any file manager that has root access, ES File Explorer works I've heard, and just go to the folder where the sound file is (/system/media/audio/ui) and just select to rename the file and add ".bak".
Click to expand...
Click to collapse
Ok, got 'root explorer'... so simple just to enable R/W and rename.. Thanks. Changed to .bak . Seems better, actually appears to take photos and has more functionality than after i ran that script... but
I don't know what that original script did. Here's what using my built in camera is like:
1) Turn Camera on. Opens, appears normal. Take photo fine. Thumbnail (link to camera roll) in bottom corner as per usual, which disappears after a few seconds as per normal.
So far so good.
2) After taking another photo decide to click on thumbnail to open camera roll. Camera Roll opens but says there are no pictures to display. return (via 'back' menu button) and the thumbnail of the images is there again. Ok, weird.
3) Try take another photo... nothing happens, wait a few seconds and camera switches off back to ;desktop'. Try open camera again but no dice. In fact all phone functionality gone, frozen, locked up, including menu buttons below screen. Put phone to sleep by pressing rear button briefly. Press rear button again to awake. Unlock swipe is slow to respond (a few seconds) and then back to main desktop screen. Can once again open camera. Repeat process from dot point 1).
4) next time go to camera roll, this time locks up on camera roll (which has no images to display again). Sleep and wake up camera, slow swipe unlock, can take photos again when open camera. repeat step 1 - 3 again!
5) Sleep, wake up phone. This time straight to gallery instead of camera. Gets stuck telling me it's loading media files. Frozen.
6) sleep- wake - slow swipe unlock. This time to video. Same thing as camera. Frozen.
I could go on.... but im sure the idea is clear!
used root explorer to simply remane camera_click.ogg to original name. Same as above
Tried camera zoom fx app incase it was the built in camera app. This won;t even open - well, it starts but then says i need to force it to close.
Does this need a factory reset??!
Ta
Have you rebooted? Maybe try and go into "Manage Applications" under the "All" tab and find the camera and "clear data"?
EchoK8 said:
Ok, got 'root explorer'... so simple just to enable R/W and rename.. Thanks. Changed to .bak . Seems better, actually appears to take photos and has more functionality than after i ran that script... but
I don't know what that original script did. Here's what using my built in camera is like:
1) Turn Camera on. Opens, appears normal. Take photo fine. Thumbnail (link to camera roll) in bottom corner as per usual, which disappears after a few seconds as per normal.
So far so good.
2) After taking another photo decide to click on thumbnail to open camera roll. Camera Roll opens but says there are no pictures to display. return (via 'back' menu button) and the thumbnail of the images is there again. Ok, weird.
3) Try take another photo... nothing happens, wait a few seconds and camera switches off back to ;desktop'. Try open camera again but no dice. In fact all phone functionality gone, frozen, locked up, including menu buttons below screen. Put phone to sleep by pressing rear button briefly. Press rear button again to awake. Unlock swipe is slow to respond (a few seconds) and then back to main desktop screen. Can once again open camera. Repeat process from dot point 1).
4) next time go to camera roll, this time locks up on camera roll (which has no images to display again). Sleep and wake up camera, slow swipe unlock, can take photos again when open camera. repeat step 1 - 3 again!
5) Sleep, wake up phone. This time straight to gallery instead of camera. Gets stuck telling me it's loading media files. Frozen.
6) sleep- wake - slow swipe unlock. This time to video. Same thing as camera. Frozen.
I could go on.... but im sure the idea is clear!
used root explorer to simply remane camera_click.ogg to original name. Same as above
Tried camera zoom fx app incase it was the built in camera app. This won;t even open - well, it starts but then says i need to force it to close.
Does this need a factory reset??!
Ta
Click to expand...
Click to collapse
live4nyy said:
Have you rebooted? Maybe try and go into "Manage Applications" under the "All" tab and find the camera and "clear data"?
Click to expand...
Click to collapse
Thanks L4NYY.. yep had rebooted. Tried clearing data but all the same
Had a quick look in the internal storage DCIM folder..All files appear to be there. The one vid file has a play button icon. The .jpg's have the android robot icon. I don't know what was there before. Trying to open the files from here freezes the phone.....
Connecting usb and viewing dcim shows that any images taken since the change to camera_click.ogg appear unknown thumnails in the PC explorer..and can't be opened on the PC via USB connection or when stored locally on the PC itself 'can't display this is an empty file' . This is probably all irrelevant but might be useful to someone, somehere...
Have just noticed today that battery was going flat very quickly. Realised since rooting and using that script (can't decipher which) that location services are no longer working, hence apps that provide location services are continually searching and draining battery. Yes i can turn those services off, but wouldrather resolve the issue!
I'm thinking more and more like factory reset Any thoughts?
Just factory reset. Used Astro File Manager to backup apps before hand, which for interest worked well (although did have to reinstall one by one). Of course Appstore keeps a lsit of purchased apps as a failsafe for thsoe.
After rest, reinstalled apps, including Root Manager. Simply followed Live4NYY's advice, renamed camera_click.ogg to camera_click.ogg.bak
All issues described earlier resolved. Camera functional and silent.
just goes to show sometimes you should ask noob questions. I tried following instructions on a post to avoid annoying the experts with a mum-mum dad-dad question! Anyhow, thnaks to live4nyy for taking the time.
Ciao
The ".bak" just stands for "backup". It will essentially hide any file/app and keep it from running (which in turn frees up RAM). So if you had a system app that you don't use you can just add ".bak" and it would be the same as freezing it. It's much safer than deleting files and apps as you can always go back and remove the extension (and reboot) and it will be back to normal.
EchoK8 said:
Just factory reset. Used Astro File Manager to backup apps before hand, which for interest worked well (although did have to reinstall one by one). Of course Appstore keeps a lsit of purchased apps as a failsafe for thsoe.
After rest, reinstalled apps, including Root Manager. Simply followed Live4NYY's advice, renamed camera_click.ogg to camera_click.ogg.bak
All issues described earlier resolved. Camera functional and silent.
just goes to show sometimes you should ask noob questions. I tried following instructions on a post to avoid annoying the experts with a mum-mum dad-dad question! Anyhow, thnaks to live4nyy for taking the time.
Ciao
Click to expand...
Click to collapse

[HOW TO] Enable better multitasking on Stock ROM

Hi all!
As many of you have noticed, the multitasking on Stock ROMs is not that great, especially if you are coming from some custom ROMs like CM, etc. The thing is that if you want to recall an app that was closed 5 minutes ago, it has to be started again. To change this it's very easy by editing the build.prop file.
Requirements:
- Stock ROM or stock based, maybe others but I doubt that this isn't included within
- Root
- File manager/ Root explorer with text editor
Instructions:
1. Navigate to /system, find the build.prop file and copy it to /data (just as a backup).
<<Later on if you will face any bootloop/troubles, restart the phone in TWRP, go to file manager and simply copy the original build.prop from /data to /system and overwrite it.>>
2. Open the build.prop in /system with a text editor and at the bottom, add the following lines:
sys.config.spcm_enable=false
ro.config.fha_enable=true
3. Save your modifications to the file and before restarting, check the permissions again to be correct (rw-r--r--).
4. Reboot.
That's it. Enjoy and report if you notice any strange behavior. Normally it shouldn't be any, but who knows...
DISCLAIMER: Do this at your own risk. I will not be responsible if something bad will happen.
Can you explain wat exactly those lines doing? What is different in the multitask experience / behavior? Many thanks
If you'll open up Chrome, go to a webpage, then press the home button and go back to Chrome again. In most cases you'll notice that it starts reloading the page. I've noticed that a lot of apps are restarted/refreshed after a short time if I leave them in the background and mostly you never get to the same point where you left off in the app.
I'm not a programmer and I just saw in S6 edge+ forums how to improve multitasking: http://forum.xda-developers.com/s6-edge-plus/general/root-ram-management-multitasking-fix-t3228917. As you can read there, the guys are changing plenty of values, but at the suggestion of member @citytrader who changed only 2 lines, I tried this in my Le Max 2 and it worked pretty well. Somehow I don't have the redraws that I had before. Battery life seems unchanged. No lag (there was none before as well), but the most important thing no more redraws (with some small exceptions but in any case, far less than before).
You can find articles/threads on xda about spcm and fha/dha.
I think the reason for that is that EUI is pretty agressive in closing apps to save battery.
Did you try to lock the app so its doesnt close.
Locking the app does not help. As you said, EUI is pretty aggressive at RAM management. I'm pretty sure that you have viber/whatsapp locked but if you switch to 2-3 apps and then come back to viber for instance, the app is redrawing.

Categories

Resources