[Android Software/Hacking General [Developers Only]] shoman94:
Thanks man..... I just saw that when I was looking it over again that I had 0x10 so I changed it to 0x11

Thank you much....

SO this part is different and wanted to get you expert help (IDK how you guys do this stuff.....)

So you go from this:

.line 176
const/4 v0, 0x1

goto/16 :goto_7

.line 39
:sswitch_data_124
.sparse-switch
0x1 -> :sswitch_f
0x2 -> :sswitch_1c
0x3 -> :sswitch_29
0x4 -> :sswitch_42
0x5 -> :sswitch_5f
0x6 -> :sswitch_7b
0x7 -> :sswitch_8d
0x8 -> :sswitch_c7
0x9 -> :sswitch_d5
0xa -> :sswitch_ef
0xb -> :sswitch_116
0x5f4e5446 -> :sswitch_8
.end sparse-switch

to this:

.line 176
const/4 v0, 0x1

goto/16 :goto_7

.end local v1 #_arg0:Ljava/lang/String;
.end local v2 #_arg1:Ljava/lang/String;
.end local v3 #_arg2:I
:sswitch_124
const-string v0, "com.android.internal.statusbar.IStatusBarService"

invoke-virtual {p2, v0}, Landroid/os/Parcel;->enforceInterface(Ljava/lang/String;)V

.line 177
invoke-virtual {p2}, Landroid/os/Parcel;->readString()Ljava/lang/String;

move-result-object v1

.line 178
.restart local v1 #_arg0:Ljava/lang/String;
invoke-virtual {p2}, Landroid/os/Parcel;->readString()Ljava/lang/String;

move-result-object v2

.line 179
.restart local v2 #_arg1:Ljava/lang/String;
invoke-virtual {p2}, Landroid/os/Parcel;->readInt()I

move-result v3

.line 180
.restart local v3 #_arg2:I
invoke-virtual {p0, v1, v2, v3}, Lcom/android/internal/statusbar/IStatusBarService$Stub;->onNotificationClear(Ljava/lang/String;Ljava/lang/String;I)V

.line 181
invoke-virtual {p3}, Landroid/os/Parcel;->writeNoException()V

.line 182
const/4 v0, 0x1

goto/16 :goto_7

.line 39
:sswitch_data_13e
.sparse-switch
0x1 -> :sswitch_f
0x2 -> :sswitch_1c
0x3 -> :sswitch_29
0x4 -> :sswitch_42
0x5 -> :sswitch_5f
0x6 -> :sswitch_7b
0x7 -> :sswitch_8d
0x8 -> :sswitch_c7
0x9 -> :sswitch_d5
0xa -> :sswitch_ef
0xb -> :sswitch_116
0xc -> :sswitch_124
0x5f4e5446 -> :sswitch_8
.end sparse-switch

My original code is this:

.line 235
:goto_4
const/4 v0, 0x1

goto/16 :goto_0

[B] .line 233
:cond_3
const/4 v0, 0x0

invoke-virtual {p3, v0}, Landroid/os/Parcel;->writeInt(I)V

goto :goto_4
[/B]
.line 40
:sswitch_data_0
.sparse-switch
0x1 -> :sswitch_1
0x2 -> :sswitch_2
0x3 -> :sswitch_3
0x4 -> :sswitch_4
0x5 -> :sswitch_5
0x6 -> :sswitch_6
0x7 -> :sswitch_7
0x8 -> :sswitch_8
0x9 -> :sswitch_9
0xa -> :sswitch_a
0xb -> :sswitch_b
0xc -> :sswitch_c
0xd -> :sswitch_d
0xe -> :sswitch_e
0xf -> :sswitch_f
0x10 -> :sswitch_10
0x5f4e5446 -> :sswitch_0
.end sparse-switch
.end method

Where whats in bold is different from your original.

I added it this way does it look correct or should the added code go above .line40?:

.line 235
:goto_4
const/4 v0, 0x1

goto/16 :goto_0

.end local v1 #_arg0:Ljava/lang/String;
.end local v2 #_arg1:Ljava/lang/String;
.end local v3 #_arg2:I
:sswitch_124
const-string v0, "com.android.internal.statusbar.IStatusBarService"

invoke-virtual {p2, v0}, Landroid/os/Parcel;->enforceInterface(Ljava/lang/String;)V

.line 177
invoke-virtual {p2}, Landroid/os/Parcel;->readString()Ljava/lang/String;

move-result-object v1

.line 178
.restart local v1 #_arg0:Ljava/lang/String;
invoke-virtual {p2}, Landroid/os/Parcel;->readString()Ljava/lang/String;

move-result-object v2

.line 179
.restart local v2 #_arg1:Ljava/lang/String;
invoke-virtual {p2}, Landroid/os/Parcel;->readInt()I

move-result v3

.line 180
.restart local v3 #_arg2:I
invoke-virtual {p0, v1, v2, v3}, Lcom/android/internal/statusbar/IStatusBarService$Stub;->onNotificationClear(Ljava/lang/String;Ljava/lang/String;I)V

.line 181
invoke-virtual {p3}, Landroid/os/Parcel;->writeNoException()V

.line 182
const/4 v0, 0x1

goto/16 :goto_0

.line 233
:cond_3
const/4 v0, 0x0

invoke-virtual {p3, v0}, Landroid/os/Parcel;->writeInt(I)V

goto :goto_4

.line 40
:sswitch_data_0
.sparse-switch
0x1 -> :sswitch_1
0x2 -> :sswitch_2
0x3 -> :sswitch_3
0x4 -> :sswitch_4
0x5 -> :sswitch_5
0x6 -> :sswitch_6
0x7 -> :sswitch_7
0x8 -> :sswitch_8
0x9 -> :sswitch_9
0xa -> :sswitch_a
0xb -> :sswitch_b
0xc -> :sswitch_c
0xd -> :sswitch_d
0xe -> :sswitch_e
0xf -> :sswitch_f
0x10 -> :sswitch_10
0x11 -> :sswitch_124
0x5f4e5446 -> :sswitch_0
.end sparse-switch
.end method

Thanks again for you advice and mod...

EDIT:

Recompiling framework.jar:

I: Smaling...

Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: java.io.FileInputStream@177e7ce2

at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:45)

at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:33)

at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:64)

at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:48)

at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:35)

at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:222)

at brut.androlib.Androlib.buildSources(Androlib.java:179)

at brut.androlib.Androlib.build(Androlib.java:170)

at brut.androlib.Androlib.build(Androlib.java:154)

at brut.apktool.Main.cmdBuild(Main.java:174)

at brut.apktool.Main.main(Main.java:59)

The system cannot find the drive specified.

Any thoughts?