[Android Themes] swr26:
Thank you for the quick response.

I've changed the service.jar as you instructed, however, when attempting to change the android.policy.jar the code

.method private maybeCreateKeyguardLocked(ZZLandroid/os/Bundle;)V

doesn't exist in KeyguardViewManager.smali. Therefore I don't know where to insert the instructed code.

Here is what part of my KeyguardViewManager.smali. looks like if that helps?

.class public Lcom/android/internal/policy/impl/KeyguardViewManager;
.super Ljava/lang/Object;
.source "KeyguardViewManager.java"

# interfaces
.implements Lcom/android/internal/policy/impl/KeyguardWindowController;

# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/android/internal/policy/impl/KeyguardViewManager$KeyguardViewHost;,
Lcom/android/internal/policy/impl/KeyguardViewManager$ShowListener;
}
.end annotation

# static fields
.field private static final DEBUG:Z

.field private static TAG:Ljava/lang/String;

# instance fields
.field private final mCallback:Lcom/android/internal/policy/impl/KeyguardViewCallback;

.field private final mContext:Landroid/content/Context;

.field private mKeyguardHost:Landroid/widget/FrameLayout;

.field private mKeyguardView:Lcom/android/internal/policy/impl/KeyguardViewBase;

.field private final mKeyguardViewProperties:Lcom/android/internal/policy/impl/KeyguardViewProperties;

.field private mNeedsInput:Z

.field private mScreenOn:Z

.field private final mUpdateMonitor:Lcom/android/internal/policy/impl/KeyguardUpdateMonitor;

.field private final mViewManager:Landroid/view/ViewManager;

.field private mWindowLayoutParams:Landroid/view/WindowManager$LayoutParams;

# direct methods
.method static constructor <clinit>()V
.registers 1

.prologue
.line 48
const-string v0, "KeyguardViewManager"

sput-object v0, Lcom/android/internal/policy/impl/KeyguardViewManager;->TAG:Ljava/lang/String;

return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/view/ViewManager;Lcom/android/internal/policy/impl/KeyguardViewCallback;Lcom/android/internal/policy/impl/KeyguardViewProperties;Lcom/android/internal/policy/impl/KeyguardUpdateMonitor;)V
.registers 7
.parameter "context"
.parameter "viewManager"
.parameter "callback"
.parameter "keyguardViewProperties"
.parameter "updateMonitor"

.prologue
const/4 v0, 0x0

.line 76
invoke-direct/range {p0 .. p0}, Ljava/lang/Object;-><init>()V

.line 58
iput-boolean v0, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mNeedsInput:Z

.line 63
iput-boolean v0, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mScreenOn:Z

.line 77
iput-object p1, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mContext:Landroid/content/Context;

.line 78
iput-object p2, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mViewManager:Landroid/view/ViewManager;

.line 79
iput-object p3, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mCallback:Lcom/android/internal/policy/impl/KeyguardViewCallback;

.line 80
iput-object p4, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mKeyguardViewProperties:Lcom/android/internal/policy/impl/KeyguardViewProperties;

.line 82
iput-object p5, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mUpdateMonitor:Lcom/android/internal/policy/impl/KeyguardUpdateMonitor;

.line 83
return-void
.end method

.method static synthetic access$100(Lcom/android/internal/policy/impl/KeyguardViewManager;)Landroid/widget/FrameLayout;
.registers 2
.parameter "x0"

.prologue
.line 46
iget-object v0, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mKeyguardHost:Landroid/widget/FrameLayout;

return-object v0
.end method

# virtual methods
.method public declared-synchronized hide()V
.registers 6

.prologue
.line 329
monitor-enter p0

:try_start_1
iget-object v1, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mKeyguardHost:Landroid/widget/FrameLayout;

if-eqz v1, :cond_21

.line 330
iget-object v1, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mKeyguardHost:Landroid/widget/FrameLayout;

const/16 v2, 0x8

invoke-virtual {v1, v2}, Landroid/widget/FrameLayout;->setVisibility(I)V

.line 333
iget-object v1, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mKeyguardView:Lcom/android/internal/policy/impl/KeyguardViewBase;

if-eqz v1, :cond_21

.line 334
iget-object v0, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mKeyguardView:Lcom/android/internal/policy/impl/KeyguardViewBase;

.line 335
.local v0, lastView:Lcom/android/internal/policy/impl/KeyguardViewBase;
const/4 v1, 0x0

iput-object v1, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mKeyguardView:Lcom/android/internal/policy/impl/KeyguardViewBase;

.line 336
iget-object v1, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mKeyguardHost:Landroid/widget/FrameLayout;

new-instance v2, Lcom/android/internal/policy/impl/KeyguardViewManager$2;

invoke-direct {v2, p0, v0}, Lcom/android/internal/policy/impl/KeyguardViewManager$2;-><init>(Lcom/android/internal/policy/impl/KeyguardViewManager;Lcom/android/internal/policy/impl/KeyguardViewBase;)V

const-wide/16 v3, 0x1f4

invoke-virtual {v1, v2, v3, v4}, Landroid/widget/FrameLayout;->postDelayed(Ljava/lang/Runnable;J)Z
:try_end_21
.catchall {:try_start_1 .. :try_end_21} :catchall_23

.line 346
.end local v0 #lastView:Lcom/android/internal/policy/impl/KeyguardViewBase;
:cond_21
monitor-exit p0

return-void

.line 329
:catchall_23
move-exception v1

monitor-exit p0

throw v1
.end method

.method public isGlanceViewVisible()Z
.registers 2

.prologue
.line 208
iget-object v0, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mKeyguardView:Lcom/android/internal/policy/impl/KeyguardViewBase;

if-eqz v0, :cond_b

.line 209
iget-object v0, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mKeyguardView:Lcom/android/internal/policy/impl/KeyguardViewBase;

invoke-virtual {v0}, Lcom/android/internal/policy/impl/KeyguardViewBase;->isGlanceViewVisible()Z

move-result v0

.line 212
:goto_a
return v0

:cond_b
const/4 v0, 0x0

goto :goto_a
.end method

.method public isKeyguardReady()Z
.registers 2

.prologue
.line 359
iget-object v0, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mKeyguardView:Lcom/android/internal/policy/impl/KeyguardViewBase;

if-eqz v0, :cond_b

.line 360
iget-object v0, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mKeyguardView:Lcom/android/internal/policy/impl/KeyguardViewBase;

invoke-virtual {v0}, Lcom/android/internal/policy/impl/KeyguardViewBase;->isKeyguardReady()Z

move-result v0

.line 362
:goto_a
return v0

:cond_b
const/4 v0, 0x1

goto :goto_a
.end method

.method public declared-synchronized isShowing()Z
.registers 2

.prologue
.line 352
monitor-enter p0

:try_start_1
iget-object v0, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mKeyguardHost:Landroid/widget/FrameLayout;

if-eqz v0, :cond_10

iget-object v0, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mKeyguardHost:Landroid/widget/FrameLayout;

invoke-virtual {v0}, Landroid/widget/FrameLayout;->getVisibility()I
:try_end_a
.catchall {:try_start_1 .. :try_end_a} :catchall_12

move-result v0

if-nez v0, :cond_10

const/4 v0, 0x1

:goto_e
monitor-exit p0

return v0

:cond_10
const/4 v0, 0x0

goto :goto_e

:catchall_12
move-exception v0

monitor-exit p0

throw v0
.end method

.method public declared-synchronized onScreenTurnedOff()V
.registers 2

.prologue
.line 260
monitor-enter p0

const/4 v0, 0x0

:try_start_2
iput-boolean v0, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mScreenOn:Z

.line 261
iget-object v0, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mKeyguardView:Lcom/android/internal/policy/impl/KeyguardViewBase;

if-eqz v0, :cond_d

.line 262
iget-object v0, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mKeyguardView:Lcom/android/internal/policy/impl/KeyguardViewBase;

invoke-virtual {v0}, Lcom/android/internal/policy/impl/KeyguardViewBase;->onScreenTurnedOff()V
:try_end_d
.catchall {:try_start_2 .. :try_end_d} :catchall_f

.line 264
:cond_d
monitor-exit p0

return-void

.line 260
:catchall_f
move-exception v0

monitor-exit p0

throw v0
.end method

.method public declared-synchronized onScreenTurnedOn(Lcom/android/internal/policy/impl/KeyguardViewManager$ShowListener;)V
.registers 4
.parameter "showListener"

.prologue
.line 269
monitor-enter p0

const/4 v0, 0x1

:try_start_2
iput-boolean v0, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mScreenOn:Z

.line 270
iget-object v0, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mKeyguardView:Lcom/android/internal/policy/impl/KeyguardViewBase;

if-eqz v0, :cond_29

.line 271
iget-object v0, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mKeyguardView:Lcom/android/internal/policy/impl/KeyguardViewBase;

invoke-virtual {v0}, Lcom/android/internal/policy/impl/KeyguardViewBase;->onScreenTurnedOn()V

.line 275
iget-object v0, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mKeyguardHost:Landroid/widget/FrameLayout;

invoke-virtual {v0}, Landroid/widget/FrameLayout;->getVisibility()I

move-result v0

if-nez v0, :cond_21

.line 278
iget-object v0, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mKeyguardHost:Landroid/widget/FrameLayout;

new-instance v1, Lcom/android/internal/policy/impl/KeyguardViewManager$1;

invoke-direct {v1, p0, p1}, Lcom/android/internal/policy/impl/KeyguardViewManager$1;-><init>(Lcom/android/internal/policy/impl/KeyguardViewManager;Lcom/android/internal/policy/impl/KeyguardViewManager$ShowListener;)V

invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->post(Ljava/lang/Runnable;)Z
:try_end_1f
.catchall {:try_start_2 .. :try_end_1f} :catchall_26

.line 293
:goto_1f
monitor-exit p0

return-void

.line 288
:cond_21
const/4 v0, 0x0

:try_start_22
invoke-interface {p1, v0}, Lcom/android/internal/policy/impl/KeyguardViewManager$ShowListener;->onShown(Landroid/os/IBinder;)V
:try_end_25
.catchall {:try_start_22 .. :try_end_25} :catchall_26

goto :goto_1f

.line 269
:catchall_26
move-exception v0

monitor-exit p0

throw v0

.line 291
:cond_29
const/4 v0, 0x0

:try_start_2a
invoke-interface {p1, v0}, Lcom/android/internal/policy/impl/KeyguardViewManager$ShowListener;->onShown(Landroid/os/IBinder;)V
:try_end_2d
.catchall {:try_start_2a .. :try_end_2d} :catchall_26

goto :goto_1f
.end method

.method public declared-synchronized reset()V
.registers 2

.prologue
.line 253
monitor-enter p0

:try_start_1
iget-object v0, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mKeyguardView:Lcom/android/internal/policy/impl/KeyguardViewBase;

if-eqz v0, :cond_a

.line 254
iget-object v0, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mKeyguardView:Lcom/android/internal/policy/impl/KeyguardViewBase;

invoke-virtual {v0}, Lcom/android/internal/policy/impl/KeyguardViewBase;->reset()V
:try_end_a
.catchall {:try_start_1 .. :try_end_a} :catchall_c

.line 256
:cond_a
monitor-exit p0

return-void

.line 253
:catchall_c
move-exception v0

monitor-exit p0

throw v0
.end method

.method public setNeedsInput(Z)V
.registers 5
.parameter "needsInput"

.prologue
.line 217
iput-boolean p1, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mNeedsInput:Z

.line 218
iget-object v0, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mWindowLayoutParams:Landroid/view/WindowManager$LayoutParams;

if-eqz v0, :cond_2a

.line 219
if-eqz p1, :cond_2b

.line 220
iget-object v0, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mWindowLayoutParams:Landroid/view/WindowManager$LayoutParams;

iget v1, v0, Landroid/view/WindowManager$LayoutParams;->flags:I

const v2, -0x20001

and-int/2addr v1, v2

iput v1, v0, Landroid/view/WindowManager$LayoutParams;->flags:I

.line 222
iget-object v0, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mWindowLayoutParams:Landroid/view/WindowManager$LayoutParams;

iget v1, v0, Landroid/view/WindowManager$LayoutParams;->systemUiVisibility:I

and-int/lit8 v1, v1, -0x9

iput v1, v0, Landroid/view/WindowManager$LayoutParams;->systemUiVisibility:I

.line 223
iget-object v0, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mKeyguardHost:Landroid/widget/FrameLayout;

const/high16 v1, 0x20

invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->setSystemUiVisibility(I)V

.line 229
:goto_21
iget-object v0, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mViewManager:Landroid/view/ViewManager;

iget-object v1, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mKeyguardHost:Landroid/widget/FrameLayout;

iget-object v2, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mWindowLayoutParams:Landroid/view/WindowManager$LayoutParams;

invoke-interface {v0, v1, v2}, Landroid/view/ViewManager;->updateViewLayout(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

.line 231
:cond_2a
return-void

.line 225
:cond_2b
iget-object v0, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mWindowLayoutParams:Landroid/view/WindowManager$LayoutParams;

iget v1, v0, Landroid/view/WindowManager$LayoutParams;->flags:I

const/high16 v2, 0x2

or-int/2addr v1, v2

iput v1, v0, Landroid/view/WindowManager$LayoutParams;->flags:I

.line 227
iget-object v0, p0, Lcom/android/internal/policy/impl/KeyguardViewManager;->mWindowLayoutParams:Landroid/view/WindowManager$LayoutParams;

iget v1, v0, Landroid/view/WindowManager$LayoutParams;->systemUiVisibility:I

or-int/lit8 v1, v1, 0x8

iput v1, v0, Landroid/view/WindowManager$LayoutParams;->systemUiVisibility:I

goto :goto_21
.end method

Do you think this mod will work on my null 4.1.2 rom, or is there a way to get it to?

Sorry to be a pain just getting in to this stuff. Any help would be great as really want this mod.

Thank you