Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,770,105 Members 52,304 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 660
Posts: 536
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 (Lulzactive, zen-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 118
Posts: 495
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 A0001 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 Unofficial 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 660
Posts: 536
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 (Lulzactive, zen-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 118
Posts: 495
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 A0001 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 Unofficial 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 660
Posts: 536
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 (Lulzactive, zen-zen at 1600-200Mhz with -25 UV)
My Work: Just search in XDA, HTCMania, forocoches and my blog
 
talpur1
Old
#6  
talpur1's Avatar
Member
Thanks Meter 6
Posts: 59
Join Date: Sep 2010
Location: Hyderabad
Default No Classes.dex in Sectele.apk

Respected Sir
When i Unrar Sectele apk there is no Class Folder to put into Holox Tool.
I am On 4.4.2 Stock Samsung ROM.

Is There any other Way?
Or Am i doing something Wrong?

Regards
 
Pafcholini
Old
#7  
Pafcholini's Avatar
Senior Member
Thanks Meter 1493
Posts: 625
Join Date: Sep 2012
Location: Barcelona

 
DONATE TO ME
Quote:
Originally Posted by talpur1 View Post
Respected Sir
When i Unrar Sectele apk there is no Class Folder to put into Holox Tool.
I am On 4.4.2 Stock Samsung ROM.

Is There any other Way?
Or Am i doing something Wrong?

Regards
You need to decompile the apk.
Twitter: @Pafcholini

Our Projects:
Emotion Revolution for N7100 XDA / HtcSpain
EmotionMIUI for N7100 XDA / HtcSpain
Nadia nightly kernel for N7100
Nadia nightly kernel for m7



Current devices:
1. Samsung Galaxy Note II (N7100)
2. Htc One (m7)

Tags
klurosu, n7100
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Android App Review: Hide Your Files with Androignito – XDA Developer TV

Stop right now, look at your phone, and see how many pictures, … more

BrightNotes Makes Cloud Notes Simple and Easy

There are literally thousands of note taking apps available on Android, with practically every … more

Google Glass XE20.1 Update Brings Improved Contacts, Head Nudge, New Cards and Commands

Ever since Google unveiled Android Wear earlier this … more

Remote Control Your Android Device with Monitordroid

The Android OS showsgreat potential in many areas. One of most interesting things that … more