Welcome everyone!!!
Here i Guide You to How to add custom BATTERY ICONS in your roms
Tested On kk,LP,MM
SUBSCRIBE NOW
IT MOTIVATES ME TO MAKE MORE VIDEO GUIDES
IT MOTIVATES ME TO MAKE MORE VIDEO GUIDES
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
Bro can i use it stock rom 5.1 sc7731?
ReplyDelete