Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[GUIDE][MOD] Lockscreen style Note 4 for Note 3 (new Update post#2)

OP ksr007

15th October 2014, 04:19 PM   |  #1  
ksr007's Avatar
OP Senior Member
Flag Hanoi
Thanks Meter: 4,693
 
1,533 posts
Join Date:Joined: Apr 2011
Donate to Me
VN-TEAM present Guide mod Locksceen style Note 4 for Note 3 !

First, This guide only help you to mod lockscreen Note 3 ( Time, clock, alarm, charging like Note4) , Not help you to enable Note4 lockscreen unlock effect or anymore .
Just tested on S5 ported rom Tweaked stock S5 port and My S5 port rom ( not avaiable on XDA) , Galaxy S4 ( 4.4.2) .
However this guide can apply for Note 2, S4, N3 neo... etc running Kitkat 4.4.2 .


*Note :
- You must have and basic knowledge about Decompiling and compiling apks .
- Text editor using Notepad ++
- Copy Keyguard.apk from your rom to PC for modding .

1. Move clock from Right to center .
Decompile Keyguard.apk, navigate to > Keyguard.apk/res/layout/Sec_single_clock.xml
Open Sec_single_clock.xml with Notepad++ :
See codes below ( Marked in red zone.)


Change to the whole line with this code:

Code:
<LinearLayout android:gravity="center_horizontal" android:orientation="vertical" android:id="@id/keyguard_single_clock" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/kg_singleclock_margin_left" android:layout_marginTop="@dimen/kg_singleclock_margin_top" android:layout_marginRight="@dimen/kg_singleclock_margin_right"
  xmlns:android="http://schemas.android.com/apk/res/android">
    <LinearLayout android:gravity="bottom" android:layout_gravity="center_horizontal" android:orientation="horizontal" android:id="@id/keyguard_single_clock_total" android:focusable="true" android:clickable="true" android:layout_width="wrap_content" android:layout_height="@dimen/kg_singleclock_height">
        <com.android.keyguard.sec.SecKeyguardTextClock android:textSize="16.0dip" android:textColor="#ffffffff" android:id="@id/keyguard_single_clock_ampm_kor" android:clickable="false" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="5.0dip" android:shadowColor="#cc000000" android:textAllCaps="true" android:format12Hour="@string/status_view_ampm_for_12_hours" android:format24Hour="@string/status_view_ampm_for_24_hours" style="@style/keyguard_text_shadow" />
        <com.android.keyguard.sec.SecKeyguardTextClock android:textSize="@dimen/kg_singleclock_time_text_size_normal" android:textColor="#ffffffff" android:gravity="bottom" android:id="@id/keyguard_single_clock_time" android:clickable="false" android:layout_width="wrap_content" android:layout_height="wrap_content" android:shadowColor="#cc000000" android:format12Hour="@string/status_view_12_hours_format" android:format24Hour="@string/status_view_24_hours_format" style="@style/keyguard_text_shadow" />
        <com.android.keyguard.sec.SecKeyguardTextClock android:textSize="16.0dip" android:textColor="#ffffffff" android:id="@id/keyguard_single_clock_ampm" android:clickable="false" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:shadowColor="#cc000000" android:textAllCaps="true" android:format12Hour="@string/status_view_ampm_for_12_hours" android:format24Hour="@string/status_view_ampm_for_24_hours" style="@style/keyguard_text_shadow" />
    </LinearLayout>
    <LinearLayout android:layout_gravity="center_horizontal" android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content">
        <TextView android:textSize="@dimen/kg_widget_common_date_text_size" android:textColor="#ffffffff" android:id="@id/keyguard_single_clock_date" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:shadowColor="#cc000000" android:fontFamily="sans-serif" style="@style/keyguard_text_shadow" />
        <View android:visibility="gone" android:layout_width="20.0dip" android:layout_height="0.0dip" />

2. Move Weather and Shealth to center .

Navigate to Keyguard.apk/res/layout/sec_adaptive_event_container_small.xml
See code below ( Marked in red zone)


Change to the whole line with this code:

Code:
<com.android.keyguard.sec.AdaptiveEventContainerSmall android:gravity="center" android:orientation="horizontal" android:id="@id/adaptive_event_container_small" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layoutDirection="ltr" android:layout_marginStart="19.0dip" android:layout_marginEnd="19.0dip"
  xmlns:android="http://schemas.android.com/apk/res/android">
    <LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/emergency_container" android:layout_width="fill_parent" android:layout_height="wrap_content" />
    <LinearLayout android:layout_gravity="center_horizontal" android:id="@id/adaptive_info_area" android:layout_width="wrap_content" android:layout_height="wrap_content">
        <LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/weather_container" android:layout_width="wrap_content" android:layout_height="wrap_content" />
        <LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/ped_container" android:layout_width="wrap_content" android:layout_height="wrap_content" />
    </LinearLayout>
3. Move charging battery to center .

Navigate to Keyguard.apk/res/layout/keyguard_message_area.xml
See code below (Marked in red zone)


Change to the whole line with this code:

Code:
<LinearLayout android:gravity="center" android:orientation="horizontal" android:paddingLeft="20.0dip" android:paddingRight="20.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content"
  xmlns:android="http://schemas.android.com/apk/res/android">
    <com.android.keyguard.KeyguardMessageArea android:textAppearance="?android:textAppearance" android:textSize="@dimen/kg_status_line_font_size" android:textColor="#ffffffff" android:ellipsize="marquee" android:gravity="center" android:id="@id/keyguard_message_area" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:shadowColor="#7f000000" android:fontFamily="sans-serif" style="@style/keyguard_text_shadow"
      xmlns:android="http://schemas.android.com/apk/res/android" />
</LinearLayout>
4. Move alarm icon to Center .
Navigate to Keyguard.apk/res/layout/sec_alarm.xml
See code below (Marked in red zone):


Change to the whole line with this code:

Code:
<LinearLayout android:visibility="gone" android:orientation="vertical" android:layout_width="wrap_content" android:layout_height="wrap_content"
5. Download Note4 lockscreen wallpaper from Here
Copy it to : Keyguard.apk/res/drawable-xxhdpi/

6. All done and now Recompile apk .
Copy again Keyguard.apk to System/priv-app by Root explorer ( or etc)

Special thanks to
:
Quote:

VN-team
@thanhfhuongf
@tpv1988
Forum Samsungviet.vn

Last edited by ksr007; 16th October 2014 at 10:55 AM.
The Following 24 Users Say Thank You to ksr007 For This Useful Post: [ View ]
15th October 2014, 04:21 PM   |  #2  
ksr007's Avatar
OP Senior Member
Flag Hanoi
Thanks Meter: 4,693
 
1,533 posts
Join Date:Joined: Apr 2011
Donate to Me
Update 16 Oct 2014 :

7. Move Owner Infomation from right to center .

Navigate to Keyguard.apk/res/layout/sec_owner_info .

Find this line :
Code:
<LinearLayout  android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content"
Change the whole line with this code :
Code:
<LinearLayout android:gravity="center_horizontal" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content"
Save and done !
Last edited by ksr007; 16th October 2014 at 10:54 AM.
The Following 11 Users Say Thank You to ksr007 For This Useful Post: [ View ]
15th October 2014, 04:22 PM   |  #3  
ksr007's Avatar
OP Senior Member
Flag Hanoi
Thanks Meter: 4,693
 
1,533 posts
Join Date:Joined: Apr 2011
Donate to Me
2nd......
The Following 4 Users Say Thank You to ksr007 For This Useful Post: [ View ]
15th October 2014, 04:34 PM   |  #4  
Senior Member
Thanks Meter: 58
 
242 posts
Join Date:Joined: Apr 2013
Mission impossible! Vũ brother!
The Following 3 Users Say Thank You to buitruclam For This Useful Post: [ View ]
15th October 2014, 04:35 PM   |  #5  
thanhfhuongf's Avatar
Senior Member
Flag Ha Long
Thanks Meter: 339
 
151 posts
Join Date:Joined: Aug 2011
More
Good job
The Following 3 Users Say Thank You to thanhfhuongf For This Useful Post: [ View ]
15th October 2014, 04:59 PM   |  #6  
fanyan's Avatar
Junior Member
Thanks Meter: 0
 
10 posts
Join Date:Joined: Apr 2014
Good job

Gửi từ SM-N910S của tôi
15th October 2014, 05:05 PM   |  #7  
ksr007's Avatar
OP Senior Member
Flag Hanoi
Thanks Meter: 4,693
 
1,533 posts
Join Date:Joined: Apr 2011
Donate to Me
Awesome latest firmware NI1 from S5 have 11 lockscreen effect !

The Following 4 Users Say Thank You to ksr007 For This Useful Post: [ View ]
15th October 2014, 05:13 PM   |  #8  
thereassaad's Avatar
Senior Member
Flag Bierut
Thanks Meter: 883
 
1,633 posts
Join Date:Joined: Aug 2013
More
Quote:
Originally Posted by ksr007

Awesome latest firmware NI1 from S5 have 11 lockscreen effect !

Can u share this setting please

Sent from my SM-N910C
15th October 2014, 05:17 PM   |  #9  
ksr007's Avatar
OP Senior Member
Flag Hanoi
Thanks Meter: 4,693
 
1,533 posts
Join Date:Joined: Apr 2011
Donate to Me
Quote:
Originally Posted by thereassaad

Can u share this setting please

Sent from my SM-N910C

Can not, mate ! It's from S5 korea N900S with lastest firware NI1, I think it will not work on older rom .
The Following User Says Thank You to ksr007 For This Useful Post: [ View ]
15th October 2014, 05:18 PM   |  #10  
thereassaad's Avatar
Senior Member
Flag Bierut
Thanks Meter: 883
 
1,633 posts
Join Date:Joined: Aug 2013
More
Quote:
Originally Posted by ksr007

Can not, mate ! It's from S5 korea N900S with lastest firware NI1, I think it will not work on older rom .

Okay but we can mod it bro [emoji6]
I like that lockscreen effect ..

Sent from my SM-N910C
Last edited by thereassaad; 15th October 2014 at 05:21 PM.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes