[MOD][KRT16O] Center Clock I Battery % Mod I odex I deodexed I 7 versions I Nexus 4

Search This thread

fernandezhjr

Senior Member
May 4, 2009
1,502
457
Highlands, TX

tiaoalvino

Senior Member
Aug 19, 2013
136
151
So Folks, here are the odex versions​
At first place, thank you for the excellent work!

It would be possible to you make versions where the font size of the battery percentage is the same size at the clock font? If so, it would be great! :D

Again, thanks! :thumbup:


Enviado de meu Nexus 4 usando Tapatalk
 

rush25

Senior Member
Nov 12, 2011
3,359
5,039
28
Mumbai
At first place, thank you for the excellent work!

It would be possible to you make versions where the font size of the battery percentage is the same size at the clock font? If so, it would be great! :D

Again, thanks! :thumbup:


Enviado de meu Nexus 4 usando Tapatalk

+1

Sent from my GT-I9100 using xda premium
 

c_86

Senior Member
Jul 16, 2011
3,114
794
Canada
www.cmsrm.com
Google Pixel 6 Pro
Works great here on kitkang. Only think is I think the battery percentage should be smaller. Seems to be to big and bold in the status bar.

Also I get this:

When pulling down the notification bar the quick tile and time have a white background now. Kinda annoying.

I have attached a pic.


Sent from my Nexus 4 using Tapatalk
 

Attachments

  • uploadfromtaptalk1384730449212.jpg
    uploadfromtaptalk1384730449212.jpg
    29.9 KB · Views: 220

veeholics

Senior Member
Apr 3, 2010
162
42
Jakarta
At first place, thank you for the excellent work!

It would be possible to you make versions where the font size of the battery percentage is the same size at the clock font? If so, it would be great! :D

Again, thanks! :thumbup:


Enviado de meu Nexus 4 usando Tapatalk

+1
And if possible, the matching grayish color when an app is running too :D
Thanks for your hard work!

Sent from my Nexus 4 using XDA Premium 4 mobile app
 

TSDE73

Senior Member
Nov 14, 2010
290
243
Hi there,

I want to add an other mod (32 DPI Navbar Mod) and I´ve already changed the framework-res.apk successfully. I have to change the systemui.apk from you too (Nr. 5 (from THIS POST). I have to change the file res\layout\navigation_bar.xml and have to remove the entry android:scaleType="center". You will find it here:

"@drawable/ic_sysbar_back"

"@drawable/ic_sysbar_back_land"


can you do that for me cause I have big problems to decompile the file systemui.apk from you post named above....would be great!!

Thank you very much in advance

----------

EDIT: No help necessary, I got it :laugh:
 
Last edited:

ernadr

Senior Member
Jul 13, 2011
424
70
Zenica
Hi there,

I want to add an other mod (32 DPI Navbar Mod) and I´ve already changed the framework-res.apk successfully. I have to change the systemui.apk from you too (Nr. 5 (from THIS POST). I have to change the file res\layout\navigation_bar.xml and have to remove the entry android:scaleType="center". You will find it here:

"@drawable/ic_sysbar_back"

"@drawable/ic_sysbar_back_land"


can you do that for me cause I have big problems to decompile the file systemui.apk from you post named above....would be great!!

Thank you very much in advance

----------

EDIT: No help necessary, I got it :laugh:

Can you share your work and please some screanshots :sly:

Sent from my Nexus 4 using Tapatalk
 

geebr200

Member
Dec 4, 2012
30
2
Is it possible to have a transparent version and not have that shadow on the top and bottom of the screen?

Thanks OP
 

hozjacz

Senior Member
Sep 13, 2007
435
41
Prague
Hi, I flashed battery mod without icon (number 3) and after flashing I have trouble with touch control of my phone. Exactly when I wrote (slide) on software keyboard. Any solution?

Odesláno z mého Nexus 4 pomocí Tapatalk
 

cargobr151

Senior Member
Apr 2, 2010
319
955
Karscht
Google Pixel 6
Works great here on kitkang. Only think is I think the battery percentage should be smaller. Seems to be to big and bold in the status bar....

This is only for googles stock rom, no cm or aosp based roms...




...It would be possible to you make versions where the font size of the battery percentage is the same size at the clock font? If so, it would be great!...





Man, you have very good eyes ... I did not notice it...Ok, there is relatively a lot of work, but I'll do it.
Give me a little time...:)
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 46
    So Folks,

    I have battery indicator with % numbers created.
    This can be flashed via custom recovery.

    === Now available for the Nexus 4 KRT16O ===​

    Note:
    This mod shows, battery % as number and the battery icon (stock icon of Google), or even none. When charging, the% indicator does not change.


    A big thanks goes to Erhany for his source files. I have adapted this, for our N4.


    If you like it...



    New versions online - now with same text format like clock and color.
    Changes:
    before:
    <com.erryy.BatteryText android:textSize="16.0dip" android:textColor="#ffffffff" android:gravity="center" android:layout_width="wrap_content" android:layout_height="fill_parent" android:paddingStart="2.0dip" />


    after:
    <com.erryy.BatteryText android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:textColor="#ffbfbfbf" android:gravity="center" android:layout_width="wrap_content" android:layout_height="fill_parent" android:paddingStart="2.0dip" />

















    For deodexed ROMs click here:
    1. Version - deodexed: battery with % number to the right of the stock icon
    cargo_only_Batt_%_rechts_deodexed_N4_v2.zip

    2. Version - deodexed: battery with % number to the left of the stock icon
    cargo_only_Batt_%_links_deodexed_N4_v2.zip

    3. version - deodexed: battery only as % number
    cargo_only_Batt_%_without_Batt_Icon_deodexed_N4_v2.zip

    4. version - deodexed: CenterClock with stock battery icon
    cargo_only_CenterClock_withStockbatt_deodexed_N4_v2.zip

    5. version - deodexed: CenterClock with % battery without battery icon
    cargo_Centerclock+%_without_Batt_Icon_deodexed_N4_v2.zip

    6. version - deodexed: CenterClock with % battery left of the battery icon
    cargo_CenterClock+Batt_%_links_deodexed_N4_v2.zip

    7. version - deodexed: CenterClock with % battery right of the battery icon
    cargo_Centerclock+Batt_%_rechts_deodexed_N4_v2.zip

    If you want back to stock flash:
    Back_to_Stock_CenterClock+Batt_mod_deodexed_Nexus4.zip



    For odex ROMs click here:
    1. Version - odex: battery with % number to the right of the stock icon
    cargo_only_Batt_%_rechts_odex_N4_v2.zip

    2. Version - odex: battery with % number to the left of the stock icon
    cargo_only_Batt_%_links_odex_N4_v2.zip

    3. version - odex: battery only as % number
    cargo_only_Batt_%_without_Batt_Icon_odex_N4_v2.zip

    4. version - odex: CenterClock with stock battery icon
    cargo_only_CenterClock_withStockbatt_odex_N4_v2.zip

    5. version - odex: CenterClock with % battery without battery icon
    cargo_Centerclock+%_without_Batt_Icon_odex_N4_v2.zip

    6. version - odex: CenterClock with % battery left of the battery icon
    cargo_CenterClock+Batt_%_links_odex_N4_v2.zip

    7. version - odex: CenterClock with % battery right of the battery icon
    cargo_Centerclock+Batt_%_rechts_odex_N4_v2.zip

    If you want back to stock flash:
    Back_to_Stock_CenterClock+Batt_mod_odex_Nexus4.zip


    ===================================================

    Installing:
    - reboot into CustomRecovery
    - flash the correct zip you need (watch for odex and deodexed files)
    - reboot
    - enjoy


    If you like it...
    33
    So Folks, new versions added look Post #1

    If you like it...
    2
    Links aren't in the OP...
    Hey wow, are you an specialist? That's right, i've wrote tests running...

    But they are now online, look at post #1!!

    New version with changed color and text stlye like clock are online...
    2
    I've been made new versions. Last tests are running....
    New versions have the same format like the clock, same size and font
    Code:
    <com.erryy.BatteryText android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:textColor="#ffbfbfbf"
    2
    Works great here on kitkang. Only think is I think the battery percentage should be smaller. Seems to be to big and bold in the status bar....

    This is only for googles stock rom, no cm or aosp based roms...




    ...It would be possible to you make versions where the font size of the battery percentage is the same size at the clock font? If so, it would be great!...





    Man, you have very good eyes ... I did not notice it...Ok, there is relatively a lot of work, but I'll do it.
    Give me a little time...:)