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

[N7100][MOD][KK][4.4.2] Disable Increasing Ringtone

Tip us?
 
klurosu
Old
(Last edited by klurosu; 28th May 2014 at 09:23 AM.)
#1  
klurosu's Avatar
Senior Member - OP
Thanks Meter 654
Posts: 526
Join Date: Apr 2011
Location: Phú Tho

 
DONATE TO ME
Thumbs up [N7100][MOD][KK][4.4.2] Disable Increasing Ringtone

Good morning buddys, here you got the holy MOD to our N7100 Galaxy Note II


Now, here we go!

You'll need:
SecTeleService.apk
HoloxTool_v1.0.1


1. Download and decompress with WinRAR to your desktop the "HoloxTool_v1.0.1" file.
2. Open “SecTeleService.apk” with WinRAR and take the “classes.dex” file to your folder “dex” (within “HoloxTool_v1.0.1”).
3. Run "HoloxTool.bat" and choose option "2".
4. Go to: “HoloxTool_v1.0.1\database\dex\classout\com\androi d\phone" and open: “Ringer$2.smali” file.
5. Search the line:"invoke-virtual {v2, v7, v3, v4}, Landroid/media/AudioManager;->setStreamVolume(III)V" and delete the whole line:


Quote:
.line 1038
iget-object v2, p0, Lcom/android/phone/Ringer$2;->this$0:Lcom/android/phone/Ringer;

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
- File must be like this:

Quote:
.line 1038
iget-object v2, p0, Lcom/android/phone/Ringer$2;->this$0:Lcom/android/phone/Ringer;

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

.line 1039
6. Save changes and recompile pressing the option "3" in “HoloxTool_v1.0.1” menu.
7. Copy the “new-classes.dex” file (in “HoloxTool_v1.0.1\database\dex”) to your desktop and rename it to “classes.dex”.
8. Open“SecTeleService.apk” with “WinRAR” and pass the “classes.dex” file
9. Now you can pass the "SecTeleService.apk" to your system/priv-app folder with RootExplorer or to your favourite ROM.


Thats all

Samsung Galaxy Note II (N7100) (16Gb Blue/Grey)
Rom: KlurosuROM KitKat Ed. Verano
Kernel Nadia Kernel r4 (Lulzactive, zen at 1600-200Mhz with -25 UV)
My Work: Just search in XDA, HTCMania, forocoches and my blog
The Following User Says Thank You to klurosu For This Useful Post: [ Click to Expand ]
 
soralz
Old
#2  
soralz's Avatar
Senior Member
Thanks Meter 107
Posts: 441
Join Date: Apr 2013
Location: Kuala Lumpur
This means we can fix the ringtone problem like the ringtone volum is low during initial ring then suddenly jump to loud ring volume problem?
Primary Gadget:
OnePlus One 16GB White | Cyanogenmod 11 Nightly 4.4.4 ROM | PhilZ Touch Recovery 6 (CWM 6.0.4.9 Based)

Secondary Gadget:
Samsung Galaxy W Wonder GT-I8150 White | Cyanogenmod 11 4.4.4 ROM by arco68 | PhilZ Touch Recovery 6 (CWM 6.0.4.5 Based)

 
klurosu
Old
#3  
klurosu's Avatar
Senior Member - OP
Thanks Meter 654
Posts: 526
Join Date: Apr 2011
Location: Phú Tho

 
DONATE TO ME
Quote:
Originally Posted by soralz View Post
This means we can fix the ringtone problem like the ringtone volum is low during initial ring then suddenly jump to loud ring volume problem?
You're right buddy


sent from a far far Galaxy n7100

Samsung Galaxy Note II (N7100) (16Gb Blue/Grey)
Rom: KlurosuROM KitKat Ed. Verano
Kernel Nadia Kernel r4 (Lulzactive, zen at 1600-200Mhz with -25 UV)
My Work: Just search in XDA, HTCMania, forocoches and my blog
The Following User Says Thank You to klurosu For This Useful Post: [ Click to Expand ]
 
soralz
Old
#4  
soralz's Avatar
Senior Member
Thanks Meter 107
Posts: 441
Join Date: Apr 2013
Location: Kuala Lumpur
Quote:
Originally Posted by klurosu View Post
You're right buddy


sent from a far far Galaxy n7100
Then theoretically it should work on all other Samsung models too...
Primary Gadget:
OnePlus One 16GB White | Cyanogenmod 11 Nightly 4.4.4 ROM | PhilZ Touch Recovery 6 (CWM 6.0.4.9 Based)

Secondary Gadget:
Samsung Galaxy W Wonder GT-I8150 White | Cyanogenmod 11 4.4.4 ROM by arco68 | PhilZ Touch Recovery 6 (CWM 6.0.4.5 Based)

The Following User Says Thank You to soralz For This Useful Post: [ Click to Expand ]
 
klurosu
Old
#5  
klurosu's Avatar
Senior Member - OP
Thanks Meter 654
Posts: 526
Join Date: Apr 2011
Location: Phú Tho

 
DONATE TO ME
Quote:
Originally Posted by soralz View Post
Then theoretically it should work on all other Samsung models too...
Only in 4.4.2 man.
In 4.3 the target file is totally different.


sent from a far far Galaxy n7100

Samsung Galaxy Note II (N7100) (16Gb Blue/Grey)
Rom: KlurosuROM KitKat Ed. Verano
Kernel Nadia Kernel r4 (Lulzactive, zen at 1600-200Mhz with -25 UV)
My Work: Just search in XDA, HTCMania, forocoches and my blog
Tags
klurosu, n7100
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes