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

Search This thread

Zangetsu94

Senior Member
Feb 11, 2013
76
25
Turin
Hello everyone,
Will the flashble zip work on my Galaxy S3 GT-i9300 with Android 4.3?

Sent from my GS3 with Tapatalk premium.
 

rlrmineiro

Senior Member
Dec 28, 2010
269
32
Just instal imperium rom. All s5 and has this feature working among many s5 others... ?

Sent from my GT-I9505 using xda premium
 

DeepankarS

Senior Member
Oct 2, 2012
1,353
535
Noida
Hello everyone,
Will the flashble zip work on my Galaxy S3 GT-i9300 with Android 4.3?

Sent from my GS3 with Tapatalk premium.

Use apktool on your phone to decompile.

Manually add and remove the lines.

Recompile

And try.

But backup before experimenting.

"If someone helps, never forget to hit thanks ? "
 

vickyvc

Senior Member
Jan 1, 2013
81
43
mangalore
hi.....tis probably is a wrong place for tis qstn....but i jus got curious.......can i try this on my note 2 running on 4.4.2?
thnanks in advance
 

Top Liked Posts

  • There are no posts matching your filters.
  • 46
    [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:
        <bool name="config_call_forward_widget_enabled">false</bool>
    [COLOR="Red"]-- [B] <bool name="config_multiwindow_phone_enabled">false</bool>[/B][/COLOR]
    [COLOR="Green"]++ [B] <bool name="config_multiwindow_phone_enabled">true</bool>[/B][/COLOR]
        <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:
        .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
    [COLOR="Green"]++ [B] const/4 v0, 0x1[/B][/COLOR]
    
        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
    4
    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

    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
    3
    TRIED ON 4.4.2 (half way there)

    i managed to show the option in call settings but phone call still showing in fullscreen


    1st i started with editing bools.xml, which has more options than the 4.3 version


    <bool name="config_call_forward_widget_enabled">false</bool>
    <bool name="config_multiwindow_phone_enabled">false</bool>
    <bool name="config_popupwindow_phone_enabled">false</bool>
    <bool name="config_penwindow_phone_enabled">false</bool>
    <bool name="config_large_heap_enabled">true</bool>
    <bool name="screen_xlarge">false</bool>

    i changed it to:

    <bool name="config_call_forward_widget_enabled">true</bool>
    <bool name="config_multiwindow_phone_enabled">true</bool>
    <bool name="config_popupwindow_phone_enabled">true</bool>
    <bool name="config_penwindow_phone_enabled">true</bool>
    <bool name="config_large_heap_enabled">true</bool>
    <bool name="screen_xlarge">false</bool>


    then i went to PhoneFeature.smali , which originaly looks like this:

    .line 1634
    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_51

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

    move-result v0

    if-nez v0, :cond_22

    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_51

    :cond_22
    move v0, v2

    :goto_2b
    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 1635
    sget-object v0, Lcom/android/phone/PhoneFeature;->mFeatureList:Ljava/util/HashMap;

    const-string v3, "support_incomingcall_popup"

    I edited it to this :

    .line 1634
    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_51

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

    move-result v0

    if-nez v0, :cond_22

    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_51

    :cond_22
    move v0, v2

    :goto_2b
    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 1635
    sget-object v0, Lcom/android/phone/PhoneFeature;->mFeatureList:Ljava/util/HashMap;

    const-string v3, "support_incomingcall_popup"

    It didnt work :(

    I think it's something to do with the smali file...

    If anyone can upload framework-res.apk, twframework-res.apk and SecPhone.apk from NOTE3 i could adjust the code on the s4 and it might work.


    NB: I used files from wanam 4.0 to deodex SecPhone.apk, decompiling it and the compiling it again.

    PS: i'm not a dev and i know ntg about coding, so i'm only gonna compare the 2 files and try to find a solution! If any dev can help out i'm sure it'l be way faster :)
    3
    Any solution for 4.4.2?!