[Galaxy S II General] nongoei:
Hi. please allow me share my way to got 4.2 quickpanel from wanam 23 toggles on touchwiz rom.

This is not the guide i just share step i get this layout

Many thanks for

[MENTION=4054594]lidroid[/MENTION]

[MENTION=3562083]wanam[/MENTION]

[MENTION=3862405]SpaceCaker[/MENTION]

[MENTION=3065070]Goldieking[/MENTION]

[MENTION=4641889]akash akya[/MENTION]

[MENTION=4608459]bombaybadboy[/MENTION]

[MENTION=4987653]BOND1987[/MENTION]

And everyone who share anything for make this layout.

First step. I complete the guide from [MENTION=3862405]SpaceCaker[/MENTION] thread [Guide]4.2.2 Statusbar For Jellybean 4.1.2 Roms [COOL][JB]

http://xdaforums.com/showthread.php?t=2366476

for SpaceCaker guide step to add some code into "smali/com/android/systemui/SystemUIService.smali"

i use code from [MENTION=4641889]akash akya[/MENTION] thread [GUIDE] 4.2 Quick Panel with Lidroid Toggles & Volume Sliders

http://xdaforums.com/showthread.php?t=2387626

open "smali/com/android/systemui/SystemUIService.smali" add this code in the end.

.method public onClickPanelMethod(Landroid/view/View;)V
.locals 11
.parameter "v"

.prologue
new-instance v0, Landroid/content/Intent;

invoke-direct {v0}, Landroid/content/Intent;-><init>()V

invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

move-result-object v5

check-cast v5, Ljava/lang/String;

:try_start_0
const-string v3, ","

invoke-virtual {v5, v3}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

move-result-object v6

const/4 v4, 0x0

aget-object v4, v6, v4

const/4 v7, 0x1

aget-object v7, v6, v7

invoke-virtual {v0, v4, v7}, Landroid/content/Intent;->setClassName(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

const/high16 v2, 0x1000

invoke-virtual {v0, v2}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;

move-result-object v0

invoke-virtual {p0, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

:goto_0
const-string v1, "statusbar"

invoke-virtual {p0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

move-result-object v0

check-cast v0, Landroid/app/StatusBarManager;

invoke-virtual {v0}, Landroid/app/StatusBarManager;->collapse()V

return-void

:catch_0
move-exception v0

.local v0, e:Ljava/lang/Exception;
invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

const-string v10, "Failed to execute action :\n"

invoke-virtual {v10, v5}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;

move-result-object v5

const/16 v9, 0x7d0

invoke-static {p0, v5, v9}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

move-result-object v8

invoke-virtual {v8}, Landroid/widget/Toast;->show()V

goto :goto_0
.end method

for first step i done here.

Second step. I complete the guide from [MENTION=3562083]wanam[/MENTION] thread [MOD][Android 4.1.2] Add Customizable 23 Statusbar Toggles To Samsung Jelly bean Roms

http://xdaforums.com/showthread.php?t=2032614

for wanam guide i skip step to edit "SystemUI.apk\res\layout\tw_status_bar_expanded.xml".

after done this guide not yet recompile SystemUI go to "SystemUI.apk\res\layout\quickpanel_quick_settings_space.xml"

Note "quickpanel_quick_settings_space.xml" get it from [MENTION=3862405]SpaceCaker[/MENTION] thread in first step.

I edit "quickpanel_quick_settings_space.xml" like this

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.lidroid.systemui.quickpanel.PowerWidget android:id="@id/exp_power_stat" android:paddingTop="0.0dip" android:paddingBottom="0.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="50.0dip" />
</LinearLayout>
</LinearLayout>

then dowload this http://www.mediafire.com/?7hjv99705t74qh1 in attach file you will see folder "SystemUI.apk" copy file in this folder to you decompile SystemUI.apk

then recompile SystemUI and decompile new SystemUI again. and open public.xml find "exp_power_stat" and use new id number replace old id number follow [MENTION=3562083]wanam[/MENTION] guide

still in public.xml find "quickpanel_grid_scrollview" look for id number and go to smali/com/lidroid/systemui/quickpanel/PowerWidget.smali

scroll down to line 1595 and replace id number in this line.

recompile Systemui.apk and push "lidriod-res.apk" to system/framework and push "LidroidSettings.apk" to system/app and then test :D

sorry for my bad english.