[Android General] AbrahamGC:
HOW TO ENABLE TW PAGE TRANSITION EFFECTS (13 EFFECTS)

Method tested on Note 8 with Android 7.1.1 but i think it works on 7.0 :good:

Decompile TouchWizHome_2017.apk

Go to smali\com\android\launcher3\pagetransition\PageTransitionManager.smali

Search iput-object v2, p0, Lcom/android/launcher3/pagetransition/PageTransitionManager;->mCurrentTransitionEffect:Lcom/android/launcher3/pagetransition/PageTransitionManager$TransitionEffect; ONLY EXISTS ONE RESULT

and add this after :

invoke-virtual {p0}, Lcom/android/launcher3/pagetransition/PageTransitionManager;->agcSetTransitionEffect()V

Add this method to the end of smali :

[LEFT].method public agcSetTransitionEffect()V
.locals 3

iget-object v2, p0, Lcom/android/launcher3/pagetransition/PageTransitionManager;->mCurrentTransitionEffect:Lcom/android/launcher3/pagetransition/PageTransitionManager$TransitionEffect;

invoke-static {}, Lcom/android/launcher3/LauncherAppState;->getInstance()Lcom/android/launcher3/LauncherAppState;

move-result-object v0

invoke-virtual {v0}, Lcom/android/launcher3/LauncherAppState;->getContext()Landroid/content/Context;

move-result-object v0

invoke-virtual {v0}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v0

const-string v1, "transition_effect"

const/4 v2, 0x1

invoke-static {v0, v1, v2}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v0

const v1, 0x1

if-eq v0, v1, :cond_trans1

const v1, 0x2

if-eq v0, v1, :cond_trans2

const v1, 0x3

if-eq v0, v1, :cond_trans3

const v1, 0x4

if-eq v0, v1, :cond_trans4

const v1, 0x5

if-eq v0, v1, :cond_trans5

const v1, 0x6

if-eq v0, v1, :cond_trans6

const v1, 0x7

if-eq v0, v1, :cond_trans7

const v1, 0x8

if-eq v0, v1, :cond_trans8

const v1, 0x9

if-eq v0, v1, :cond_trans9

const v1, 10

if-eq v0, v1, :cond_trans10

const v1, 11

if-eq v0, v1, :cond_trans11

const v1, 12

if-eq v0, v1, :cond_trans12

const v1, 13

if-eq v0, v1, :cond_trans13

sget-object v2, Lcom/android/launcher3/pagetransition/PageTransitionManager$TransitionEffect;->DEFAULT:Lcom/android/launcher3/pagetransition/PageTransitionManager$TransitionEffect;

goto :goto_agc

:cond_trans1
sget-object v2, Lcom/android/launcher3/pagetransition/PageTransitionManager$TransitionEffect;->ACCORDIAN:Lcom/android/launcher3/pagetransition/PageTransitionManager$TransitionEffect;

goto :goto_agc

:cond_trans2
sget-object v2, Lcom/android/launcher3/pagetransition/PageTransitionManager$TransitionEffect;->CARD:Lcom/android/launcher3/pagetransition/PageTransitionManager$TransitionEffect;

goto :goto_agc

:cond_trans3
sget-object v2, Lcom/android/launcher3/pagetransition/PageTransitionManager$TransitionEffect;->CARDFLIP:Lcom/android/launcher3/pagetransition/PageTransitionManager$TransitionEffect;

goto :goto_agc

:cond_trans4
sget-object v2, Lcom/android/launcher3/pagetransition/PageTransitionManager$TransitionEffect;->CAROUSAL:Lcom/android/launcher3/pagetransition/PageTransitionManager$TransitionEffect;

goto :goto_agc

:cond_trans5
sget-object v2, Lcom/android/launcher3/pagetransition/PageTransitionManager$TransitionEffect;->CASCADE:Lcom/android/launcher3/pagetransition/PageTransitionManager$TransitionEffect;

goto :goto_agc

:cond_trans6
sget-object v2, Lcom/android/launcher3/pagetransition/PageTransitionManager$TransitionEffect;->CONVEYOR:Lcom/android/launcher3/pagetransition/PageTransitionManager$TransitionEffect;

goto :goto_agc

:cond_trans7
sget-object v2, Lcom/android/launcher3/pagetransition/PageTransitionManager$TransitionEffect;->FAN:Lcom/android/launcher3/pagetransition/PageTransitionManager$TransitionEffect;

goto :goto_agc

:cond_trans8
sget-object v2, Lcom/android/launcher3/pagetransition/PageTransitionManager$TransitionEffect;->INNERCUBE:Lcom/android/launcher3/pagetransition/PageTransitionManager$TransitionEffect;

goto :goto_agc

:cond_trans9
sget-object v2, Lcom/android/launcher3/pagetransition/PageTransitionManager$TransitionEffect;->OUTERCUBE:Lcom/android/launcher3/pagetransition/PageTransitionManager$TransitionEffect;

goto :goto_agc

:cond_trans10
sget-object v2, Lcom/android/launcher3/pagetransition/PageTransitionManager$TransitionEffect;->PLAIN:Lcom/android/launcher3/pagetransition/PageTransitionManager$TransitionEffect;

goto :goto_agc

:cond_trans11
sget-object v2, Lcom/android/launcher3/pagetransition/PageTransitionManager$TransitionEffect;->ROTATE:Lcom/android/launcher3/pagetransition/PageTransitionManager$TransitionEffect;

goto :goto_agc

:cond_trans12
sget-object v2, Lcom/android/launcher3/pagetransition/PageTransitionManager$TransitionEffect;->SPIRAL:Lcom/android/launcher3/pagetransition/PageTransitionManager$TransitionEffect;

goto :goto_agc

:cond_trans13
sget-object v2, Lcom/android/launcher3/pagetransition/PageTransitionManager$TransitionEffect;->ZOOM:Lcom/android/launcher3/pagetransition/PageTransitionManager$TransitionEffect;

goto :goto_agc

:goto_agc
iput-object v2, p0, Lcom/android/launcher3/pagetransition/PageTransitionManager;->mCurrentTransitionEffect:Lcom/android/launcher3/pagetransition/PageTransitionManager$TransitionEffect;

return-void
.end method
[/LEFT]

Now go to smali\com\android\launcher3\LauncherFeature.smali

Search .method public static supportTransitionEffects()Z

Replace whole method with this :

[LEFT].method public static supportTransitionEffects()Z
.locals 4

invoke-static {}, Lcom/android/launcher3/LauncherAppState;->getInstance()Lcom/android/launcher3/LauncherAppState;

move-result-object v3

invoke-virtual {v3}, Lcom/android/launcher3/LauncherAppState;->getContext()Landroid/content/Context;

move-result-object v1

invoke-virtual {v1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v1

const-string v2, "enable_transition_effect"

const/4 v3, 0x1

invoke-static {v1, v2, v3}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v1

return v1
.end method[/LEFT]

Recompile TouchWizHome_2017 WITH NEW SIGN

Now RomControl :

Add this where u want :

<com.wubydax.romcontrol.v2.prefs.MySwitchPreference
android:title="Transition Effects"
android:key="enable_transition_effect"
android:defaultValue="true"
android:summaryOn="Enabled"
android:summaryOff="Disabled" />
<com.wubydax.romcontrol.v2.prefs.MyListPreference
android:entries="@array/transitions_entries"
android:title="Select Effect"
android:key="transition_effect"
android:dependency="enable_transition_effect"
android:summary="%s"
android:defaultValue="1"
android:entryValues="@array/transitions_values" />

This in arrays :

<string-array name="transitions_values">
<item>1</item>
<item>2</item>
<item>3</item>
<item>4</item>
<item>5</item>
<item>6</item>
<item>7</item>
<item>8</item>
<item>9</item>
<item>10</item>
<item>11</item>
<item>12</item>
<item>13</item>
</string-array>
<string-array name="transitions_entries">
<item>ACCORDIAN</item>
<item>CARD</item>
<item>CARDFLIP</item>
<item>CAROUSAL</item>
<item>CASCADE</item>
<item>CONVEYOR</item>
<item>FAN</item>
<item>INNERCUBE</item>
<item>OUTERCUBE</item>
<item>PLAIN</item>
<item>ROTATE</item>
<item>SPIRAL</item>
<item>ZOOM</item>
</string-array>

Done :good:

​