Post Reply

1% battery mod project

OP ZiggSVO

20th February 2012, 02:56 PM   |  #21  
KTT16's Avatar
Senior Member
Flag Hayward
Thanks Meter: 218
 
1,116 posts
Join Date:Joined: Aug 2011
More
Quote:
Originally Posted by KSmithInNY

To see if its your environment or your edits, decompile and don't make any changes then recompile. Depending on the results you'll have your answer.

Agreed. I'll give it a test.
20th February 2012, 03:07 PM   |  #22  
Senior Member
Thanks Meter: 258
 
680 posts
Join Date:Joined: Sep 2011
Donate to Me
More
http://forum.xda-developers.com/show...3#post22747523

1% for cm9
The Following 3 Users Say Thank You to olegfusion For This Useful Post: [ View ]
20th February 2012, 03:08 PM   |  #23  
KTT16's Avatar
Senior Member
Flag Hayward
Thanks Meter: 218
 
1,116 posts
Join Date:Joined: Aug 2011
More
Quote:
Originally Posted by olegfusion

http://forum.xda-developers.com/show...3#post22747523

1% for cm9

First, thanks...second would you be able to tell me how you did that?
The Following User Says Thank You to KTT16 For This Useful Post: [ View ]
20th February 2012, 03:15 PM   |  #24  
Senior Member
Thanks Meter: 258
 
680 posts
Join Date:Joined: Sep 2011
Donate to Me
More
Quote:
Originally Posted by KTT16

First, thanks...second would you be able to tell me how you did that?

unpacked with apktool, edited battery service smali file - added battery 1% method and packed back

Sent from my MB855 using xda premium
20th February 2012, 03:18 PM   |  #25  
KTT16's Avatar
Senior Member
Flag Hayward
Thanks Meter: 218
 
1,116 posts
Join Date:Joined: Aug 2011
More
Quote:
Originally Posted by olegfusion

unpacked with apktool, edited battery service smali file - added battery 1% method and packed back

Sent from my MB855 using xda premium

Very cool...I have the xml files and images for the status bar. Would you be willing to assist by decompiling the apk, stuffing them in there, compiling, and testing to see if it works? If it does, I can then find the images to keep it ICS themed.
20th February 2012, 03:28 PM   |  #26  
Senior Member
Thanks Meter: 258
 
680 posts
Join Date:Joined: Sep 2011
Donate to Me
More
Quote:
Originally Posted by KTT16

Very cool...I have the xml files and images for the status bar. Would you be willing to assist by decompiling the apk, stuffing them in there, compiling, and testing to see if it works? If it does, I can then find the images to keep it ICS themed.

ok, let's try
The Following User Says Thank You to olegfusion For This Useful Post: [ View ]
20th February 2012, 03:33 PM   |  #27  
KTT16's Avatar
Senior Member
Flag Hayward
Thanks Meter: 218
 
1,116 posts
Join Date:Joined: Aug 2011
More
Quote:
Originally Posted by olegfusion

ok, let's try

HERE

I think it's in the systemui.apk res folders that it needs to go into. I've edited the stat_sys_battery.xml and stat_sys_battery_charge.xml files and added the battery images into the drawable hdpi folder.

Goes without saying: backup Thanks for trying this out! If you could take a screenie after, that'd be great!
The Following 2 Users Say Thank You to KTT16 For This Useful Post: [ View ]
20th February 2012, 06:13 PM   |  #28  
Senior Member
Thanks Meter: 258
 
680 posts
Join Date:Joined: Sep 2011
Donate to Me
More
Quote:
Originally Posted by KTT16

HERE

I think it's in the systemui.apk res folders that it needs to go into. I've edited the stat_sys_battery.xml and stat_sys_battery_charge.xml files and added the battery images into the drawable hdpi folder.

Goes without saying: backup Thanks for trying this out! If you could take a screenie after, that'd be great!

you made me a little pain

here you go
Attached Files
File Type: zip 1%_battery_cm9_with_statusbar.zip - [Click for QR Code] (6.29 MB, 127 views)
The Following 3 Users Say Thank You to olegfusion For This Useful Post: [ View ]
20th February 2012, 06:18 PM   |  #29  
KTT16's Avatar
Senior Member
Flag Hayward
Thanks Meter: 218
 
1,116 posts
Join Date:Joined: Aug 2011
More
Quote:
Originally Posted by olegfusion

you made me a little pain

here you go

Haha! Sorry...thanks for the efforts!
20th February 2012, 06:26 PM   |  #30  
Senior Member
Thanks Meter: 258
 
680 posts
Join Date:Joined: Sep 2011
Donate to Me
More
Quote:
Originally Posted by KTT16

Haha! Sorry...thanks for the efforts!

the one thing I really know, I'll do other battery icons for myself

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes