Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,731,116 Members 47,179 Now Online
XDA Developers Android and Mobile Development Forum

Guide/How-To: Disable Annoying Increasing Ring

Tip us?
 
liamstears
Old
(Last edited by liamstears; 27th April 2014 at 05:59 PM.)
#1  
liamstears's Avatar
Senior Member - OP
Thanks Meter 1493
Posts: 1,955
Join Date: Nov 2007
Location: Kent

 
DONATE TO ME
Default Guide/How-To: Disable Annoying Increasing Ring

I hated the annoying increasing ring so set out to fix it

For those that just want a quick flashable zip please scroll to the bottom

Thanks to the amazing gharrington and his thread: http://forum.xda-developers.com/gala...gtone-t1976241

It turned out to be quite simple

Basically its exactly the same as what he said but the files have slightly changed for the S5, so head over to his thread to grab the SecPhone Diss.zip

You need zip as above
Java jdk Installed and Environment Variables set correctly (if you don’t know how Google it)
SecTeleService.apk for you rom (Deodexed, in system/priv-app)
Notepad ++
And WinRAR/7zip.

Heres how its done:

1. Place SecTeleService.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 SecTeleService.apk and hit Enter. When this is finished you should have a new folder called out.

4. Go to: SecPhone Diss\out\com\android\phone and open Ringer$2.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. It should be line 482. The v1 v6 etc may be different!

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

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

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

.line 1039
const-wide/16 v2, 0x7d0

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

7. 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

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

Job done!


Thanks goes out to gharrington for the original method, I merely just updated it for the S5

For those that want ease and speed here's a flashable zip: http://www.androidfilehost.com/?fid=23329332407589562 Please note this was made for echoe rom so I can only confirm working with echoe rom
UK HTC One XL 32gb - Venom ViperXL!

One XL Venom Theme Animation

Sensation Venom Theme Animation
Sensation Theme Animation
DHD Theme Animation
Old Thread - XDA Forum Link

Please Donate $

My name is Liam Stears, username is liamstears, im not laim or liamsters or liamstars or limestears, please check you use my name right...
The Following 6 Users Say Thank You to liamstears For This Useful Post: [ Click to Expand ]
 
Docmjldds
Old
#2  
Docmjldds's Avatar
Senior Member
Thanks Meter 374
Posts: 4,107
Join Date: Jan 2010
Location: Henderson, NV
Quote:
Originally Posted by liamstears View Post
I hated the annoying increasing ring so set out to fix it

For those that just want a quick flashable zip please scroll to the bottom


For those that want ease and speed here's a flashable zip: http://www.androidfilehost.com/?fid=23329332407589562
Used this on the [ROM][G900F][26/04] XtreStoLite v.1 [Extremely Debloated][The Lightest TW Rom][AROMA Add-on Package][ART Compatible][547 MB]ROM and it killed systemui. Caused almost impossible FC's to deal with. Ended up having to Nandroid. This ROM is Odexed instead of deodexed. Not sure if that would have an issue, Just an FYI to others. (the flashable zip)
Retired Nexus One on T-MOB
Retired Sensation
Retired Galaxy S2
Retired Galaxy S3
Retired Galaxy S4


T-Mob SM-G900T Samsung Galaxy S5 <<<<<<The new kid on the block April 11,2014
Sandisk 64Gb Class 10
Not affiliated anymore with any ROM, Developer,
or anyone or anything that may be construed as
a base for Trolling
 
liamstears
Old
#3  
liamstears's Avatar
Senior Member - OP
Thanks Meter 1493
Posts: 1,955
Join Date: Nov 2007
Location: Kent

 
DONATE TO ME
Thanks for letting us know, I will edit the op
UK HTC One XL 32gb - Venom ViperXL!

One XL Venom Theme Animation

Sensation Venom Theme Animation
Sensation Theme Animation
DHD Theme Animation
Old Thread - XDA Forum Link

Please Donate $

My name is Liam Stears, username is liamstears, im not laim or liamsters or liamstars or limestears, please check you use my name right...
 
stalli0nUK
Old
#4  
stalli0nUK's Avatar
Senior Member
Thanks Meter 154
Posts: 226
Join Date: Jun 2013
Location: Oxford
Thanks worked great by following your instructions. but I also deleted the SecTeleService.odex file and wiped cache and dalvic, before rebooting into the OS.. works great thanks
Odexed ROM

Samsung S5 - G900F
XtreStoLite ROM
KT-SGS5 Kernel
The Following User Says Thank You to stalli0nUK For This Useful Post: [ Click to Expand ]
 
djluisbento
Old
#5  
djluisbento's Avatar
Junior Member
Thanks Meter 6
Posts: 20
Join Date: May 2010
Location: Leiria
https://play.google.com/store/apps/d...increasingring

Works great.
 
liamstears
Old
#6  
liamstears's Avatar
Senior Member - OP
Thanks Meter 1493
Posts: 1,955
Join Date: Nov 2007
Location: Kent

 
DONATE TO ME
Quote:
Originally Posted by djluisbento View Post
Yes it does but then you get an annoying notification and an app running in the background
UK HTC One XL 32gb - Venom ViperXL!

One XL Venom Theme Animation

Sensation Venom Theme Animation
Sensation Theme Animation
DHD Theme Animation
Old Thread - XDA Forum Link

Please Donate $

My name is Liam Stears, username is liamstears, im not laim or liamsters or liamstars or limestears, please check you use my name right...
The Following User Says Thank You to liamstears For This Useful Post: [ Click to Expand ]
 
eloko
Old
#7  
Member
Thanks Meter 6
Posts: 61
Join Date: Nov 2010
Why notification, why an app... Someone

Sent from my SM-G900P using XDA Premium 4 mobile app
 
koolboyztn
Old
#8  
koolboyztn's Avatar
Senior Member
Thanks Meter 81
Posts: 359
Join Date: Sep 2012
Location: sOmE WhErE
Quote:
Originally Posted by liamstears View Post
Yes it does but then you get an annoying notification and an app running in the background
u can go to App Info and uncheck the notification box.
 
iBimmer
Old
(Last edited by iBimmer; 18th July 2014 at 04:06 AM.)
#9  
iBimmer's Avatar
Member
Thanks Meter 6
Posts: 41
Join Date: Feb 2011
Location: Studio City, CA
Can someone post the already edited file for those who are not that familiar with Android and S5?

EDIT: Nevermind, stalli0nUK's post did the real job. Without deleting the corresponding odex file it didn't work.
Thanks again

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Blast Those Flags with Knock the Flags

Lately, we have seen a rather drastic shift in the world of mobile device gaming. The infamous Angry … more

Hide Numbers on Your SMS and Call Logs with Reflection

How many times have you given your device to someone else in order to show them a … more

Implement Split View in Your LG G2 KitKat Rom with Automated Installer

Some of you may have remembered a story on the Portal a few weeks back … more