Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,809,576 Members 37,572 Now Online
XDA Developers Android and Mobile Development Forum

[VRTHEME]1% Animated Battery Mod for Stock Roms, PA 2.5 & SmoothROM 4.2

Tip us?
 
Spannaa
Old
(Last edited by Spannaa; 27th July 2013 at 03:51 PM.) Reason: Added Stock 4.3 JWR66V Wi-Fi & 3G Base and Revert To Stock VRThemes
#1  
Spannaa's Avatar
Recognized Themer - OP
Thanks Meter 11,164
Posts: 3,125
Join Date: Sep 2010
Location: Cardiff

 
DONATE TO ME
Battery Full [VRTHEME]1% Animated Battery Mod for Stock Roms, PA 2.5 & SmoothROM 4.2

The stock battery on the Nexus 7 only changes icons at 0%, 15%, 28%, 43%, 57%, 71%, 85% & 100% charge so I've modified it so that there are now icons for every 1% and they're also animated when the device is charging.

To do this, I made two sets of Base VRThemes which modify SystemUI.apk:

The first set are Base Statusbar Battery VRThemes which change just the statusbar battery icons and contain a modified res\drawable\stat_sys_battery.xml, a modified res\drawable\stat_sys_battery_charge.xml, the 202 1% statusbar battery icons in res\drawable-hdpi & larger versions of thes icons in res\drawable-sw720dp-hdpi for tablet mode users and a modified resources.arsc

The second set are Base Statusbar Battery & Pulldown Battery Toggle VRThemes which change the statusbar battery icons and the pulldown battery toggle battery icons. These contain a modified res\drawable\stat_sys_battery.xml, a modified res\drawable\stat_sys_battery_charge.xml, a modified res\drawable\qs_sys_battery.xml, a modified res\drawable\qs_sys_battery_charging.xml, the 202 1% statusbar battery icons & the 202 1% pulldown battery toggle battery icons in res\drawable-hdpi and a modified resources.arsc

The new resources.arsc is needed because it contains the modified res\values\public.xml file with the info about the battery pngs. Unfortunately, adding this file makes the base VRTheme rom specific.

If a Base Statusbar Battery VRTheme has been flashed, Battery Universal VRThemes can be flashed over the top to change just the statusbar battery icons.

If a Base Statusbar Battery & Pulldown Battery Toggle VRTheme has been flashed, Pulldown Battery Universal VRThemes can be flashed over the top to change just the pulldown battery toggle battery icons and Battery Universal VRThemes can be flashed over the top to change just the statusbar battery icons.

These VRThemes have all been tested using both TWRP & CWM recovery and multiple Universal VRTheme flashing is supported.


Downloads

Base Statusbar Battery VRThemes

These all contain the HyDrOG3N statusbar battery icons:


NOTE: Wi-Fi only and 3G models require different Base Battery VRThemes

Stock 4.3 JWR66V Wi-Fi HyDrOG3N Base Battery VRTheme

Stock 4.3 JWR66V 3G HyDrOG3N Base Battery VRTheme

Stock 4.2.2 JDQ39 Wi-Fi HyDrOG3N Base Battery VRTheme

Stock 4.2.2 JDQ39 3G HyDrOG3N Base Battery VRTheme

Stock 4.2.1 JOP40D Wi-Fi HyDrOG3N Base Battery VRTheme

Stock 4.2.1 JOP40D 3G HyDrOG3N Base Battery VRTheme

Stock 4.2 JOP40C Wi-Fi HyDrOG3N Base Battery VRTheme

Stock 4.2 JOP40C 3G HyDrOG3N Base Battery VRTheme

Stock 4.1.2 JZO54K HyDrOG3N Base Battery VRTheme

ParanoidAndroid 2.5 HyDrOG3N Base Battery VRTheme

SmoothROM 4.2.1 JOP40D HyDrOG3N Base Battery VRTheme


Base Statusbar Battery & Pulldown Battery Toggle VRThemes

These all contain 1% stock statusbar battery icons and also theme the pulldown battery toggle in a similar style:




NOTE: Wi-Fi only and 3G models require different Base Battery VRThemes

Stock 4.3 JWR66V Wi-Fi Stock Statusbar Pulldown Base Battery VRTheme

Stock 4.3 JWR66V 3G Stock Statusbar Pulldown Base Battery VRTheme

Stock 4.2.2 JDQ39 Wi-Fi Stock Statusbar Pulldown Base Battery VRTheme

Stock 4.2.2 JDQ39 3G Stock Statusbar Pulldown Base Battery VRTheme

Stock 4.2.1 JOP40D Wi-Fi Stock & Pulldown % Base Battery VRTheme

Stock 4.2.1 JOP40D 3G Stock & Pulldown % Base Battery VRTheme

Stock 4.2 JOP40C Wi-Fi Stock & Pulldown % Base Battery VRTheme

Stock 4.2 JOP40C 3G Stock & Pulldown % Base Battery VRTheme


Battery Universal VRThemes

These can be flashed after any Base VRTheme to change just the statusbar battery icons.

NOTE: Before flashing a Battery Universal VRTheme over any Stock 4.3 JWR66V, Stock 4.2.2 JDQ39, Stock 4.2.1 JOP40D, Stock 4.2 JOP40C or SmoothROM 4.2.1 JOP40D Base Battery VRTheme, you should delete the drawable-sw720dp-hdpi folder from the Battery Universal VRTheme first. This folder can be found in the zip at:
vrtheme/system/app/SystemUI.apk/res/drawable-sw720dp-hdpi

ICS Circle Battery Universal VRTheme


ICS Circle 30% Orange 15% Red Battery Universal VRTheme


HyDrOG3N Battery Universal VRTheme


Vertumus Battery Universal VRTheme


CM10 Blue Alternative % Battery Universal VRTheme


Signal Battery Universal VRTheme


Blue Circle Battery Universal VRTheme


Bagel Battery Universal VRTheme


Blue Droid Battery Universal VRTheme


CM10 Battery Universal VRTheme


Blue Glass Battery Universal VRTheme


Dotted Battery Universal VRTheme


Big Circle Battery Universal VRTheme


AFAinHD Battery Universal VRTheme (original icons by AFAinHD)


JKay S3 Nexus AOSPblue Battery Universal VRTheme (original icons by _JKay_)


JKay S3 Nexus AOSPblue Orange Battery Universal VRTheme (original icons by _JKay_)


JKay S3 Nexus AOSPblue Yellow Orange Battery Universal VRTheme (original icons by _JKay_)


JKay S3 Battery Vertical AOSPblue Battery Universal VRTheme (original icons by _JKay_)


JKay S3 Battery Vertical AOSPblue OrangeFrom15 Battery Universal VRTheme (original icons by _JKay_)


Stock % Battery Universal VRTheme


Whiter Digits Battery Universal VRTheme (original icons by patmorris)


Stock Numbers Battery Universal VRTheme


Bluemint Battery Universal VRTheme (original icons by vicino)


AOKP Battery Universal VRTheme


Stock 15% Red Battery Universal VRTheme



Pulldown Battery Universal VRThemes

These can be flashed after a Base Statusbar Battery & Pulldown Battery Toggle VRTheme to change just the pulldown battery toggle icons.

AFAinHD Pulldown Battery Toggle Universal VRTheme (original icons by AFAinHD)


Stock % Pulldown Battery Toggle Universal VRTheme


Stock 15% Red Pulldown Battery Toggle Universal VRTheme



Remove Themes & Revert Back To Stock SystemUI.apk

Flash these to completely remove the battery themes and revert back to the stock SystemUI.apk for your model & rom.

4.3 JWR66V Wi-Fi Revert To Stock SystemUI VRTheme

4.3 JWR66V 3G Revert To Stock SystemUI VRTheme

4.2.2 JDQ39 Wi-Fi Revert To Stock SystemUI VRTheme

4.2.2 JDQ39 3G Revert To Stock SystemUI VRTheme

4.2.1 JOP40D Wi-Fi Stock SystemUI.apk VRTheme

4.2.1 JOP40D 3G Stock SystemUI.apk VRTheme

4.2 JOP40C Wi-Fi Stock SystemUI.apk VRTheme

4.2 JOP40C 3G Stock SystemUI.apk VRTheme

4.1.2 JZO54K Stock SystemUI.apk VRTheme

ParanoidAndroid 2.5 Stock SystemUI.apk VRTheme

SmoothROM 4.2.1 JOP40D Revert To Stock SystemUI.apk VRTheme


Installation

TWRP Installation
  1. Download the correct Base Battery VRTheme zip for your model & rom
  2. If you want a different battery to the base, download a Universal Battery VRTheme zip file (if your base is 4.3, 4.2.2, 4.2.1 or 4.2, you need to delete the drawable-sw720dp-hdpi folder from the Universal Battery VRTheme zip)
  3. Copy the zip(s) to your device
  4. Boot into TWRP recovery and choose the base zip you want to install
  5. Choose the universal zip you want to flash over the base zip (if any)
  6. Install the zip(s)
  7. Reboot your device

CWM Installation
  1. Download the correct Base Battery VRTheme zip for your model & rom
  2. If you want a different battery to the base, download a Universal Battery VRTheme zip file (if your base is 4.3, 4.2.2, 4.2.1 or 4.2, you need to delete the drawable-sw720dp-hdpi folder from the Universal Battery VRTheme zip)
  3. Copy the zip(s) to your device
  4. Boot into CWM recovery and choose the base zip you want to install
  5. Install the zip
  6. Choose the universal zip you want to flash over the base zip (if any)
  7. Install the zip
  8. Reboot your device


__________________

If you want to change your SoftKeys too...
Read first...Then search...Then ask...

My Work, My Dev-Host, My goo.im, My Android File Host
 
The Following 70 Users Say Thank You to Spannaa For This Useful Post: [ Click to Expand ]
 
Spannaa
Old
(Last edited by Spannaa; 10th January 2013 at 10:46 AM.) Reason: Updated download links to goo.im hosting
#2  
Spannaa's Avatar
Recognized Themer - OP
Thanks Meter 11,164
Posts: 3,125
Join Date: Sep 2010
Location: Cardiff

 
DONATE TO ME
Other VRThemes

As well as the Base VRThemes & Battery Universal VRThemes, I've added a few mini Universal VRThemes to slightly change the look of the statusbar icons.

Blue WiFi Arrows Universal VRTheme
Blue Alarm Universal VRTheme

Flashed over Stock 4.2 JOP40C HyDrOG3N Base Battery VRTheme & Signal Battery Universal VRTheme.


Blue Ginger WiFi Universal VRTheme

Changes the WiFi icons & arrows to a blue Gingerbread style.


Revert to Stock WiFi Universal VRTheme
Read first...Then search...Then ask...

My Work, My Dev-Host, My goo.im, My Android File Host
 
The Following 16 Users Say Thank You to Spannaa For This Useful Post: [ Click to Expand ]
 
Rsotbiemrptson
Old
#3  
Rsotbiemrptson's Avatar
Senior Member
Thanks Meter 363
Posts: 437
Join Date: Nov 2006
Hello,
Can you modify this so that it also puts the image files in the folder res\drawable-sw720dp-hdpi so that it works when in tablet mode.
Thanks,

Rsotbiemrptson
 
Spannaa
Old
(Last edited by Spannaa; 6th November 2012 at 07:15 PM.)
#4  
Spannaa's Avatar
Recognized Themer - OP
Thanks Meter 11,164
Posts: 3,125
Join Date: Sep 2010
Location: Cardiff

 
DONATE TO ME
Yes, I'll get onto it ASAP.

I'll update this post when it's done.
_____________________________

EDIT: All zips updated to include larger versions of the battery images for tablet mode users in res\drawable-sw720dp-hdpi
_____________________________
Read first...Then search...Then ask...

My Work, My Dev-Host, My goo.im, My Android File Host
 
The Following 2 Users Say Thank You to Spannaa For This Useful Post: [ Click to Expand ]
 
Belka77
Old
#5  
Member
Thanks Meter 0
Posts: 38
Join Date: Jan 2007
Hey guys, Sorry if posting in the wrong thread. Is there a way to completely replace the charging animation with system boot? I am going to be using my N7 tablet as a carputer and want it to autoboot up when charger is plugged in.
 
AFAinHD
Old
#6  
AFAinHD's Avatar
Senior Member
Thanks Meter 527
Posts: 781
Join Date: Mar 2011
Location: Fenton, Missouri

 
DONATE TO ME
Hey bro, you should really make a tutorial for this, I would really like to make a Beautiful Battery theme.
All I really need to know is what files to make and how to complile the flashable zip.
Graphics Designer for the SickleSoftware dev team.


I made beautiful boot animations for the Nexus 7 before it was cool.
Want to know how to make your own bootanimation? Check out my noob-friendly guide! Here.
My goo.im repo - here.
 
Warren87
Old
#7  
Senior Member
Thanks Meter 108
Posts: 532
Join Date: May 2012
It's fantastic, thanks man.
I’ve learned… That life is like a roll of toilet paper. The closer it gets to the end, the faster it goes.
 
Spannaa
Old
#8  
Spannaa's Avatar
Recognized Themer - OP
Thanks Meter 11,164
Posts: 3,125
Join Date: Sep 2010
Location: Cardiff

 
DONATE TO ME
Quote:
Originally Posted by AFAinHD View Post
Hey bro, you should really make a tutorial for this, I would really like to make a Beautiful Battery theme.
All I really need to know is what files to make and how to complile the flashable zip.
It doesn't really need a tutorial as there's no decompiling/compiling involved when modifying the universal VRTheme zips.

All you need to do is download any Universal VRTheme and replace the 101 battery icons (stat_sys_battery_0.png - stat_sys_battery_100.png) and 101 battery charging icons (stat_sys_battery_charge_anim0.png - stat_sys_battery_charge_anim100.png) in res\drawable-hdpi & res\drawable-sw720dp-hdpi with the ones you want to use.

Make sure they're about the same size as the current ones and simply drop them directly into the zip file using 7-Zip.

Once you've done this, follow the installation instructions but flash your new universal zip after the base zip.
Read first...Then search...Then ask...

My Work, My Dev-Host, My goo.im, My Android File Host
 
The Following 6 Users Say Thank You to Spannaa For This Useful Post: [ Click to Expand ]
 
tatoone
Old
#9  
Senior Member
Thanks Meter 10
Posts: 551
Join Date: Oct 2007
Thanks, i'm waiting for update to 4.2
================
Samsung S4 I9505 black

... ma ho sempre gli HTC nel cuore ...
... but I have always the HTC in my heart ...

================
 
Spannaa
Old
#10  
Spannaa's Avatar
Recognized Themer - OP
Thanks Meter 11,164
Posts: 3,125
Join Date: Sep 2010
Location: Cardiff

 
DONATE TO ME
Quote:
Originally Posted by tatoone View Post
Thanks, i'm waiting for update to 4.2
I'll upload it as soon as it's finished - just extracted 4.2 SystemUI.apk from my Nexus...
Read first...Then search...Then ask...

My Work, My Dev-Host, My goo.im, My Android File Host
 

The Following 3 Users Say Thank You to Spannaa For This Useful Post: [ Click to Expand ]
Tags
1% battery, cwm, twrp, vrtheme
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes