Default [MOD] How to: Infinite lock screen pages with all widgets enabled

How to: TouchWiz 4.3 and 4.2.2 Infinite lock screen pages with all widgets enabled.

decompile android.policy.jar

smali/com/android/internal/policy/impl/keyguard/KeyguardActivityLauncher.smali


search for .method public launchWidgetPicker(I)V

Code:
.method public launchWidgetPicker(I)V
    .locals 9
    .parameter "appWidgetId"

    .prologue
    const/4 v4, 0x0

    const/4 v8, 0x2      <---- change to 0x3

    const/4 v2, 0x0

    .line 124
    new-instance v7, Landroid/os/UserHandle;

    const/4 v0, -0x2

    invoke-direct {v7, v0}, Landroid/os/UserHandle;-><init>(I)V

Next: smali/com/android/internal/policy/impl/keyguard/KeyguardHostView.smali

Search for: .method private numWidgets()I

Code:
.method private numWidgets()I
    .locals 4

    .prologue
    .line 2009
    iget-object v3, p0, Lcom/android/internal/policy/impl/keyguard/KeyguardHostView;->mAppWidgetContainer:Lcom/android/internal/policy/impl/keyguard/KeyguardWidgetPager;

    invoke-virtual {v3}, Lcom/android/internal/policy/impl/keyguard/KeyguardWidgetPager;->getChildCount()I

    move-result v0

    .line 2010
    .local v0, childCount:I
    const/4 v2, 0x0

    .line 2011
    .local v2, widgetCount:I
    const/4 v1, 0x0

    .local v1, i:I
    :goto_0
    if-ge v1, v0, :cond_1

    .line 2012
    iget-object v3, p0, Lcom/android/internal/policy/impl/keyguard/KeyguardHostView;->mAppWidgetContainer:Lcom/android/internal/policy/impl/keyguard/KeyguardWidgetPager;

    invoke-virtual {v3, v1}, Lcom/android/internal/policy/impl/keyguard/KeyguardWidgetPager;->isWidgetPage(I)Z

    move-result v3

    if-eqz v3, :cond_0

    iget-object v3, p0, Lcom/android/internal/policy/impl/keyguard/KeyguardHostView;->mAppWidgetContainer:Lcom/android/internal/policy/impl/keyguard/KeyguardWidgetPager;

    invoke-virtual {v3, v1}, Lcom/android/internal/policy/impl/keyguard/KeyguardWidgetPager;->isContextualPage(I)Z

    move-result v3

    if-nez v3, :cond_0

    .line 2013
    add-int/lit8 v2, v2, 0x1

    .line 2011
    :cond_0
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    .line 2016
    :cond_1
    return v2
.end method
Replace entire method with:

Code:
.method private numWidgets()I
    .locals 4
	
    const/4 v2, 0x0
    
    return v2
.end method

That's it. compile and enjoy.