Here is guide how to add 15 toggles to notification pulldown. All credits going to sk0t, I'm just translate his guide
LIDROID PANEL
1. Decompile your SystemUI.apk
2. Download archive from attachments and copy drawable-hdpi(mdpi) and layout folders to your decompiled folder
3. Open file res/layout/status_bar_expanded.xml and add string
after
4. Add strings from strings.xml and arrays.xml to your files in decompiled folder
5. Compile
6. Decompile new apk to some newfolder
7. Copy file newfolder/SystemUI/res/values/public.xml into res/values/ and replace
8. Delete newfolder
9. Next take smali folder from archive and put it into SystemUI/smali
10. Archive contains qp_repl.js script. You must place him near SystemUI folder and execute him. Wait until script will finish his work. You must see "Done"
11. Build your apk.
BRIGHTNESS SLIDER
1. Decompile your SystemUI.apk
2. Download slider_btn archive and extract smali, drawable-hdpi и layout folders to your decompiled folder
3. Add string into status_bar_expanded.xml
after
4. Build
WARNING! The Flashlight toggle may cause FC in Sense ROMs
LIDROID PANEL
1. Decompile your SystemUI.apk
2. Download archive from attachments and copy drawable-hdpi(mdpi) and layout folders to your decompiled folder
3. Open file res/layout/status_bar_expanded.xml and add string
Code:
<include layout="@layout/qp_layout" />
Code:
<com.android.systemui.statusbar.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
5. Compile
6. Decompile new apk to some newfolder
7. Copy file newfolder/SystemUI/res/values/public.xml into res/values/ and replace
8. Delete newfolder
9. Next take smali folder from archive and put it into SystemUI/smali
10. Archive contains qp_repl.js script. You must place him near SystemUI folder and execute him. Wait until script will finish his work. You must see "Done"
11. Build your apk.
BRIGHTNESS SLIDER
1. Decompile your SystemUI.apk
2. Download slider_btn archive and extract smali, drawable-hdpi и layout folders to your decompiled folder
3. Add string into status_bar_expanded.xml
Code:
<include layout="@layout/qp_brightness" />
Code:
<include layout="@layout/qp_layout" />
WARNING! The Flashlight toggle may cause FC in Sense ROMs
Attachments
Last edited: