Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,742,223 Members 52,915 Now Online
XDA Developers Android and Mobile Development Forum

[HOW-TO] Enable Note 3 feature "Incoming call notifications" on your Galaxy S4

Tip us?
 
mythtrandyr
Old
(Last edited by mythtrandyr; 20th December 2013 at 04:29 PM.)
#1  
Recognized Developer - OP
Thanks Meter 1805
Posts: 399
Join Date: Nov 2011
Location: Kyiv
Default [HOW-TO] Enable Note 3 feature "Incoming call notifications" on your Galaxy S4

Hello xda'ers,
This is how to enable Incoming call notifications feature on your Galaxy S4 on Based Samsung Android 4.3 Roms

How to:


Green line - add
Red line - delete


1. Decompile SecPhone.apk

2. Go to res/values/bools.xml

Code:
Select Code
    <bool name="config_call_forward_widget_enabled">false</bool>
--  <bool name="config_multiwindow_phone_enabled">false</bool>
++  <bool name="config_multiwindow_phone_enabled">true</bool>
    <bool name="config_large_heap_enabled">true</bool>
2. Go to smali/com/android/phone/PhoneFeature.smali
find makeFeatureForCommon()V method and chenge this code

Code:
Select Code
    .line 1581
    sget-object v3, Lcom/android/phone/PhoneFeature;->mFeatureList:Ljava/util/HashMap;

    const-string v4, "support_incomingcall_multi_window"

    invoke-static {}, Lcom/android/phone/PhoneFeature;->hasMultiWindwoFeature()Z

    move-result v0

    if-eqz v0, :cond_45

    invoke-static {}, Lcom/android/phone/PhoneFeature;->isHProject()Z

    move-result v0

    if-nez v0, :cond_1f

    const-string v0, "js01ltedcm"

    sget-object v5, Lcom/android/phone/PhoneFeature;->buildcarrier:Ljava/lang/String;

    invoke-virtual {v0, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_45

    :cond_1f
    move v0, v2

    :goto_25
++  const/4 v0, 0x1

    invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    invoke-virtual {v3, v4, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1582
    sget-object v0, Lcom/android/phone/PhoneFeature;->mFeatureList:Ljava/util/HashMap;

    const-string v3, "support_incomingcall_popup"
Recompile SecPhone.apk

it's all

P.S. Options Enable/Disable "Incoming call notifications" available in Call Settings

Flashable .zip: Download

Tested on I9500 & I9505 device
Attached Thumbnails
Click image for larger version

Name:	image11.jpg
Views:	10919
Size:	156.4 KB
ID:	2465205  
The Following 44 Users Say Thank You to mythtrandyr For This Useful Post: [ Click to Expand ]
 
speed s
Old
#2  
Senior Member
Thanks Meter 45
Posts: 152
Join Date: Oct 2011
Hey, thanks for the tutorial!
It would be awesome if you make a flashable .zip as it's only for touchwiz roms 4.3.
Thank you again and keep up the good work

Envoyé de mon GT-I9500 en utilisant Tapatalk
 
medoooooo
Old
#3  
medoooooo's Avatar
Senior Member
Thanks Meter 212
Posts: 438
Join Date: Jul 2012
Location: Doha
Dude what is the use of this feature and what is the benefit of it

Sent from my GT-I9500 using Tapatalk
 
mythtrandyr
Old
(Last edited by mythtrandyr; 20th December 2013 at 04:29 PM.)
#4  
Recognized Developer - OP
Thanks Meter 1805
Posts: 399
Join Date: Nov 2011
Location: Kyiv
Quote:
Originally Posted by medoooooo View Post
Dude what is the use of this feature and what is the benefit of it

Sent from my GT-I9500 using Tapatalk
Incoming call notifications - Display notification pop-ups for incoming voice calls when the screen is on


or watch this video, starting at 4:15 - http://www.youtube.com/watch?v=OVRefNx0KUY#t=275

Quote:
Originally Posted by speed s View Post
Hey, thanks for the tutorial!
It would be awesome if you make a flashable .zip as it's only for touchwiz roms 4.3.
Thank you again and keep up the good work

Envoyé de mon GT-I9500 en utilisant Tapatalk
Added
The Following 4 Users Say Thank You to mythtrandyr For This Useful Post: [ Click to Expand ]
 
ipsuvedi
Old
#5  
ipsuvedi's Avatar
Senior Member
Thanks Meter 495
Posts: 1,063
Join Date: Feb 2012
Location: Mumbai

 
DONATE TO ME
Thnks for this tweals...wish you will bring more features...


Sent from my GT-I9500 using xda premium
 
royal_eagle
Old
#6  
Senior Member
Thanks Meter 32
Posts: 213
Join Date: Feb 2009
Location: casablanca

 
DONATE TO ME
It's a must have,thanks dude

Envoyé depuis mon GT-I9500 avec Tapatalk

---------- Post added at 09:16 PM ---------- Previous post was at 09:03 PM ----------

It works like a charm

Envoyé depuis mon GT-I9500 avec Tapatalk
Device: HTC One M8
ROM: Android Revolution HD 7
Recovery: Twrp

Previous Device: Samsung Galaxy S4 (i9500)
 
royal_eagle
Old
#7  
Senior Member
Thanks Meter 32
Posts: 213
Join Date: Feb 2009
Location: casablanca

 
DONATE TO ME
Only one problem, the normal incoming call take a longtime before appearing on the screen when screen is off, issue is present only if this mode is activated, any idea how to resolve it?
Thanks

Envoyé depuis mon GT-I9500 avec Tapatalk
Device: HTC One M8
ROM: Android Revolution HD 7
Recovery: Twrp

Previous Device: Samsung Galaxy S4 (i9500)
 
kin201303
Old
#8  
Member
Thanks Meter 25
Posts: 39
Join Date: May 2013
how to background_transparent
thank you
 
igoa
Old
(Last edited by igoa; 21st December 2013 at 07:13 AM.)
#9  
igoa's Avatar
Member
Thanks Meter 15
Posts: 74
Join Date: Feb 2009
Location: Nizhny Novgorod
Many Thanks to You!

RUS:
Спасибо Большое что совместил оба своих мода в один на новой базе MK8! Уверен это порадует и поможет многим людям и тут и на 4pda)
 
mythtrandyr
Old
#10  
Recognized Developer - OP
Thanks Meter 1805
Posts: 399
Join Date: Nov 2011
Location: Kyiv
Quote:
Originally Posted by royal_eagle View Post
Only one problem, the normal incoming call take a longtime before appearing on the screen when screen is off, issue is present only if this mode is activated, any idea how to resolve it?
Thanks

Envoyé depuis mon GT-I9500 avec Tapatalk
I asked to check it out on my friend's I9500 and he said that he was all there is no delay ...
If you could write your logs at this point, and attach them to your post, I would be able to answer what causes it

The Following User Says Thank You to mythtrandyr For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes