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
So after using the Samsung Galaxy S II for over a month now I've had one complaint. In-Call Volume using the handset ear piece. It was "OK" in quiet places but anywhere else...way below par.
So, after looking around for several weeks trying to find a fix I finally got help from a well know dev (Entropy512) as well as using system/lib audio files from Designgears ROM 'Perception'.
So...how do you finally get your in-call volume increased?
First and foremost...Always backup whatever you're changing. Better safe than sorry. Just make a copy of your current system/lib folder, rename it something like 'backup_lib' and place on your sd card somewhere.
Option 1
Download this flashable zip, flash it in CWM, Reboot, Enjoy. (This zip includes some audio files from the Perception ROM, if for any reason DesignGears has an issue with this PM me and I will remove the zip. I'm only using the files to help others solve their in-call volume issue)
MAKE A BACKUP BEFORE FLASHING
Download the Flashable Update Here
I have tested this on three different SGSII's and all seems well! This is a NO WIPE flash, I do reccomend clearing your Dalvik Cache and Cache Partition though.
-Reboot into Recovery
-Scroll down to 'Advanced' and select
-Select "clear Dalvik Cache"
-Flash this update
-Reboot your phone and enjoy!
Option 2 (Incase the flash doesn't work or I am asked to remove the the zip file)
1) Download Designgears ROM 'Perception' Found Here
2) Open the zip file of your current ROM (doesn't matter what ROM)
3) Open the system folder and then open the system/lib folder (of your current ROM)
4) Next, Open the same folder in the Perception ROM
5) Copy the files listed below from the Perception ROM and paste them over the files in your ROM:
- lib_Samsung_Acoustic_Module_Llite.so
- lib_Samsung_Resampler.so
- lib_Samsung_Sound_Booster.so
- libaudio.so
- libaudioeffect_jni.so
- libaudioflinger.so
- libaudiohw_op.so
- libaudiohw_sf.so
- libaudiopolicy.so
- liblvvefs.so
- libmediayamaha.so
- libmediayamaha_jni.so
- libmediayamaha_tuning_jni.so
- libmediayamahaservice.so
- libsamsungAcousticeq.so
- libsamsungSoundbooster.so
- libsoundalive.so
- libsoundpool.so
- libSR_AudioIn.so
- libyamahasrc.so
*Only copy/replace the files listed above as they are only audio files. DO NOT COPY/REPLACE all system/lib files... You'll have unwanted consequences and you'll probably kill a puppy.
6) Now go to the Perception ROM and open system\app and find phone.apk. (Save a copy of your current phone.apk...Just in case)
-Copy (Perception's) phone.apk and replace the phone.apk on your current ROM.
7) After you replace the files listed above on your ROM, reflash your ROM and enjoy your increased call volume.
Note: If you don't want to reflash your ROM and risk losing any settings, you should be able to copy the files and replace them with Root Access and a file explorer, then Reboot your device immediately after. I haven't tried this yet so if someone wants to try and leave feedback, please feel free.
EDIT: Copying the files using a root explorer does work but may cause your phone to crash/reboot afterwards. I'd still recommend just re-flashing the ROM to avoid potential issues. Once again, make sure and make a back up so you can revert any changes if something doen't work properly.
I will try uploading a zip file with appropriate files so you can download but currently I do not have Designgears permission. This is their code and I don't want to step on any toes.
EDIT: I have tried reaching out to DG for permission but had no luck, if he asks that I remove the zip file, I will do so.
Known Potential Issues:
- When flashing over a stock/rooted ROM this update may cause the phone application to crash/force close. I have tried this update personally on every ROM I could flash and haven't had any issues. However, I have not tried it on the stock ROM. If you're on stock/rooted, please make a backup so if it does cause issues you can simply revert the changes.
Much thanks goes to Entropy512 for the help with solving this issue and Designgears ROM 'Perception'. Using Perception showed me that increasing the in-call volume was possible! (it's a very stable and awesome ROM as well )
***UPDATE***
Due to some people being a worried about flashing the update I have taken the liberty of making the backup files for you and making them flashable!
- I have made revert files for all of the major ROM's we currently have for our device. I did not include Perception because that ROM is where the audio files originated from. Below is the download links for the backups.
IF my volume fix does NOT work, simply download the backup for your ROM and flash it. It will revert all the changes my fix made.
- Revert_CM7.1_Stable
- Revert_H8s2_1.2.2
- Revert_Serendipity_8.2
- Revert_Stock_UCKH7
- Revert_UnNamed_1.2
- Revert_MIUI 1.11.4 v1
- If you are using Perception ROM you do NOT need the volume fix as this ROM has the files built in
As a side note, I have tried this on several I9100 ROM's as well and had luck with them all.
If this thread helps, please click the thanks button for me, I'm new to the XDA community.
Any I9100 ROM should work here for the libs - however:
Your mic will be screwed up for outgoing audio unless you change the Samsung Noise Reduction settings. (DG forced this in Perception, I believe he did it in an APK somewhere and not in the libs.)
Entropy512 said:
Any I9100 ROM should work here for the libs - however:
Your mic will be screwed up for outgoing audio unless you change the Samsung Noise Reduction settings. (DG forced this in Perception, I believe he did it in an APK somewhere and not in the libs.)
Click to expand...
Click to collapse
I just tried a call and you're correct, the mic isn't working properly. Do I need to find the APK or do you know what changes I need to make? This is a popular issue and I'm hoping this thread can help.
Edit: I found some APK's....any idea which one would deal with the mic?
-CallSetting.apk
-Phone_Util.apk
-Phone.apk
-Settings.apk
Ahahaha, good thing I made a backup before pasting, but pasting the files in root explorer does work, however your phone will crash and reboot, but it is louder.
Doesn't work on the apk :v
penguinlogik said:
Ahahaha, good thing I made a backup before pasting, but pasting the files in root explorer does work, however your phone will crash and reboot, but it is louder.
Click to expand...
Click to collapse
I'm testing different apk's right now. As soon as I figure out which apk the fix is located in I'll edit the post.
Maybe DG can drop a hint to me
Hmm does this enable the AUDIO part of the Samsung Service mode?
penguinlogik said:
Hmm does this enable the AUDIO part of the Samsung Service mode?
Click to expand...
Click to collapse
I haven't tried the audio menu yet, feel free to try if you'd like and let me know. 2 birds 1 stone.
Nope... ATT WHY YOU DISABLE THE MOST IMPORTANT MENU.
penguinlogik said:
Nope... ATT WHY YOU DISABLE THE MOST IMPORTANT MENU.
Click to expand...
Click to collapse
I figured out which apk fixes the mic issue it's the phone.apk. I updated the original post. Sorry for the set back. Let me know if you experience any issues
Just posting another screenshot to show the phone.apk.
penguinlogik said:
Ahahaha, good thing I made a backup before pasting, but pasting the files in root explorer does work, however your phone will crash and reboot, but it is louder.
Doesn't work on the apk :v
Click to expand...
Click to collapse
Try copying the CallSetting.apk as well (use both). If you still don't have any luck with fixing the mic issue and you're using a file manager to make the switch, try re-flashing your ROM with the apk changes instead.
Make a backup before doing it so you can restore all your settings if it doesn't work for some reason.
It works after I replaced it in my ROM zip
Sent from my SAMSUNG-SGH-I777 using xda premium
penguinlogik said:
It works after I replaced it in my ROM zip
Sent from my SAMSUNG-SGH-I777 using xda premium
Click to expand...
Click to collapse
Did you have to re-flash? Just trying to make sure my instructions are correct.
Did you need to add both apk's as well?
No, I just added replaced the files in the Unnamed 1.1.0 full update zip, ran an update via CWM, with only the phone.apk and microphone works.
penguinlogik said:
No, I just added replaced the files in the Unnamed 1.1.0 full update zip, ran an update via CWM, with only the phone.apk and microphone works.
Click to expand...
Click to collapse
Ok, glad it works and the kinks are worked out thanks for you patience and tests.
Thats awesome news. Low mic has always been an issue for me. Just wondering if someone can create a flash able zip that automates everything, if possible.
Great work guys.
daraj said:
Thats awesome news. Low mic has always been an issue for me. Just wondering if someone can create a flash able zip that automates everything, if possible.
Great work guys.
Click to expand...
Click to collapse
IF I can get approval from Designgears to use some sources from his ROM I shouldn't have any issues putting this into a zip file for everyone. I've reached out to DG, just awaiting a response
Great keep us posted please. It will make a big difference to many people
Sent from my SAMSUNG-SGH-I777 using XDA App
crazyagg said:
IF I can get approval from Designgears to use some sources from his ROM I shouldn't have any issues putting this into a zip file for everyone. I've reached out to DG, just awaiting a response
Click to expand...
Click to collapse
Excellent! Been looking for something like this, because I also noticed that the volume was really horrible... Keep us posted on a zip file. Rather be "SAFER" than sorry with doing something that does it automagically for me
Knowing my patience, I'll probably manually do it once I get home from school... lol
SpectraDawn said:
Knowing my patience, I'll probably manually do it once I get home from school... lol
Click to expand...
Click to collapse
LOL! Me too! I all over this!
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...
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...
My phone is running AOSP Extended 14.1. It's a bit of a pain to have to copy my custom notification sounds & ringtones to the media folder & change permissions every time I flash an updated ROM. Is there a way to make a flashable zip file to do this?
dwl99 said:
My phone is running AOSP Extended 14.1. It's a bit of a pain to have to copy my custom notification sounds & ringtones to the media folder & change permissions every time I flash an updated ROM. Is there a way to make a flashable zip file to do this?
Click to expand...
Click to collapse
omg just put into the ringtones folder in internal storage/sdcard it will show up in the list of ringtones and notification
i feel so bad for you bcs you didnt know xD
Also create a folder named Notification and put your custom sounds in there
so its two folders
Ringtones
Notifications
<blush> now my education is complete