ads

vendredi 25 septembre 2015

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








Attached Thumbnails


Click image for larger version<br/><br/>Name:	Screenshot_2015-09-25-10-45-07.png<br/>Views:	N/A<br/>Size:	166.9 KB<br/>ID:	3485516
 














Aucun commentaire:

Enregistrer un commentaire