[Sprint Samsung Galaxy S III] TechBurner:
Hello Sir i have a problem with lewa rom.

When i try this method http://xdaforums.com/showthread.php?t=1698352

my phone starts to bootloop and as you mentioned in the second part there is no such code that matches in the method

Here is the method

.method private installLocationPolicy(Landroid/content/pm/PackageInfoLite;I)I
.locals 8
.parameter "pkgLite"
.parameter "flags"

.prologue
const/4 v5, 0x2

const/4 v4, 0x1

.line 5949
iget-object v2, p1, Landroid/content/pm/PackageInfoLite;->packageName:Ljava/lang/String;

.line 5950
.local v2, packageName:Ljava/lang/String;
iget v0, p1, Landroid/content/pm/PackageInfoLite;->installLocation:I

.line 5951
.local v0, installLocation:I
and-int/lit8 v6, p2, 0x8

if-eqz v6, :cond_34

move v1, v4

.line 5953
.local v1, onSd:Z
:goto_b
iget-object v6, p0, Lcom/android/server/pm/PackageManagerService$InstallParams;->this$0:Lcom/android/server/pm/PackageManagerService;

iget-object v6, v6, Lcom/android/server/pm/PackageManagerService;->mPackages:Ljava/util/HashMap;

monitor-enter v6

.line 5954
:try_start_10
iget-object v7, p0, Lcom/android/server/pm/PackageManagerService$InstallParams;->this$0:Lcom/android/server/pm/PackageManagerService;

iget-object v7, v7, Lcom/android/server/pm/PackageManagerService;->mPackages:Ljava/util/HashMap;

invoke-virtual {v7, v2}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

move-result-object v3

check-cast v3, Landroid/content/pm/PackageParser$Package;

.line 5955
.local v3, pkg:Landroid/content/pm/PackageParser$Package;
if-eqz v3, :cond_46

.line 5956
and-int/lit8 v7, p2, 0x2

if-eqz v7, :cond_56

.line 5958
iget-object v7, v3, Landroid/content/pm/PackageParser$Package;->applicationInfo:Landroid/content/pm/ApplicationInfo;

iget v7, v7, Landroid/content/pm/ApplicationInfo;->flags:I

and-int/lit8 v7, v7, 0x1

if-eqz v7, :cond_3b

.line 5959
if-eqz v1, :cond_36

.line 5960
const-string v4, "PackageManager"

const-string v5, "Cannot install update to system app on sdcard"

invoke-static {v4, v5}, Landroid/util/Slog;->w(Ljava/lang/String;Ljava/lang/String;)I

.line 5961
const/4 v4, -0x3

monitor-exit v6

.line 5994
:goto_33
return v4

.line 5951
.end local v1 #onSd:Z
.end local v3 #pkg:Landroid/content/pm/PackageParser$Package;
:cond_34
const/4 v1, 0x0

goto :goto_b

.line 5963
.restart local v1 #onSd:Z
.restart local v3 #pkg:Landroid/content/pm/PackageParser$Package;
:cond_36
monitor-exit v6

goto :goto_33

.line 5988
.end local v3 #pkg:Landroid/content/pm/PackageParser$Package;
:catchall_38
move-exception v4

monitor-exit v6
:try_end_3a
.catchall {:try_start_10 .. :try_end_3a} :catchall_38

throw v4

.line 5965
.restart local v3 #pkg:Landroid/content/pm/PackageParser$Package;
:cond_3b
if-eqz v1, :cond_40

.line 5967
:try_start_3d
monitor-exit v6

move v4, v5

goto :goto_33

.line 5970
:cond_40
if-ne v0, v4, :cond_44

.line 5972
monitor-exit v6

goto :goto_33

.line 5973
:cond_44
if-ne v0, v5, :cond_4b

.line 5988
:cond_46
monitor-exit v6

.line 5991
if-eqz v1, :cond_59

move v4, v5

.line 5992
goto :goto_33

.line 5977
:cond_4b
#calls: Lcom/android/server/pm/PackageManagerService;->isExternal(Landroid/content/pm/PackageParser$Package;)Z
invoke-static {v3}, Lcom/android/server/pm/PackageManagerService;->access$2000(Landroid/content/pm/PackageParser$Package;)Z

move-result v7

if-eqz v7, :cond_54

.line 5978
monitor-exit v6

move v4, v5

goto :goto_33

.line 5980
:cond_54
monitor-exit v6

goto :goto_33

.line 5985
:cond_56
const/4 v4, -0x4

monitor-exit v6
:try_end_58
.catchall {:try_start_3d .. :try_end_58} :catchall_38

goto :goto_33

.line 5994
:cond_59
iget v4, p1, Landroid/content/pm/PackageInfoLite;->recommendedInstallLocation:I

goto :goto_33
.end method

I dont know how to take logcat when phone is bootlooping so i am sorry for that but i hope that you can help me.