Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,771,646 Members 46,553 Now Online
XDA Developers Android and Mobile Development Forum

1% battery mod project

Tip us?
 
KTT16
Old
#21  
KTT16's Avatar
Senior Member
Thanks Meter 215
Posts: 1,091
Join Date: Aug 2011
Location: Hayward
Quote:
Originally Posted by KSmithInNY View Post
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.
 
olegfusion
Old
#22  
Senior Member
Thanks Meter 258
Posts: 680
Join Date: Sep 2011

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

1% for cm9
The Following 3 Users Say Thank You to olegfusion For This Useful Post: [ Click to Expand ]
 
KTT16
Old
#23  
KTT16's Avatar
Senior Member
Thanks Meter 215
Posts: 1,091
Join Date: Aug 2011
Location: Hayward
Quote:
Originally Posted by olegfusion View Post
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: [ Click to Expand ]
 
olegfusion
Old
#24  
Senior Member
Thanks Meter 258
Posts: 680
Join Date: Sep 2011

 
DONATE TO ME
Quote:
Originally Posted by KTT16 View Post
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
 
KTT16
Old
#25  
KTT16's Avatar
Senior Member
Thanks Meter 215
Posts: 1,091
Join Date: Aug 2011
Location: Hayward
Quote:
Originally Posted by olegfusion View Post
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.
 
olegfusion
Old
#26  
Senior Member
Thanks Meter 258
Posts: 680
Join Date: Sep 2011

 
DONATE TO ME
Quote:
Originally Posted by KTT16 View Post
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: [ Click to Expand ]
 
KTT16
Old
#27  
KTT16's Avatar
Senior Member
Thanks Meter 215
Posts: 1,091
Join Date: Aug 2011
Location: Hayward
Quote:
Originally Posted by olegfusion View Post
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: [ Click to Expand ]
 
olegfusion
Old
#28  
Senior Member
Thanks Meter 258
Posts: 680
Join Date: Sep 2011

 
DONATE TO ME
Quote:
Originally Posted by KTT16 View Post
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: [ Click to Expand ]
 
KTT16
Old
#29  
KTT16's Avatar
Senior Member
Thanks Meter 215
Posts: 1,091
Join Date: Aug 2011
Location: Hayward
Quote:
Originally Posted by olegfusion View Post
you made me a little pain

here you go
Haha! Sorry...thanks for the efforts!
 
olegfusion
Old
#30  
Senior Member
Thanks Meter 258
Posts: 680
Join Date: Sep 2011

 
DONATE TO ME
Quote:
Originally Posted by KTT16 View Post
Haha! Sorry...thanks for the efforts!
the one thing I really know, I'll do other battery icons for myself

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes