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
5. Cleary you can see here, there are Two arrys, in the above code
6. Now we open framework-res.apk/res/values/arrays.xml
7. Search the arrays (shown in [5]). Here is mine:
Here Now We Are Moving Unlock Target From /*Swipe Right*/ to /*Swipe Top*/
So Change this:
To This
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:
To This:
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
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
Code:
<com.android.internal.widget.multiwaveview.MultiWaveView
android:orientation="horizontal" android:id="@id/unlock_widget" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentBottom="true"
android:targetDrawables="@array/lockscreen_targets_with_camera" android:targetIntents="@array/lockscreen_targets_intent_with_camera"
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" />Code:
android:targetDrawables="@array/lockscreen_targets_with_camera"
android:targetIntents="@array/lockscreen_targets_intent_with_camera"7. Search the arrays (shown in [5]). Here is mine:
Code:
<array name="lockscreen_targets_with_camera">
<item>@drawable/ic_lockscreen_unlock</item>
<item>@null</item>
<item>@drawable/ic_lockscreen_camera</item>
<item>@null</item>
</array>
<array name="lockscreen_targets_intent_with_camera">
<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>Quote:
|
Important Logic To Be Understood: Here in lockscreen_targets_with_camera array we can see Code:
<array name="lockscreen_targets_with_camera">/*Swipe Right*/[@drawable/ic_lockscreen_unlock] & /*Swipe Left*/[@drawable/ic_lockscreen_camera] #DONT GET CONFUSED HERE, I KNOW IT HAS "CAMERA" WRITTEN IN NAME, BUT ITS ACTUALLY FOR "PHONE":p |
So Change this:
Code:
<array name="lockscreen_targets_with_camera">
<item>@drawable/ic_lockscreen_unlock</item>
<item>@null</item>
<item>@drawable/ic_lockscreen_camera</item>
<item>@null</item>
</array>Code:
<array name="lockscreen_targets_with_camera">
<item>@null</item>
<item>@drawable/ic_lockscreen_unlock</item>
<item>@drawable/ic_lockscreen_camera</item>
<item>@null</item>
</array>Recompile And Flash framework-res.apk, You Will Get /*Swipe Up*/ To Unlock
Quote:
|
[Optional] You can use my prescripted flashable framework to flash framework-res.apk or any jar Download From Here |
[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:
Code:
<array name="lockscreen_targets_with_camera">
<item>@null</item>
<item>@drawable/ic_lockscreen_unlock</item>
<item>@drawable/ic_lockscreen_camera</item>
<item>@null</item>
</array>
<array name="lockscreen_targets_intent_with_camera">
<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>Code:
<array name="lockscreen_targets_with_camera">
<item>@drawable/ar_camera</item>
<item>@drawable/ar_unlock</item>
<item>@drawable/ar_phone</item>
<item>@null</item>
</array>
<array name="lockscreen_targets_intent_with_camera">
<item>intent:#Intent;action=android.intent.action.MAIN;component=com.android.camera.CAMERA;end</item>
<item>@null</item>
<item>intent:#Intent;action=android.intent.action.MAIN;component=com.android.contacts/.DialtactsActivity;end</item>
<item>@null</item>
</array>Recompile and Flash framework-res.apk
Quote:
|
Similary You can Make 4- Way, Just add a new xml to last @null and Target |
Quote:
|
[optional] You can use my prescripted flashable framework to flash framework-res.apk or any jar Download From Here |
THANK YOU :D