[Q] [Bug report] How to preserve custom ringtones on update? - Omni Q&A

Hi
[EDIT] my phone = I9300, OmniRom = latest (with a maximum of google apps disabled/alternatives preferred)
I can't quite figure that one out:
On every single system update, I lose my settings in terms of my custom ringtones, alarms...
I tried 3 different ways:
- I copied them into System/media/audio/ringtones & alarms --> after every update, my custom sound files cannot be found anymore and are therefore not available to select from Settings > Sound > Phone ringtone & Default alarm sound
- so then I copied them into sdcard/media/audio/ringtones & alarms --> althought they remain there after every update, they are not available from Settings > Sound > Phone ringtone & Default alarm sound
- so finally I copied them into extSdCard/media/audio/ringtones & alarms with the same effect: althought they are still there after every update, they are not available from Settings > Sound > Phone ringtone & Default alarm sound
Somehow this looks like a bug to me...
Can someone please explain how I can preserve my custom ringtones after system updates?
Thank you VERY much
beng

How did you copy them? It might be a selinux/permissions problem.
For reference, I haven't had any problem on my Nexus 5 (all internal ext4 with emulated sdcard) with
Code:
[email protected]:/ # ls -lZ /sdcard/Alarms/
-rw-rw---- root sdcard_r u:object_r:sdcard_internal:s0 Luminescence.ogg

Code:
/sdcard/Alarms, /sdcard/Ringtones, /sdcard/Notifications
Those are directories especially for custom sounds, which of course will survive ROM updates. Why don't you put them there?

klenamenis said:
Code:
/sdcard/Alarms, /sdcard/Ringtones, /sdcard/Notifications
Those are directories especially for custom sounds, which of course will survive ROM updates. Why don't you put them there?
Click to expand...
Click to collapse
done just that: my custom sounds don't even show up (Settings > Sound > Phone ringtone & Default alarm sound), nor after a reboot!
honestly this is a major bug as far as I am concerned - I keep missing my phone calls as the ringtone will default to none, makes the whole point about having a mobile pointless!!!

Until you can give steps to repeat, that someone else can repeat, it appears to be a problem that is specific to your phone and configuration. If it were a significant bug, you wouldn't be the only one claiming it was impacting them.
Nothing personal, but unless you can replicate this on a fresh install, without additional software, and document how to repeat it, it likely will never be considered an OmniROM bug. One you can do that, a JIRA is perhaps the right way to raise attention on the issue.
As a note, opening additional threads will more likely get you labeled as whiner than get faster resolution. One is plenty.
---
Posted from whatever phone booted today

jeffsf said:
Until you can give steps to repeat, that someone else can repeat, it appears to be a problem that is specific to your phone and configuration. If it were a significant bug, you wouldn't be the only one claiming it was impacting them.
Nothing personal, but unless you can replicate this on a fresh install, without additional software, and document how to repeat it, it likely will never be considered an OmniROM bug. One you can do that, a JIRA is perhaps the right way to raise attention on the issue.
Click to expand...
Click to collapse
Hi jeffsf
well I thought the steps were clearly detailed in my initial post?
The custom sounds I would like to set up as custom ringtones / alarms are snippets edited out of full mp3 songs (generally a loop edited out of the intro); If i use the default (boring) sounds provided, I keep my settings.
I first copied my custom snippets into System/media/audio/ringtones & alarms ; this works until I reboot following a new nightly update, my settings are lost; the ringtone is back either to the default one or to none (worse option as I miss my phone calls - I cannot work out a rule as to the default ringtone/none reset, sorry!); my custom sound files cannot be found anymore in the ringtones folder and are therefore not available to select from Settings > Sound > Phone ringtone & Default alarm sound
My second attempt was then to copy them into sdcard/media/audio/ringtones & alarms ; although they remain there after the reboot following any new nightly update, the settings are lost from Settings > Sound > Phone ringtone & Default alarm sound.
So my third attempt was to copy the snippets into extSdCard/media/audio/ringtones & alarms but it had the same result: although they are still there after every update, my previous settings are lost and the snippets cannot be selected from Settings > Sound > Phone ringtone & Default alarm sound ...
After all these tests, I am even more confused; I do not know/understand for sure what folders Android uses primarily / secondarily for ringtones / alarms...
jeffsf said:
As a note, opening additional threads will more likely get you labeled as whiner than get faster resolution. One is plenty.
Click to expand...
Click to collapse
I do get the point! Not my intention to whinge but as explained, there is not much point in having a silent phone!
First I asked a question (support); clearly no working solution can be provided
so I take it to the next level: software correction requirement (indeed JIRA can be the software to use for this - this is actually what I am using at work!)
Or the solution is to choose another rom, shame really...

BenG7 said:
Hi jeffsf
well I thought the steps were clearly detailed in my initial post?
Click to expand...
Click to collapse
Your observed behavior is clear in your first post, so there is no reason to repeat it. It adds no information by doing so.
The custom sounds I would like to set up as custom ringtones / alarms are snippets edited out of full mp3 songs
Click to expand...
Click to collapse
A tiny snippet of new information. But still, you haven't identified what format you are using on the device or how you are copying the files into the directories you are using, only on your source.
clearly no working solution can be provided [...] Or the solution is to choose another rom, shame really...
Click to expand...
Click to collapse
Or clearly it isn't a problem with the ROM. If it were a general problem with the ability to set and retain ring tones, there would most likely have been at least one other person who reported similar problems as you.
Unless you can replicate this (a) from a clean install, (b) without other software installed, (c) using a directory intended for the function, (d) clearly identifying how and where you have set the ring tone, and (e) how you updated, it most likely isn't a ROM bug.
GIven that this isn't impacting anyone but you from what I can tell, I would look at your own software, configuration, or use as the most likely cause.
Note also that two people in this thread have already clearly identified directories for these files that do not have the issues you mention.

unsupported audio format?
Hello,
I built omnirom from last sources and I I was in the same situation. My mp3 wasn't recognized anymore (regression? developper choix? I don't know)
Workaround: I converted them into ogg format, and it works like a charm (on my HTC Explorer).

Hi
Hey, for the first time I realise yesterdays nightly (20141030) solved this ongoing issue I had given up on:
it preserved my custom ringtone and alarm and I did not need to reset my ringtone & alarm after the update as I do after EVERY SINGLE update - a pain really!
Please keep it as such - thanks A LOT
cheers
beng

BenG7 said:
Hi
Hey, for the first time I realise yesterdays nightly (20141030) solved this ongoing issue I had given up on:
it preserved my custom ringtone and alarm and I did not need to reset my ringtone & alarm after the update as I do after EVERY SINGLE update - a pain really!
Please keep it as such - thanks A LOT
cheers
beng
Click to expand...
Click to collapse
Nothing has been changed that would affect this.
Also, you probably stopped getting responses because your responses were inconsistent. Post 3 provided the standard location where these files should be placed.
In post 4 you claimed exactly that, EXCEPT that in Post 6, none of the directories in post 2 were in your list of things you tried...
In the end it really doesn't matter. Your device is getting dropped with L as it hasn't had a maintainer in months and there is no one to fix I9300 issues.

Entropy512 said:
Nothing has been changed that would affect this.
Also, you probably stopped getting responses because your responses were inconsistent. Post 3 provided the standard location where these files should be placed.
In post 4 you claimed exactly that, EXCEPT that in Post 6, none of the directories in post 2 were in your list of things you tried...
In the end it really doesn't matter. Your device is getting dropped with L as it hasn't had a maintainer in months and there is no one to fix I9300 issues.
Click to expand...
Click to collapse
I can only report it works now.
Post 1 were the initial steps I took
I did as advised in post 3 ; this was post 4
Post 6 was only a repeat of post 1, not including steps from post 4, but these were carried out too, to no avail too.
Just forget it now.
Thanks

Related

"Brins0net" Status Monitor

Hiya all, just felt like I wanted to contribute to the community a little by releasing a small program I've made in c#. It requires the .NET Compact Framework to run of course.
This is the first real application that I've written for a PDA, that isn't for university, so its a small one, that doesn't really do much other than echo alerts, and display information. What it does do, however, I feel to be very useful, and may interest other developers.
Information:
1. When there is a missed call, or an unread message, the "Reminder Tone" will be played every 20 seconds until the message/missed call alert has been dealt with by you.
2. When the signal state changes, the relevant sound plays to notify you. This can be handy when you are walking around looking for a signal.
3. When the headset is inserted/removed, a sound is played.
4. Various status information can be viewed by tapping through the tabs.
More information, and a download can be found here on my site:
Link: http://brins0.net/projects/Brins0net_Status/
Current Version: v2008.03.07
If anyone has any comments on it, please feel free to post them here. (Please remember that I'm only really a novice compared to some of the other coders here)
Interesting
Good idea but an alert every 20sec is too quick. You should make the interval user-selectable. I currently use TAP for alerts and it gives you a bunch of choices for the reminder interval.
nonegiven said:
Good idea but an alert every 20sec is too quick. You should make the interval user-selectable. I currently use TAP for alerts and it gives you a bunch of choices for the reminder interval.
Click to expand...
Click to collapse
I have done this in another one of my small projects, but the best way I could find of storing the interval, was in an accompanying file. I have tried writing to the registry, but it all went pear-shaped. I'll have another go at it later this evening.
When I can write to the registry correctly, I play on incorporating the "reg" file into the program too, so you don't have to use it when installing.
brins0 said:
I have done this in another one of my small projects, but the best way I could find of storing the interval, was in an accompanying file. I have tried writing to the registry, but it all went pear-shaped. I'll have another go at it later this evening.
When I can write to the registry correctly, I play on incorporating the "reg" file into the program too, so you don't have to use it when installing.
Click to expand...
Click to collapse
Sounds good. Does the program need to be running in the background or does it load a process silently?
nonegiven said:
Sounds good. Does the program need to be running in the background or does it load a process silently?
Click to expand...
Click to collapse
I'm afraid it's not a process, so it has to be open in the background at the moment. I'm looking into making a process based version, but I've actually worked out the mechanics behind it yet. I'm just in the process of adding the things suggested earlier, would have done it earlier, but I fell asleep
nonegiven said:
Good idea but an alert every 20sec is too quick. You should make the interval user-selectable. I currently use TAP for alerts and it gives you a bunch of choices for the reminder interval.
Click to expand...
Click to collapse
Do you have a link to TAP, I searched but tap is a common word.
Thanks!
It's Treo Alert Pro. I use it on a Touch. You can get it at treocentral.
Updated to v2008.03.07
I've released an update...
Now there is a small options menu to configure the Alert Interval. The setting is stored in the registry along side the alert sound.
As such, there is a new registry update to apply before you run it (It should correct itself if you don't apply it, but it's better if you apply it manually)
The update interval can be any value between 10 and 300s (5 minutes), it can be increased very easily, but 5 mins seemed to be all anyone would need.
There are also other minor fixes behind the scenes.
The update is available on my site at http://brins0.net/projects/Brins0net_Status/

No ring tone, no alert sounds, WMP not functioning.

Hi, today my HD2 started to behave oddly - when receiving a call the screen wakes up as normal but no sound nor vibration (as preset) comes with it. The same goes for any other alert - SMS, e-mail...When I try to change the tones of any alert the common preview while selecting doesn't cannot be heard. Even worse, when I tried to play any music from my library with Windows Media Player it started to skip quickly from song to song without playing a note, stopped at the end of the playlist. When I tried TCPMP it work without any problem - music and video.
Any suggestion before I will be forced to proceed to the next logical step - Hard Reset? BTW I am on stock ROM 1.66.479.2 (76641)WWE, I didn't install anything new recently nor have beeb experimenting with any SW.
Thank you in advance.
ive had issues with sounds when setting the system temp locations to a location that doest exist (experimenting with a ramdisk, but i suspect the pricipal would be teh same). maybe some kind of system temp location corruption?
hunt down all you can find on clearing temp locations. start uninstalling apps one by one,
(personally id backup and go for a straight hard reset for the hour it takes to be fully fundtional again vs the hours spent fault finding.)
I think I have your fix ...
I just came across this thread and thought I'd answer immmediately because I, too, have sufferred from this issue in the past. It took me a while to figure out why, but I did. Give me about 5 minutes to collect my information, and then I'll respond again...
Peter
Here it is ...
I have a document that I've prepared in Microsoft Word to store all the handy registry tweaks and solutions to previous problems. Here's the entry for what I believe is your problem:
Sounds or Ringing or Vibration Don’t Work
There MUST be a directory called Volatile here:
Mobile Device\Application Data\Volatile
YOU MUST SOFT RESET AFTER CREATING THIS DIRECTORY
The "Volatile" directory can be empty as long as it's there within the main device Application directory.
Peter
Thank you very much, will share the result
I face to same problem using HD2, thank you. your point is help me to fixed.
Whoa, you just saved me from a hard reset thanks alot Peter.
PETER HTC you are great! Thanx man!
Thanks I fixed it too

Potential Call Delay Fix in Gingerbread

I thought I'd start my own post, since some incorrect information has been going around. The libaudio.so file that has been linked to is only to fix the wonk on the Nexus One and has nothing to do with the Gingerbread call delay. It is hardware specific, and may cause issues in other phones. If you don't have a Nexus One, you probably shouldn't install this file. It is already in the CM nightlies, and will be in 7.0.4 when it is released.
I have submitted a patch to gerrit that reduces the call delay in my testing. I've posted a test build in the Nexus One nightlies thread, and fitsnugly has cherry-picked it for his Nexus One and G2x builds. Several others have said that it is working for them.
The patch is here:
http://review.cyanogenmod.com/#change,5420
Thanks for your patch! This is great work.
My change has been merged into Cyanogenmod.
thanks for your brilliant findings!
Thanks jyxent for working on this! This has been the most annoying bug (to me) that I've had to deal with.
I am correct, in my understanding of the comments at review.cyanogenmod.com, that what you did essentially restored the code to how it was in Froyo? Just curious.
Not exactly. Google changed PhoneUtils to use CallManager to set the audio mode, instead of setting it to MODE_IN_CALL directly. There is some delay before a call becomes active once it is answered. CallManager checks this state when setting the audio mode, and was not setting MODE_IN_CALL, since it thought the call was still ringing. I just added a check to make sure that MODE_IN_CALL is set if a call was just answered and the call is still considered ringing.
This makes the behavior similar to froyo, but it wasn't just restoring the original code.
I think it works when answering from the handset but not when you answer using the earphone..is this possible????
got a problem today using this patch
phone was ringing: went to answer and slided...
in the meantime an SMS arrived (when I was sliding to answer)
result: the phone call hanged & audio output was set to loudspeaker + phone app freezed (black screen)
the other party could not hear me
hmm sorry for posting a dumbass question but
I need to download the callmanager.java right?
How should I install it, can I just replace the existing file using e.g. Super Manager (maybe making a copy beforehand)?
And if so, where is this file stored? I did a search on my phone but no results
thx
B
berre said:
hmm sorry for posting a dumbass question but
I need to download the callmanager.java right?
How should I install it, can I just replace the existing file using e.g. Super Manager (maybe making a copy beforehand)?
And if so, where is this file stored? I did a search on my phone but no results
thx
B
Click to expand...
Click to collapse
It isn't possible to just replace a file to get this fix. The ROM has to be compiled with the added patch.
This patch is included in the CyanogenMod nightly builds, as well as the 7.1 release candidate. As for other ROMs, it might be best to just ask in their respective threads.

[fix] [workaround] galaxy SII cm10 lost ringtones

Hi all,
Be gentle with me, but I think that after weeks of headbanging, I have stumbled across a fix for the problem of dissapearing ringtones in CM10. This works for me on my International S2 and I belive it accounts for the differing accounts of the problem, Some people have it, others not at all, differing periods before it kicks in etc.
I am on the Codeworx 21 August release from Rom Manager
I was looking through my Locale settings and found that I had some ringtones set for different locations, the files for these are now gone and I deleted the settings in Locale, ever since doing this, I have not had the dreaded 'Unknown Ringtone' problem once, despite trying to force it.
I am no MOD, but I am guessing that when an app changes the ringtone, either tyo a file it cannot find or perhaps at all, CM10 cannot substitute the default ringtoine as other roms do, I did not have a ringtone set in defaults, which may also have been a problem in my situation.
I am guessing that any program which alters your ringtone or notification settings can potentially have the same affect.
Apologies if this has been spotted before, but I have been combing the CM10 threads for weeks and not seen it, and hopefully if it can be confirmed by others, that it needs to be more widely circulated, hence the new thread.
Please post with details if it works for you!
R

ringtone keep resetting to KeypressReturn

Hi guys, I have a problem with my 6p that been bothering me for a while now. Whenever I change the ringtone on the phone to a Zedge tone or one of the defaults that came with the phone, it always resets to "KeypressReturn" within 2 days. When someone calls, the phone only vibrates which cause me to miss a lot of calls. I saw a similar post on AC by a person experiencing nearly the same issue but there was no viable solution mentioned.
Please help!
make sure that whatever app your using to set the ringtone has adequate permissions. IE it has access to storage.
I had already given Zedge has access to storage as per the advice in the AC forum. Also the Settings app has no permissions listed.
I just wanted to report back that this matter has been resolved. It was actually me that reset the ringtone to KeyPressReturn all the time. I have been using some customized shortcuts for volume from the AudioManager app for a few years now. Apparently, the developer made an enhancement to the application by allowing a user to change his/her ringtone and alert notification via the shortcuts. Since, I don't read the change notes for every single app I upgrade I was unaware that the ringtone option exists and the default was KeypressReturn. I modified my shortcuts and tested each one of them while going back and checking what it was set to in Settings. It been almost a full day now and my ringtone has not been reset. Thanks everyone for your time and suggestions!

Categories

Resources