ADD CUSTOM BATTERY ICONS IN YOUR ROMS

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:

Code:
<android:id="@id/battery
In the line that contains android:id="@id/battery find:

Code:
android:layout_width="wrap_content" and android:layout_height="wrap_content"
And change to:
Code:
android:layout_width="0.0dip" and android:layout_height="0.0dip"
then directly under this line add:

Code:
<com.android.systemui.statusbar.policy.MinitBattery android:layout_width="wrap_content" android:layout_height="wrap_content" />
4.Download the files and place the .smali files in smali/com/android/systemui/statusbar/policy folder. Then push 3MinitBatteryResources.apk to system/app or system/priv-app folder. As from 20/12/14

5.Recompile and set permissions.

AT LAST RECOMPILE SYSTEMUI SIGN PUSH
Previous
Next Post »