Hi
As promise to @tromine this is simple tutorial that change lockscreen Hour style to bold :D
What You Need:
1. APK Tool for decompiling (i use TMA and Thanks go to Ticklefish)
2. Stock Sony 18.6.A.0.175 rom installed and odex
3. Patience & Time
Lets Start.
First pull: SystemUI, framework-res and SemcGenericUxpRes ( Res are needed so you can properly decompile SystemUI)
Decompile SystemUI and go to SystemUI.apk\res\values folder open styles.xml
Find:
"somc_sony_clock_hour_style" controls Hour numbers
"somc_sony_clock_minute_style" control Min numbers
Add this line:
At "clock_hour_style"
under
At "clock_minute_style" change:
To
Now save and you can recompile.
If you want to change size of clock go to SystemUI.apk\res\values open dimens.xml
This are sizes for clock:
I changed my like this:
So it look smaller :D
@psichokillah want to get rid of the clock on the lockscreen. Is it possible?
The Answer is Yes. ;)
Go to SystemUI.apk\res\layout\somc_sony_clock_view.xml
On First line:
Add (android:visibility="invisible") after android:id="@id/sony_clock_root" so it look like this:
Save, recompile Push apk to system. :)
P.S. zips are NOT flashable copy/push them your choice.
How to Install:
1. Copy moded SysteUI to sd_card
2. Reboot to PhilZ_Touch recovery
3. Go to "Mounts and Storage
- mount /system ++Go Back++
Advanced Functions->Aroma File Manager
4. Select sdcard
5. Press and hold SystemUI->copy->Go back
6. Select: system->priv-app->SystemUI (Paste here and Overwrite)
Note: If permession is not rw-r--r-- select SystemUI.apk->menu->Change Permission to (User:read/write, Group:read, Others:read)
- Exit Aroma FM
- Wipe Cache and Dalvik/ART Cache
7. Reboot System Now
As promise to @tromine this is simple tutorial that change lockscreen Hour style to bold :D
What You Need:
1. APK Tool for decompiling (i use TMA and Thanks go to Ticklefish)
2. Stock Sony 18.6.A.0.175 rom installed and odex
3. Patience & Time
Lets Start.
First pull: SystemUI, framework-res and SemcGenericUxpRes ( Res are needed so you can properly decompile SystemUI)
Decompile SystemUI and go to SystemUI.apk\res\values folder open styles.xml
Find:
Code:
<style name="somc_sony_clock_hour_style" parent="@style/SonyClockBaseStyle">
<item name="android:textSize">@dimen/somc_sony_clock_hour_digit_size</item>
<item name="android:maxLines">1</item>
<item name="android:fontFamily">x-sst</item>
</style>
<style name="somc_sony_clock_minute_style" parent="@style/SonyClockBaseStyle">
<item name="android:textSize">@dimen/somc_sony_clock_minute_digit_size</item>
<item name="android:maxLines">1</item>
<item name="android:fontFamily">x-sst</item>"somc_sony_clock_minute_style" control Min numbers
Add this line:
At "clock_hour_style"
Code:
<item name="android:textStyle">bold</item>Code:
<item name="android:textSize">@dimen/somc_sony_clock_hour_digit_size</item>Code:
<item name="android:fontFamily">x-sst</item>Code:
<item name="android:fontFamily">x-sst-light</item>If you want to change size of clock go to SystemUI.apk\res\values open dimens.xml
This are sizes for clock:
Code:
<dimen name="somc_sony_clock_hour_digit_size">114.0dip</dimen>
<dimen name="somc_sony_clock_minute_digit_size">108.0dip</dimen>Code:
<dimen name="somc_sony_clock_hour_digit_size">94.0dip</dimen>
<dimen name="somc_sony_clock_minute_digit_size">94.0dip</dimen>@psichokillah want to get rid of the clock on the lockscreen. Is it possible?
The Answer is Yes. ;)
Go to SystemUI.apk\res\layout\somc_sony_clock_view.xml
On First line:
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.sonymobile.keyguard.plugin.sonyclock.SonyClock android:layout_gravity="center_horizontal" android:orientation="vertical" android:id="@id/sony_clock_root" android:layout_width="wrap_content" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">Code:
<?xml version="1.0" encoding="utf-8"?>
<com.sonymobile.keyguard.plugin.sonyclock.SonyClock android:layout_gravity="center_horizontal" android:orientation="vertical" android:id="@id/sony_clock_root" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">P.S. zips are NOT flashable copy/push them your choice.
How to Install:
1. Copy moded SysteUI to sd_card
2. Reboot to PhilZ_Touch recovery
3. Go to "Mounts and Storage
- mount /system ++Go Back++
Advanced Functions->Aroma File Manager
4. Select sdcard
5. Press and hold SystemUI->copy->Go back
6. Select: system->priv-app->SystemUI (Paste here and Overwrite)
Note: If permession is not rw-r--r-- select SystemUI.apk->menu->Change Permission to (User:read/write, Group:read, Others:read)
- Exit Aroma FM
- Wipe Cache and Dalvik/ART Cache
7. Reboot System Now
No comments:
Post a Comment