Cyngn, OnePlus, Micromax – The Legal Battle

Recently, a battle has been waging in India over the rights to distribute the commercial … more

Lean Mean Battery Power Saving App Review

We talk a lot about battery topics here at XDA TV. We talk about everything from Power Banks to USB … more

Android 5.1 Possibly Coming February 2015

Google released Android 5.0 just over a month ago, and since then Lollipop has been trying to … more

Double Tap to Wake on the Nexus 6 Without Root

A few weeks ago, we featured an app which allowed the Nexus 6 to regain the double tap to wake … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Guide/How-To: Disable Annoying Increasing Ring

OP liamstears

27th April 2014, 01:24 PM   |  #1  
liamstears's Avatar
OP Senior Member
Flag Kent
Thanks Meter: 1,500
 
1,992 posts
Join Date:Joined: Nov 2007
Donate to Me
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
Last edited by liamstears; 27th April 2014 at 06:59 PM.
The Following 7 Users Say Thank You to liamstears For This Useful Post: [ View ]
27th April 2014, 06:33 PM   |  #2  
Docmjldds's Avatar
Senior Member
Flag Henderson, NV
Thanks Meter: 434
 
4,228 posts
Join Date:Joined: Jan 2010
More
Quote:
Originally Posted by liamstears

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)
27th April 2014, 06:56 PM   |  #3  
liamstears's Avatar
OP Senior Member
Flag Kent
Thanks Meter: 1,500
 
1,992 posts
Join Date:Joined: Nov 2007
Donate to Me
Thanks for letting us know, I will edit the op
29th April 2014, 02:44 AM   |  #4  
stalli0nUK's Avatar
Senior Member
Flag Oxford
Thanks Meter: 255
 
248 posts
Join Date:Joined: Jun 2013
More
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
The Following User Says Thank You to stalli0nUK For This Useful Post: [ View ]
30th April 2014, 10:39 AM   |  #5  
djluisbento's Avatar
Member
Flag Leiria
Thanks Meter: 74
 
36 posts
Join Date:Joined: May 2010
More
https://play.google.com/store/apps/d...increasingring

Works great.
30th April 2014, 10:41 AM   |  #6  
liamstears's Avatar
OP Senior Member
Flag Kent
Thanks Meter: 1,500
 
1,992 posts
Join Date:Joined: Nov 2007
Donate to Me
Quote:
Originally Posted by djluisbento

https://play.google.com/store/apps/d...increasingring

Works great.

Yes it does but then you get an annoying notification and an app running in the background
The Following User Says Thank You to liamstears For This Useful Post: [ View ]
1st May 2014, 02:43 AM   |  #7  
Senior Member
Thanks Meter: 21
 
112 posts
Join Date:Joined: Nov 2010
Why notification, why an app... Someone

Sent from my SM-G900P using XDA Premium 4 mobile app
10th May 2014, 05:11 PM   |  #8  
koolboyztn's Avatar
Senior Member
Flag sOmE WhErE
Thanks Meter: 94
 
394 posts
Join Date:Joined: Sep 2012
More
Quote:
Originally Posted by liamstears

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.
17th July 2014, 11:10 PM   |  #9  
iBimmer's Avatar
Member
Flag Studio City, CA
Thanks Meter: 7
 
51 posts
Join Date:Joined: Feb 2011
More
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
Last edited by iBimmer; 18th July 2014 at 05:06 AM.
16th September 2014, 06:19 PM   |  #10  
Senior Member
Thanks Meter: 48
 
342 posts
Join Date:Joined: Jul 2012
Quote:
Originally Posted by liamstears

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

Flashed the zip. Get force closes on InCall UI but the ringer doesn't increase.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes