5,598,938 Members 30,857 Now Online
XDA Developers Android and Mobile Development Forum

))(())((video))((1%))(())(())battterymod(

Tip us?
 
einrae214
Old
(Last edited by einrae214; 31st March 2013 at 12:45 AM.)
#1  
einrae214's Avatar
Senior Member - OP
Thanks Meter 1270
Posts: 1,122
Join Date: Jan 2011
Location: Columbus, O.H.

 
DONATE TO ME
Default ))(())((video))((1%))(())(())battterymod(

These are series of videos that I am uploading to you tube.


Watch last below

https://www.youtube.com/watch?v=GYuA...e_gdata_player

Watch 8th below

https://www.youtube.com/watch?v=hsww...e_gdata_player

Watch 7th below

https://www.youtube.com/watch?v=22DI...e_gdata_player

Watch 6th below

https://www.youtube.com/watch?v=uqlC...e_gdata_player

Watch 5th below

https://www.youtube.com/watch?v=8CGj...e_gdata_player

Watch 4th below

https://www.youtube.com/watch?v=8YTR...e_gdata_player

Watch 3rd below

https://www.youtube.com/watch?v=NQ6E...e_gdata_player

Watch 2nd below

https://www.youtube.com/watch?v=3wup...e_gdata_player

Watch 1st below

https://www.youtube.com/watch?v=frj6...e_gdata_player

Couple of things you will need to have first.

1. Apktool installed on your computer

2. Notepad ++ installed on your computer also.

3. A 1% battery from a .apk that already has them in it. Like from here.

http://forum.xda-developers.com/show....php?t=2057732

4. 7zip


Okay so what you need to do is unzip the 23 toggle mod that you downloaded from the thread. I use 7zip

http://forum.xda-developers.com/show....php?t=2057732

1
Then go to system/app/systemui.apk

2
Open up apktool and move the systemui.apk from the 23 toggle mod to inside apktool.

★also make sure you have the framework installed if the rom that you are try to achieve the 1% battery mod. So open the command prompt and type these commands

apktool if framework-res.apk

3
after moving it over to apktool you will need to decompile the systemui.apk

Type these commands

apktool d systemui.apk test34

4
Go to the folder test34 and open it. There you will find a couple of folders

assets
res
smali
android manifest
apktool.yml

Only mess with the res folder
Open it an look for the drawable folder inside. Look for stat_sys_battery and stat_sys_battery_charge

5
Open these .xml files with notepad++ start with sys_battery. Inside that you will see a series of 1% increments. That is a 1% battery mod .xml and same as for the stat_battery_charge.

6 okay no go to the rom that you want it to be on. Like jedi or tweaked or myrom or etc. Open the rom up with 7zip

Go to system/app/systemui.apk
And move that over to apktool and the then you will need to install that systemui.apk for that is the one without a 1% percent mod. We install that one because its the one we install in the apktool program.

Open the command prompt and type these commands.

apktool if systemui.apk

Then type

apktool d systemui.apk nameofromui

Open that folder up inside of the apktool program and find the res/drawable/

stat_sys_battery.xml
stat_sys_battery_charge.xml

Open them with notepad++
Now since you have already decompiled the 23 toggle mod and retrieved the necessary .xml files need to acheive a 1% battery mod just do these things.

In notepad++ on the top there are tabs open the first stat_sys_battery.xml and right click to select all and the copy. Then click on the tab from the stat_sys_battery from the rom of your choice. Right click and select all and the delete. Right click and paste go to file and hit save as. Hit yes and do the same for the stat_sys_battery_charge.xmls.

7
Time to recompile the systemui.apk go open the command prompt.

Type these commands

apktool b nameofromui systemui22-new.apk

After its done recompiling you will to unzip the new.apk file and go to original systemui.apk and unzip it and you have to unziped .apk one hase a meta folder and one doesnt the meta folder over to the one that doesn't. Go back and your done. Move the .apk to a .zip file make sure you have the systemui.apk in the system folder and rename it to SytemUI.apk also have the framework and twframework in the framework folders from the rom that you want have to the 1% battery mod for. Load it to your phone or sdcard and flash it.

Hope this helps.


Sent from my SGH-T889 using xda premium
You The Realist Person Breathing Only If I Hold My Breath.
The Following 3 Users Say Thank You to einrae214 For This Useful Post: [ Click to Expand ]
 
KLPFL
Old
#2  
KLPFL's Avatar
Senior Member
Thanks Meter 162
Posts: 524
Join Date: Jul 2009
Default Re: ))(())((video))((1%))(())(())battterymod))((

Than. Will give another shot. Hope it works this time.

May the Force be with you!!!
 
KLPFL
Old
#3  
KLPFL's Avatar
Senior Member
Thanks Meter 162
Posts: 524
Join Date: Jul 2009
Default Re: ))(())((video))((1%))(())(())battterymod))((

Are the two links supposed to be the same?

May the Force be with you!!!
 
KLPFL
Old
#4  
KLPFL's Avatar
Senior Member
Thanks Meter 162
Posts: 524
Join Date: Jul 2009
Below is the easiest way to mod a battery. Credit go to the OP of the link.

http://www.modaco.com/topic/359526-m...s-for-any-rom/
 
einrae214
Old
#5  
einrae214's Avatar
Senior Member - OP
Thanks Meter 1270
Posts: 1,122
Join Date: Jan 2011
Location: Columbus, O.H.

 
DONATE TO ME
Default Re: ))(())((video))((1%))(())(())battterymod))((

Videos added in op sorry for the delay hope it helps.

Sent from my SGH-T889 using xda premium
You The Realist Person Breathing Only If I Hold My Breath.
The Following 2 Users Say Thank You to einrae214 For This Useful Post: [ Click to Expand ]
 
einrae214
Old
#6  
einrae214's Avatar
Senior Member - OP
Thanks Meter 1270
Posts: 1,122
Join Date: Jan 2011
Location: Columbus, O.H.

 
DONATE TO ME
Default Re: ))(())((video))((1%))(())(())battterymod))((

Quote:
Originally Posted by KLPFL View Post
Are the two links supposed to be the same?

May the Force be with you!!!
Yes

Sent from my SGH-T889 using xda premium
You The Realist Person Breathing Only If I Hold My Breath.
The Following 2 Users Say Thank You to einrae214 For This Useful Post: [ Click to Expand ]
 
einrae214
Old
(Last edited by einrae214; 31st March 2013 at 12:44 AM.)
#7  
einrae214's Avatar
Senior Member - OP
Thanks Meter 1270
Posts: 1,122
Join Date: Jan 2011
Location: Columbus, O.H.

 
DONATE TO ME
Default Re: ))(())((video))((1%))(())(())battterymod))((

Fixed the video link from private to unlisted so people can view the videos. Sorry about that.

And fixed the listing of the videos also.


Sent from my SGH-T889 using xda premium
You The Realist Person Breathing Only If I Hold My Breath.

The Following 2 Users Say Thank You to einrae214 For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes