Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,814,105 Members 44,914 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?
 
Southrice
Old
#131  
Senior Member
Thanks Meter 23
Posts: 138
Join Date: Jul 2011
Location: Laguna Hills
Quote:
Originally Posted by Spannaa View Post
Thanks to chuyendv for attaching the original SystemUI.apk & framework-res.apk from 4.2.2 JDQ39 3G

I've now added Base Battery VRThemes and Revert To Stock SystemUI VRTheme versions for 4.2.2 JDQ39 3G to the first post.

Stock 4.2.2 JDQ39 3G HyDrOG3N Base Battery VRTheme
Stock 4.2.2 JDQ39 3G Stock Statusbar Pulldown Base Battery VRTheme
4.2.2 JDQ39 3G Revert To Stock SystemUI VRTheme
Will these work with PA 3.0 ? or is it only for stock roms?
[PHONE] ► Samsung Galaxy S4 SGH-I337
[ROM]PAC-ROM 6.17.13
[KERNEL]Ktweaker AOSP 6.17.13
[RECOVERY]OUDHS CMW 1.0.3.4
--------------------------------------------------------------------
[TABLET] ► Asus Nexus 7
[ROM]PA 3.5
[KERNEL]M-Kernal a56
[RECOVERY] ► CWM Recovery v6.0.2.3
 
Spannaa
Old
#132  
Spannaa's Avatar
Recognized Themer - OP
Thanks Meter 11,186
Posts: 3,133
Join Date: Sep 2010
Location: Cardiff

 
DONATE TO ME
Quote:
Originally Posted by Southrice View Post
Will these work with PA 3.0 ? or is it only for stock roms?
# 122
Quote:
Originally Posted by Spannaa View Post
PA 3.0 isn't supported and I've not tried to decompile it's SystemUI.apk yet to see if I can make a base battery vrtheme for it.

I was hoping that PA 3.0 would include the 1% battery mod and then users could just flash the universal vrthemes.
Read first...Then search...Then ask...

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

 
The Following User Says Thank You to Spannaa For This Useful Post: [ Click to Expand ]
 
iamelton
Old
#133  
iamelton's Avatar
Senior Member
Thanks Meter 319
Posts: 892
Join Date: Feb 2011
Location: Hong Kong
im on stock 4.2.2 rooted and flashed successfully the
(1) Stock 4.2.2 JDQ39 Wi-Fi Stock Statusbar Pulldown Base Battery VRTheme, and then
(2) Blue Droid Battery Universal VRTheme,
the blue droid battery icon showed up on the status bar..

and then i decided to try another theme and so flashed the
(1) 4.2.2 JDQ39 Wi-Fi Revert To Stock SystemUI VRTheme
in order to return to stock state first, but after rebooting into the system the status bar disappeared..

what could be the problem?
LG Nexus 5 (D821) : KitKat 4.4.4 (KTU84P) Rooted (by bigxie), ElementalX Kernel (by flar2), Xposed Framework (by rovo89, Tungstwenty)

LG Nexus 4 (E960) : KitKat 4.4.2 (KOT49H) Rooted
ASUS Nexus 7 (ME370T) : KitKat 4.4.4 (KTU84P) Rooted
Sony Xperia S (LT26i) : Jelly Bean 4.1.2 (6.2.B.1.96) Rooted, DooMKernel (by DooMLoRD)
Huawei IDEOS X5 (U8800H) : Aurora ICS 5.0u21 (by dzo)


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

[INFO] Disable OTA update notification
 
Spannaa
Old
(Last edited by Spannaa; 25th February 2013 at 09:20 AM.)
#134  
Spannaa's Avatar
Recognized Themer - OP
Thanks Meter 11,186
Posts: 3,133
Join Date: Sep 2010
Location: Cardiff

 
DONATE TO ME
Quote:
Originally Posted by iamelton View Post
im on stock 4.2.2 rooted and flashed successfully the
(1) Stock 4.2.2 JDQ39 Wi-Fi Stock Statusbar Pulldown Base Battery VRTheme, and then
(2) Blue Droid Battery Universal VRTheme,
the blue droid battery icon showed up on the status bar..

and then i decided to try another theme and so flashed the
(1) 4.2.2 JDQ39 Wi-Fi Revert To Stock SystemUI VRTheme
in order to return to stock state first, but after rebooting into the system the status bar disappeared..

what could be the problem?
I really don't know as I've tested these multiple times on 4.2.2 JDQ39 Wi-Fi and, out of 50 downloads, nobody else has reported a problem.

The Base VRThemes modify just SystemUI.apk and the Universal VRThemes just change the battey icons in the same apk.

The Revert to stock SystemUI VRTheme simply replaces the modified SystemUI.apk with the stock, unmodified SystemUI.apk

If you successfully flashed a Base VRTheme and then a Universal VRTheme, you don't need to return to stock to be able to change the batery icone - just flash another Unversal VRTheme over the top.

Are you sure you flashed the correct Base and Revert to stock versions for your device?
Did you have any other mods installed?
Read first...Then search...Then ask...

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

 
The Following User Says Thank You to Spannaa For This Useful Post: [ Click to Expand ]
 
iamelton
Old
(Last edited by iamelton; 25th February 2013 at 09:37 AM.)
#135  
iamelton's Avatar
Senior Member
Thanks Meter 319
Posts: 892
Join Date: Feb 2011
Location: Hong Kong
Quote:
Originally Posted by Spannaa View Post
I really don't know as I've tested these multiple times on 4.2.2 JDQ39 Wi-Fi and, out of 50 downloads, nobody else has reported a problem.

The Base VRThemes modify just SystemUI.apk and the Universal VRThemes just change the battey icons in the same apk.

The Revert to stock SystemUI VRTheme simply replaces the modified SystemUI.apk with the stock, unmodified SystemUI.apk

If you successfully flashed a Base VRTheme and then a Universal VRTheme, you don't need to return to stock to be able to change the batery icone - just flash another Unversal VRTheme over the top.

Are you sure you flashed the correct Base and Revert to stock versions for your device?
Did you have any other mods installed?
since i had the blue droid displaying battery percentages happily, it should be safe to assume that my custom-theme flashing part was good.. i also suspected the problem might be caused by the "revert-to-stock" flashing part.. since i already did the md5 hash check after download so it shouldnt be a corrupt file issue.. thus the only reasonable cause would be a bad flash..

i know that the revert-to-stock part was probably non-necessary but just wanted to make sure there was no left-overs from a previous theme.. now with ur explanation i know that its indeed unnecessary.. anyway i fixed the issue by reflashing the stock rom and then ur theme.. thx a lot for ur response..

[edit]
btw, its a 99% stock rom with motley kernel (the latest version for 4.2.2) installed.. if that makes any difference..
LG Nexus 5 (D821) : KitKat 4.4.4 (KTU84P) Rooted (by bigxie), ElementalX Kernel (by flar2), Xposed Framework (by rovo89, Tungstwenty)

LG Nexus 4 (E960) : KitKat 4.4.2 (KOT49H) Rooted
ASUS Nexus 7 (ME370T) : KitKat 4.4.4 (KTU84P) Rooted
Sony Xperia S (LT26i) : Jelly Bean 4.1.2 (6.2.B.1.96) Rooted, DooMKernel (by DooMLoRD)
Huawei IDEOS X5 (U8800H) : Aurora ICS 5.0u21 (by dzo)


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

[INFO] Disable OTA update notification
 
Spannaa
Old
#136  
Spannaa's Avatar
Recognized Themer - OP
Thanks Meter 11,186
Posts: 3,133
Join Date: Sep 2010
Location: Cardiff

 
DONATE TO ME
Quote:
Originally Posted by iamelton View Post
[edit]
btw, its a 99% stock rom with motley kernel (the latest version for 4.2.2) installed.. if that makes any difference..
It might do since the revert to stock uses the 100% stock SystemUI.apk

To make your own revert to stock zip, extract SystemUI.apk from your rom and replace the one in the revert to stock zip with this one using 7-Zip.
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 ]
 
phoenix687
Old
#137  
Junior Member
Thanks Meter 0
Posts: 11
Join Date: Jan 2011
http://forum.xda-developers.com/show....php?t=2157292

for paranoid android 3+! don`t ask here again
 
iamelton
Old
#138  
iamelton's Avatar
Senior Member
Thanks Meter 319
Posts: 892
Join Date: Feb 2011
Location: Hong Kong
is this mod only modifying /system/app/SystemUI.apk?
if i have a backup copy of the stock SytemUI.apk, can i just put it into /system/app and overwrite the modded version to return to stock?

thx..
LG Nexus 5 (D821) : KitKat 4.4.4 (KTU84P) Rooted (by bigxie), ElementalX Kernel (by flar2), Xposed Framework (by rovo89, Tungstwenty)

LG Nexus 4 (E960) : KitKat 4.4.2 (KOT49H) Rooted
ASUS Nexus 7 (ME370T) : KitKat 4.4.4 (KTU84P) Rooted
Sony Xperia S (LT26i) : Jelly Bean 4.1.2 (6.2.B.1.96) Rooted, DooMKernel (by DooMLoRD)
Huawei IDEOS X5 (U8800H) : Aurora ICS 5.0u21 (by dzo)


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

[INFO] Disable OTA update notification
 
Spannaa
Old
#139  
Spannaa's Avatar
Recognized Themer - OP
Thanks Meter 11,186
Posts: 3,133
Join Date: Sep 2010
Location: Cardiff

 
DONATE TO ME
Quote:
Originally Posted by iamelton View Post
is this mod only modifying /system/app/SystemUI.apk?
if i have a backup copy of the stock SytemUI.apk, can i just put it into /system/app and overwrite the modded version to return to stock?
Yes and Yes.

If your backup fails, flash the correct "Remove Themes & Revert Back To Stock SystemUI.apk" zip for your rom.
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 ]
 
iamelton
Old
#140  
iamelton's Avatar
Senior Member
Thanks Meter 319
Posts: 892
Join Date: Feb 2011
Location: Hong Kong
thx for the quick reply..

i ended up using ur first suggested method (revert to stock zip with SystemUI.apk replaced by stock one) and flashed this zip to return to stock.. rebooting showed stock battery icon in statusbar..
and then i flashed the base + extra battery themes, and rebooted without problem.. it showed the modded battery icons in the statusbar..

then i went ahead and studied the content of the now-modded SystemUI.apk..
to my surprise i found 2 "res" folders in the apk, and within each res folder, there were 2 "drawable" and 2 "drawable-hdpi" folders.. and they seem to contain the same XML and PNG files..
have i done something wrong in the flashing process, or is this the expected result of the modded SystemUI.apk?
LG Nexus 5 (D821) : KitKat 4.4.4 (KTU84P) Rooted (by bigxie), ElementalX Kernel (by flar2), Xposed Framework (by rovo89, Tungstwenty)

LG Nexus 4 (E960) : KitKat 4.4.2 (KOT49H) Rooted
ASUS Nexus 7 (ME370T) : KitKat 4.4.4 (KTU84P) Rooted
Sony Xperia S (LT26i) : Jelly Bean 4.1.2 (6.2.B.1.96) Rooted, DooMKernel (by DooMLoRD)
Huawei IDEOS X5 (U8800H) : Aurora ICS 5.0u21 (by dzo)


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

[INFO] Disable OTA update notification

Tags
1% battery, cwm, twrp, vrtheme
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes