[Galaxy S II Themes and Apps] LeoMar75:
No Increasing Ring

Thanks to

YG007

1) Decompile Phone.apk

2) Open Ringer$1.smali in your text editor and delete the following line of code:

invoke-virtual {v1, v3, v5, v4}, Landroid/media/AudioManager;->setStreamVolume(III)V

Noise Reduction OFF

Solution 1

Thanks to tarobun

1) Decompile Phone.apk

2) Open CallNotifier.smali in your text editor and modify as following.

From

.line 971
const/4 v3, 0x1
.line 975
.local v3, noise_reduction:Z

to

.line 971
const/4 v3, [COLOR="Red"]0x0[/COLOR]
.line 975
.local v3, noise_reduction:Z

SOLUTION 2

Thanks to tarobun

Download the Phone.apk file

Extract the classes.dex file (unzip Phone.apk classes.dex)

Open in hex editor

Search for the bytes: 32 84 2F 00 12 13 (there should be only 1 match)

Change the last byte to 03

Update checksum (java -jar FixDEXChecksum.jar classes.dex)

Save and add classes.dex back to apk (zip Phone.apk classes.dex)

Upload Phone.apk to /system/app

Reboot

* thanks to Lula for FixDEXChecksum

FixDEXChecksum.jar

Please keep in mind that by doing that, the Phone will start always with Noise Reduction off by default, this avoid the problem for those user who is experiencing Echo during call!

Big Photo Mod

:rolleyes:

1) Decompile Phone.apk

2) open /res/layout/call_card_person_info.xml in your Text Editor

3) replace the layout with the one i reworked below

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:gravity="center_horizontal" android:orientation="vertical" android:id="@id/callCardPersonInfo" android:layout_width="fill_parent" android:layout_height="fill_parent">
<RelativeLayout android:layout_width="fill_parent" android:layout_height="fill_parent">
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_centerHorizontal="true">
<ImageView android:orientation="vertical" android:id="@id/photo" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginTop="0.0dip" />
<LinearLayout android:layout_gravity="bottom" android:orientation="horizontal" android:id="@id/birthPanel" android:background="#77000000" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="33.0dip">
<ImageView android:layout_gravity="center_vertical" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/call_birthday_icon2" />
<TextView android:textSize="20.0sp" android:textColor="@color/twcolor001" android:layout_gravity="center_vertical" android:id="@id/birthdayRemainedDays" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="4.0dip" android:text="@string/BirthDay_remainedDays0" android:singleLine="true" />
</LinearLayout>
</FrameLayout>
</RelativeLayout>
<LinearLayout android:layout_gravity="center_horizontal" android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="43.0dip" android:layout_marginTop="12.0dip" >
<ImageView android:layout_gravity="center_vertical" android:id="@id/birthIcon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/call_birthday_icon" />
</LinearLayout>
</LinearLayout>
<RelativeLayout android:layout_width="fill_parent" android:layout_height="fill_parent">
<TextView android:textSize="16.0sp" android:textColor="@color/twcolor001" android:gravity="center_horizontal" android:id="@id/name" android:paddingLeft="4.0dip" android:paddingRight="4.0dip" android:layout_width="wrap_content" android:layout_height="48.0dip" android:layout_marginTop="88.0dip" android:lines="2" android:singleLine="false" android:shadowColor="#ff000000" android:shadowDx="2.0" android:shadowDy="2.0" android:shadowRadius="2.0" android:layout_centerHorizontal="true" />
<TextView android:textSize="16.0sp" android:textColor="@color/phone_number" android:gravity="center_horizontal" android:id="@id/phoneNumber" android:paddingLeft="4.0dip" android:paddingRight="4.0dip" android:layout_width="wrap_content" android:layout_height="29.0dip" android:layout_marginTop="126.0dip" android:singleLine="false" android:shadowColor="#ff000000" android:shadowDx="2.0" android:shadowDy="2.0" android:shadowRadius="2.0" android:layout_centerHorizontal="true" />
<TextView android:textSize="16.0sp" android:textColor="@color/twcolor003" android:gravity="center_horizontal" android:id="@id/cdnipNumber" android:paddingLeft="4.0dip" android:paddingRight="4.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/unknown" android:singleLine="true" />
</RelativeLayout>
</FrameLayout>

Please feel free to modify the layout if you don't like the way i did!

Finally you should also provided a full screen size (480x762) for the following pngs located on /res/drawable-hdpi

call_img_conference.png

call_img_unknown.png

call_ani_00.png

call_ani_01.png

call_ani_02.png

call_ani_03.png

call_ani_04.png

call_ani_05.png

call_ani_06.png

call_ani_07.png

That's it!