Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,772,214 Members 43,163 Now Online
XDA Developers Android and Mobile Development Forum

[HOW TO] Remove delay after the call is finished

Tip us?
 
Tamerlan2009
Old
(Last edited by Tamerlan2009; 29th April 2014 at 11:53 AM.)
#1  
Senior Member - OP
Thanks Meter 304
Posts: 101
Join Date: Feb 2011
Default [HOW TO] Remove delay after the call is finished

Remove delay after the call is finished!

Decompile SecPhone.apk and open file: /smali/com/android\phone\InCallScreen.smali - Make the following changes:

Find

.line 6202
const/16 v1, 0x1388

Сhange on

.line 6202
const/16 v1, 0x32
--------------------------------------------------
Find

.line 6182
switch_0
const/16 v1, 0x1194

Сhange on

.line 6182
switch_0
const/16 v1, 0x32
-------------------------------------------------
Find

.line 6185
switch_1
const/16 v1, 0x1194

Сhange on

.line 6185
switch_1
const/16 v1, 0x32
-------------------------------------------------
Find

.line 6189
const/16 v1, 0x7d0

goto :goto_16

.line 6191
:cond_6d
const/16 v1, 0x1194

Сhange on


.line 6189
const/16 v1, 0x32

goto :goto_16

.line 6191
:cond_6d
const/16 v1, 0x32
---------------------------------------------
Find

.line 6196
const/16 v1, 0x7d0

goto :goto_16

.line 6198
:cond_6e
const/16 v1, 0x1388

Сhange on

.line 6196
const/16 v1, 0x32

goto :goto_16

.line 6198
:cond_6e
const/16 v1, 0x32
-----------------------------------------
Find

.line 3019
iget-object v0, p0, Lcom/android/phone/InCallScreen;->mHandler:Landroid/os/Handler;

const-wide/16 v2, 0x1194

invoke-virtual {v0, v9, v2, v3}, Landroid/os/Handler;->sendEmptyMessageDelayed(IJ)Z

Сhange on

.line 3019
iget-object v0, p0, Lcom/android/phone/InCallScreen;->mHandler:Landroid/os/Handler;

const-wide/16 v2, 0x32

invoke-virtual {v0, v9, v2, v3}, Landroid/os/Handler;->sendEmptyMessageDelayed(IJ)Z
------------------------------------------------------------------------------------------------------------------------

Compile SecPhone.apk and that delay is disabled))

Ready file (InCallScreen) attached.
Attached Files
File Type: rar InCallScreen.rar - [Click for QR Code] (92.8 KB, 128 views)
The Following 4 Users Say Thank You to Tamerlan2009 For This Useful Post: [ Click to Expand ]
 
ruterjunior
Old
#2  
ruterjunior's Avatar
Senior Member
Thanks Meter 39
Posts: 459
Join Date: Aug 2010
Location: brasilia
its possible create flasheable file???

Sent from my GT-I9505 using xda app-developers app
 
stootie
Old
#3  
stootie's Avatar
Senior Member
Thanks Meter 22
Posts: 236
Join Date: Sep 2008
hi !

yes file flahable on cwm please.

thanx
 
lantyev@gmail.com
Old
#4  
Junior Member
Thanks Meter 0
Posts: 3
Join Date: Apr 2014
Quote:
Originally Posted by Tamerlan2009 View Post
Remove delay after the call is finished!

Decompile SecPhone.apk and open file: /smali/com/android\phone\InCallScreen.smali - Make the following changes:

Find

.line 6202
const/16 v1, 0x1388

Сhange on

.line 6202
const/16 v1, 0x32
--------------------------------------------------
Find

.line 6182
switch_0
const/16 v1, 0x1194

Сhange on

.line 6182
switch_0
const/16 v1, 0x32
-------------------------------------------------
Find

.line 6185
switch_1
const/16 v1, 0x1194

Сhange on

.line 6185
switch_1
const/16 v1, 0x32
-------------------------------------------------
Find

.line 6189
const/16 v1, 0x7d0

goto :goto_16

.line 6191
:cond_6d
const/16 v1, 0x1194

Сhange on


.line 6189
const/16 v1, 0x32

goto :goto_16

.line 6191
:cond_6d
const/16 v1, 0x32
---------------------------------------------
Find

.line 6196
const/16 v1, 0x7d0

goto :goto_16

.line 6198
:cond_6e
const/16 v1, 0x1388

Сhange on

.line 6196
const/16 v1, 0x32

goto :goto_16

.line 6198
:cond_6e
const/16 v1, 0x32
-----------------------------------------
Find

.line 3019
iget-object v0, p0, Lcom/android/phone/InCallScreen;->mHandler:Landroid/os/Handler;

const-wide/16 v2, 0x1194

invoke-virtual {v0, v9, v2, v3}, Landroid/os/Handler;->sendEmptyMessageDelayed(IJ)Z

Сhange on

.line 3019
iget-object v0, p0, Lcom/android/phone/InCallScreen;->mHandler:Landroid/os/Handler;

const-wide/16 v2, 0x32

invoke-virtual {v0, v9, v2, v3}, Landroid/os/Handler;->sendEmptyMessageDelayed(IJ)Z
------------------------------------------------------------------------------------------------------------------------

Compile SecPhone.apk and that delay is disabled))

Ready file (InCallScreen) attached.
Could you trace this to InCallScreen.jad file? Please....
 
dedichthui
Old
#5  
Senior Member
Thanks Meter 83
Posts: 431
Join Date: Oct 2010
Done.
 
android_robot
Old
(Last edited by android_robot; 4th May 2014 at 11:13 AM.)
#6  
Senior Member
Thanks Meter 31
Posts: 139
Join Date: Apr 2012
can i ask you from what rom and version did you get SecPhone.apk ?
i don't have those lines in my incallscreen.smali...
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes