[PORT] Smart call handling from Z2

Search This thread

AndroPlus

Senior Member
Mar 13, 2013
1,898
4,155
Kyoto
androplus.org
Lenovo P11
Xiaomi Mix Fold 2
Thanks to DooMLoRD for Z2 system dump!
I ported Smart call handling from Z2.
I tested with C6903 4.3 and 4.4
Works with both LB and UB.

Note:
Smart call only works fully when the screen is sleeping (off).
If the screen is on and received the call, only reject will work.
This is a bug, but only Sony can fix...

I also tried to port Smart Backlight, but it didn't work and there's no error...
ogzJIdC.png



Download:
--For 4.3--
flashable zip (Mirror)
*UPDATED to 17.1.A.1.2 version*
flashable zip (Mirror)
*UPDATED to 17.1.A.2.36 version*
flashable zip (Mirror)
--------------
*For 4.4, flash this *
flashable zip

shortcut app (Mirror)

Installation:
1. Flash zip via recocery
2. Install shortcut app (or find activity with launcher: IntelligentSettings)
3. Open "Gesture" app and enable
4. Done!

------------------
If you want to access Gesture settings via Settings,
decompile /system/app/Settings.apk
*decompile /system/priv-app/Settings.apk if you are using 4.4*
and open Settings.apk\res\xml\personalization_settings.xml,
then add
Code:
<com.sonymobile.settings.preference.IntentPreference  android:key="intelligent" settings:dependOnIsValidIntent="true"  settings:hasMetaData="true">
        <intent  android:targetPackage="com.sonymobile.intelligent.settings"  android:targetClass="com.sonymobile.intelligent.settings.IntelligentSettings"  />
    </com.sonymobile.settings.preference.IntentPreference>
after
Code:
<PreferenceScreen android:title="@string/wireless_networks_settings_title"
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
wpYf5Cv.jpg


Compile Settings.apk and install it with flashable zip or adb or something.
Now you can access settings in Personalization Settings.
------------------

Feel free to add this in your ROM, it's Sony's great work:laugh:
 
Last edited:

pemith

Senior Member
Mar 8, 2013
218
108
Kandy
yeh it works buddy....thanks a lot....waiting for other apps from sirius:good:
 

Attachments

  • Screenshot_2014-03-02-12-29-23.jpg
    Screenshot_2014-03-02-12-29-23.jpg
    137.2 KB · Views: 3,951

1jkan

Senior Member
Jul 16, 2012
482
74
62
Cool! For z1 Compact.work only 2 function. Not working reject "Shake the device".
 

funky0308

Inactive Recognized Themer
Aug 27, 2012
7,029
5,681
Osijek
This is the first thing/feature that I noticed on Z2 and wish to have it...

Very nice mate...

Thank you and of course big tnx to @DooMLoRD - you are awesome guys....
 

funky0308

Inactive Recognized Themer
Aug 27, 2012
7,029
5,681
Osijek
Hi mate u found it right.How's my request mate?Waiting for u.Tnx mate.

It's already added...
4y6uby7y.jpg


I choose to add it below themes and it's working great...

As I said...
I would gladly share my settings but - I'm using iHackers ROM - so if someone need it - no problem.

One again thanks @RyokoN

Great app ;)

Sent from my C6903 using Tapatalk
 

Top Liked Posts

  • There are no posts matching your filters.
  • 72
    Thanks to DooMLoRD for Z2 system dump!
    I ported Smart call handling from Z2.
    I tested with C6903 4.3 and 4.4
    Works with both LB and UB.

    Note:
    Smart call only works fully when the screen is sleeping (off).
    If the screen is on and received the call, only reject will work.
    This is a bug, but only Sony can fix...

    I also tried to port Smart Backlight, but it didn't work and there's no error...
    ogzJIdC.png



    Download:
    --For 4.3--
    flashable zip (Mirror)
    *UPDATED to 17.1.A.1.2 version*
    flashable zip (Mirror)
    *UPDATED to 17.1.A.2.36 version*
    flashable zip (Mirror)
    --------------
    *For 4.4, flash this *
    flashable zip

    shortcut app (Mirror)

    Installation:
    1. Flash zip via recocery
    2. Install shortcut app (or find activity with launcher: IntelligentSettings)
    3. Open "Gesture" app and enable
    4. Done!

    ------------------
    If you want to access Gesture settings via Settings,
    decompile /system/app/Settings.apk
    *decompile /system/priv-app/Settings.apk if you are using 4.4*
    and open Settings.apk\res\xml\personalization_settings.xml,
    then add
    Code:
    <com.sonymobile.settings.preference.IntentPreference  android:key="intelligent" settings:dependOnIsValidIntent="true"  settings:hasMetaData="true">
            <intent  android:targetPackage="com.sonymobile.intelligent.settings"  android:targetClass="com.sonymobile.intelligent.settings.IntelligentSettings"  />
        </com.sonymobile.settings.preference.IntentPreference>
    after
    Code:
    <PreferenceScreen android:title="@string/wireless_networks_settings_title"
      xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
    wpYf5Cv.jpg


    Compile Settings.apk and install it with flashable zip or adb or something.
    Now you can access settings in Personalization Settings.
    ------------------

    Feel free to add this in your ROM, it's Sony's great work:laugh:
    5
    Updated to 17.1.A.2.36 version
    flashable zip (Mirror)

    "Smart call handling" became "Smart call".
    It will be "Smart" in the next version:D
    7nZjxMu.png
    4
    D
    Deleted member 4529355
    Modified Settings.apk for Android 4.4.4. Download from MediaFire

    http://www.mediafire.com/download/k90d71129agjtai/Settings.apk
    3
    plz port for Xperia Z/ZL :D
    3
    Oh, I forgot to update flashable zip...
    This zip will work, I moved IntelligentGesture.apk to priv-app.
    flashable zip

    If you want to edit Settings.apk to add motion settings,
    you must not delete Androidmanifest.xml when you use "keep folder" option.
    System won't recognize Settings.apk if you touch Androidmanifest.xml.

    Here's deodexed and added motion Settings.apk for .681
    https://mega.co.nz/#!i4w1DKTI!dEd_Dmu1_5rcmq6x4uzY3mIlT8oAYFaqnppiYOuJPqA