I recently decided that I'd like different sounds for my various app notifications, but found that regardless as to what I set them to, they always use the default notification sound. To clarify, my apps ( gmail, twitter, facebook, etc ) all allow me to change their sounds and the settings stay put, they just simply don't use the selected sound, but rather player the default instead.
I've tried using apps that help with setting sounds, didn't help. I tried only using default system sounds vs the ones I've added via Zedge, didn't matter. I've been searching on XDA and Google, but no luck. I'm currently running v3 of the Breakneck rom on an LG Vortex and would much appreciate any help.
Update
I flashed my phone to v4 of the breakneck rom this morning, so took the opportunity to see which app(s) was causing the problem. The fresh rom prior to installing any new apps does work with a default system wide sound and different individual app sounds. I didn't encounter the problem I mentioned above until I used Zedge to set my notification sound to one of the ones that I had downloaded through it. If I uninstall Zedge and go back to using default system sounds, they work again properly. But if I use one of the downloaded sound files, even with Zedge still uninstalled, it no longer allows individual apps to have their own sounds. I even tried converting the sound files over to OGG and moving them to the system notification folder, no dice. Any ideas?
If this problem still exist in the V2.4 of the Zedge app please let us know by using "feedback" in the app.
Then we will let one of our developers to take a look at it.
(I'm a Community Manager in Zedge by the way)
Thanks!
Thank you for the reply, but I'm not 100% sure that it's Zedge's fault. A friend of mine has the same phone and is running a stock rom AND is having no trouble with his Zedge sounds. I however, am having trouble with Zedge on my custom rommed phone. I've also sent a tweet over to the rom developer to see if he'd check things on his end.
Also, I am already running v.2.4.
I love the new Weapon 2.6, but it doesn't find any ringtones on my phone. No matter where I place them, the only option I have for ringtones and notifications is "silent." I searched the forums and found one other person asked this same question a couple of months ago, but received no response. So I figured I would try asking it again. For anyone using Weapon 2.6, where are your ringtone files located so that they show up in the list of choices? Thanks!
System/Media/Audio
You should find the folders within that file path. I'm on weapon 2.6 and all my notifications & ringtones are there.
Hope that helps.
Sent from my LG-P999 using xda premium
You can also make a folder on your sdcard called media, and then put stuff under there. (So it'd be /sdcard/media/audio/ringtones.) That's the setup I use. I switch roms a lot, and it's a lot easier than constantly pushing my custom ringtones to the system partition every time I install a new rom.
Thanks for both of your suggestions. I could see the ringtones in the System/media/audio directory. And I could move them to the sdcard and see them in there. But when I would try to change my ringtone or notification sound, there was nothing listed except "silent." I fixed the permissions through recovery, and they now show up in my settings. Must have forgotten to do that when I originally flashed. But thanks to both of you for letting me know that I was completely crazy or completely stupid.
Hi Guys,
First post, a friend at work referred me here, thus far i've found the forums very useful.
One thing i cant find an answer for through xda or google is the ability to distinguish notification alerts.
Relevant to my query, I am using;
> HTC One XL (Telstra) Unlocked & rooted, STOCK ROM.
- Apex Pro Launcher
- Combination of XD widgets & Android Pro Widgets.
- Quick Profiles Pro
Whilst quick profiles pro really does the job i want it to do, i need to be able to identify different alerts;
- Email / Gmail
- SMS
Facebook would also be nice to set apart, but if it hasnt been thought of yet, the ability to differentiate between an sms alert tone and an email alert tone seems as though it should be a fairly remedial task, im wondering why in finding it so hard to find something to do this?
Wobzy said:
Hi Guys,
First post, a friend at work referred me here, thus far i've found the forums very useful.
One thing i cant find an answer for through xda or google is the ability to distinguish notification alerts.
Relevant to my query, I am using;
> HTC One XL (Telstra) Unlocked & rooted, STOCK ROM.
- Apex Pro Launcher
- Combination of XD widgets & Android Pro Widgets.
- Quick Profiles Pro
Whilst quick profiles pro really does the job i want it to do, i need to be able to identify different alerts;
- Email / Gmail
- SMS
Facebook would also be nice to set apart, but if it hasnt been thought of yet, the ability to differentiate between an sms alert tone and an email alert tone seems as though it should be a fairly remedial task, im wondering why in finding it so hard to find something to do this?
Click to expand...
Click to collapse
In settings go to sounds, then notification and change the sound. This will be for emails. Open the sms app and open settings. Go to notification. This will be your sms sound.
Sent from my HTC One X using xda premium
GalaxyMaster said:
In settings go to sounds, then notification and change the sound. This will be for emails. Open the sms app and open settings. Go to notification. This will be your sms sound.
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Lol i cant beleive it was that simple, thanks so much.
On the topic, im not a fan of my tones list being cluttered up with stock tones i'll never use.
I have mounted R/W in root explorer to move the default tones to my sd card and back them up on my pc.
In their place i have loaded my custom mp3s, but when i try to assign them they do not appear;
- system/media/audio/notifications
- system/media/audio/ringtones
All threads i have viewed say to load customs on sdcard to;
- sdcard/media/audio/notifications
- sdcard/media/audioringtones
Neither ringtones or notifications load from this location.
I moved my ringtones back to;
- sdcard/ringtones
They appear in my list.
I tried this with notification tones;
- sdcard/notifications
They still dont appear when i try to assign them.
Same phone, unlocked & rooted HTC One XL Stock ROM Telstra.
Any help is greatly appreciated.
Sorted.
The files werent visible thru notifications settings when i put them there.
When i had a look again, they were mysteriously there.
I notice this happens when i sync my music for music player.
My playlists are empty for a number of hours before eventually just appearing.
Why is that?
So I installed Barebone ROM on my wife's SGS4G, and everything seems fine and stable. There's only one small problem, with the ringer. When ringtone starts playing, it plays really really quietly, and then, in a matter of second, it goes to really loud. It does not sound like a nice gradient increase of volume, it goes really fast from barely audible to the max.
So the questions are: Is it a known problem for stock-based ROMs? Or Barebone ROM? Anyone experienced it? How can I fix it? I mean without changing the ROM, I like Barebone. Maybe I can turn it off or configure it somehow. Would flashing 100% stock ROM fix it? Any help would be appreciated.
EDIT: It's solved, Phone.apk can be changed to disable the ascending ringtone. Instructions are in this post: http://forum.xda-developers.com/showthread.php?p=8482676#post8482676. Since Barebone ROM is odexed, Phone.apk can be deodexed first, changed per in instructions, and then odexed back. Here's a tutorial on deodexing and odexing: http://forum.xda-developers.com/showthread.php?t=1208320.
I am on Antons barebone too(as well as basic with a twist kernel), and also have the escalating ringer. However, I really like the feature.
I was on voodoo lagfix kernel with Valhalla black, and did not have the ringer volume change. I may be wrong, and you should wait for another opinion, but I think this issue is more Kernel based, not the ROM. I'm assuming you've tried different ringtones?
Sent from my SGH-T959V using xda app-developers app
Yes, we tried different ringtones. I don't know what is a "voodoo lagfix kernel", because, well, aren't they all now? I mean the BML ones. The phone in question uses the Blastoff kernel. Do you think flashing, let's say, Basic with a Twist kernel may fix it?
Sent from my Galaxy Nexus using xda app-developers app
I thought that the ringer starting out quiet was a gb feature. I do recall it being dumb but I never found anyone ever having taken the time to disable it.
And I think the reference may be to drhonk's kernel but I'm not sure and I personally haven't had any experience with that one.
I should have been clearer, sorry. I meant Bhundvens subtly modified CWM5 with v lag. http://forum.xda-developers.com/showthread.php?t=1380331
I am on Basic with a twist, and have the gradual ringer, so that wouldn't change anything for you. I think Blastoff is a variant of "Basic", so that could explain the same ringer results. Idk though, I kinda feel like the blind leading the blind here, meaning I could be way off
Stock GB did not have the volume rise.
Sent from my SGH-T959V using xda app-developers app
I tried Anton's kernel (Basic with a twist) before reading your reply, and yes, got the same results. So it's either the same in both kernels, or it's not about kernel at all.
I actually like the idea of the ringer starting quiet. But it goes right to the maximum volume in a matter of second, with no intermediate volume levels, which sounds weird.
Oh well, at least I know now I'm not the only one having it. Thanks for the replies, all.
Sent from my Galaxy Nexus using xda app-developers app
g4ry12 said:
So it's either the same in both kernels, or it's not about kernel at all.
Click to expand...
Click to collapse
This doesn't sound like a kernel problem, at least to me. If the kernel can make sounds and adjust the volume of sounds, in general, its job is done. This seems more like the Android world not controlling things properly, or possibly a library (part of the ROM, not really the kernel).
jeffsf said:
This doesn't sound like a kernel problem, at least to me. If the kernel can make sounds and adjust the volume of sounds, in general, its job is done. This seems more like the Android world not controlling things properly, or possibly a library (part of the ROM, not really the kernel).
Click to expand...
Click to collapse
You're right, it's not kernel. I did some googling, and it's Phone.apk. This gradient/ascending ringtone feature seems to be present in various Samsung phones, and a lot of people do not like it.
I found a modified Phone.apk for SGS II with this feature disabled. Tried it with SGS4G, but it did not work. I mean everything looked fine, keypad, call log and contacts, but there was "No Service", so no calls, SMS, or data.
Probably because my ROM is odexed, which is Barebone. But I'm not changing it, because it's my wife's phone, and she's not into changing ROMs, and also because it's a great, very stable ROM.
Or maybe even if it was deodexed it wouldn't work anyway, because SGS II's apk is different. I don't know.
The XDA thread for modified SGS II's Phone.apk is here: http://forum.xda-developers.com/showthread.php?t=759537
In case somebody's willing to take a look.
You might try Phone.apk from a different SGS4G GB build, perhaps CM7. I don't know if the CyanogenMod folks disabled it or not in their source. You'll probably have to "manually install" it into /system/app/ (with all the usual caveats about making backups of the original and the like).
jeffsf said:
You might try Phone.apk from a different SGS4G GB build, perhaps CM7. I don't know if the CyanogenMod folks disabled it or not in their source. You'll probably have to "manually install" it into /system/app/ (with all the usual caveats about making backups of the original and the like).
Click to expand...
Click to collapse
OK, so I downloaded an SGS4G's CM7 ROM (R12 from the thread by Max), but all apks there were deodexed. So I used the guide here to odex Phone.apk. Put both new files (changed apk and odex) to /system/app, rebooted, cleared cache and Dalvik cache, fixed permissions. Rechecked the permissions later, they were correct (rw-r--r--). So, long story short, it did not work. No service again, but also com.andriod.Mms was periodically force closing (and I did not touch it). So, I figured it would take more than just replacing an apk.
Maybe grab the apk from the thread lumin30 has in the themes and app section.
Since it's your wifes phone, is it an option to go back to GB stock _root_tb_remove bloat and call it a day? Or start from stock, and check ringer after every step towards new ROM.
Sent from my SGH-T959V using xda app-developers app
---------- Post added at 10:03 AM ---------- Previous post was at 09:09 AM ----------
Just out of my own frivolous curiosity, have you played with disable/enable vibration in ringer settings? Sounds weird, but...
Sent from my SGH-T959V using xda app-developers app
OK, with the way you whipped through how you manipulated the APK and filesystem, it sounds like you are pretty comfortable with low-level work on your phone.
(Note: What is below is a 2012-06-02 change to CyanogenMod code -- https://github.com/CyanogenMod/andr...mmit/26eaa7b874abd2f5ec20fed825e9794302adacee)
From the Gingerbread branch of the source, I see a couple interesting snippets in Ringer.java related to
Code:
mRingIncreaseInterval = Settings.System.getInt(cr,
Settings.System.INCREASING_RING_INTERVAL, 0);
The system settings database is likely in /data/data/com.android.providers.settings/databases/settings.db
sqlite3 is probably already installed on your phone.
Here's the start of me looking at the system table on my ICS phone
Code:
SQLite version 3.7.4
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> .tables
android_metadata bookmarks system
bluetooth_devices secure
sqlite> .schema system
CREATE TABLE system (_id INTEGER PRIMARY KEY AUTOINCREMENT,name TEXT UNIQUE ON CONFLICT REPLACE,value TEXT);
CREATE INDEX systemIndex1 ON system (name);
sqlite> SELECT * FROM system ;
6|volume_notification|5
11|mute_streams_affected|46
12|dim_screen|1
Once you've found and modified the key, probably something like UPDATE system SET value = ‘5′ WHERE name = ‘increasing_ring_interval’ ; you should restart the system to make sure the change is "picked up" by the system. It doesn't really like you messing with things behind the scenes. Safest would be to adb pull a copy to your local machine, modify it there, and adb push it back, all under recovery.
I've got to head to work, but if that doesn't get you far enough, I'll try to flesh out a little more later on.
To lyinelriche: Yes, flashing a stock ROM is an option, but it won't help, because ascending ringtone IS a stock ROM feature. And it probably does not depend on vibration setting, however, to be honest, I did not try.
Sent from my Galaxy Nexus using xda app-developers app
To jeffsf: Thank you! I'll take a look at that settings.db file when I'll get a chance.
Sent from my Galaxy Nexus using xda app-developers app
Ok.
I guess I midunderstood the OP.I thought the problem didn't start till after you flashed barebone ROM, but was fine before you started customizing. I was looking at this as if it were a localized bug specifically on your wifes phone. Maybe a bad Bluetooth app that isn't sitting well with a kernel or ROM setting(happened to me with Motospeak)
Sent from my SGH-T959V using xda app-developers app
To jeffsf: I experimented with that settings.db file.
First off, there was no "increasing_ring_interval" row there. I inserted one, using some SQL manager app from Play Store. Made it 0 and rebooted, then made it 5 and rebooted, either way there was no change, still got a short ascending ringtone.
I also changed an already existing row, I guess the name was "stay_awake_while_pugged_in", I changed it from 0 to 1. And it had no effect too. The plugged in in phone did not stay awake.
I compared the md5 checksums of the 3 settings.db files I had: the original, the changed, and the one in /data/data after reboot. They got 3 different checksums.
I looked inside the settings.db file from /data/data. All my changes were gone. There was no increasing ring interval row. And the stay awake row was moved to the end of the table, with a new id and a value of 0.
So, it seems that settings.db file is recreated on boot, and probably there's no sense in changing it manually.
Did you push your changes while the phone was in recovery mode? (Actually, that is a somewaht dumb question -- you were using an Android app.) If not, I wouldn't be surprised if the changes got overwritten by the running Settings Manager.
When running in recovery, there is generally a sqlite3 executable you can use from the command line (such as through adb from a computer with a better keyboard). The other option would be to adb pull the file to another machine, run sqlite3 (or a graphical tool) to modify it, then push it back.
If the setting wasn't there, it is probably a CM7-only setting, and then only for builds after the patch I referenced.
stay_awake_while_plugged_in is, I believe, the "developer" setting that keeps the phone from sleeping when connected.
I'm beginning to think that you're pretty much stuck with the behavior, unless you can get a recent CM7 build of Phone.apk to run on your phone.
To jeffsf: I did not do it in recovery, and probably you're right, maybe that's why the settings did not stick.
And about this:
jeffsf said:
I'm beginning to think that you're pretty much stuck with the behavior, unless you can get a recent CM7 build of Phone.apk to run on your phone.
Click to expand...
Click to collapse
Well, I don't think I am, because the ascending ringtone has been successfully disabled in other Samsung phone. We even know that the culprit is the Phone.apk. All that is left to find out is what exactly has to be changed in it.
I did some more googling and here's what I found (it's from this post):
the_ozyrys said:
Hello,
I've just found a (not easy) way to disable increasing ring.
This involves using Apk Manager to backsmali Phone.apk,
which then have to be replaced by patched version, either by root access or creation of update.zip.
Procedure:
1. Get your Phone.apk (\system\app\Phone.apk) and copy it to computer.
2. Use Apk Manager to decompile it.
3. Open folder with Phone source (<Apk Manager folder>\projects\Phone.apk\smali\com\android\phone ).
4. Open file Ringer$1.smali with your favourite text editor.
5. Find line that reads:
Code:
invoke-virtual {v1, v5, v4, v3}, Landroid/media/AudioManager;->setStreamVolume(III)V
6. Delete this line, save the file.
7. Compile Phone.apk, put it back to phone.
8. Enjoy constant-volume ringtones.
Click to expand...
Click to collapse
I've already tried apktool to decompile the SGSII's Phone.apk, and it went fine.
This is what I think has to be done:
1) Deodex the Barebone's Phone.apk
2) Change Ringer$1.smali according to the instructions above.
3) Odex it.
Hopefully, I got it right.
Here's a tutorial on deodexing and odexing back:
http://forum.xda-developers.com/showthread.php?t=1208320