FORUMS

OnePlus 2 Forums: Discuss Everything About The OP2!

Now that the OnePlus 2 has been officially unveiled and that we have had close-up … more

Intel & Micron Announce “Revolutionary” Storage Tech

Intel & Micron have announced 3D Xpoint technology—”the … more

Google Now Interfaces With Third-Party Messaging Apps

Google has announced that Ok Google voice commands can now be used to send … more

Make Your Lockscreen More Productive With Widgets

Are you running Android Lollipop? Do you miss the ability to add widgets to your lock … more

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

4,206 posts
Thanks Meter: 12,763
 
By Spannaa, Recognized Contributor / Themer on 6th November 2012, 10:10 AM
Post Reply Subscribe to Thread Email Thread
16th February 2013, 08:33 PM |#131  
Senior Member
Flag Laguna Hills
Thanks Meter: 23
 
More
Quote:
Originally Posted by Spannaa

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?
 
 
16th February 2013, 08:56 PM |#132  
Spannaa's Avatar
OP Recognized Contributor / Themer
Flag Cardiff
Thanks Meter: 12,763
 
Donate to Me
More
Quote:
Originally Posted by Southrice

Will these work with PA 3.0 ? or is it only for stock roms?

# 122
Quote:
Originally Posted by Spannaa

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.

The Following User Says Thank You to Spannaa For This Useful Post: [ View ]
25th February 2013, 07:49 AM |#133  
iamelton's Avatar
Senior Member
Flag Hong Kong
Thanks Meter: 430
 
More
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?
25th February 2013, 09:18 AM |#134  
Spannaa's Avatar
OP Recognized Contributor / Themer
Flag Cardiff
Thanks Meter: 12,763
 
Donate to Me
More
Quote:
Originally Posted by iamelton

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?
Last edited by Spannaa; 25th February 2013 at 09:20 AM.
The Following User Says Thank You to Spannaa For This Useful Post: [ View ]
25th February 2013, 09:33 AM |#135  
iamelton's Avatar
Senior Member
Flag Hong Kong
Thanks Meter: 430
 
More
Quote:
Originally Posted by Spannaa

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..
Last edited by iamelton; 25th February 2013 at 09:37 AM.
25th February 2013, 10:24 AM |#136  
Spannaa's Avatar
OP Recognized Contributor / Themer
Flag Cardiff
Thanks Meter: 12,763
 
Donate to Me
More
Quote:
Originally Posted by iamelton

[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.
The Following 2 Users Say Thank You to Spannaa For This Useful Post: [ View ]
5th March 2013, 01:22 PM |#137  
Junior Member
Thanks Meter: 0
 
More
http://forum.xda-developers.com/show....php?t=2157292

for paranoid android 3+! don`t ask here again
8th March 2013, 08:20 AM |#138  
iamelton's Avatar
Senior Member
Flag Hong Kong
Thanks Meter: 430
 
More
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..
8th March 2013, 09:50 AM |#139  
Spannaa's Avatar
OP Recognized Contributor / Themer
Flag Cardiff
Thanks Meter: 12,763
 
Donate to Me
More
Quote:
Originally Posted by iamelton

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.
The Following 2 Users Say Thank You to Spannaa For This Useful Post: [ View ]
8th March 2013, 09:59 AM |#140  
iamelton's Avatar
Senior Member
Flag Hong Kong
Thanks Meter: 430
 
More
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?
8th March 2013, 11:00 AM |#141  
Spannaa's Avatar
OP Recognized Contributor / Themer
Flag Cardiff
Thanks Meter: 12,763
 
Donate to Me
More
Quote:
Originally Posted by iamelton

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?

I've noticed this too when looking inside modded apks on the phone using Root Explorer's zip viewer but, if I pull the apk and look inside it on my PC, there are no duplicated folders.

Strange...

[EDIT] If I look inside modded apks using Solid Explorer, there is no duplicated content. It seems the duplicates only appear when viewing with Root Explorer. [/EDIT]
Last edited by Spannaa; 8th March 2013 at 11:13 AM.
The Following 2 Users Say Thank You to Spannaa For This Useful Post: [ View ]

Read More
Post Reply Subscribe to Thread

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

Advanced Search
Display Modes