[Samsung Galaxy W I8150] Adi Aisiteru Reborn:
Nex find this method

.method protected makeStatusBarView()Landroid/view/View;

scroll down in the method , and add the blue code, but you must adapt the register number v8, v1 and v9 with yours, do not copy the red code, you must use your own register

[COLOR="Blue"]const [COLOR="Red"]v8[/COLOR], 0x7f0e00aa

invoke-virtual {[COLOR="Red"]v1, v8[/COLOR]}, Lcom/android/systemui/statusbar/phone/ExpandedView;->findViewById(I)Landroid/view/View;

move-result-object [COLOR="Red"]v8[/COLOR]

iput-object [COLOR="Red"]v8[/COLOR], p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mQuickPanelContents:Landroid/view/View;[/COLOR]

.line 390
const v8, 0x7f0e004e

invoke-virtual {v1, v8}, Lcom/android/systemui/statusbar/phone/ExpandedView;->findViewById(I)Landroid/view/View;

move-result-object v8

check-cast v8, Landroid/widget/TextView;

iput-object v8, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mNoNotificationsTitle:Landroid/widget/TextView;

.line 391
iget-object v8, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mNoNotificationsTitle:Landroid/widget/TextView;

invoke-virtual {v8, v11}, Landroid/widget/TextView;->setVisibility(I)V

.line 393
const v8, 0x7f0e004d

invoke-virtual {v1, v8}, Lcom/android/systemui/statusbar/phone/ExpandedView;->findViewById(I)Landroid/view/View;

move-result-object v8

iput-object v8, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mClearButton:Landroid/view/View;

.line 394
iget-object v8, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mClearButton:Landroid/view/View;

iget-object v9, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mClearButtonListener:Landroid/view/View$OnClickListener;

invoke-virtual {v8, v9}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

.line 395
iget-object v8, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mClearButton:Landroid/view/View;

const/4 v9, 0x0

invoke-virtual {v8, v9}, Landroid/view/View;->setAlpha(F)V

.line 396
iget-object v8, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mClearButton:Landroid/view/View;

const/4 v9, 0x0

invoke-virtual {v8, v9}, Landroid/view/View;->setEnabled(Z)V

.line 397
const v8, 0x7f0e004b

invoke-virtual {v1, v8}, Lcom/android/systemui/statusbar/phone/ExpandedView;->findViewById(I)Landroid/view/View;

move-result-object v8

check-cast v8, Lcom/android/systemui/statusbar/policy/DateView;

iput-object v8, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mDateView:Lcom/android/systemui/statusbar/policy/DateView;

.line 398
const v8, 0x7f0e004c

invoke-virtual {v1, v8}, Lcom/android/systemui/statusbar/phone/ExpandedView;->findViewById(I)Landroid/view/View;

move-result-object v8

iput-object v8, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mSettingsButton:Landroid/view/View;

.line 399
iget-object v8, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mSettingsButton:Landroid/view/View;

iget-object v9, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mSettingsButtonListener:Landroid/view/View$OnClickListener;

invoke-virtual {v8, v9}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

[COLOR="Blue"]const [COLOR="Red"]v8[/COLOR], 0x7f0e00a4

invoke-virtual {[COLOR="Red"]v1, v8[/COLOR]}, Lcom/android/systemui/statusbar/phone/ExpandedView;->findViewById(I)Landroid/view/View;

move-result-object [COLOR="Red"]v8[/COLOR]

iput-object [COLOR="Red"]v8[/COLOR], p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mFlipToQuickPanelButton:Landroid/view/View;

.line 101
iget-object [COLOR="Red"]v8[/COLOR], p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mFlipToQuickPanelButton:Landroid/view/View;

iget-object [COLOR="Red"]v9[/COLOR], p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mFlipToQuickPanelButtonListener:Landroid/view/View$OnClickListener;

invoke-virtual {[COLOR="Red"]v8, v9[/COLOR]}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

.line 110
const [COLOR="Red"]v8[/COLOR], 0x7f0e00a5

invoke-virtual [COLOR="Red"]{v1, v8[/COLOR]}, Lcom/android/systemui/statusbar/phone/ExpandedView;->findViewById(I)Landroid/view/View;

move-result-object [COLOR="Red"]v8[/COLOR]

iput-object [COLOR="Red"]v8[/COLOR], p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mFlipToNotificationsButton:Landroid/view/View;

.line 111
iget-object [COLOR="Red"]v8[/COLOR], p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mFlipToNotificationsButton:Landroid/view/View;

iget-object [COLOR="Red"]v9[/COLOR], p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mFlipToNotificationsButtonListener:Landroid/view/View$OnClickListener;

invoke-virtual {[COLOR="Red"]v8, v9[/COLOR]}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

.line 120
const [COLOR="Red"]v8[/COLOR], 0x7f0e009b

invoke-virtual {[COLOR="Red"]v1, v8[/COLOR]}, Lcom/android/systemui/statusbar/phone/ExpandedView;->findViewById(I)Landroid/view/View;

move-result-object [COLOR="Red"]v8[/COLOR]

check-cast [COLOR="Red"]v8[/COLOR], Landroid/widget/ViewFlipper;

iput-object [COLOR="Red"]v8[/COLOR], p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mHeaderFlipper:Landroid/widget/ViewFlipper;

.line 121
const [COLOR="Red"]v8[/COLOR], 0x7f0e00a6

invoke-virtual {[COLOR="Red"]v1, v8[/COLOR]}, Lcom/android/systemui/statusbar/phone/ExpandedView;->findViewById(I)Landroid/view/View;

move-result-object [COLOR="Red"]v8[/COLOR]

check-cast [COLOR="Red"]v8[/COLOR], Landroid/widget/ViewFlipper;

iput-object [COLOR="Red"]v8[/COLOR], p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mContentsFlipper:Landroid/widget/ViewFlipper;

.line 130
const [COLOR="Red"]v8[/COLOR], 0x7f0e003d

invoke-virtual {[COLOR="Red"]v1, v8[/COLOR]}, Lcom/android/systemui/statusbar/phone/ExpandedView;->findViewById(I)Landroid/view/View;

move-result-object [COLOR="Red"]v8[/COLOR]

iput-object [COLOR="Red"]v8[/COLOR], p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mRecentsButton:Landroid/view/View;

.line 131
iget-object [COLOR="Red"]v8[/COLOR], p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mRecentsButton:Landroid/view/View;

iget-object [COLOR="Red"]v9[/COLOR], p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mRecentsClickListener:Landroid/view/View$OnClickListener;

invoke-virtual {[COLOR="Red"]v8, v9[/COLOR]}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

.line 140
const [COLOR="Red"]v8[/COLOR], 0x7f0e00ac

invoke-virtual {[COLOR="Red"]v1, v8[/COLOR]}, Lcom/android/systemui/statusbar/phone/ExpandedView;->findViewById(I)Landroid/view/View;

move-result-object [COLOR="Red"]v8[/COLOR]

iput-object [COLOR="Red"]v8[/COLOR], p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mQuickPanelTopTabsToggles:Landroid/view/View;

.line 141
iget-object [COLOR="Red"]v8[/COLOR], p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mQuickPanelTopTabsToggles:Landroid/view/View;

iget-object [COLOR="Red"]v9[/COLOR], p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mQuickPanelTopTabsTogglesListener:Landroid/view/View$OnClickListener;

invoke-virtual {[COLOR="Red"]v8, v9[/COLOR]}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

.line 150
const [COLOR="Red"]v8[/COLOR], 0x7f0e00ad

invoke-virtual {[COLOR="Red"]v1, v8[/COLOR]}, Lcom/android/systemui/statusbar/phone/ExpandedView;->findViewById(I)Landroid/view/View;

move-result-object [COLOR="Red"]v8[/COLOR]

iput-object [COLOR="Red"]v8[/COLOR], p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mQuickPanelTopTabsSliders:Landroid/view/View;

.line 151
iget-object [COLOR="Red"]v8[/COLOR], p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mQuickPanelTopTabsSliders:Landroid/view/View;

iget-object [COLOR="Red"]v9[/COLOR], p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mQuickPanelTopTabsSlidersListener:Landroid/view/View$OnClickListener;

invoke-virtual {[COLOR="Red"]v8, v9[/COLOR]}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

.line 152
const [COLOR="Red"]v8[/COLOR], 0x7f0e00b7

invoke-virtual {[COLOR="Red"]v1, v8[/COLOR]}, Lcom/android/systemui/statusbar/phone/ExpandedView;->findViewById(I)Landroid/view/View;

move-result-object [COLOR="Red"]v8[/COLOR]

iput-object [COLOR="Red"]v8[/COLOR], p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mQuickPanelBottomTabsToggles:Landroid/view/View;

.line 153
iget-object [COLOR="Red"]v8[/COLOR], p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mQuickPanelBottomTabsToggles:Landroid/view/View;

iget-object [COLOR="Red"]v9[/COLOR], p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mQuickPanelBottomTabsTogglesListener:Landroid/view/View$OnClickListener;

invoke-virtual {[COLOR="Red"]v8, v9[/COLOR]}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

.line 154
const [COLOR="Red"]v8[/COLOR], 0x7f0e00b8

invoke-virtual {[COLOR="Red"]v1, v8[/COLOR]}, Lcom/android/systemui/statusbar/phone/ExpandedView;->findViewById(I)Landroid/view/View;

move-result-object [COLOR="Red"]v8[/COLOR]

iput-object [COLOR="Red"]v8[/COLOR], p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mQuickPanelBottomTabsSliders:Landroid/view/View;

.line 155
iget-object [COLOR="Red"]v8[/COLOR], p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mQuickPanelBottomTabsSliders:Landroid/view/View;

iget-object [COLOR="Red"]v9[/COLOR], p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mQuickPanelBottomTabsSlidersListener:Landroid/view/View$OnClickListener;

invoke-virtual {[COLOR="Red"]v8, v9[/COLOR]}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

.line 156
invoke-direct {p0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->selectQuickPanelInitialTab()V

.line 160
const [COLOR="Red"]v8[/COLOR], 0x7f0e00ae

invoke-virtual {[COLOR="Red"]v1, v8[/COLOR]}, Lcom/android/systemui/statusbar/phone/ExpandedView;->findViewById(I)Landroid/view/View;

move-result-object [COLOR="Red"]v8[/COLOR]

check-cast [COLOR="Red"]v8[/COLOR], Landroid/widget/ViewFlipper;

iput-object [COLOR="Red"]v8[/COLOR], p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mQuickPanelFlipper:Landroid/widget/ViewFlipper;

.line 170
invoke-direct {p0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->setQuickPanelVolumeSliders()V

.line 180
invoke-direct {p0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->setQuickPanelUserButtonInfo()V[/COLOR]

.line 400
const v8, 0x7f0e004f

invoke-virtual {v1, v8}, Lcom/android/systemui/statusbar/phone/ExpandedView;->findViewById(I)Landroid/view/View;

move-result-object v8

check-cast v8, Landroid/widget/ScrollView;

iput-object v8, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mScrollView:Landroid/widget/ScrollView;

[COLOR="Blue"]const [COLOR="Red"]v8[/COLOR], 0x7f0e00b6

invoke-virtual {[COLOR="Red"]v1, v8[/COLOR]}, Lcom/android/systemui/statusbar/phone/ExpandedView;->findViewById(I)Landroid/view/View;

move-result-object [COLOR="Red"]v8[/COLOR]

check-cast [COLOR="Red"]v8[/COLOR], Lcom/lidroid/systemui/quickpanel/PowerWidget;

iput-object [COLOR="Red"]v8[/COLOR], p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPowerWidget:Lcom/lidroid/systemui/quickpanel/PowerWidget;

.line 404
iget-object [COLOR="Red"]v8[/COLOR], p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPowerWidget:Lcom/lidroid/systemui/quickpanel/PowerWidget;[/COLOR]

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

invoke-direct {v9, p0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$1;-><init>(Lcom/android/systemui/statusbar/phone/PhoneStatusBar;)V

invoke-virtual {v8, v9}, Lcom/lidroid/systemui/quickpanel/PowerWidget;->setGlobalButtonOnClickListener(Landroid/view/View$OnClickListener;)V

.line 412
iget-object v8, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPowerWidget:Lcom/lidroid/systemui/quickpanel/PowerWidget;

new-instance v9, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$2;

invoke-direct {v9, p0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$2;-><init>(Lcom/android/systemui/statusbar/phone/PhoneStatusBar;)V

invoke-virtual {v8, v9}, Lcom/lidroid/systemui/quickpanel/PowerWidget;->setGlobalButtonOnLongClickListener(Landroid/view/View$OnLongClickListener;)V

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

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

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

Next , scroll down still in the same method

add the blue code and adapt the red code

]const-string v8, "android.intent.action.CLOSE_SYSTEM_DIALOGS"

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

.line 457
const-string v8, "android.intent.action.SCREEN_ON"

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

.line 458
const-string [COLOR="Red"]v8[/COLOR], "android.intent.action.SCREEN_OFF"

invoke-virtual {[COLOR="Red"]v2, v8[/COLOR]}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

[COLOR="Blue"]const-string [COLOR="Red"]v8[/COLOR], "android.media.VOLUME_CHANGED_ACTION"

invoke-virtual {[COLOR="Red"]v2, v8[/COLOR]}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V[/COLOR]

.line 459
iget-object v8, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mBroadcastReceiver:Landroid/content/BroadcastReceiver;

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

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

invoke-virtual {v1}, Lcom/lidroid/systemui/quickpanel/PowerWidget;->setupWidget()V

.line 700
iget-object v5, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mExpandedView:Lcom/android/systemui/statusbar/phone/ExpandedView;

const v6, 0x7f0e008a

invoke-virtual {v5, v6}, Lcom/android/systemui/statusbar/phone/ExpandedView;->findViewById(I)Landroid/view/View;

move-result-object v5

check-cast v5, Lcom/android/systemui/statusbar/policy/ToggleSlider;

new-instance v9, Lcom/android/systemui/statusbar/policy/BrightnessController;

iget-object v6, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mContext:Landroid/content/Context;

invoke-direct {v9, v6, v5}, Lcom/android/systemui/statusbar/policy/BrightnessController;-><init>(Landroid/content/Context;Lcom/android/systemui/statusbar/policy/ToggleSlider;)V

iput-object v9, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mBrightness:Lcom/android/systemui/statusbar/policy/BrightnessController;[/COLOR]

.line 463
return-object v4

.line 368
.end local v2 #filter:Landroid/content/IntentFilter;
.end local v6 #signalCluster:Lcom/android/systemui/statusbar/SignalClusterView;
.end local v7 #tickerView:Lcom/android/systemui/statusbar/phone/TickerView;
:catch_0
move-exception v8

goto/16 :goto_0
.end method

NEXT CONTINUE IN POST #8