[Galaxy S II Android Development] remuntada78:
I'm tired i can't able to do a mod alone:crying: , i tried whit set color for powermenu i tried with AlertController.smali from framework.jar

i added red lines

.method private setupTitle(Landroid/widget/LinearLayout;)Z
[COLOR="Red"] .registers 14[/COLOR] "original here was 12"
.parameter "topPanel"

.prologue
const v6, 0x1020272

const/4 v0, 0x0

const/16 v9, 0x8

.line 435
const/4 v1, 0x1

.line 437
.local v1, hasTitle:Z
iget-object v4, p0, Lcom/android/internal/app/AlertController;->mCustomTitleView:Landroid/view/View;

if-eqz v4, :cond_21

.line 439
new-instance v2, Landroid/widget/LinearLayout$LayoutParams;

const/4 v4, -0x1

const/4 v5, -0x2

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

.line 442
.local v2, lp:Landroid/widget/LinearLayout$LayoutParams;
iget-object v4, p0, Lcom/android/internal/app/AlertController;->mCustomTitleView:Landroid/view/View;

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

.line 445
iget-object v4, p0, Lcom/android/internal/app/AlertController;->mWindow:Landroid/view/Window;

invoke-virtual {v4, v6}, Landroid/view/Window;->findViewById(I)Landroid/view/View;

move-result-object v3

.line 446
.local v3, titleTemplate:Landroid/view/View;
invoke-virtual {v3, v9}, Landroid/view/View;->setVisibility(I)V

.line 486
.end local v2 #lp:Landroid/widget/LinearLayout$LayoutParams;
.end local v3 #titleTemplate:Landroid/view/View;
:cond_20
:goto_20
return v1

.line 448
:cond_21
iget-object v4, p0, Lcom/android/internal/app/AlertController;->mTitle:Ljava/lang/CharSequence;

invoke-static {v4}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

move-result v4

if-nez v4, :cond_2a

const/4 v0, 0x1

.line 450
.local v0, hasTextTitle:Z
:cond_2a
iget-object v4, p0, Lcom/android/internal/app/AlertController;->mWindow:Landroid/view/Window;

const v5, 0x1020006

invoke-virtual {v4, v5}, Landroid/view/Window;->findViewById(I)Landroid/view/View;

move-result-object v4

check-cast v4, Landroid/widget/ImageView;

iput-object v4, p0, Lcom/android/internal/app/AlertController;->mIconView:Landroid/widget/ImageView;

.line 451
if-eqz v0, :cond_90

.line 453
iget-object v4, p0, Lcom/android/internal/app/AlertController;->mWindow:Landroid/view/Window;

const v5, 0x1020273

invoke-virtual {v4, v5}, Landroid/view/Window;->findViewById(I)Landroid/view/View;

move-result-object v4

check-cast v4, Landroid/widget/TextView;

iput-object v4, p0, Lcom/android/internal/app/AlertController;->mTitleView:Landroid/widget/TextView;

.line 455
iget-object v4, p0, Lcom/android/internal/app/AlertController;->mTitleView:Landroid/widget/TextView;

iget-object v5, p0, Lcom/android/internal/app/AlertController;->mTitle:Ljava/lang/CharSequence;

invoke-virtual {v4, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

[COLOR="Red"]	iget-object v11, p0, Lcom/android/internal/app/AlertController;->mTitleView:Landroid/widget/TextView;

invoke-virtual {v11}, Landroid/widget/TextView;->getContext()Landroid/content/Context;

move-result-object v11

invoke-virtual {v11}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v11

const-string v12, "text_color"

const v13, -0x1

invoke-static {v11, v12, v13}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v11

invoke-virtual {v4, v11}, Landroid/widget/TextView;->setTextColor(I)V[/COLOR]

.line 461
iget v4, p0, Lcom/android/internal/app/AlertController;->mIconId:I

if-lez v4, :cond_59
.
.
.
.
.method public setTitle(Ljava/lang/CharSequence;)V
[COLOR="Red"] .registers 6[/COLOR] "original here was 3"
.parameter "title"

.prologue
.line 246
iput-object p1, p0, Lcom/android/internal/app/AlertController;->mTitle:Ljava/lang/CharSequence;

.line 247
iget-object v0, p0, Lcom/android/internal/app/AlertController;->mTitleView:Landroid/widget/TextView;

if-eqz v0, :cond_b

.line 248
iget-object v0, p0, Lcom/android/internal/app/AlertController;->mTitleView:Landroid/widget/TextView;

invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

[COLOR="Red"] iget-object v3, p0, Lcom/android/internal/app/AlertController;->mTitleView:Landroid/widget/TextView;

invoke-virtual {v3}, Landroid/widget/TextView;->getContext()Landroid/content/Context;

move-result-object v3

invoke-virtual {v3}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v3

const-string v4, "text_color"

const v5, -0x1

invoke-static {v3, v4, v5}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v3

invoke-virtual {v0, v3}, Landroid/widget/TextView;->setTextColor(I)V[/COLOR]

.line 250
:cond_b
return-void
.end method

but when i click on power button devices goes in soft bootloop, what i wrong is the smali file?