[Galaxy S II Themes and Apps] JoFury:
Hi XDA !:silly:

Firstly, big thanks to Arsaw for his awesome mod

This MOD is compatible to any HDPI or XHDPI devices with Stock 4.1.2 ROM but so far only tested on

-Galaxy s2

-Galaxy s3

-Galaxy note

-Galaxy note 2

Requirement :

-android.policy.jar from your rom

-Smalis from the attachment

-Flashable zip that i provided

-At least 60 MB of system memory

-A little knowledge in decompiling using baksmali

So, let's start !

Step 1

1)Extract your phone/rom android.policy.jar and decompile it with baksmali/smali program. From the output, copy and paste the ExtendedKeyguardScreen.smali and the modified ExternalLockScreen.smali to smali/com/android/internal/policy/impl

2)Then open smali/com/android/internal/policy/impl/ LockPatternKeyguardView.smali. Add the codes (highlighted in blue) and replace the codes (highlighted in green) as below

.field private mHasDialog:Z

.field mInfoCallback:Lcom/android/internal/policy/impl/KeyguardUpdateMonitor$InfoCallbackImpl;

[COLOR=Blue].field private mIsExternallyLoadedLockScreenEnabled:Z[/COLOR]

.field private mIsTalkbackDrvModeOn:Z

Find # virtual methods.method public cleanUp()V

# virtual methods
.method public cleanUp()V
.locals 2

.prologue
const/4 v1, 0x0

[COLOR=blue]const/4 v0, 0x0

iput-boolean v0, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mIsExternallyLoadedLockScreenEnabled:Z[/COLOR]

.line 1096
iget-object v0, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mLockScreen:Landroid/view/View;

Find .method createLockScreen()Landroid/view/View;

.prologue
[COLOR=blue] iget-object v1, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mContext:Landroid/content/Context;

iget-object v2, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mKeyguardScreenCallback:Lcom/android/internal/policy/impl/KeyguardScreenCallback;

invoke-static {v1, v2}, Lcom/android/internal/policy/impl/ExternalLockScreen;->getLockScreen(Landroid/content/Context;Lcom/android/internal/policy/impl/KeyguardScreenCallback;)Landroid/view/View;

move-result-object v0

.local v0, lockView:Landroid/view/View;
if-eqz v0, :cond_1

const/4 v1, 0x1

:goto_0
iput-boolean v1, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mIsExternallyLoadedLockScreenEnabled:Z

.line 1038
iget-boolean v1, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mIsExternallyLoadedLockScreenEnabled:Z

if-nez v1, :cond_0[/COLOR]

.line 1268
new-instance v0, Lcom/android/internal/policy/impl/sec/LockScreen;

[COLOR=blue] .end local v0 #lockView:Landroid/view/View;[/COLOR]
iget-object v1, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mContext:Landroid/content/Context;

iget-object v2, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;>mConfiguration:Landroid/content/res/Configuration;

iget-object v3, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;>mLockPatternUtils:Lcom/android/internal/widget/LockPatternUtils;

iget-object v4, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;>mUpdateMonitor:Lcom/android/internal/policy/impl/KeyguardUpdateMonitor;

iget-object v5, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;>mKeyguardScreenCallback:Lcom/android/internal/policy/impl/KeyguardScreenCallback;

invoke-direct/range {v0 .. v5}, Lcom/android/internal/policy/impl/sec/LockScreen;->(Landroid/content/Context;Landroid/content/res/Configuration;Lcom/android/internal/widget/LockPatternUtils;Lcom/android/internal/policy/impl/KeyguardUpdateMonitor;Lcom/android/internal/policy/impl/KeyguardScreenCallback;)V

.line 1274
[COLOR=Lime] .restart local v0 #lockView:Landroid/view/View;[/COLOR]
[COLOR=blue] :cond_0[/COLOR]
invoke-direct {p0, v0}, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->initializeTransportControlView(Landroid/view/View;)V

.line 1275
return-object v0

[COLOR=Blue] :cond_1
const/4 v1, 0x0

goto :goto_0[/COLOR]
.end method

Step 2

- Flash the ZIP provided in the Download link and you are done.

Flashable ZIP : http://www.mediafire.com/?un6239axlgsqys6

HOW TO CHANGE XPERIA Z LOCKSCREEN WALLPAPER :

[YOUTUBE]5W2GvN5pS5g[/YOUTUBE]

Thanks to MohamedAzi.

TRICK ON LOCKSCREEN WALLPAPER STAYING FOR 1 SECOND :

Apply this image as Samsung lockscreen wallpaper ( apply from Display > Wallpaper > Lockscreen ), not XPERIA LOCKSCREEN WALLPAPER that the method provided by Mohamed Azi

Then go Developer Option in the setting, change the Window Animation scale to 0.5 or Off.

Trick By ME

EnJoY !