[Q] Camera shutter sound - Galaxy S 4 Active Q&A, Help & Troubleshooting

DU Hellooooo00ooo,
Well, Hi there good people of XDA.
Using my S4 active for a good 2 months now (minus the month away fo replacement, water damage) but I'm getting really annoyed with the camera shutter and filming sound.
Looked on the whole internetz but could only find tips that didn't work.
So here's what I tried:
>> Phone needs to be rooted! > Downlaod "Note 2 hidden settings" from the market and disable shutter sound.
This works and is the quickest and most easy way to do it. You need to be rooted though!
>> "If the phone is rooted... goto root > system > media > ui
Under ui , rename the files shutter.ogg to anything eg shutter_no.ogg
do the same for camera...
Reboot....
Voila!!!! No camera sounds..."
This works when used with a ROOT explorer who can get W/R permissions
>>"If you want to remove it completely, try this app. It worked on all my previous phones.
https://sites.google.com/site/enforcedstreamsilencer/
You're welcome."
This didn't help either. (could install and use it but didn't change a thing)
>> "Click on the settings icon. Press it again for a window to pop up. Then select the most right tab and scroll down, you should see the shutter sound option. It should be second to last on the list."
This option isn't even there on my (unbranded) S4 active. (seems to be not available in some countries due to privacy stuff)
>> "If you are rooted, you can change the settings to give you the prompt on the menu. The file is root/system/csc/feature.xml. Change the "false" in the shuttersoundmenu line to "true". It will put the option on the camera settings menu."
This didn't work because when I tried to change the false to true it didn't let me save it.
So my question here:
Is there any other way to get rid of this shutter sound?
And if not. Am I doing something wrong with the file changing?
Thanks for any help in advance!
Kabilie

kabilie said:
>> "If the phone is rooted... goto root > system > media > ui
Under ui , rename the files shutter.ogg to anything eg shutter_no.ogg
do the same for camera...
Reboot....
Voila!!!! No camera sounds..."
This didn't work since I couldnt change the files, no idea why but android wouldnt let me. (Rooted the phone and used file explorer)
Click to expand...
Click to collapse
You need to use a root file-explorer and then mount the /system folder as RW - the options to do this should be in whatever root explorer you choose to use. Remember to remount back as read-only when you're done deleting, for security.

If you install the Xposed framework and then the Wanam Xposed module it'll offer the ability to shut off that/those sound(s) for you, as well as add a whole bunch of other functionality too. Highly recommended for such tweaks because it's easily reversible courtesy of a checkbox...

br0adband said:
If you install the Xposed framework and then the Wanam Xposed module it'll offer the ability to shut off that/those sound(s) for you, as well as add a whole bunch of other functionality too. Highly recommended for such tweaks because it's easily reversible courtesy of a checkbox...
Click to expand...
Click to collapse
Xposed framework. Heard that was a tricky thing to do with the active.. Or am I wrong?
will test the RW thing tonight. Will let you know how it went

kabilie said:
Xposed framework. Heard that was a tricky thing to do with the active.. Or am I wrong?
will test the RW thing tonight. Will let you know how it went
Click to expand...
Click to collapse
Xposed framework works fine for me on the i9295, but then it's a bit overkill for just disabling the shutter sound - if that's all you want to do, just use the file-delete method. I used ES File Explorer to remount the /system folder and make the change, and have had to redo it after every update of course.

Cederic said:
You need to use a root file-explorer and then mount the /system folder as RW - the options to do this should be in whatever root explorer you choose to use. Remember to remount back as read-only when you're done deleting, for security.
Click to expand...
Click to collapse
This worked.
Thanks for the help guys!
Question answered

i think you can just turn off the sound from the camera settings, no need to be going into system files

GeLopez said:
i think you can just turn off the sound from the camera settings, no need to be going into system files
Click to expand...
Click to collapse
That is unfortunately not true - Samsung is one of the companies that choose not to give the end user the choice to break the law.
Yes, in some countries it is apparently illegal to turn off the shutter sound, due to rampant upskirt picture taking and so on.

Cederic said:
That is unfortunately not true - Samsung is one of the companies that choose not to give the end user the choice to break the law.
Yes, in some countries it is apparently illegal to turn off the shutter sound, due to rampant upskirt picture taking and so on.
Click to expand...
Click to collapse
really? check attachment.

GeLopez said:
really? check attachment.
Click to expand...
Click to collapse
I may be wrong here but I think the option is not there unless u installed some mod like Note 2 Hidden Settings.

GeLopez said:
really? check attachment.
Click to expand...
Click to collapse
Really - although I should of course only speak for the Active since that's the device I own, I've heard repeatedly that Samsung owners have problems with this. Perhaps some devices are excluded - alas the international S4 Active is not.
Edit: I checked, and that option does indeed exist on certain versions of the S4 - not most of them, and not the S4 Active however, or at least not the international version. I'm guessing you have a regular S4 by the endline of your post - please note that this is the forum for the S4 Active, a completely different device.

Guys guys guys,
The shutter sound setting is there depending on country and their laws on those things.
At my S4 Active that option is not there, read the first post where I talk about changing a word from false to true to activate that option. Still didn't work.
The matter is solved for me but if you don't believe that there ISN'T a settings button... here's a screenshot

kabilie said:
Guys guys guys,
The shutter sound setting is there depending on country and their laws on those things.
At my S4 Active that option is not there, read the first post where I talk about changing a word from false to true to activate that option. Still didn't work.
The matter is solved for me but if you don't believe that there ISN'T a settings button... here's a screenshot
Click to expand...
Click to collapse
It's not entirely country-dependant - it's model and provider dependant. Samsung by default apparently removes the setting. A few providers in the US put it back in their custom versions of the phones - on the regular S4.
Don't worry, it's not an argument - I just think it's better if the real info is in the thread when people go searching for ways to fix this "feature".

i just change to silent mode on my s4 active int. version.
No shutter sound.

cfchong said:
I may be wrong here but I think the option is not there unless u installed some mod like Note 2 Hidden Settings.
Click to expand...
Click to collapse
as mentioned...Note 2 Hidden Settings allows you to set the shutter sound among other settings.
you can download from play store. it requires root though.

Note 2 hidden settings works aswell indeed. will update OP with that option!

Related

[Q] bounty $100 if you can help

Thread closed because the Xposed General is not the correct section for module related questions/requests. Please read the guidelines of that section, as well as the forum rules.
I need to hide this annoying warning in ongoing menu. But keep everything look as stock rom.
i just want to remove this
http://postimg.org/image/y2pkrn31l/
here is the rom, SystemUI.apk
https://www.dropbox.com/sh/xciwaety78hp1l5/AAB2VuJF1aICiVHQg3Q-YlEqa?dl=0
I tried to mess with SystemUI.apk (no luck).
I tried to mess with Setting storage>settings.db>secure "through SQL editor" (no luck).
I really like this looking stock rom, except this ongoing panel with roaming.....
any ideas how to remove the roaming warning panel? or if i can remove the whole ongoing panel too!!!
i will pay $100 to get it done
Thanks
salwansk said:
I need to hide this annoying warning in ongoing menu. But keep everything look as stock rom.
i just want to remove this
http://postimg.org/image/y2pkrn31l/
here is the rom, SystemUI.apk
https://www.dropbox.com/sh/xciwaety7...g3Q-YlEqa?dl=0
I tried to mess with SystemUI.apk (no luck).
I tried to mess with Setting storage>settings.db>secure "through SQL editor" (no luck).
I really like this looking stock rom, except this ongoing panel with roaming.....
any ideas how to remove the roaming warning panel? or if i can remove the whole ongoing panel too!!!
i will pay $100 to get it done
Thanks
Click to expand...
Click to collapse
Am not here to collect your 100
But are the notification mods available not allow disabling of notifications?
I use CM11, Long hold notification and do Ignore similar, and i don't get stupid messages like this.
But i thought things like Notification Toggle etc allowed hiding messages like that.
Might give you somewhere to look already if you have not.
Just download the NotifyClean module. After you reboot on installing, open NotifyClean and reboot your phone again. This means that it will start logging the notification area. Go to NotifyClean and select the Notification(I don't have a Samsung phone so I don't know what will it say, but it will be there). Make sure to select the notification(the selection will turn red on selection). Also play around with the settings if you want and reboot your phone again. It won't show up the next time.
cooldude5500 said:
Just download the NotifyClean module. After you reboot on installing, open NotifyClean and reboot your phone again. This means that it will start logging the notification area. Go to NotifyClean and select the Notification(I don't have a Samsung phone so I don't know what will it say, but it will be there). Make sure to select the notification(the selection will turn red on selection). Also play around with the settings if you want and reboot your phone again. It won't show up the next time.
Click to expand...
Click to collapse
thanks guys..... i gotta to work with NotifyClean.
but is there any way to keep it permanently? which means if i delete NotifyClean or hard reset the phone it will stay disabled?
is there anyone knows how to disable the ongoing roaming from XML files?
salwansk said:
thanks guys..... i gotta to work with NotifyClean.
but is there any way to keep it permanently? which means if i delete NotifyClean or hard reset the phone it will stay disabled?
is there anyone knows how to disable the ongoing roaming from XML files?
Click to expand...
Click to collapse
Unfortunately, it won't stay disabled. Don't know anything about the XML files though.
Disabling
salwansk said:
I need to hide this annoying warning in ongoing menu. But keep everything look as stock rom.
i just want to remove this
http://postimg.org/image/y2pkrn31l/
here is the rom, SystemUI.apk
https://www.dropbox.com/sh/xciwaety78hp1l5/AAB2VuJF1aICiVHQg3Q-YlEqa?dl=0
I tried to mess with SystemUI.apk (no luck).
I tried to mess with Setting storage>settings.db>secure "through SQL editor" (no luck).
I really like this looking stock rom, except this ongoing panel with roaming.....
any ideas how to remove the roaming warning panel? or if i can remove the whole ongoing panel too!!!
i will pay $100 to get it done
Thanks
Click to expand...
Click to collapse
Okay... i assume that in app info you can't disable the notification. right? assuming that you can't , you may want to use lucky patcher or use appsettings both of them can help you to modify the app from the inside. you can change the permission to remove the notification . You can choose either lucky patcher , or appsettings from xposed modules. Hope you solve the problem.
joseguillen1994 said:
Okay... i assume that in app info you can't disable the notification. right? assuming that you can't , you may want to use lucky patcher or use appsettings both of them can help you to modify the app from the inside. you can change the permission to remove the notification . You can choose either lucky patcher , or appsettings from xposed modules. Hope you solve the problem.
Click to expand...
Click to collapse
Thank you.
I will try it and let you know

G900A_OC4-OF2_Batch_DeBloater (Customizable)

**Root access required**
Download:
- G900A_OC4-OF2_Batch_DeBloater
Instructions:
1. Extract the G900A_OC4_Batch_DeBloater folder onto your desktop.
2. Turn on USB Debugging from Developer Options and connect your device to your *PC.
3. Double-click DeBloater.bat to launch the program.
4. Select "Light," "Medium," or "Extreme" **debloating and press Enter.
5. Grant Root Access if primpted by your device and press Enter to begin.
6. Once complete press Enter to return to the Main Menu and select ***Reboot Device.
7. Last, select Exit from the main menu to end your session. Done!
* Make certain that you have Samsung Drivers installed.
** Use notepad++ or other text editor to view/edit the lists of removed apps in DeBloater.bat file.
*** It is normal for apps to begin force closing prior to rebooting your device.
Thanks!!!!!!!!!!!!!!!!!!!!!
Player04 said:
Thanks!!!!!!!!!!!!!!!!!!!!!
Click to expand...
Click to collapse
No worries, use it myself and makes it easy.
Can you specify what this actually removes? Thanks.
shaklee3 said:
Can you specify what this actually removes? Thanks.
Click to expand...
Click to collapse
Use notepad++ or other text editor to see the lists in the debloater.bat file.
Thanks!
I want to try this debloater.....but I use the Samsung Extreme Power Saver mode often. Will this remove any app/services that are necessary for that to function?? Thanks.
Nice work @muniz_ri, how were these lists (Light, Medium, Extreme) defined?
ikerex said:
I want to try this debloater.....but I use the Samsung Extreme Power Saver mode often. Will this remove any app/services that are necessary for that to function?? Thanks.
Click to expand...
Click to collapse
I don't think it does. I can still turn regular & ultra power save mode on/off without any weird errors. Be warned using the extreme debloat as in the script it removes the GoogleContactsSync and GoogleCalendarSync. Just edit the batch file and remove the two and save before you run. Found out the hard way after the fact why my Google contacts were not syncable after customizing everything. If you've already run the that extreme option in debloater you will have to reflash the ROM and reconfigure it all form scratch.
Anyways, great contribution OP as it has given new life to my S5's battery. Now lasts much longer and runs great!
Can this be used with OF3 also? Thinking yes, but thought I would ask.
Yes, it worked fine for me
any change to get a similar one for G870A (active)?
I have a problem and am not sure how to fix it. I used this last night before bed and it worked great. This morning I realized I that the top level also wiped out my samsung acct and s health. So I tried to do a factor wipe and now I'm stuck in a loop where it keeps popping up "Unfortunately Samsung account has stopped" and I can't finish redoing the phone. I can add my gmail acct but it keeps going back to that when the popup occurs. I thought I could open Odin to just reflash - G900A_OF3_Stock_Rooted_Deodexed_ROM but I can't get Odin to see the phone and say "ready".
Any ideas?
Phenomenal script, thanks! Wish I had time to make a GUI "front-end" based on this. Took me a bit to figure out which packages were exactly what.
Tip: If doing an extreme de-bloat, use TiBu to freeze com.samsung.android.securitylogagent(KNOX logging). It was causing battery drain due to wake locks since I removed just about every piece of Samsung bloat.
since we can't root lollipop, I found this program to be helpful: http://forum.xda-developers.com/android/software/debloater-remove-carrier-bloat-t2998294 - here's my blocked apps list to import (right click and import).
EDIT: I did this and turned back on animations in developer settings (previously off to 0.5) - and a reboot. I think debloating things really helped speed up the phone - everything seems smoother.
just making sure, but will this work for samsung galaxy s5 SM-900A or is it for s5 active?
ahbba said:
just making sure, but will this work for samsung galaxy s5 sm-900a or is it for s5 active?
Click to expand...
Click to collapse
g900a=at&t s5
Hello muñiz!
What is the line I have to delete from the light de-bloater option if I want to keep Finger Scan screeen unlocker?
I can't find the correct one to keep that feature.
---------- Post added at 11:16 AM ---------- Previous post was at 11:07 AM ----------
chiquito3 said:
Hello muñiz!
What is the line I have to delete from the light de-bloater option if I want to keep Finger Scan screeen unlocker?
I can't find the correct one to keep that feature.
Click to expand...
Click to collapse
Forget abou it. It was the time settings for the lock to kick in.
Terrific script. Just used it on OF3 and it worked beautifully. Thanks muniz!
olegy said:
any change to get a similar one for G870A (active)?
Click to expand...
Click to collapse
I can confirm that it will work for the g870a. I tried both oc5 and of3. Light, medium, and extreme all work. The extreme really impressed me with all the unnecessary bs that some debloaters miss.
@muniz_ri This works with g870a as well
Sent from my G870a on 38's.

[MOD] Disable High Volume Warning (no root)

If you're like me you're bummed that we have no root and are missing the abilities of root. Namely having the ability to use Xposed to turn off the annoying high volume warning. The following information aims to restore that functionality without root but requires some work but when you're done it's "set it and forget it.". You will never have to do it again. (Unless you wipe your phone)
I have this running on my phone and it works perfectly. I've attached a screenshot showing that the high volume warning is disabled on my phone. Note there is no popup on my volume slider when it's at max, so it's working. This mod uses Tasker and AutoTools. If you're not familiar with them it's OK, the article I'm linking has a step by step process for creating events and tasks.
Once again this isn't my work. I'm just bringing the information to the masses.
All set? Click here to go to the article. Enjoy!
P.S. You will need to open AutoTools and activate the 30 day trial if you don't have the full version. Then grant it permission, If not this won't work. To get the full version just open AutoTools and clock "Get full version".
***********UPDATE 09/15***********
I have confirmed that you will have to manually "test" this procedure first before it survives a reboot.
To do this:
Open tasker.
Click on the Monitor Start event.
Click on the 30 second task.
Click the "play" button in the lower left corner.
The task will begin manually.
If all is well both of the actions will turn green.
If anything turns red something isn't configured correctly.
***********UPDATE 09/17***********
For those that either don't want to or are having difficulty setting up the profiles I have attached them to this post in XML form, Then all you have to do is give the apps permission in ADB as stated in the article and import the profiles.
To import them into Tasker:
Download the file called "Tasker Profiles.zip" from the link below.
Unzip it and save it anywhere on your internal storage. Open up Tasker and disable Beginner Mode in Preferences.
Then, go back to the main screen and long-press on the “Profile” tab up top. You should see a pop-up with one of the options being “Import.”
Tap on that and browse to where you saved the .prf.xml files and select that file to import.
Repeat for the second profile.
Screenshots for this are attached to this OP.
I have also attached a quick demo video to show that this process works perfectly. No popup.
Credit:
Mishaal Rahman
reboot and see if it still works.
I already tried this and after reboot it still prompts the first time.
I've rebooted several times. It works for me. There is a 30 second delay before the task is executed. That is by design.
Compusmurf said:
reboot and see if it still works.
I already tried this and after reboot it still prompts the first time.
Click to expand...
Click to collapse
Try this to see if everything is set up correctly:
Open tasker.
Click on the Monitor Start event.
Click on the 30 second task.
Click the "play" button in the lower left corner.
The task will begin manually.
If all is well both of the actions will turn green.
If anything turns red something isn't configured correctly.
I've attached screenshots of this procedure.
Also something to consider is that if you have any task killers installed or anything that kills tasks on startup you should add tasker to the ignore list of that app.
Hope this helps.
It's configured correctly. Here is the thing. If you pull the value before without using, then pull the value after clicking ok manually, it is NOT 2, it's 0. This was discussed on the s7 and s8 forums. Odd that yours works and dozens of other folks doesn't.
Sent from my SM-N950U using Tapatalk
I dont know what to tell you. It does work for me just fine as my screen shots show. Sorry it's not working for you.
Can you screenshot your configuration screen? Is the value your sending "int" for integer? It shouldn't matter but what Carrier are you using? I'm Sprint.
One other thing to check is under app permissions ensure that AutoTool has the ability to change system settings. Just running the adb shell pm command isn't enough.
Compusmurf said:
It's configured correctly. Here is the thing. If you pull the value before without using, then pull the value after clicking ok manually, it is NOT 2, it's 0. This was discussed on the s7 and s8 forums. Odd that yours works and dozens of other folks doesn't.
Sent from my SM-N950U using Tapatalk
Click to expand...
Click to collapse
According to the article 0 is 'not configured' 1 is 'disabled' which is what the value would be when you click ok. 2 is 'inactive'.(How this differs from 'not configured' or 'disabled' I do not know). and 3 is 'enabled'. All depending on your mobile country code. Perhaps changing it to 1 will work for you?
Specifically, we will be modifying the System.Global property audio_safe_volume_state both on boot and periodically so Android will always think you have consented to bypass the warning. This property is defined in AOSP, which we’re reproducing below. There are several states this property can take, ranging from 0-3. 30 seconds after boot or after every 20 hours of continuous music playback, the state is set to ‘0’ or ‘not configured.’ It is then set to ‘1’ for ‘disabled’ or ‘3’ for ‘enabled’ depending on your Mobile Country Code. If you live in the E.U., this property is set to ‘3’ by default but is changed to ‘2’ for ‘inactive’ whenever the user manually bypasses the volume warning. We will be changing the value of this property to the ‘inactive’ state (changing it to ‘disabled’ never worked for me, in case you’re wondering).
Click to expand...
Click to collapse
Hope this helps.
This is already built in...Vibration>Volume>3 dots menu in upper right hand corner> Media Volume Limiter> Turn it off.
Namuh said:
This is already built in...Vibration>Volume>3 dots menu in upper right hand corner> Media Volume Limiter> Turn it off.
Click to expand...
Click to collapse
Confirmed.
Going to Settings -> Sound and Vibration -> Volume -> hit the 3 dot menu -> Media Volume Limiter -> Off works.
I came from a Note 4 with Android 5.1.1 that didn't have this feature. I had no idea Samsung finally caved and added it.
Thank you.
Or not. I rebooted again and it does NOT work anymore. I'm really not trusting Samsung with this. The tasker method works every time. Every reboot. See attached screenshots showing it's turned on (and set to max) and still showing this message. I rebooted several times just in case I had a weird reboot. I'm still getting the popup even with it turned on and the max adjusted to the maximum or even with it turned off completely.
I only wish I was wrong. Thanks for the try though.
Yeah will reset after a boot
https://forum.xda-developers.com/showpost.php?p=73802232&postcount=4
marctronixx said:
https://forum.xda-developers.com/showpost.php?p=73802232&postcount=4
Click to expand...
Click to collapse
Yup...so with tasker I don't have to do any of that. I never have to touch it again. It never comes back.
Thanks again though.
I did learn something from this process. When I re-enabled the tasker even it didn't work when I rebooted. So I hit the "play" button that I mentioned earlier to retest the task and once everything turned green I rebooted and it now works again...after every reboot. So I'll add this to the OP that the task must be "tested" after it's set up in order to get it to work.
Even more interesting is who posted it. Compusmurf was the guy who stated in this thread that this did not work for him. Interesting.
I did get it to work finally. I had another tasker/app that was stepping on it.
Compusmurf said:
I did get it to work finally. I had another tasker/app that was stepping on it.
Click to expand...
Click to collapse
Well I also confirmed that when I disabled it and allowed the popup to come back by rebooting simply re-enabling the tasker even then rebooting did not make it work again. I had to "test" it with the play button to get it to work again. So I'm updating the OP to reflect this.
rawintellect said:
Yup...so with tasker I don't have to do any of that. I never have to touch it again. It never comes back.
Thanks again though.
Click to expand...
Click to collapse
Yeah my point of my post was to show the reason why the built in way doesn't work long term. The tasker way is preferred for those who find the nanny thing an annoyance. :good:
System ui tuněr app should be able to do it
Techvir said:
System ui tuněr app should be able to do it
Click to expand...
Click to collapse
I looked at every single screenshot of System UI Tuner in the play store. I saw no option to disable the high volume warning. Only an option to remove the volume icon which isn't the same thing.
Can you show me a screenshot of it working?
I know this process I linked is a long one and I would really love to be shown a better way but until I am this works for non rooted devices every time.

Disable Shutter sound?

Hey,
I had to buy a new phone (P10 VTR-L29) in Japan and I have an japanese SIM card. Japanese phones and SIM cards always make the shutter sound. By rooting my phone and by flashing a magisk module, I could delete the shutter sound for whatsapp and other apps. But the stock camera still makes the sound. Is there a way to disable it? There is no option in the camera app to turn off the shutter sound.
Thanks!
Go to settings o f the camera app then scroll down find the mute settig then enable it.
yundaime07 said:
Go to settings o f the camera app then scroll down find the mute settig then enable it.
Click to expand...
Click to collapse
Like I already said: "There is no option in the camera app to turn off the shutter sound."
There should be mute in the settings (drag from right in camera app).
I haven't yet rooted this phone so can't be sure but there should be somewhere in "system/media/audio/ui" to find the camera .ogg files and either rename so you can easily put them back or delete. I would just rename to play safe camera_click.ogg.backup or something (for all camera sounds).
Obviously remember to backup before fiddling in /system
SavageRobot said:
There should be mute in the settings (drag from right in camera app).
I haven't yet rooted this phone so can't be sure but there should be somewhere in "system/media/audio/ui" to find the camera .ogg files and either rename so you can easily put them back or delete. I would just rename to play safe camera_click.ogg.backup or something (for all camera sounds).
Obviously remember to backup before fiddling in /system
Click to expand...
Click to collapse
Can I ask what is the font?
SavageRobot said:
There should be mute in the settings (drag from right in camera app).
I haven't yet rooted this phone so can't be sure but there should be somewhere in "system/media/audio/ui" to find the camera .ogg files and either rename so you can easily put them back or delete. I would just rename to play safe camera_click.ogg.backup or something (for all camera sounds).
Obviously remember to backup before fiddling in /system
Click to expand...
Click to collapse
In the attachments is a screenshot of my settings.
I also replaced the system/media/audio/ui files by flashing a magisk module. It worked to some extent. Snapchat, whatsapp and so on won't make a sound, but the stock camera app still makes a sound.
So I am guessing that Huawei hardcoded this setting into the stock camera app if you bought it in Japan.
Maybe someone can extract their stock camera app so I can install it on my phone?
CyberCodeDroid said:
Can I ask what is the font?
Click to expand...
Click to collapse
Don't think I am using any different font, I am using Text style default but theme Skyline and Oreo Emoji.
thx4nothing said:
In the attachments is a screenshot of my settings.
I also replaced the system/media/audio/ui files by flashing a magisk module. It worked to some extent. Snapchat, whatsapp and so on won't make a sound, but the stock camera app still makes a sound.
So I am guessing that Huawei hardcoded this setting into the stock camera app if you bought it in Japan.
Maybe someone can extract their stock camera app so I can install it on my phone?
Click to expand...
Click to collapse
I wouldn't imagine be hardcoded into apk. If you are rooted there is no reason I can see you not being able to turn it off. I would try changing all the sounds off manually rather than through module in case is slightly different names or something, only verified working for Lineage.
Also I think you can change the camera names in build.prop
As I say I haven't rooted this so can't be sure where it is, what it's called or indeed even if there is something there.

Enable New Dark Mode setting for Google Phone (it's beta, but usable) - Root required

Hey everyone, I did a search and didn't see a quick guide posted about this so I thought I would write one up with some pictures real quick.
Pre How To Notes:
* the usual I am not responsible for your device, if you mess it up its on you etc etc. Make a back up or have an apk ready.
* I have only tested this on the v30= but im sure it will work on all devices running Google Dialer Beta 24.0.214850721 ( https://www.apkmirror.com/apk/googl...gle-phone-24-0-214850721-release/#description ). I am part of the Dialer beta and was not pushed the beta 24 release, so I had to manually update it to this one. The needed setting do not exist in beta 23.
* I am using the following 3 Magisk modules - Google Dialer and Contacts for OP5 and/5T - Android 0 Apt x libraries - Pixel Experience. These may or may not effect anyones ability to enable these features, but since I am going to post and run I figured it was easier to say such now than find out tomorrow that noone could replicate it and this is the reason why.
* I just saw @syndre post a magisk module for the dialer and contacts that is version 24. May or may not work with that, and maybe if you all ask super nice he will make a second magisk module that has dark mode enabled since I have never made a magisk module and wouldnt know where to start.
* You must have "Preferences Manager" installed from the play store (or wherever i guess) in order to do this. ( https://play.google.com/store/apps/details?id=fr.simon.marquis.preferencesmanager&hl=en_US )
Ok so its fairly simple.
How To enable Dark Mode on Android Dialer
1) Open Preferences Manager (make sure it has root priv) scroll down to "Phone" app and select it.
2) Scroll over to dialer_phenotype_flags.xml and find the setting G__enable_dark_mode_setting and switch it from "false" to true
3) Now find com.google.android.dialer_preferences.xml and find the setting for display_options_dark_mode and switch that one from 'false' to "true".
4) Close out, force stop google dialer, reopen the dialer.
5) Go to dialer Settings, and select Display, then check Dark Mode - Enable.
Boom, you're done. Its a little buggy but it works and I havent had any issues.
Let me know if you have any questions
:good:I just replaced dialer in Pie with the modified version!! Dark theme is awesome at night, Thank you!! :highfive:
the extra app isn't urgently needed for editing the xml files these files are stored in
/data/data/com.google.android.dialer/shared_prefs
and can be edited with a simple text editor capable of root rights.
thanks for finding and sharing :good: merci
seadersn said:
the extra app isn't urgently needed for editing the xml files these files are stored in
/data/data/com.google.android.dialer/shared_prefs
and can be edited with a simple text editor capable of root rights.
thanks for finding and sharing :good: merci
Click to expand...
Click to collapse
No problem and Thank you @seadersn .
I was originally going to get into a whole additional paragraph or two of alternative methods to enable the necessary flags but decided to just use Preferences Manager as the example because it seemed like the most foolproof and easiest way for any level of user to accomplish the necessary steps.
And I figured that anyone with more advanced capabilities would spot what was being done overall and could accomplish the changes however they were most comfortable performing them (your post of course being a prime example of it accomplishing just that)
JonnyTrulove said:
* I just saw @syndre post a magisk module for the dialer and contacts that is version 24. May or may not work with that, and maybe if you all ask super nice he will make a second magisk module that has dark mode enabled since I have never made a magisk module and wouldnt know where to start.
Click to expand...
Click to collapse
Just taking a quick look it looks like those files have too much personal information in them for me to just straight-up replace them completely with a module. I think that one line of the preferences file needs to be edited by hand somehow by anyone this right now until the implemented fully. I changed the one line showing in the screenshot and notice there was a toggle switch in the dialer app now, switching that makes it look like the third screenshot. I can't use it like that, lol
Sent from my LG-LS998 using XDA Labs
Thanks for this!
Can't get this working on my rooted lg v30. When I open preferences manager I have to show system apps to see Google phone. Then I have to scroll right to find data_rollout_dark_mode and set to true. Then scroll right again to display_options_dark_mode and set it to true. Force close app and no option for dark mode in display options when I open it.
Ballroomblitz said:
Can't get this working on my rooted lg v30. When I open preferences manager I have to show system apps to see Google phone. Then I have to scroll right to find data_rollout_dark_mode and set to true. Then scroll right again to display_options_dark_mode and set it to true. Force close app and no option for dark mode in display options when I open it.
Click to expand...
Click to collapse
Are you still having trouble? If so I will walk through it with you and we can get it working.
JonnyTrulove said:
Are you still having trouble? If so I will walk through it with you and we can get it working.
Click to expand...
Click to collapse
I am. Haven't tried again since my post. Thanks for the offer.
Sent from my LG-US998 using Tapatalk
I've tried a couple more times using different variations of the steps, and still can't seem to get the dark mode to show up in the application.
Ballroomblitz said:
I am. Haven't tried again since my post. Thanks for the offer.
Sent from my LG-US998 using Tapatalk
I've tried a couple more times using different variations of the steps, and still can't seem to get the dark mode to show up in the application.
Click to expand...
Click to collapse
So I used se text editor to locate the files, and changed false to true. Force close dialer. Opened and still no dark.
Ballroomblitz said:
So I used se text editor to locate the files, and changed false to true. Force close dialer. Opened and still no dark.
Click to expand...
Click to collapse
Because you did not enable it in settings.....
Sent from my LG-H932 using XDA Labs
BROKEN1981 said:
Because you did not enable it in settings.....
Click to expand...
Click to collapse
I'd be more than happy to enable it if the option showed up. Thanks anyway.
just wait til g. releases it, fully functional; i do wait. atm it's ¾functional only, at its best. there are areas which aren't black-themed, which looks weird sometimes.
seadersn said:
just wait til g. releases it, fully functional; i do wait. atm it's ¾functional only, at its best. there are areas which aren't black-themed, which looks weird sometimes.
Click to expand...
Click to collapse
I kept picking at it, and eventually edited the correct strings. I've got working dark mode.
the new v25 magisk module containing newest dialer version does indeed look good with dark mode just tried it again, it looks much more better than in the last version. i think next version will contain it officially, there's a new "__data_rollout__DarkMode.EnableDarkModeRollout__launched__" bool.
seadersn said:
the new v25 magisk module containing newest dialer version does indeed look good with dark mode just tried it again, it looks much more better than in the last version. i think next version will contain it officially, there's a new "__data_rollout__DarkMode.EnableDarkModeRollout__launched__" bool.
Click to expand...
Click to collapse
Yes, that's the version I'm using. I agree, I think the dark version looks very nice. I'm a fan of darker themes.
Sent from my LG-US998 using Tapatalk

Categories

Resources