[HTC One X] Mr Hofs:
You seem to have a big mouth for someone who doesn't know all the pieces of the puzzle.....i will leave it at that for now !

I am very disappointed in your comment here ..... Did you even compare the tweaks, systemUI and framework from the hox+ ?

And do you know how to write some extra methods like these. These are additional written/edited to make the rom bug free !

.class Lcom/m0narx/tweaks/fragments/advanced$5;

.super Ljava/lang/Object;

.source "advanced.java"

# interfaces

.implements Landroid/content/DialogInterface$OnClickListener;

# annotations

.annotation system Ldalvik/annotation/EnclosingMethod;

value = Lcom/m0narx/tweaks/fragments/advanced;->onPrefClick(Lcom/htc/preference/HtcPreference;)Z

.end annotation

.annotation system Ldalvik/annotation/InnerClass;

accessFlags = 0x0

name = null

.end annotation

# instance fields

.field final synthetic this$0:Lcom/m0narx/tweaks/fragments/advanced;

# direct methods

.method constructor (Lcom/m0narx/tweaks/fragments/advanced;)V

.locals 0

iput-object p1, p0, Lcom/m0narx/tweaks/fragments/advanced$5;->this$0:Lcom/m0narx/tweaks/fragments/advanced;

invoke-direct {p0}, Ljava/lang/Object;->()V

return-void

.end method

# virtual methods

.method public onClick(Landroid/content/DialogInterface;I)V

.locals 13

new-instance v12, Lcom/htc/app/HtcProgressDialog;

iget-object v0, p0, Lcom/m0narx/tweaks/fragments/advanced$5;->this$0:Lcom/m0narx/tweaks/fragments/advanced;

iget-object v0, v0, Lcom/m0narx/tweaks/fragments/advanced;->mContext:Landroid/content/Context;

invoke-direct {v12, v0}, Lcom/htc/app/HtcProgressDialog;->(Landroid/content/Context;)V

const-string v2, "Spinny Test"

invoke-virtual {v12, v2}, Lcom/htc/app/HtcProgressDialog;->setMessage(Ljava/lang/CharSequence;)V

sget v2, Lcom/htc/app/HtcProgressDialog;->STYLE_SPINNER:I

invoke-virtual {v12, v2}, Lcom/htc/app/HtcProgressDialog;->setProgressStyle(I)V

const/4 v2, 0x0

invoke-virtual {v12, v2}, Lcom/htc/app/HtcProgressDialog;->setCancelable(Z)V

invoke-virtual {v12}, Lcom/htc/app/HtcProgressDialog;->show()V

invoke-virtual {p0}, Lcom/m0narx/tweaks/fragments/advanced$5;->dosys()V

invoke-virtual {p0}, Lcom/m0narx/tweaks/fragments/advanced$5;->doframe()V

return-void

.end method

.method public dosys()V

.locals 12

sget-object v6, Ljava/lang/System;->out:Ljava/io/PrintStream;

const-string v7, "SU Java-Code Running!"

invoke-virtual {v6, v7}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V

new-instance v5, Ljava/io/File;

const-string v6, "/system/app"

invoke-direct {v5, v6}, Ljava/io/File;->(Ljava/lang/String;)V

invoke-virtual {v5}, Ljava/io/File;->listFiles()[Ljava/io/File;

move-result-object v3

array-length v7, v3

const/4 v6, 0x0

:goto_0

if-lt v6, v7, :cond_0

return-void

:cond_0

aget-object v2, v3, v6

invoke-virtual {v2}, Ljava/io/File;->isFile()Z

move-result v8

if-eqz v8, :cond_1

invoke-virtual {v2}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

move-result-object v8

const-string v9, ".apk"

invoke-virtual {v8, v9}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

move-result v8

if-eqz v8, :cond_1

new-instance v4, Ljava/io/File;

invoke-virtual {v2}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

move-result-object v10

const-string v9, "odex"

invoke-static {v10, v9}, Lcom/m0narx/tweaks/widgets/Misc;->changeExtension(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

move-result-object v11

invoke-direct {v4, v11}, Ljava/io/File;->(Ljava/lang/String;)V

invoke-virtual {v4}, Ljava/io/File;->exists()Z

move-result v8

if-nez v8, :cond_1

:try_start_0

new-instance v8, Ljava/lang/StringBuilder;

const-string v9, "dexopt-wrapper "

invoke-direct {v8, v9}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V

invoke-virtual {v8, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

move-result-object v8

const-string v9, " "

invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

move-result-object v8

invoke-virtual {v8, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

move-result-object v8

invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

move-result-object v8

const-string v9, "richie"

invoke-static {v9, v8}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

invoke-static {v8}, Lcom/m0narx/tweaks/widgets/ShellInterface;->runSU(Ljava/lang/String;)Ljava/lang/String;

if-nez v8, :cond_2

:cond_1

:goto_1

add-int/lit8 v6, v6, 0x1

goto :goto_0

:cond_2

new-instance v8, Ljava/lang/StringBuilder;

const-string v9, "chmod 644 "

invoke-direct {v8, v9}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V

invoke-virtual {v4}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

move-result-object v9

invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

move-result-object v8

invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

move-result-object v8

invoke-static {v8}, Lcom/m0narx/tweaks/widgets/ShellInterface;->runSU(Ljava/lang/String;)Ljava/lang/String;

new-instance v8, Ljava/lang/StringBuilder;

const-string v9, "chown 0.0 "

invoke-direct {v8, v9}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V

invoke-virtual {v4}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

move-result-object v9

invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

move-result-object v8

invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

move-result-object v8

invoke-static {v8}, Lcom/m0narx/tweaks/widgets/ShellInterface;->runSU(Ljava/lang/String;)Ljava/lang/String;

new-instance v8, Ljava/lang/StringBuilder;

const-string v9, "chown 0:0 "

invoke-direct {v8, v9}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V

invoke-virtual {v4}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

move-result-object v9

invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

move-result-object v8

invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

move-result-object v8

invoke-static {v8}, Lcom/m0narx/tweaks/widgets/ShellInterface;->runSU(Ljava/lang/String;)Ljava/lang/String;

:try_end_0

.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

goto :goto_1

:catch_0

move-exception v1

invoke-virtual {v1}, Ljava/lang/Exception;->printStackTrace()V

goto :goto_1

.end method

.method public doframe()V

.locals 12

sget-object v6, Ljava/lang/System;->out:Ljava/io/PrintStream;

const-string v7, "SU Java-Code Running!"

invoke-virtual {v6, v7}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V

new-instance v5, Ljava/io/File;

const-string v6, "/system/framework"

invoke-direct {v5, v6}, Ljava/io/File;->(Ljava/lang/String;)V

invoke-virtual {v5}, Ljava/io/File;->listFiles()[Ljava/io/File;

move-result-object v3

array-length v7, v3

const/4 v6, 0x0

:goto_0

if-lt v6, v7, :cond_0

return-void

:cond_0

aget-object v2, v3, v6

invoke-virtual {v2}, Ljava/io/File;->isFile()Z

move-result v8

if-eqz v8, :cond_1

invoke-virtual {v2}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

move-result-object v8

const-string v9, ".jar"

invoke-virtual {v8, v9}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

move-result v8

if-eqz v8, :cond_1

new-instance v4, Ljava/io/File;

invoke-virtual {v2}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

move-result-object v10

const-string v9, "odex"

invoke-static {v10, v9}, Lcom/m0narx/tweaks/widgets/Misc;->changeExtension(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

move-result-object v11

invoke-direct {v4, v11}, Ljava/io/File;->(Ljava/lang/String;)V

invoke-virtual {v4}, Ljava/io/File;->exists()Z

move-result v8

if-nez v8, :cond_1

:try_start_0

new-instance v8, Ljava/lang/StringBuilder;

const-string v9, "dexopt-wrapper "

invoke-direct {v8, v9}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V

invoke-virtual {v8, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

move-result-object v8

const-string v9, " "

invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

move-result-object v8

invoke-virtual {v8, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

move-result-object v8

invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

move-result-object v8

const-string v9, "richie"

invoke-static {v9, v8}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

invoke-static {v8}, Lcom/m0narx/tweaks/widgets/ShellInterface;->runSU(Ljava/lang/String;)Ljava/lang/String;

if-nez v8, :cond_2

:cond_1

:goto_1

add-int/lit8 v6, v6, 0x1

goto :goto_0

:cond_2

new-instance v8, Ljava/lang/StringBuilder;

const-string v9, "chmod 644 "

invoke-direct {v8, v9}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V

invoke-virtual {v4}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

move-result-object v9

invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

move-result-object v8

invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

move-result-object v8

invoke-static {v8}, Lcom/m0narx/tweaks/widgets/ShellInterface;->runSU(Ljava/lang/String;)Ljava/lang/String;

new-instance v8, Ljava/lang/StringBuilder;

const-string v9, "chown 0.0 "

invoke-direct {v8, v9}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V

invoke-virtual {v4}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

move-result-object v9

invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

move-result-object v8

invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

move-result-object v8

invoke-static {v8}, Lcom/m0narx/tweaks/widgets/ShellInterface;->runSU(Ljava/lang/String;)Ljava/lang/String;

new-instance v8, Ljava/lang/StringBuilder;

const-string v9, "chown 0:0 "

invoke-direct {v8, v9}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V

invoke-virtual {v4}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

move-result-object v9

invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

move-result-object v8

invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

move-result-object v8

invoke-static {v8}, Lcom/m0narx/tweaks/widgets/ShellInterface;->runSU(Ljava/lang/String;)Ljava/lang/String;

:try_end_0

.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

goto :goto_1

:catch_0

move-exception v1

invoke-virtual {v1}, Ljava/lang/Exception;->printStackTrace()V

goto :goto_1

.end method