How To Add Visible Brightness Slider To Status Bar For CM11
This Guide Is For CM11 Only - For GB/CM7/CM9 See My Guide Here
This Guide Is For CM11 Only - For GB/CM7/CM9 See My Guide Here
What Does This Mod Do?
This mod will give you a visible brightness slider on your status bar
Yes we all know you can enable an invisible slider and swipe across the status bar or click the brightness tile to bring up a slider but this mod is specifically for those who want a visible brightness slider on the status bar itself
1 - Download the attachment CM11Brightness at the end of this thread
2 - Decompile SystemUI.apk with apktool (Guide in my signature if you need one)
3 - Place the files from the CM11Brightness.zip at the following locations
smali\com\android\systemui\statusbar
SlideBrightness.smali
SlideBrightness$1.smali
SlideBrightness$2.smali
res\layout
marcus_brightness.xml
4 - Open res/layout/status_bar_expanded.xml with notepad++
5 - Under
Code:
<ViewStub android:id="@id/ribbon_settings_stub" android:layout="@layout/ribbon_settings" android:layout_width="fill_parent" android:layout_height="@dimen/notification_min_height" />
Code:
<include android:id="@id/brightness_slider" layout="@layout/marcus_brightness" />
6 - Recompile
7 - Optional step - sign with a platform key with zipsigner (playstore)
8 - Put in a flashable zip and flash in cwm with system mounted
Attachments
-
4.2 KB Views: 1,530
Last edited: