Welcome everyone!!!
Here i Guide You to How to add custom BATTERY ICONS in your roms
Tested On kk,LP,MM
CAN BE APPLIED ON LP,CM,MM AND UP!!
Requirements:
Apktool
Knowledge of decompiling/recompiling
SYSTEMUI.apk
notepad++
Process:
VIDEO GUIDE
source XDA
- Repeat all preivious steps for decompiling installing apktool from here
- DOWNLOAD ALL FILES FROM HERE
- 1.Install app. (Do this first or you will get SystemUI FC).
2.Decompile SystemUI.apk and navigate to: res/layout/status_bar.xml (for some older samsung devices: tw_status_bar.xml) or system_icons.xml for android 5.x
Use apktool v2.x.x or you may get recompile errors
3. Look for the line that contains:
In the line that contains android:id="@id/battery find:
And change to:
Code:
<android:id="@id/battery
Code:
android:layout_width="wrap_content" and android:layout_height="wrap_content"
Code:
android:layout_width="0.0dip" and android:layout_height="0.0dip"
Code:
<com.android.systemui.statusbar.policy.MinitBattery android:layout_width="wrap_content" android:layout_height="wrap_content" />
5.Recompile and set permissions.
AT LAST RECOMPILE SYSTEMUI SIGN PUSH
Thanks for reading my news about ADD CUSTOM BATTERY ICONS IN YOUR ROMS at my blog Custom Droid Rom if you want too share this article, please put the resource, and if you think this article is very usefully dont forget to bookmark this site with CTRL + D on your keyboard to web browser.
Note: only a member of this blog may post a comment.