[AT&T Samsung Galaxy S II SGH-I777] crazyagg:
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.