Watch last below
Watch 8th below
Watch 7th below
Watch 6th below
Watch 5th below
Watch 4th below
Watch 3rd below
Watch 2nd below
Watch 1st below
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.
Okay so what you need to do is unzip the 23 toggle mod that you downloaded from the thread. I use 7zip
Then go to system/app/systemui.apk
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
after moving it over to apktool you will need to decompile the systemui.apk
Type these commands
apktool d systemui.apk test34
Go to the folder test34 and open it. There you will find a couple of folders
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
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
apktool d systemui.apk nameofromui
Open that folder up inside of the apktool program and find the res/drawable/
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.
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