[Moto G Android Development] h2o64:
HELP !

I fixed quiet a few errors.... But this one won't get out :

W/InterfaceController( 1404): Warning (dlopen failed: library "/system/lib/libnetcmdiface.so" not found) while opening the net interface command library
D/AndroidRuntime( 1405):
D/AndroidRuntime( 1405): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 1405): CheckJNI is OFF
D/dalvikvm( 1405): Trying to load lib libjavacore.so 0x0
D/dalvikvm( 1405): Added shared lib libjavacore.so 0x0
D/dalvikvm( 1405): Trying to load lib libnativehelper.so 0x0
D/dalvikvm( 1405): Added shared lib libnativehelper.so 0x0
D/dalvikvm( 1405): No JNI_OnLoad found in libnativehelper.so 0x0, skipping init
D/dalvikvm( 1405): Note: class Landroid/app/ActivityManagerNative; has 179 unimplemented (abstract) methods
I/SamplingProfilerIntegration( 1405): Profiling disabled.
W/dalvikvm( 1405): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lmiui/security/SecurityManager;
D/AndroidRuntime( 1405): Shutting down VM

SecurityManager.smali (V6 stuff)

.class public Lmiui/security/SecurityManager;
.super Ljava/lang/Object;
.source "SecurityManager.java"

# static fields
.field static final synthetic $assertionsDisabled:Z

# instance fields
.field private final mService:Lmiui/security/ISecurityManager;

# direct methods
.method static constructor <clinit>()V
.registers 1

.prologue
.line 19
const-class v0, Lmiui/security/SecurityManager;

invoke-virtual {v0}, Ljava/lang/Class;->desiredAssertionStatus()Z

move-result v0

if-nez v0, :cond_11

const/4 v0, 0x1

:goto_9
sput-boolean v0, Lmiui/security/SecurityManager;->$assertionsDisabled:Z

.line 245
const-string v0, "sechook"

invoke-static {v0}, Ljava/lang/System;->loadLibrary(Ljava/lang/String;)V

.line 246
return-void

.line 19
:cond_11
const/4 v0, 0x0

goto :goto_9
.end method

.method public constructor <init>(Lmiui/security/ISecurityManager;)V
.registers 2
.param p1, "service" # Lmiui/security/ISecurityManager;

.prologue
.line 23
invoke-direct {p0}, Ljava/lang/Object;-><init>()V

.line 24
iput-object p1, p0, Lmiui/security/SecurityManager;->mService:Lmiui/security/ISecurityManager;

.line 25
return-void
.end method

.method public static checkCallingPackage(Landroid/content/Context;[Ljava/lang/String;)Z
.registers 14
.param p0, "context" # Landroid/content/Context;
.param p1, "whiteList" # [Ljava/lang/String;

.prologue
const/4 v10, 0x0

.line 32
sget-boolean v11, Lmiui/security/SecurityManager;->$assertionsDisabled:Z

if-nez v11, :cond_d

if-nez p1, :cond_d

new-instance v10, Ljava/lang/AssertionError;

invoke-direct {v10}, Ljava/lang/AssertionError;-><init>()V

throw v10

.line 34
:cond_d
invoke-static {}, Landroid/os/Binder;->getCallingUid()I

move-result v8

.line 35
.local v8, "uid":I
invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;

move-result-object v11

invoke-virtual {v11, v8}, Landroid/content/pm/PackageManager;->getPackagesForUid(I)[Ljava/lang/String;

move-result-object v7

.line 36
.local v7, "pkgs":[Ljava/lang/String;
if-nez v7, :cond_1c

.line 44
:cond_1b
:goto_1b
return v10

.line 39
:cond_1c
move-object v0, v7

.local v0, "arr$":[Ljava/lang/String;
array-length v4, v0

.local v4, "len$":I
const/4 v2, 0x0

.local v2, "i$":I
move v3, v2

.end local v0 # "arr$":[Ljava/lang/String;
.end local v2 # "i$":I
.end local v4 # "len$":I
.local v3, "i$":I
:goto_20
if-ge v3, v4, :cond_1b

aget-object v6, v0, v3

.line 40
.local v6, "pkg":Ljava/lang/String;
move-object v1, p1

.local v1, "arr$":[Ljava/lang/String;
array-length v5, v1

.local v5, "len$":I
const/4 v2, 0x0

.end local v3 # "i$":I
.restart local v2 # "i$":I
:goto_27
if-ge v2, v5, :cond_36

aget-object v9, v1, v2

.line 41
.local v9, "validPkg":Ljava/lang/String;
invoke-virtual {v6, v9}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

move-result v11

if-eqz v11, :cond_33

const/4 v10, 0x1

goto :goto_1b

.line 40
:cond_33
add-int/lit8 v2, v2, 0x1

goto :goto_27

.line 39
.end local v9 # "validPkg":Ljava/lang/String;
:cond_36
add-int/lit8 v2, v3, 0x1

move v3, v2

.end local v2 # "i$":I
.restart local v3 # "i$":I
goto :goto_20
.end method

.method private static native hook()V
.end method

.method public static init()V
.registers 0

.prologue
.line 241
invoke-static {}, Lmiui/security/SecurityManager;->hook()V

.line 242
return-void
.end method

.method private isAccessControlActived(Landroid/content/Context;)Z
.registers 6
.param p1, "context" # Landroid/content/Context;

.prologue
const/4 v0, 0x1

const/4 v1, 0x0

.line 232
invoke-virtual {p1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v2

const-string v3, "access_control_lock_enabled"

invoke-static {v2, v3, v1}, Landroid/provider/Settings$Secure;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v2

if-ne v0, v2, :cond_f

:goto_e
return v0

:cond_f
move v0, v1

goto :goto_e
.end method

# virtual methods
.method public addAccessControlPass(Ljava/lang/String;)V
.registers 3
.param p1, "packageName" # Ljava/lang/String;

.prologue
.line 112
:try_start_0
iget-object v0, p0, Lmiui/security/SecurityManager;->mService:Lmiui/security/ISecurityManager;

invoke-interface {v0, p1}, Lmiui/security/ISecurityManager;->addAccessControlPass(Ljava/lang/String;)V
:try_end_5
.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_5} :catch_6

.line 115
:goto_5
return-void

.line 113
:catch_6
move-exception v0

goto :goto_5
.end method

.method public checkAccessControl(Landroid/app/Activity;)V
.registers 5
.param p1, "activity" # Landroid/app/Activity;

.prologue
.line 222
invoke-virtual {p1}, Landroid/app/Activity;->getParent()Landroid/app/Activity;

move-result-object v1

if-nez v1, :cond_1d

.line 223
invoke-virtual {p1}, Landroid/app/Activity;->getPackageName()Ljava/lang/String;

move-result-object v1

const/4 v2, 0x0

invoke-virtual {p0, p1, v1, v2}, Lmiui/security/SecurityManager;->getCheckIntent(Landroid/content/Context;Ljava/lang/String;Landroid/content/Intent;)Landroid/content/Intent;

move-result-object v0

.line 224
.local v0, "checkIntent":Landroid/content/Intent;
if-eqz v0, :cond_1d

.line 225
const-string v1, "android.app.extra.PROTECTED_APP_TOKEN"

invoke-virtual {p1}, Landroid/app/Activity;->getActivityToken()Landroid/os/IBinder;

move-result-object v2

invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Landroid/os/IBinder;)Landroid/content/Intent;

.line 226
invoke-virtual {p1, v0}, Landroid/app/Activity;->startActivity(Landroid/content/Intent;)V

.line 229
.end local v0 # "checkIntent":Landroid/content/Intent;
:cond_1d
return-void
.end method

.method public checkAccessControl(Landroid/app/Activity;Landroid/content/Context;Ljava/lang/String;Landroid/app/IApplicationThread;Landroid/os/IBinder;Ljava/lang/String;)V
.registers 19
.param p1, "parent" # Landroid/app/Activity;
.param p2, "context" # Landroid/content/Context;
.param p3, "packageName" # Ljava/lang/String;
.param p4, "thread" # Landroid/app/IApplicationThread;
.param p5, "token" # Landroid/os/IBinder;
.param p6, "id" # Ljava/lang/String;

.prologue
.line 152
if-eqz p1, :cond_3

.line 168
:cond_2
:goto_2
return-void

.line 154
:cond_3
invoke-virtual {p0, p3}, Lmiui/security/SecurityManager;->getApplicationAccessControlEnabled(Ljava/lang/String;)Z

move-result v0

if-eqz v0, :cond_2

invoke-virtual {p0, p3}, Lmiui/security/SecurityManager;->checkAccessControlPass(Ljava/lang/String;)Z

move-result v0

if-nez v0, :cond_2

.line 157
new-instance v3, Landroid/content/Intent;

const-string v0, "android.app.action.CONFIRM_ACCESS_CONTROL"

invoke-direct {v3, v0}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

.line 158
.local v3, "intent":Landroid/content/Intent;
const-string v0, "android.intent.extra.shortcut.NAME"

invoke-virtual {v3, v0, p3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

.line 161
:try_start_1b
invoke-static {}, Landroid/app/ActivityManagerNative;->getDefault()Landroid/app/IActivityManager;

move-result-object v0

const/4 v2, 0x0

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

move-result-object v1

invoke-virtual {v3, v1}, Landroid/content/Intent;->resolveTypeIfNeeded(Landroid/content/ContentResolver;)Ljava/lang/String;

move-result-object v4

const/4 v7, -0x1

const/4 v8, 0x0

const/4 v9, 0x0

const/4 v10, 0x0

const/4 v11, 0x0

move-object/from16 v1, p4

move-object/from16 v5, p5

move-object/from16 v6, p6

invoke-interface/range {v0 .. v11}, Landroid/app/IActivityManager;->startActivity(Landroid/app/IApplicationThread;Ljava/lang/String;Landroid/content/Intent;Ljava/lang/String;Landroid/os/IBinder;Ljava/lang/String;IILjava/lang/String;Landroid/os/ParcelFileDescriptor;Landroid/os/Bundle;)I
:try_end_36
.catch Landroid/os/RemoteException; {:try_start_1b .. :try_end_36} :catch_37

goto :goto_2

.line 165
:catch_37
move-exception v0

goto :goto_2
.end method

.method public checkAccessControlPass(Ljava/lang/String;)Z
.registers 4
.param p1, "packageName" # Ljava/lang/String;

.prologue
.line 126
const/4 v0, 0x0

.line 128
.local v0, "retval":Z
:try_start_1
iget-object v1, p0, Lmiui/security/SecurityManager;->mService:Lmiui/security/ISecurityManager;

invoke-interface {v1, p1}, Lmiui/security/ISecurityManager;->checkAccessControlPass(Ljava/lang/String;)Z
:try_end_6
.catch Landroid/os/RemoteException; {:try_start_1 .. :try_end_6} :catch_8

move-result v0

.line 131
:goto_7
return v0

.line 129
:catch_8
move-exception v1

goto :goto_7
.end method

.method public checkSmsBlocked(Landroid/content/Intent;)Z
.registers 4
.param p1, "intent" # Landroid/content/Intent;

.prologue
.line 71
:try_start_0
iget-object v1, p0, Lmiui/security/SecurityManager;->mService:Lmiui/security/ISecurityManager;

invoke-interface {v1, p1}, Lmiui/security/ISecurityManager;->checkSmsBlocked(Landroid/content/Intent;)Z
:try_end_5
.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_5} :catch_7

move-result v1

.line 75
:goto_6
return v1

.line 72
:catch_7
move-exception v0

.line 73
.local v0, "ex":Landroid/os/RemoteException;
invoke-virtual {v0}, Landroid/os/RemoteException;->printStackTrace()V

.line 75
const/4 v1, 0x0

goto :goto_6
.end method

.method public getApplicationAccessControlEnabled(Ljava/lang/String;)Z
.registers 4
.param p1, "packageName" # Ljava/lang/String;

.prologue
.line 135
const/4 v0, 0x0

.line 137
.local v0, "retval":Z
:try_start_1
iget-object v1, p0, Lmiui/security/SecurityManager;->mService:Lmiui/security/ISecurityManager;

invoke-interface {v1, p1}, Lmiui/security/ISecurityManager;->getApplicationAccessControlEnabled(Ljava/lang/String;)Z
:try_end_6
.catch Landroid/os/RemoteException; {:try_start_1 .. :try_end_6} :catch_8

move-result v0

.line 140
:goto_7
return v0

.line 138
:catch_8
move-exception v1

goto :goto_7
.end method

.method public getCheckIntent(Landroid/content/Context;Ljava/lang/String;Landroid/content/Intent;)Landroid/content/Intent;
.registers 10
.param p1, "context" # Landroid/content/Context;
.param p2, "packageName" # Ljava/lang/String;
.param p3, "intent" # Landroid/content/Intent;

.prologue
.line 171
const/4 v4, 0x0

const/4 v5, -0x1

move-object v0, p0

move-object v1, p1

move-object v2, p2

move-object v3, p3

invoke-virtual/range {v0 .. v5}, Lmiui/security/SecurityManager;->getCheckIntent(Landroid/content/Context;Ljava/lang/String;Landroid/content/Intent;ZI)Landroid/content/Intent;

move-result-object v0

return-object v0
.end method

.method public getCheckIntent(Landroid/content/Context;Ljava/lang/String;Landroid/content/Intent;ZI)Landroid/content/Intent;
.registers 11
.param p1, "context" # Landroid/content/Context;
.param p2, "packageName" # Ljava/lang/String;
.param p3, "intent" # Landroid/content/Intent;
.param p4, "fromActivity" # Z
.param p5, "requestCode" # I

.prologue
const/4 v1, 0x0

const/high16 v4, 0x2000000

.line 176
invoke-direct {p0, p1}, Lmiui/security/SecurityManager;->isAccessControlActived(Landroid/content/Context;)Z

move-result v2

if-nez v2, :cond_a

.line 218
:cond_9
:goto_9
return-object v1

.line 180
:cond_a
const/4 v0, 0x0

.line 182
.local v0, "info":Landroid/content/pm/ApplicationInfo;
:try_start_b
invoke-virtual {p1}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;

move-result-object v2

const/4 v3, 0x0

invoke-virtual {v2, p2, v3}, Landroid/content/pm/PackageManager;->getApplicationInfo(Ljava/lang/String;I)Landroid/content/pm/ApplicationInfo;
:try_end_13
.catch Landroid/content/pm/PackageManager$NameNotFoundException; {:try_start_b .. :try_end_13} :catch_63

move-result-object v0

.line 185
:goto_14
if-eqz v0, :cond_9

.line 189
invoke-virtual {p0, p2}, Lmiui/security/SecurityManager;->getApplicationAccessControlEnabled(Ljava/lang/String;)Z

move-result v2

if-eqz v2, :cond_9

if-eqz p3, :cond_28

if-eqz v0, :cond_28

iget v2, v0, Landroid/content/pm/ApplicationInfo;->uid:I

invoke-static {}, Landroid/os/Binder;->getCallingUid()I

move-result v3

if-eq v2, v3, :cond_9

:cond_28
invoke-virtual {p0, p2}, Lmiui/security/SecurityManager;->checkAccessControlPass(Ljava/lang/String;)Z

move-result v2

if-nez v2, :cond_9

.line 197
new-instance v1, Landroid/content/Intent;

const-string v2, "android.app.action.CHECK_ACCESS_CONTROL"

invoke-direct {v1, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

.line 198
.local v1, "result":Landroid/content/Intent;
const-string v2, "android.intent.extra.shortcut.NAME"

invoke-virtual {v1, v2, p2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

.line 199
const/high16 v2, 0x40800000

invoke-virtual {v1, v2}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

.line 200
if-eqz p3, :cond_9

.line 203
invoke-virtual {p3}, Landroid/content/Intent;->getFlags()I

move-result v2

and-int/2addr v2, v4

if-eqz v2, :cond_4b

.line 204
invoke-virtual {v1, v4}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

.line 206
:cond_4b
const/high16 v2, 0x1000000

invoke-virtual {p3, v2}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

.line 207
if-eqz p4, :cond_5d

.line 209
if-ltz p5, :cond_57

.line 210
invoke-virtual {p3, v4}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

.line 216
:cond_57
:goto_57
const-string v2, "android.intent.extra.INTENT"

invoke-virtual {v1, v2, p3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Landroid/os/Parcelable;)Landroid/content/Intent;

goto :goto_9

.line 214
:cond_5d
const/high16 v2, 0x10000000

invoke-virtual {p3, v2}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

goto :goto_57

.line 183
.end local v1 # "result":Landroid/content/Intent;
:catch_63
move-exception v2

goto :goto_14
.end method

.method public getPackageNameByPid(I)Ljava/lang/String;
.registers 4
.param p1, "pid" # I

.prologue
.line 57
:try_start_0
iget-object v1, p0, Lmiui/security/SecurityManager;->mService:Lmiui/security/ISecurityManager;

invoke-interface {v1, p1}, Lmiui/security/ISecurityManager;->getPackageNameByPid(I)Ljava/lang/String;
:try_end_5
.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_5} :catch_7

move-result-object v1

.line 61
:goto_6
return-object v1

.line 58
:catch_7
move-exception v0

.line 59
.local v0, "ex":Landroid/os/RemoteException;
invoke-virtual {v0}, Landroid/os/RemoteException;->printStackTrace()V

.line 61
const/4 v1, 0x0

goto :goto_6
.end method

.method public killNativePackageProcesses(ILjava/lang/String;)V
.registers 5
.param p1, "uid" # I
.param p2, "pkgName" # Ljava/lang/String;

.prologue
.line 49
:try_start_0
iget-object v1, p0, Lmiui/security/SecurityManager;->mService:Lmiui/security/ISecurityManager;

invoke-interface {v1, p1, p2}, Lmiui/security/ISecurityManager;->killNativePackageProcesses(ILjava/lang/String;)V
:try_end_5
.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_5} :catch_6

.line 53
:goto_5
return-void

.line 50
:catch_6
move-exception v0

.line 51
.local v0, "ex":Landroid/os/RemoteException;
invoke-virtual {v0}, Landroid/os/RemoteException;->printStackTrace()V

goto :goto_5
.end method

.method public removeAccessControlPass(Ljava/lang/String;)V
.registers 3
.param p1, "packageName" # Ljava/lang/String;

.prologue
.line 119
:try_start_0
iget-object v0, p0, Lmiui/security/SecurityManager;->mService:Lmiui/security/ISecurityManager;

invoke-interface {v0, p1}, Lmiui/security/ISecurityManager;->removeAccessControlPass(Ljava/lang/String;)V
:try_end_5
.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_5} :catch_6

.line 122
:goto_5
return-void

.line 120
:catch_6
move-exception v0

goto :goto_5
.end method

.method public setApplicationAccessControlEnabled(Ljava/lang/String;Z)V
.registers 4
.param p1, "packageName" # Ljava/lang/String;
.param p2, "enabled" # Z

.prologue
.line 145
:try_start_0
iget-object v0, p0, Lmiui/security/SecurityManager;->mService:Lmiui/security/ISecurityManager;

invoke-interface {v0, p1, p2}, Lmiui/security/ISecurityManager;->setApplicationAccessControlEnabled(Ljava/lang/String;Z)V
:try_end_5
.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_5} :catch_6

.line 148
:goto_5
return-void

.line 146
:catch_6
move-exception v0

goto :goto_5
.end method

.method public startInterceptSmsBySender(Landroid/content/Context;Ljava/lang/String;I)Z
.registers 7
.param p1, "context" # Landroid/content/Context;
.param p2, "sender" # Ljava/lang/String;
.param p3, "count" # I

.prologue
.line 89
:try_start_0
invoke-virtual {p1}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

move-result-object v1

.line 90
.local v1, "pkgName":Ljava/lang/String;
iget-object v2, p0, Lmiui/security/SecurityManager;->mService:Lmiui/security/ISecurityManager;

invoke-interface {v2, v1, p2, p3}, Lmiui/security/ISecurityManager;->startInterceptSmsBySender(Ljava/lang/String;Ljava/lang/String;I)Z
:try_end_9
.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_9} :catch_b

move-result v2

.line 94
.end local v1 # "pkgName":Ljava/lang/String;
:goto_a
return v2

.line 91
:catch_b
move-exception v0

.line 92
.local v0, "ex":Landroid/os/RemoteException;
invoke-virtual {v0}, Landroid/os/RemoteException;->printStackTrace()V

.line 94
const/4 v2, 0x0

goto :goto_a
.end method

.method public stopInterceptSmsBySender()Z
.registers 3

.prologue
.line 103
:try_start_0
iget-object v1, p0, Lmiui/security/SecurityManager;->mService:Lmiui/security/ISecurityManager;

invoke-interface {v1}, Lmiui/security/ISecurityManager;->stopInterceptSmsBySender()Z
:try_end_5
.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_5} :catch_7

move-result v1

.line 107
:goto_6
return v1

.line 104
:catch_7
move-exception v0

.line 105
.local v0, "ex":Landroid/os/RemoteException;
invoke-virtual {v0}, Landroid/os/RemoteException;->printStackTrace()V

.line 107
const/4 v1, 0x0

goto :goto_6
.end method

Could you help me please :'( :'( ?