Wednesday, February 17, 2016

[GUIDE][TUT][LP] How to Make Analogue Clock on Lockscreen COMPLETELY Circular

Hi everyone, I never really liked the shape that the analogue clock from the lockscreen had so I gave a try to make it less squarey and more circular... And now I wanted to share it with you... Try it AT YOUR OWN RISK, always make a Backup first.

What you need:

- Advanced ApkTool installed (Java installed as well, so ApkTool can work)
- Notepad++
- SystemUI (you can get it at system/priv app/systemui)
- Make a Nandroid Backup just in case (it never hurts to make one)
- Knowledge on compiling and recompiling
- Follow my guide patiently and carefully :)


Instructions:

Decompile SystemUI.apk and go to res/values/dimens.xml
Search for this

Code:


    10.0dip
    9.5dip
    11.0dip
    55.0dip
    52.25dip
    60.5dip
    6.5dip
    6.174988dip
    7.0999756dip
    95.0dip
    90.25dip
    104.5dip
    3.25dip
    3.087494dip
    3.5749817dip

And change those with the following lines (you can copy and paste)

Code:

    2.0dip
    1.5dip
    1.0dip
    50.0dip
    50.0dip
    50.5dip
    4.5dip
    4.174988dip
    4.0999756dip
    70.0dip
    70.25dip
    70.5dip
    1.25dip
    1.0874939dip
    1.5749817dip

Search for this
Code:

    127.0dip
    120.649994dip
    139.69998dip
    2.0dip
    1.8999939dip
    2.1999817dip
    33.0dip
    31.349976dip
    36.299988dip
    2.0dip
    1.8999939dip
    2.1999817dip

And replace with this

Code:

    115.0dip
    115.649994dip
    115.69998dip
    2.0dip
    1.8999939dip
    2.1999817dip
    10.0dip
    10.0dip
    10.0dip
    1.0dip
    1.0dip
    1.0dip

Save the changes and recompile SystemUI, push it to its respective folder in system/priv app giving the correct permissions (rw-r-r) and reboot device.

So far I tested in my Xperia Z3 and my Xperia Z1 Compact but I'm guessing it can work for all Xperias running Lollipop... Very important, before trying anything ALWAYS MAKE A BACKUP.

I added pics at the bottom, first is the stock lockscreen clock and second is the modified one.


Hope you guys liked it, please hit the Thanks button it you found my job useful :highfive:

Attached Thumbnails
Click image for larger version    Name:	Screenshot_2016-02-17-19-17-38.png  Views:	N/A  Size:	91.6 KB  ID:	3650255   Click image for larger version    Name:	Screenshot_2016-02-17-19-19-28.png  Views:	N/A  Size:	85.7 KB  ID:	3650256  


via xda-developers http://ift.tt/1ROKbZ6

IFTTT

Put the internet to work for you.

Turn off or edit this Recipe

No comments:

Post a Comment