|
本帖最后由 wh0831 于 2015-12-22 09:16 编辑
精简MIUI“应用商店”后不卡米的方法:
解刷机包后找到services.jar反编译里面的classes.dex文件。在反编译得到的文件夹搜索SecurityManagerService.smali删除里面的一段代码:
.line 241
const-string v1, "android"
const-string v2, "com.xiaomi.market"
invoke-virtual {v0, v1, v2}, Landroid/content/pm/PackageManager;->checkSignatures(Ljava/lang/String;Ljava/lang/String;)I
move-result v1
if-eqz v1, :cond_4e
.line 242
new-instance v1, Ljava/lang/RuntimeException;
const-string v2, "System error : cannot find system app : com.xiaomi.market"
invoke-direct {v1, v2}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
throw v1
本人小白,请专家指正!
|
|