OnePlus DR-1 Quadcopter Drone Available for Purchase

OnePlus has been teasing a new product for a while now, hailing it as a … more

KDZ of Android 5.0.1 Captured for T-Mobile LG G3

T-Mobile US is yet to release the 20B Lollipop build for the LG G3. Luckily enough, you … more

Build Custom Stock Kernel with Linaro GCC 4.9.1

With this guide for Sony devices, you will learn how to build a kernel using the Linaro … more

What’s Your Biggest Reason for Not Owning an iPhone?

With XDA being a community of Android enthusiasts, it is not uncommon to see … more
Post Reply Subscribe to Thread Email Thread

Guide/How-To: Disable Annoying Increasing Ring

27th April 2014, 12:24 PM |#1  
liamstears's Avatar
OP Senior Member
Flag Kent
Thanks Meter: 1,508
 
2,011 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 05:59 PM.
The Following 7 Users Say Thank You to liamstears For This Useful Post: [ View ]
27th April 2014, 05:33 PM |#2  
Docmjldds's Avatar
Senior Member
Flag Henderson, NV
Thanks Meter: 442
 
4,243 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, 05:56 PM |#3  
liamstears's Avatar
OP Senior Member
Flag Kent
Thanks Meter: 1,508
 
2,011 posts
Join Date:Joined: Nov 2007
Donate to Me
Thanks for letting us know, I will edit the op
29th April 2014, 01:44 AM |#4  
stalli0nUK's Avatar
Senior Member
Flag Oxford
Thanks Meter: 305
 
269 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, 09:39 AM |#5  
djluisbento's Avatar
Senior Member
Flag Leiria
Thanks Meter: 276
 
111 posts
Join Date:Joined: May 2010
More
https://play.google.com/store/apps/d...increasingring

Works great.
30th April 2014, 09:41 AM |#6  
liamstears's Avatar
OP Senior Member
Flag Kent
Thanks Meter: 1,508
 
2,011 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, 01:43 AM |#7  
Senior Member
Thanks Meter: 33
 
172 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, 04:11 PM |#8  
koolboyztn's Avatar
Senior Member
Flag sOmE WhErE
Thanks Meter: 94
 
398 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, 10: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 04:06 AM.
16th September 2014, 05:19 PM |#10  
Senior Member
Thanks Meter: 49
 
356 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