[Android Themes] dugeriss:
Decompile SystemUI.apk

-Open ids.xml

-paste this code :

<item type="id" name="exp_power_stat">false</item>

-above code </resources>

-like this :

<item type="id" name="exp_power_stat">false</item>
</resources>

open tw_status_bar_expande.xml

-paste this ini,

<com.wanam.systemui.quickpanel.PowerWidget android:id="@id/exp_power_stat" android:layout_width="fill_parent" android:layout_height="wrap_content" />

-above :

<HorizontalScrollView android:id="@id/quicksetting_scroller"

N change android:layout_height="0.0dip on <HorizontalScrollView android:id="@id/quicksetting_scroller"

-like this

[COLOR="Red"]
<com.wanam.systemui.quickpanel.PowerWidget android:id="@id/exp_power_stat" android:layout_width="fill_parent" android:layout_height="wrap_content" />[/COLOR]
<HorizontalScrollView android:id="@id/quicksetting_scroller" android:scrollbars="none" android:layout_width="wrap_content" [COLOR="Red"]android:layout_height="0.0dip"[/COLOR]>
<com.android.systemui.statusbar.policy.quicksetting.QuickSettingPanel android:orientation="horizontal" android:id="@id/quicksetting_container" android:layout_width="wrap_content" android:layout_height="wrap_content" android:divider="@drawable/tw_black_bg" android:showDividers="middle" />
</HorizontalScrollView>

-Done,save

Recompile SystemUI.apk

Decompile SystemUI.apk again

-open PhoneStatusBar.smali

smali/com/android/systemui/statusbar/phone/PhoneStatusBar.smali

-add code ++ [whitout++]

.field mPostCollapseCleanup:Ljava/lang/Runnable;

[COLOR="Red"]++.field mPowerWidget:Lcom/wanam/systemui/quickpanel/PowerWidget;[/COLOR]

.field private mPreviousConfigFontScale:F

find:

# virtual methods
.method public addIcon(Ljava/lang/String;IILcom/android/internal/statusbar/StatusBarIcon;)V
.locals 5

-add code ++

invoke-direct {v2, v3, v4}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

invoke-virtual {v1, v0, p3, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V

[COLOR="Red"]++iget-object v1, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPowerWidget:Lcom/wanam/systemui/quickpanel/PowerWidget;

++invoke-virtual {v1}, Lcom/wanam/systemui/quickpanel/PowerWidget;->updateWidget()V[/COLOR]

.line 1170

return-void

.end method

-open Public.xml

SystemUI.apk/res/values/public.xml

-find :

put hex public exp_power_stat

<public type="id" name="exp_power_stat" id="[COLOR="Red"]0x7f0d012e[/COLOR]" />

find method

.method protected makeStatusBarView()Lcom/android/systemui/statusbar/phone/PhoneStatusBarView;

-Scroll down and find this code

.line 714
new-instance v9, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$MyTicker;

iget-object v10, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarView:Lcom/android/systemui/statusbar/phone/PhoneStatusBarView;

invoke-direct {v9, p0, v1, v10}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$MyTicker;-><init>(Lcom/android/systemui/statusbar/phone/PhoneStatusBar;Landroid/content/Context;Landroid/view/View;)V

iput-object v9, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mTicker:Lcom/android/systemui/statusbar/phone/Ticker;

-the above code

paste this,

iget-object v9, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarWindow:Lcom/android/systemui/statusbar/phone/StatusBarWindowView;

.line 444

const v10, [COLOR="Red"]0x7f0d012e[/COLOR]

invoke-virtual {v9, v10}, Lcom/android/systemui/statusbar/phone/StatusBarWindowView;->findViewById(I)Landroid/view/View;

.line 445

move-result-object v9

check-cast v9, Lcom/wanam/systemui/quickpanel/PowerWidget;

iput-object v9, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPowerWidget:Lcom/wanam/systemui/quickpanel/PowerWidget;

next, find :

.line 869

const-string v9, "android.intent.action.SCREEN_ON"

invoke-virtual {v2, v9}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

.line 872

:cond_7

iget-object v9, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mBroadcastReceiver:Landroid/content/BroadcastReceiver;

invoke-virtual {v1, v9, v2}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;

-add code ++

.line 872

:cond_7

iget-object v9, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mBroadcastReceiver:Landroid/content/BroadcastReceiver;

invoke-virtual {v1, v9, v2}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;

[COLOR="Red"] ++iget-object v9, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPowerWidget:Lcom/wanam/systemui/quickpanel/PowerWidget;

++invoke-virtual {v9}, Lcom/wanam/systemui/quickpanel/PowerWidget;->setupWidget()V
[/COLOR]

-Save,

open "AndroidManifest.xml"

-find

<manifest android:versioncode=16 android:versionname="4.1.2-blablabla.."

-add code

android:sharedUserId="android.uid.system" android:process="system"

-between

<manifest android:versioncode=16

-like this :

<manifest [COLOR="Red"]android:sharedUserId="android.uid.system" android:process="system"[/COLOR] android:versionCode="16" android:versionName="4.1.2-blablabla.."

-find

<uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />

-below code

add this,

<uses-permission android:name="android.permission.CAMERA" />

SAVE,RECOMPILE,SIGN,PUSH TO SYSTEM

NEED SIGN, OR DISABLE CHECK SIGNATURE APPS [SERVICE.JAR]

READ HERE : http://xdaforums.com/showthread.php?t=1621289

Download file :

smali :

http://d-h.st/45p

lidroid-res & lidroidsettings:

http://d-h.st/HIa

Credit :

-LIDROID

-WANAM

-Adi Aisiteru Reborn

if You like my GUIDE

Please pool n rate my Device to have Sub Forum

here :

http://xdaforums.com/show....php?t=2550846