CyanogenMod 9 - How to add notifications? - Galaxy S II Q&A, Help & Troubleshooting

To start with, I have the newest version of "CyanogenMod 9 nightly builds"
I might be missing something here but I can't seem to ADD new notifications to this MOD. I added a ringtone, (easy enough) but I have tried adding notifications to the Root DIR "notifications" and I have added them to DIR "media/audio/notifications" and neither show up. what am I missing?

Have you rebooted? The ROM scans the /system directory on boot.
If so, have you checked the permissions match the existing ogg or mp3 files?

Or, if you don't want to mess with system files, use Ringtone Maker app.

LenAsh said:
Have you rebooted? The ROM scans the /system directory on boot.
If so, have you checked the permissions match the existing ogg or mp3 files?
Click to expand...
Click to collapse
Yes and Yes.
Still not working...

i change my ringtones and stuff before flashing, just to let you know that can be done too

I have never had a problem doing it with any other ROM before. So i don't know what is going on with CM9...

Related

[Q] Help on Custom notifications.. Please

I'm a newbie and need help. I have a rooted atrix running Gingerblur 3.5. I have used an app to create a custom ogg file to use as a notification. I then copied the file to system/media/audio/notifications. After rebooting the phone the file shows up in the list of notification choices and lets me select it. However the file is not being used by the system. The file directly beneath it is used even though the custom one is selected. What have I done wrong or failed to do?
Thanks.
handcentSMS has a ringtone picker that works great with other apps.
Edit:
After looking in root explorer.. Put your ogg in
/sdcard/media/audio/notifications
Not
/system/...
WiredPirate said:
handcentSMS has a ringtone picker that works great with other apps.
Edit:
After looking in root explorer.. Put your ogg in
/sdcard/media/audio/notifications
Not
/system/...
Click to expand...
Click to collapse
Thanks, but that was not the problem. Like I stated I am new at this, but I did figure out the problem. The permissions on the file were set to not allow the owner to do anything. After changing the owner permissions it is working now. I had to do this in the /system/media/audio/notifications because the sd card location did not allow permission changes.
Thanks again for your interest & reply though.
WiredPirate said:
/sdcard/media/audio/notifications
Click to expand...
Click to collapse
is that where im supposed to place all my ringtones and such? cause i put them in a ringtone folder and sometimes when i restart the phone or lose a full charge my default ringtone changes, it's like the phone couldnt find it anymore...
OP its good you figured it out. How did you change the permissions? Never heard of that..?
sanriver12 said:
is that where im supposed to place all my ringtones and such? cause i put them in a ringtone folder and sometimes when i restart the phone or lose a full charge my default ringtone changes, it's like the phone couldnt find it anymore...
Click to expand...
Click to collapse
That is where I keep them and it works great for me, I never have the prob where the default changes. but! You have to put them in their correct folders..
/notifications
/ringtones
/alarms

[Q] How to disable startup sound on Rooted phones and edit boot up pictures

Device: Motorola CLIQ MB 200 Android 2.1 phone [Rooted] Blur_Version.2.1.5.MB200.T-Mobile.en.US
Which file needs to be edited to disable the annoying startup up boot sound? I would rather edit then use an app.
Can T-Mobile "Stick Together" animation that plays at each boot be edited? Can Motorola animation that plays before that be edited?
EDIT: HERE's how:
c627627 said:
I will and to clarify, initial Motorola splash is seen but Motorola Blur animation is gone. Cell Phone carrier animation is gone as well.
As for my question - success! I hope this helps someone else:
• Renaming /system/media/bootanimation.zip gets rid of the default Motorola and default Cell carrier animation and the Android logo changing colors can be seen instead at boot up.
• Renaming /system/media/audio/notifications/OnTheHunt.ogg is the only way to get rid of the boot up sound.
Click to expand...
Click to collapse
I have a couple of other questions: How can you disable your Contacts being backed up by your phone carrier?
Is it necessary to manage background RAM usage on Androids, should you make Apps release RAM they used after you finish using them?
Using Droid Explorer I found that this zip file contains the boot up animation:
/system/media/bootanimation.zip
The zip file contains a series of .png files which I assume can be simply replaced?
But you can use Droid Explorer from your PC to only copy files from phone - not write files TO phone. How do I mount the phone as read and write so I can simply copy-paste files from PC?
set the sytem sound to zero and the startup sound will atomatically be disabled...
---------- Post added at 02:27 PM ---------- Previous post was at 02:17 PM ----------
set the sytem sound to zero and the startup sound will atomatically be disabled...
---------- Post added at 02:31 PM ---------- Previous post was at 02:27 PM ----------
c627627 said:
Using Droid Explorer I found that this zip file contains the boot up animation:
/system/media/bootanimation.zip
The zip file contains a series of .png files which I assume can be simply replaced?
But you can use Droid Explorer from your PC to only copy files from phone - not write files TO phone. How do I mount the phone as read and write so I can simply copy-paste files from PC?
Click to expand...
Click to collapse
Use root explorer in your phone to acces system/media/bootanimation.zip. Then copy it to sd card and extract it edit the .png files then re zip it and copy the modified bootnimation.zip back to /system/media/ and reboot your device. (Backup orginal bootanimation.zip as well as do a nandroid backup of your rom before doing so because you might get into problem, so you can revert anytime)
---------- Post added at 02:32 PM ---------- Previous post was at 02:31 PM ----------
c627627 said:
Using Droid Explorer I found that this zip file contains the boot up animation:
/system/media/bootanimation.zip
The zip file contains a series of .png files which I assume can be simply replaced?
But you can use Droid Explorer from your PC to only copy files from phone - not write files TO phone. How do I mount the phone as read and write so I can simply copy-paste files from PC?
Click to expand...
Click to collapse
Use root explorer in your phone to acces system/media/bootanimation.zip. There you will have mount as R/W option. Click it and then copy it to sd card and extract it edit the .png files then re zip it and copy the modified bootnimation.zip back to /system/media/ and reboot your device. (Backup orginal bootanimation.zip as well as do a nandroid backup of your rom before doing so because you might get into problem, so you can revert anytime)
c627627 said:
Device: Motorola CLIQ MB 200 Android 2.1 phone [Rooted] Blur_Version.2.1.5.MB200.T-Mobile.en.US
Which file needs to be edited to disable the annoying startup up boot sound? I would rather edit then use an app.
Can T-Mobile "Stick Together" animation that plays at each boot be edited? Can Motorola animation that plays before that be edited?
I have a couple of other questions: How can you disable your Contacts being backed up by your phone carrier?
Is it necessary to manage background RAM usage on Androids, should you make Apps release RAM they used after you finish using them?
Click to expand...
Click to collapse
IMO, ES File Explorer is the best on the Market. It's free and it allows read/write access for root users. Just make sure to enable the option in the Setting menu. Then select your new bootanimation.zip file and paste it into /system/media. Rename the original bootanimation.zip.bak (if you like - although that boot animation is horrible so it's doubtful you'll ever need it again). Then simply reboot. There are thread on XDA dedicated to sharing custom boot animations - just do a search.
In terms of RAM, Android manages it pretty well all by itself. I've heard users more experienced than myself say that unused memory is wasted memory. Point is - don't worry about it. And definitely do not use a task killer unless you know exactly what you're doing. I recommend the app Watch Dog. There is a free add supported version in the Market. It's a great tool if you want to monitor your RAM usage.
By the way, I HIGHLY recommend you flash CyanogenMod 7. The lastest nightly version 86 is running wonderfully on my Cliq. You'll notice huge improvements in terms of performance and battery... everything is better. Flash it asap. Either use ROM Manager or check out the Cliq thread on simplyandroid.com.
Thank you for great suggestions, I will look into all of that. Yes! ES File Explorer is better than Astro File manager I had installed. I think both ES File Explorer and ES Task manager need to be installed. And then you can copy-paste files from SD card to phone system if you CHECK: Mount File System in its settings. Thank you.
I understand I need to set system sound to zero and the startup sound will automatically be disabled.
Cliq has no system sound setting, look: Settings > Sound & display:
• Ringer volume
• Media volume (for music and videos)
• Phone ringtone
• Phone vibrate
• Notification ringtone [you can just select messaging tone here]
• Audible touch tones [Disabled]
• Audible selection [Disabled]
• Media audio effects [Disabled]
• Haptic feedback [Disabled]
• SD card notifications Notification [Disabled]
That's it. Where is system sound so I can disable boot-up sound?
I guess its Phone Ringtone!!!
c627627 said:
I understand I need to set system sound to zero and the startup sound will automatically be disabled.
Cliq has no system sound setting, look: Settings > Sound & display:
• Ringer volume
• Media volume (for music and videos)
• Phone ringtone
• Phone vibrate
• Notification ringtone [you can just select messaging tone here]
• Audible touch tones [Disabled]
• Audible selection [Disabled]
• Media audio effects [Disabled]
• Haptic feedback [Disabled]
• SD card notifications Notification [Disabled]
That's it. Where is system sound so I can disable boot-up sound?
Click to expand...
Click to collapse
I guess its Phone Ringtone, try to set it to zero and reboot. You can also try setting each option to check which one is for boot sound. Since I don't have Cliq I can't tell the exact one.
In my gts5570 setting system volume to zero disable all unnecessary sounds such as bootup and others (it eventaully boosts battery performance also.)
Phone ringtone selects the sound for the phone ring. It does not have a volume setting - only selection of which ringtone you wish to use.
Ringer Volume has a volume selection obviously but that turns off ringing or message sound notification - and I just want to turn off boot up sound.
None of the sounds on the listed options correspond to the boot up sound.
I am trying to locate the sound in the system so I can replace it with a muted file with the same name. Any ideas where to look on the Cliq?
c627627 said:
Phone ringtone selects the sound for the phone ring. It does not have a volume setting - only selection of which ringtone you wish to use.
Ringer Volume has a selection but I do not want to turn off ringing or message sound notification.
None of the sounds on the listed options correspond to the boot up sound.
I am trying to locate the sound in the system so I can replace it with a muted file with the same name. Any ideas where to look on the Cliq?
Click to expand...
Click to collapse
First of all, you're right, unless you download a 3rd party volume managing app, you cannot adjust "system volume." And really, you don't want to set that to zero. If you do you will lose other sounds. The system volume manages every other volume setting on your Cliq. In other words, if you lower the system volume, the media volume will also be lowered. And perhaps this does not apply to all phones, but it definitely does with the Cliq. The best way to eliminate the sound at boot is to either remove the audio file from your /system/media (as you said), or to flash a different ROM.
As I said before CM7 is a great ROM for the Cliq. It has no sound at boot. After you flash and get the phone set up, it will feel like a brand new device. I don't know where the audio file is located for the stock 2.1 ROM, but seriously, check out simplyandroid.com and find the CM4Morrison 7 ROM thread, read thoroughly and flash away.
EDIT: I just did a quick search on boot audio file locations, and it appears it should be in /system/media/audio. Looks like every device/ROM is a bit different, but look for a file called something like, poweron.wav or boot.ogg or something to this effect. I can't check my device because I'm running a different ROM, but if you can locate the boot audio file, simply delete it or rename is .bak and then reboot.
Flashing is the next step. For now I just wanted to figure out how to change all the defaults. I am still looking for that audio file. It is definitely somewhere on the system... but where?
Also: simply renaming bootanimation.zip gets rid of the default Motorola and default Cell carrier animation and the Android logo changing colors instead is seen. Definitely a quick way to get rid of ugly animations.
c627627 said:
Flashing is the next step. For now I just wanted to figure out how to change all the defaults. I am still looking for that audio file. It is definitely somewhere on the system... but where?
Also: simply renaming bootanimation.zip gets rid of the default Motorola and default Cell carrier animation and the Android logo changing colors instead is seen. Definitely a quick way to get rid of ugly animations.
Click to expand...
Click to collapse
Like I said, the audio file should be in /system/media/audio. And yes, renaming or deleting the bootanimation.zip should result in the default animation. But the Motorola splash screen should remain. That's strange that it's gone.
I know I've said it twice before, but CM7 is amazing. When I finally flashed it on my Cliq, my only complaint was - why did I wait so long? My Cliq was very problematic when I was running the stock 2.1 update - and even before that with 1.5. But now it's customized and optimized and it runs brilliantly for a first generation Android phone. Check out the link below when you're ready.
http://www.simply-android.com/discussion/1459/rom-cyanogenmod-7-for-cliqdext-061611/#Item_2275
I will and to clarify, initial Motorola splash is seen but Motorola Blur animation is gone. Cell Phone carrier animation is gone as well.
As for my question - success! I hope this helps someone else:
• Renaming /system/media/bootanimation.zip gets rid of the default Motorola and default Cell carrier animation and the Android logo changing colors can be seen instead at boot up.
• Renaming /system/media/audio/notifications/OnTheHunt.ogg is the only way to get rid of the boot up sound.
c627627 said:
I will and to clarify, initial Motorola splash is seen but Motorola Blur animation is gone. Cell Phone carrier animation is gone as well.
As for my question - success! I hope this helps someone else:
• Renaming /system/media/bootanimation.zip gets rid of the default Motorola and default Cell carrier animation and the Android logo changing colors can be seen instead at boot up.
• Renaming /system/media/audio/notifications/OnTheHunt.ogg is the only way to get rid of the boot up sound.
Click to expand...
Click to collapse
That's great that you found the file for the sound at boot up. I remember that now... since you essentially froze the onthehunt.ogg file it won't be available as a notification anywhere else. But that's probably okay with you. I remember wondering why the 2.1 update included that notification sound at boot. It seemed silly that they recycled an old notification sound. At any rate, glad you fixed it.
Copying it to SD card and using it as a custom sound under the same or a different name would make it available again I think. But I just want to say that I understand what you are saying about flashing, and how good it can be.
Do you drive image your phone and if so which program do you use to make a drive image of your phone for quick restoration.
I would like to figure that out so that I can flash whatever I want and test it - knowing I can reimage my phone in minutes back to the state it was in before experimenting.
c627627 said:
Copying it to SD card and using it as a custom sound under the same or a different name would make it available again I think. But I just want to say that I understand what you are saying about flashing, and how good it can be.
Do you drive image your phone and if so which program do you use to make a drive image of your phone for quick restoration.
I would like to figure that out so that I can flash whatever I want and test it - knowing I can reimage my phone in minutes back to the state it was in before experimenting.
Click to expand...
Click to collapse
Yes, I do make regular backups using ClockworkMod recovery version 2.5.1.2. There are newer versions but this particular one was recommended by "team rogue." It has worked flawlessly. That's the first thing I would suggest - download Rom Manager, and then from within Rom Manager you can flash ClockworkMod Recovery. As you probably know it is through CWM that you are able to create nandroid backup images, restore the backups, as well as flash new ROMs. Nandroid backups are my little safety nets. I backup often.
OK, so stick with ClockworkMod recovery version 2.5.1.2 and do not upgrade.
Any ideas why, is it because of Cliq or something else?
I can really only make an educated guess as to why... the Cliq is an older device. My current phone is much newer, but I'm not even running the most recent CWM on it. I believe Rom Manager will prompt you with a message that displays your device, then you'll click yes to confirm, then you'll flash CWM... if I remember correctly it detects the proper version for you.
Sent from my HTC Vision using XDA App
Well thanks again.
https://market.android.com/details?id=com.koushikdutta.rommanager
Hope I got it right: Rom Manager > Scroll down to All ClockworkMod Recoveries > Select 2.5.1.2 > OK > to install ClockworkMod 2.5.1.2 instead of the latest v5.x or higher.
You may need to mount the system with RW access or Run Fix Permissions under Rom Manager first then go to Backup Current Rom > Enter backup name then the system will automatically run the backup and save it to
SD card:\clockworkmod\backup
c627627 said:
Well thanks again.
https://market.android.com/details?id=com.koushikdutta.rommanager
Hope I got it right: Rom Manager > Scroll down to All ClockworkMod Recoveries > Select 2.5.1.2 > OK > to install ClockworkMod 2.5.1.2 instead of the latest v5.x or higher.
You may need to mount the system with RW access or Run Fix Permissions under Rom Manager first then go to Backup Current Rom > Enter backup name then the system will automatically run the backup and save it to
SD card:\clockworkmod\backup
Click to expand...
Click to collapse
Sounds like you did it perfectly. I believe you only need to run Fix Permissions after you've flashed a new ROM. It should fix (or greatly reduce) any issues with FC's. But I have not had any problems with this myself.
It is now time for CyanogenMod 7 for Cliq as you suggested.
I am confused as to which one I should download fro the Cliq,
http://download.cyanogenmod.com/?type=stable
c627627 said:
It is now time for CyanogenMod 7 for Cliq as you suggested.
I am confused as to which one I should download fro the Cliq,
http://download.cyanogenmod.com/?type=stable
Click to expand...
Click to collapse
The Cliq is the Morrison... I'd start with the latest nightly. Remember to thoroughly wipe/factory reset to flash 'clean' the first time. If you continue to update the nightlies, you only need to wipe cache/dalvik cache each time you flash.
Also, there is a "superwipe" zip which can be found here:
http://www.simply-android.com/discussion/1617/rom-cyanogenmod-7-for-cliqdext-ongoing-nightly-updates
This also includes detailed instructions on how to flash for the first time, as well as how to flash the updates.

fix_mediaDrain.zip - HELP ME!!

HELP!!
When i was running the RGUI ROM (JB) there was a fix zip to use in CWM to fix the 'Media' drain in the battery.
This worked wonders! So i just tried to flash it to my device again, except now i'm running the 'Anonorom' ROM.
It worked. Or flashed without error anyway.
The problem now is that since the reboot, the 'Fonts' have failed to be picked by my apps.
This is most noticibly with UCCW. The widget i created for the homescreen uses about 5 different fonts and its defaulted to 1 default font.
When i open the widget to change the fonts back, it tells me theres only 1 font available; "Default" and that if i want to add more then to put them in 'sd:\fonts'.
I've gone back to my file manager and checked this location and there are LOADS of fonts in there still, so its not as if they've been deleted.
Clearly this is the work of the fix_mediaDrain.zip, which i now obviously regret flashing. And WHO KNOWS what other errors i will now encounter!
So my question is, other than reflashing the ROM (which would be a pain because i've also flashed the JKay framework and other things like that, and amanaged to get the phone to my liking) does ANYONE know of a kind of UNDO fix for this fix_mediaDrain.zip that i can flash.
Obviously i dont even know if it exists,im just praying, but if anyone has any ideas i would greatly appriociate it.
I'm guessing the media scanner has been stopped, or a .nomedia file has been placed in the fonts folder.
So first check if there is a file called .nomedia in this folder and if so, delete it and reboot.
If not, then get rescan media root from play and try to enable media scanner and reboot.
Report back please
slaphead20 said:
first check if there is a file called .nomedia in this folder and if so, delete it and reboot.
If not, then get rescan media root from play and try to enable media scanner and reboot.
Report back please
Click to expand...
Click to collapse
Firstly, thanks for your reply..
I've checked the location for a '.nomedia' file and no it does not exist.
I even checked 'Root Explorer' incase the file was hiddenin my regular file manager. Still nothing.
I downloaded the 'Rescan Media Root' app, which looked successful, but didnt fix my issue.
I tried a different app called 'media Rescan Lite', but that too did not fix the issue.
It's not looking good for me is it?
well the obvious path note really is to post in the Rom thread/contact dev and find out what the file does and how it can be reverted, let me know if you don't have enough posts and I will post link to your dilemma for you
slaphead20 said:
well the obvious path note really is to post in the Rom thread/contact dev and find out what the file does and how it can be reverted
Click to expand...
Click to collapse
I have contacted the developer of this fix to ask what it does exactly and if theres any way to undo the fix.
I have also added a post to the thread where this fix was first suggested to me in the past, incase anyone there might be able to shed some light on it..
I will post my findings once i ear back from anyone incase anyone else ever has this problem...
Thanks again.
SOLVED!!
I have managed to fix this problem!
This is going to sound RIDICULOUS but.....
I renamed the 'Fonts' folder on my sdcard slightly.
I say 'renamed', but all i did was make the filename all lowercase, creating "fonts" instead of "Fonts".
Then, IMMEDIATLY, the fonts on my widget wer back to normal..!
How very odd that this was changed by the 'fix_mediaDrain.zip' throgh CWM + reboot.
AndyGalaxy said:
I have managed to fix this problem!
This is going to sound RIDICULOUS but.....
I renamed the 'Fonts' folder on my sdcard slightly.
I say 'renamed', but all i did was make the filename all lowercase, creating "fonts" instead of "Fonts".
Then, IMMEDIATLY, the fonts on my widget wer back to normal..!
How very odd that this was changed by the 'fix_mediaDrain.zip' throgh CWM + reboot.
Click to expand...
Click to collapse
well solved :thumbup:

[Q] Taking audio files to Sense 5 ROM [solved)

Hi folks,
I flashed Sensedx5 ROM and I feel very happy with it.
But I miss some system audio files from Sense 4+. Ringtones, notifications and alarms have been deleted/changed in this new version of Sense.
So, I decided to extract files from a Sense 4 ROM (system/media/audio/... ) and pushed it into the right directories with ES file explorer (System write enabled).
It's OK for ringtones but not for alarms nor notifications. Files don't appear in customize menu.
Any idea to fix that?
I do not use Sense 5, but did you set the same permissions for them as the other files have there?
Yeah, already tried it. No change : files don't appear in the list (and erased after reboot)...
pirlouit2 said:
Yeah, already tried it. No change : files don't appear in the list (and erased after reboot)...
Click to expand...
Click to collapse
Are you using a custom kernel with system write protection disable?
No, I flashed Boot.img_Installer_RC2.0 - stock kernel.
pirlouit2 said:
No, I flashed Boot.img_Installer_RC2.0 - stock kernel.
Click to expand...
Click to collapse
Try to flash RC4.0, that one has system write protection disabled. It will work after that
Weird. Why does it work for ringtones and not for alarms and notifications?
Will give a try with NeXus kernel and see what happens. Stay tuned...
Double post. Deleted
You don't have to put them in system.
Simply put the media folders extracted from Sense 4+ with all its structure on sdcard will do. The system will pickup all the audio files when you select them in sound picker.
Doesn't work after flashing nexus kernel...
ckpv5 said:
You don't have to put them in system.
Simply put the media folders extracted from Sense 4+ with all its structure on sdcard will do. The system will pickup all the audio files when you select them in sound picker.
Click to expand...
Click to collapse
It didn't work at first try, but I did it again and reboot. Now it's working.
Thanks a lot, dude.

[Q] Manual remove system ringtones

Can someone show me how to remove the system ringtones from my phone. I'm rooted running HD revolution Rom. I know there's a way to take them completely off. Thanx in advance!
Well there are 3 ways really...
Adb pull each file from path directory where ringtones are stored
Using a FE, extract zip, navigate to where ringtones are stored, and delete the contents then rezip ROM zip
Or you can use a FW with ROM installed. Navigate through the files. Locate the directory where ringtones are stored, and delete the files
jxcorex28 said:
Adb pull each file from path directory where ringtones are stored
Click to expand...
Click to collapse
Won't "adb pull" just copy the file, and not delete the original from /system?
But I agree with the other 2 solutions. The last is probably the easiest if the ROM is already installed.
But what difference would this make? It won't change the amount of memory taken by the system partition, will it? Unless the goal is just to not have to scroll though unneeded ringtones when making a selection?
Thanx
The purpose is to erase the stock ringtones completely. I have an app that shuffles my text and phone call tones but each time I set it up for specific ringtones it always adds the stocks tones. Besides I don't use the stock tones so it won't hurt taking them out.
montez255 said:
The purpose is to erase the stock ringtones completely. I have an app that shuffles my text and phone call tones but each time I set it up for specific ringtones it always adds the stocks tones. Besides I don't use the stock tones so it won't hurt taking them out.
Click to expand...
Click to collapse
Gotcha.
You are right...I forgot to mention that...thank you for setting me straight...

Categories

Resources