[Android Software/Hacking General [Developers Only]] aryan_ar:
Many of you guys thinking of to make 3-way, 4-way lockscreen,

also there are guides available on xda,

but i can bet you, this one will be the easiest way make N-way lockscreen :) :D

This Is My Modded 3-Way Ring Lockscreen:

MOVE TOWARDS PART 2: IF YOU WANT TO CREATE 3-WAY RING LOCKSCREEN

Part1: MOVING UNLOCK TARGET TOWARS UP.

1. Decompile Your framework-res.apk

2. Open framework-res.apk/res/layout/keyguard_screen_tab_unlock.xml

3. Search @id/unlock_widget

4. You will get this code

<com.android.internal.widget.multiwaveview.MultiWaveView
android:orientation="horizontal" android:id="[B]@id/unlock_widget[/B]" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentBottom="true"
[COLOR="Red"]android:targetDrawables="@array/lockscreen_targets_with_camera" [/COLOR][COLOR="Red"]android:targetIntents="@array/lockscreen_targets_intent_with_camera" [/COLOR]
android:handleDrawable="@drawable/ic_lockscreen_handle" android:moveRightIndicator="@drawable/move_right_indicator"
android:chevronDrawable="@drawable/ic_lockscreen_chevron" android:chevronDirection="1" android:waveDrawable="@drawable/ic_lockscreen_outring"
android:outerRadius="@dimen/multiwaveview_target_placement_radius" android:hitRadius="@dimen/multiwaveview_hit_radius" android:vibrationDuration="20"
android:snapMargin="@dimen/multiwaveview_snap_margin" android:feedbackCount="3" android:verticalOffset="150.0dip"
android:horizontalOffset="0.0dip" />

5. Cleary you can see here, there are Two arrys, in the above code

android:targetDrawables="[B]@array/lockscreen_targets_with_camera[/B]"
android:targetIntents="[B]@array/lockscreen_targets_intent_with_camera[/B]"

6. Now we open framework-res.apk/res/values/arrays.xml

7. Search the arrays (shown in [5]). Here is mine:

<array name="[B]lockscreen_targets_with_camera[/B]">
<item>@drawable/ic_lockscreen_unlock</item>
<item>@null</item>
<item>@drawable/ic_lockscreen_camera</item>
<item>@null</item>
</array>
<array name="[B]lockscreen_targets_intent_with_camera[/B]">
<item>@null</item>
<item>@null</item
<item>intent:#Intent;action=android.intent.action.MAIN;component=com.android.contacts/.DialtactsActivity;end</item>
<item>@null</item>
</array>

Here Now We Are Moving Unlock Target From /*Swipe Right*/ to /*Swipe Top*/

So Change this:

<array name="lockscreen_targets_with_camera">
<item>[COLOR="Red"]@drawable/ic_lockscreen_unlock[/COLOR]</item>
<item>[COLOR="red"]@null[/COLOR]</item>
<item>@drawable/ic_lockscreen_camera</item>
<item>@null</item>
</array>

To This

<array name="lockscreen_targets_with_camera">
<item>[COLOR="red"]@null[/COLOR]</item>
<item>[COLOR="red"]@drawable/ic_lockscreen_unlock[/COLOR]</item>
<item>@drawable/ic_lockscreen_camera</item>
<item>@null</item>
</array>

DONE!!!

Recompile And Flash framework-res.apk, You Will Get /*Swipe Up*/ To Unlock

Part 2: MAKING 3-WAY RING LOCKSCREEN

[NO Need To Follow Part 1:, Its Just For Making You Understand The Logic Behind The Lockscreen

You Can Start Part 2:]

Download This ZIP

1. Decompile framework-res.apk

2. Extract the Above Downloaded ZIP, Paste its contents to ur framework-res.apk folder[res/drawable; res/drawable-hdpi]

3. Open framework-res.apk/res/values/arrays.xml

4. Search Your Array:This one is mine [lockscreen_targets_with_camera & lockscreen_targets_intent_with_camera]

Change This:

<array name="[B]lockscreen_targets_with_camera[/B]">
<item>@null</item>
<item>@drawable/ic_lockscreen_unlock</item>
<item>@drawable/ic_lockscreen_camera</item>
<item>@null</item>
</array>
<array name="[B]lockscreen_targets_intent_with_camera[/B]">
<item>@null</item>
<item>@null</item>
<item>intent:#Intent;action=android.intent.action.MAIN;component=com.android.contacts/.DialtactsActivity;end</item>
<item>@null</item>
</array>

To This:

<array name="lockscreen_targets_with_camera">
<item>[COLOR="Red"]@drawable/ar_camera[/COLOR]</item>
<item>[COLOR="red"]@drawable/ar_unlock[/COLOR]</item>
<item>[COLOR="red"]@drawable/ar_phone[/COLOR]</item>
<item>@null</item>
</array>
<array name="lockscreen_targets_intent_with_camera">
<item>[COLOR="red"]intent:#Intent;action=android.intent.action.MAIN;component=com.android.camera.CAMERA;end[/COLOR]</item>
<item>@null</item>
<item>intent:#Intent;action=android.intent.action.MAIN;component=com.android.contacts/.DialtactsActivity;end</item>
<item>@null</item>
</array>

DONE!!!

Recompile and Flash framework-res.apk

Press Thanks If You Like My Work, I know Its Very Simple, But I Spent My Two Weeks To Decode The Locksceen, Please Give Me a Credit, If You Are Using My Work

THANK YOU :D