[Galaxy S III General] gharrington:
This Guide will show you how to Disable increasing ringtone and enable Record feature on Jellybean 4.1.1 without decompiling SecPhone.apk.

You will need to download the zip at the bottom of this thread and unpack folder to desktop.

Java jdk Installed and Environment Variables set correctly (if you don’t know how Google it)

SecPhone.apk for you rom (Deodexed)

Notepad ++

And 7zip.

1. Place SecPhone.apk into SecPhone Diss folder downloaded previously.

2. Hold shift and right click mouse in folder to bring up menu and click: open command prompt here.

3. Type: java -Xmx512m -jar baksmali.jar SecPhone.apk and hit Enter. When this is finished you should have a new folder called out.

4. Go to: SecPhone Diss\SecPhone.apk\smali\com\android\phone and open Ringer$1.smali with Notepad ++.

5. Search for:Landroid/media/AudioManager;->setStreamVolume(III)V .There will be 2 entries. You want the first one, it should match the code below. The v1 v6 etc may be different!

6. Delete the line marked with -- .Increasing ringtone gone!

---------------------------------------------------------------------------------------------------------

iget-object v1,v1,Lcom/android/phone/Ringer;>mAudioManager:Landroid/media/AudioManager;

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

.line 573

const/4 v1, 0x7

const-wide/16 v2,0x7d0

----------------------------------------------------------------------------------------------------------

Now for the Record function. If you don’t want this function skip to step 10

7. Go to SecPhoneDiss\SecPhone.apk\smali\com\android\phone\PhoneFeature .smali and open withNotepad ++

8. Search for invoke-static {}, Lcom/android/phone/PhoneFeature;->makeFeatureForUsa()V

9. Add the code marked with ++

----------------------------------------------------------------------------------------------------------

invoke-static {}, Lcom/android/phone/PhoneFeature;->makeFeatureForJapan()V

.line 796

:cond_d

invoke-static {}, Lcom/android/phone/PhoneFeature;->makeFeatureForUsa()V

.line 797

++sget-object v0, Lcom/android/phone/PhoneFeature;->mFeatureList:Ljava/util/HashMap;

++const-string v2, "voice_call_recording"

++const/4 v4, 0x1

++invoke-static {v4}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

++move-result-object v3

++invoke-virtual {v0, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

return-void

-------------------------------------------------------------------------------------------------------------------

10. Now hold shift and right click mouse in folder to bring up menu and click: open command prompt here again and this time type: java -Xmx512m -jar smali.jar out -o classes.dex when complete you will have a new file called classes.dex

11. Right click SecPhone.apk and open archive with 7zip. Inside will be a file named classes.dex replace this one with the one just made by drag drop method.

Job done!

If this helps you the please click Thanks

Be sure to checkout my rom here: http://xdaforums.com/showthread.php?t=1970440

Disclaimer: Do at your own risk. I am not responsible for any damage/data loss etc from doing this Mod. No one made you do it.