This maybe a simple fix and something I have overlooked but its driving me friggin nuts.
I charge my phone over night as I sleep. When the battery gets to 100% charged an alert is triggered. I have vibration turned to NEVER in the settings. Yet when this 100% charged alert is triggered it still send a very small vibrate. Even when my phone is set to fully silent. This wakes me up. I am a VERY light sleeper.
Any ideas?
Sleep in a different room to where you charge your phone!!
Sent from my GT-N7000 using xda premium
I use the phone as my clock and alarm clock to get me up
OK seems to be a problem with the galaxy S2 also. Can be fixed by doing this
http://www.youtube.com/watch?feature=player_embedded&v=Jh-ebnUiFUM
Seems to cost £ though for the app. I will have a search around for a free method.
What a STUPID feature!!
h8rift said:
To take it a step further, if you edit /framework/services.jar and comment out this line in com\android\server\BatteryService.smali:
Code:
invoke-direct {p0}, Lcom/android/server/BatteryService;->notifyIfBatteryFull()V
You won't have the 100% notification at all .
Click to expand...
Click to collapse
You've got a £500 phone. The application Tasker is only £3.99. Don't be tight. Buy the app and it'll sort your problem.
Sent from my GT-N7000 using xda premium
If you have root you can just rename the ogg files in media.
It's either
Total commander file list (copy)
Total files: 1
/system
media/audio/ui/TW_Battery_caution.ogg.old 10951 2011-10-08 16:12:00
or
Total commander file list (copy)
Total files: 1
/system
media/audio/ui/Charger_Connection.ogg.old 10584 2011-10-08 16:12:00
There are also camera shutter sounds. And the boot sound are in /etc
Total commander file list (copy)
Total files: 7
/system
etc/1_Power_on.ogg.old 198139 2011-10-08 16:12:00
etc/PowerOn.wav.old 843340 2011-10-08 16:12:00
media/audio/ui/Cam_Start.ogg.old 7324 2011-10-08 16:12:00
media/audio/ui/Cam_Stop.ogg.old 4407 2011-10-08 16:12:00
media/audio/ui/camera_click.ogg.old 4851 2011-10-08 16:12:00
media/audio/ui/camera_click_short.ogg.old 7242 2011-10-08 16:12:00
media/audio/ui/Shutter_01.ogg.old 9230 2011-10-08 16:12:00
Related
I couldn't find an option to disable the camera click noise when you take pictures, but if you remove the file associated with the click the camera fails gracefully and doesn't make that obnoxious, loud noise anymore.
I believe this requires a rooted phone but I'm too new to android to know if that is, indeed, the case.
You can likely do this with a terminal emulator, but these are the steps I took:
Connect your phone to a computer with the sdk and drivers installed
Open a command prompt and navigate to your sdk/tools folder
Type 'adb shell' in a command prompt
Type the following commands in the shell (omitting the #)
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# mv /system/media/audio/ui/camera_click.ogg /system/media/audio/ui/camera_click.bak
# mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system
The mount commands remount the readonly filesystem so you can write and then mounts it back. The move command renames the sound file of the click.
There is also a 'VideoRecord.ogg' file that can be moved to disable the 'ding' that occurs when you start and stop the video. I prefer that so did not move it on my device.
Hope it helps someone.
My phone doesn't make camera clicks when vibrate or silent is on.
madforpancakes said:
My phone doesn't make camera clicks when vibrate or silent is on.
Click to expand...
Click to collapse
Same here.
jsoverson said:
I couldn't find an option to disable the camera click noise when you take pictures, but if you remove the file associated with the click the camera fails gracefully and doesn't make that obnoxious, loud noise anymore.
I believe this requires a rooted phone but I'm too new to android to know if that is, indeed, the case.
You can likely do this with a terminal emulator, but these are the steps I took:
Connect your phone to a computer with the sdk and drivers installed
Open a command prompt and navigate to your sdk/tools folder
Type 'adb shell' in a command prompt
Type the following commands in the shell (omitting the #)
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# mv /system/media/audio/ui/camera_click.ogg /system/media/audio/ui/camera_click.bak
# mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system
The mount commands remount the readonly filesystem so you can write and then mounts it back. The move command renames the sound file of the click.
There is also a 'VideoRecord.ogg' file that can be moved to disable the 'ding' that occurs when you start and stop the video. I prefer that so did not move it on my device.
Hope it helps someone.
Click to expand...
Click to collapse
or you just can set your phone in silence or vibrate....duh??!!
Thanks for posting that, very interesting.
Unfortunately, it does appear that you need to be root to rename the file. If you haven't rooted the phone then the mount commands fail.
Maybe it's time to root this thing!
DKM119 said:
or you just can set your phone in silence or vibrate....duh??!!
Click to expand...
Click to collapse
You're right, silly me, why go through the effort of making the phone do precisely what I want and be exactly what I need?
What is this, an effing iPhone forum?
DKM119 said:
or you just can set your phone in silence or vibrate....duh??!!
Click to expand...
Click to collapse
Wow, I don't know why you have to crap on the post. I think this post is very useful. I, like the OP, don't like having my camera make a sound whenever it takes a picture. I can clearly see that the picture has taken (unless I'm trying to take a picture of myself, but I can tell you I don't do that very often), so I don't see a need for an audio cue if it's not necessary.
Turning the sound down before taking a picture would be a hassle. What if I do it, take my picture and then forget to turn it back on? I don't see a need for this type of deconstructive criticism, especially when people have already said what you have said without the disdain.
Anyway, thanks jsoverson, it worked for me.
Perhaps you want to take a picture without the subject knowing? ;-)
jsoverson said:
You're right, silly me, why go through the effort of making the phone do precisely what I want and be exactly what I need?
What is this, an effing iPhone forum?
Click to expand...
Click to collapse
Lol funny tou said that...I didn't mean to sound that bad...but really there is no need to go trough all that hassle if all you need to do is put your phone in silence unless you're a sick person that wanna take pictures of other people without their consent...anyway good job with the codes but useless for regular people...oh yeah this is just my opinion.
I think it's useful to note how you may disable the sound permanently, and also useful to note that you can disable it temporarily by silencing your phone. These facts don't need to be mutually exclusive, guys
Thanks OP! I'd like to permanently disable the sound. I turn on a LOUD profile when I'm out, and it's always annoying to hear that "CRACK" shutter sound
i usually don't mind the sounds phones make from the camera shutter, but on the nexus one it's very loud. this guide worked to disable sound, thanks
Nice post. This way you can have your phone on loud AND not have the camera click. FYI: To turn the camera sound back on, simply reverse the second command like so
Code:
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# mv /system/media/audio/ui/camera_click.bak /system/media/audio/ui/camera_click.ogg
# mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system
Thanks for this. The noise is really irritating.
My phone makes the sound with the sound set to silent and vibrate. And its very loud. Much louder than even my ringtones or notifications.
Hi, and thanks for the code.
I was wondering if someone could make a gscript code for this so that we could toggle camera sound on/off without a computer.
thanks
L
samawil said:
Hi, and thanks for the code.
I was wondering if someone could make a gscript code for this so that we could toggle camera sound on/off without a computer.
thanks
L
Click to expand...
Click to collapse
If you have one of the many file browser applications (Astro is a decent free one) you can rename it manually
bobtentpeg said:
If you have one of the many file browser applications (Astro is a decent free one) you can rename it manually
Click to expand...
Click to collapse
insufficient permission according to Astro.
I'm rooted etc, running Cyan b3...did you manage to change it this way?
In Astro I went to the file, long press, edit, rename, and get insufficient permision message.
L
I've been playing around with things like changing the boot animation, moving font faces around, using lag fixes, etc, but I ended up in a fix when I ran out of space in my /system folder.
Currently, I believe the /dev/block/stl9 is set at 275.8 Mb of space. When looking at the system stock (after rooting for SU access) it shows 262.4Mb used of 275.8 Mb availble, with only 13.4Mb space left. (95% used)
When I was playing around with stuff, I changed the Bootup screens and sounds, applied a couple fonts (by copying them) ended up running out of /system space.
Now, I'm sure someone is going to chime in and say that I'm not supposed to be writing stuff to the /system area. But if that's the case, can you let me know what I should be doing if I want to play around with those files? With only 13.4 Mb left, that doesn't give me much play room. Especially when things like Wireless Tether, SU, CW, etc, go into the /system/app/ area. At least that's what I've seen.
What things can I clear out from the /system/ areas to make more room available?
Thanks!
On the G2, when you take a picture or start a recording, it makes a pretty loud sound. It's pretty annoying for me, so I decided to replace them with silent files. The files still plays when you take a picture or record a video, but since it's silent nothing can be heard.
I have this working for stock and enom's rom. Not sure if it works with CM6.1.
I have included the silent files as well as the originals. Obviously you can use whatever sound you want.
camera_click.ogg
VideoRecord.ogg
camera_click-original.ogg
VideoRecord-original.ogg
[*Please suggest if there are better ways of doing this. I'm a total noob at this.*]
to back up original files on G2:
These are the two files on your phone you'll want to back up in case you need to restore them later.
/system/media/audio/ui/camera_click.ogg
/system/media/audio/ui/VideoRecord.ogg
adb push camera_click.ogg /data/local/camera_click.ogg
adb push VideoRecord.ogg /data/local/VideoRecord.ogg
adb shell
$ su
# mount -o remount,rw /dev/block/mmcblk0p25 /system
# rm /system/media/audio/ui/camera_click.ogg
# rm /system/media/audio/ui/VideoRecord.ogg
# cp /data/local/camera_click.ogg /system/media/audio/ui/camera_click.ogg
# cp /data/local/VideoRecord.ogg /system/media/audio/ui/VideoRecord.ogg
# cd data/local/
# rm camera_click.ogg
# rm VideoRecord.ogg
*I'm not sure if I need to mount /dev/block/mmcblk0p25. Can someone clarify?
Thanks - worked for me (froydvillain1.7.1)
The commands are done through Android Terminal? Also does it matter where I download the zip (root of sd, etc)?
Sent from my T-Mobile G2 using XDA App
I usually just delete those before I flash a rom. This also works for CM but I think they have different names. +1 for showing everyone how to do it w/ terminal. I wasn't going to because of the implications it [no camera sound] could have. Some countries legally require manufactures to have the sound there for either corporate/government settings dealing with proprietary or sensitive information or to discourage voyeuristic tendencies (you all know what I'm talking about). Just make sure to not get in trouble with it. OP, may want to put some sort of disclaimer in the post dealing with that subject, you know - CYA (google it if you don't know).
And no,
mount -o remount,rw /system
is all that's needed. I've never had to use the other remount line to delete/add to the system. Especially the media folder.
EDIT: I was thinking about this last night and remembered it can be done with Root Exlporer (or any file explorer than can mount /system r/w). Just navigate to those directories, MOVE, not copy, the files somewhere else like your sdcard or the data/local directory. That way you have the originals and the sounds are gone. I'd put an X at the end of the name too just to be safe. I'll post the terminal script for this since it's much shorter than your current method for those that just love using terminal.
Great - I was looking for a way to silence that camera shutter sound.
Thanks for this.
Thanks for sharing this! I had been using Tasker to silence all audio whenever the camera app was open, but this is a much more elegant solution.
chaose said:
On the G2, when you take a picture or start a recording, it makes a pretty loud sound.
Click to expand...
Click to collapse
Do you happen to know what the sound files are for when you depress the shutter button halfway (which causes the camera to focus in preparation for taking an image, if your device is configured to do that)? That sound is even more annoying than the shutter sound itself. I've poked around in /system/media/audio/ui, but I haven't been able to find the right sound file.
Also, you can just delete the files - it doesn't cause problems if they aren't present.
mikedoherty said:
Do you happen to know what the sound files are for when you depress the shutter button halfway (which causes the camera to focus in preparation for taking an image, if your device is configured to do that)? That sound is even more annoying than the shutter sound itself. I've poked around in /system/media/audio/ui, but I haven't been able to find the right sound file.
Click to expand...
Click to collapse
I would also like to know this one as well, as I haven't figured out where that sound is located either.
dustrho said:
I would also like to know this one as well, as I haven't figured out where that sound is located either.
Click to expand...
Click to collapse
I think it must be baked into the OS somehow, I've played every sound file I could find, and none of them were it. Incredibly ridiculously frustrating.
I think it's annoying that shutter sound exists and you can't just shut it off in the camera app. The only way is to be in silent mode, which I am in most of the time. But today I forgot while using a computer lab at school and a loud shutter click went off. Ugh.
I realize that renaming/removing the OGG files for the shutter sound and video sound are the easiest.... BUT I see myself flashing new ROMs left and right.
Perhaps there's a way to write a script to do this? I'm not too good with scripting as easy as that sounds... lol.
Edit: Something like this for script manager?
Code:
mount -o remount,rw /dev/block/mtdblock4 /system
mv /system/media/audio/ui/camera_click.ogg /system/media/audio/ui/camera_click.ogg.old
mv /system/media/audio/ui/VideoRecord.ogg /system/media/audio/ui/VideoRecord.ogg.old
mount -o remount,ro /dev/block/mtdblock4 /system
bumpity help anyone?
doesnt seem like script manager likes my script lol.
Well you didn't replace it with anything... Wouldn't you need to replace it with a sound file that is silent?
AtomicPC said:
Well you didn't replace it with anything... Wouldn't you need to replace it with a sound file that is silent?
Click to expand...
Click to collapse
I know you can rename the file to something else and just have a nonexistent file. I've tried it on other phones. Should be the same on NS. I just fail at scripting.
I mean what I essentially typed out up there was what you woudl type into terminal window. Is that what you would put in a script? LoL.
I've had the camera app fc when I removed the sound. I just made a silent ogg file with the same bitrate, sampling, and compression characteristics as the one it's replacing. Rename the silent file to camera_click.ogg and VideoRecord.ogg and it's silent from then on.
Hi all,
Trying to add a custom alarm sound. Can see that the standard alarms are ogg format. However, it turns out that it doesn't matter - it is only looking inside the read-only partition for the alarm sounds. Presumably the answer is to root to get write access here - or is there another way???
/R
rakh1 said:
Hi all,
Trying to add a custom alarm sound. Can see that the standard alarms are ogg format. However, it turns out that it doesn't matter - it is only looking inside the read-only partition for the alarm sounds. Presumably the answer is to root to get write access here - or is there another way???
/R
Click to expand...
Click to collapse
Put the alarm sound in a folder called Alarms in the root of the internal "sdcard".
IAmAN00bie said:
Put the alarm sound in a folder called Alarms in the root of the internal "sdcard".
Click to expand...
Click to collapse
Huh - that easy! Why didn't I think of that - thanks!
/R
custom alarm sound
IAmAN00bie said:
Put the alarm sound in a folder called Alarms in the root of the internal "sdcard".
Click to expand...
Click to collapse
thank you ... i think this is one of the stupid things in this type of rom's , i have to put the same melody 3 times to access it at alarms , notifications and ringtones ... does it is the same on nexus original android ?
djcata said:
thank you ... i think this is one of the stupid things in this type of rom's , i have to put the same melody 3 times to access it at alarms , notifications and ringtones ... does it is the same on nexus original android ?
Click to expand...
Click to collapse
I like it better this way. I don't want a 5 second clip in my ringtones list and I don't want a 30 second clip in my notifications list.
yes
fernandezhjr said:
I like it better this way. I don't want a 5 second clip in my ringtones list and I don't want a 30 second clip in my notifications list.
Click to expand...
Click to collapse
i understand you , but i have some sounds that i use as alarm and some times as ringtones and i do not want to store it twice ...maybe i have one folder audio in witch i have a sub folders ringtones , alarms, notification and if i want to choose an alarm melody from ringtones i can without having to save file twice
I have a similar issue, but I can't find any help via google. When I add mp3 files to the /Alarms folder on my Nexus 4 they no longer show up under the Alarm clock app when choosing a sound. It used to work but hasn't for a while now.
I can't for the life of me work out what is wrong.
Newtoys said:
I have a similar issue, but I can't find any help via google. When I add mp3 files to the /Alarms folder on my Nexus 4 they no longer show up under the Alarm clock app when choosing a sound. It used to work but hasn't for a while now.
I can't for the life of me work out what is wrong.
Click to expand...
Click to collapse
Using a file explorer with show hidden files enabled make sure there isn't a .nomedia file in the folder.
Sent from my Nexus 4 using Tapatalk 4 Beta
fernandezhjr said:
Using a file explorer with show hidden files enabled make sure there isn't a .nomedia file in the folder.
Sent from my Nexus 4 using Tapatalk 4 Beta
Click to expand...
Click to collapse
I checked using ES File Explorer with show hidden files on. No .nomedia files in the Alarms folder or any patient folders.
I found a workaround! By browsing the files using ES File Explorer instead of the built-in file browser I can chose from any of the files in the Alarms folder. :good:
I put the mp3 i want in the Alarm folder in yet it doesn't show up in the alarm ringtone list. I'm using the latest 4.3, does it make any difference?
I'm on I9505G ROM 4.3 but copying mp3 files to Alarms folder doesn't work either..
Make sure that the folder name is 'Alarms'. Clear data of Media Storage and reboot.