[G1 Android Development] alanPr:
Custom ringtones for contacts don't work

With croniccorey's help I was able to install the CronMod. It is sensibly faster than ezGingerbread which I've been using before. More important, it is faster without using Autokiller Memory Optimizer which was mandatory with ezGingerbread.

There are though, two annoying problems I didn't have with the other ROM.

With ezGingerbread I have created a folder structure for sounds on SD under /sdcard/media/audio with four folders, Alarms, Music, Notifications and Ringtones. I've copied the custom notifications (in native ogg format, 2 channels, 112 KHz bit rate and 48 KHz sample rate) in the Notifications folder, the custom ringtones (in mp3 and ogg formats) under Ringtones and the custom alarms (in native ogg format) under Alarms. Alarms and Notifications are working fine. However, ringtones for contacts don't work. I mean the custom ringtones are showing in the list of what's available, they can be played when trying one or another, but when the contact calls, the phone plays the system default ringtone. It doesn't matter if the custom ringone is in mp3 or ogg format, the phone ignore the setting and plays the default.

2nd problem is with the keyboard. I have installed from the market a Multiling Keyboard for use with foreign languages. CronMod has only the default Android keybord, enabled by default. After installing Multiling Keyboard a new check box becomes available for the new keyboard. With both keyboards enabled, or only with Multiling keyboard enabled and the default Android keyboard disabled, the new setting stays for only the time I'm using the Multiling keyboard. When I come back, to send antoher message, or email, or write a note, the Multiling keyboard is no longer available. I have to go back in settings re-enable it and disable (or not) the Android keyboard. This is a problem specific to this mod. I didn't have it in ezGingerbread.

Any help is greatly appreciated!

EDIT:

It turns out that the ogg sound files used for alarms, notifications, ringtones and ui are not all encoded with the same parameters. When I was still on ezGingerbread I needed some custom voice notifications for new email, new text message, new missed call, etc... First I looked at one of the notifications in /system/media/audio/notifications. I don't remember which one I checked, but it was stereo (2 channels), 44.1 sample rate and 112 Kbs bit rate. I wrongfully assumed that all the other ogg files are encoded at the same parameters. Consequently, all the new notifications, alarms and ringtones created with NeoSpeech voices and parts of different mp3s, I encoded with the same parameters mentioned above. All the notifications worked, all the alarms worked, but the ringtones did not. What's strange is that most mp3 didn't work either, but some did, although they were all created by me, using the same program with the same encoding parameters. Also, all these files, ogg and mp3 worked fine in ezGingerbread, but only some worked in CronMod. It seems that CronMod, although it can play all those files fine, in any player, it's more choosy when it comes to using them for ringtones. Anyway, for those interested in creating their own ringtones for this excellent ROM, they should be encoded in ogg format at 44.1 KHz sample rate, mono (1 channel) and 48 KHz audio bit rate.

I couldn't figure out yet why the setting for using the Multililing keyboard is forgotten so fast in CronMod.