nope ..
mh, systemui and framework seems to be a problem with cm7 ..
This is where i stack at Stock rom :
Building Framework.jar :
Code:cp -r framework.jar.out/ .build/framework /home/nimrod/MIUI-Vengeance/MiPatcher/tools/add_miui_smail.sh .build/framework_miui .build/framework /home/nimrod/MIUI-Vengeance/MiPatcher/tools/apktool b .build/framework .build/framework.jar I: Checking whether sources has changed... I: Smaling... Exception in thread "main" org.jf.dexlib.Util.ExceptionWithContext: method index is too large. at org.jf.dexlib.Util.ExceptionWithContext.withContext(ExceptionWithContext.java:54) at org.jf.dexlib.Item.addExceptionContext(Item.java:176) at org.jf.dexlib.Item.writeTo(Item.java:119) at org.jf.dexlib.Section.writeTo(Section.java:119) at org.jf.dexlib.DexFile.writeTo(DexFile.java:716) at brut.androlib.src.DexFileBuilder.getAsByteArray(DexFileBuilder.java:75) at brut.androlib.src.DexFileBuilder.writeTo(DexFileBuilder.java:58) at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:50) 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:182) at brut.apktool.Main.main(Main.java:67) Caused by: java.lang.RuntimeException: method index is too large. at org.jf.dexlib.Code.Format.Instruction35c.writeInstruction(Instruction35c.java:102) at org.jf.dexlib.Code.Instruction.write(Instruction.java:57) at org.jf.dexlib.CodeItem.writeItem(CodeItem.java:258) at org.jf.dexlib.Item.writeTo(Item.java:116) ... 12 more code_item @0x1caf34 (Landroid/net/NetworkInfo$DetailedState;->values()[Landroid/net/NetworkInfo$DetailedState;) make: *** [.build/framework.jar] Fehler 1 nimrod@nimrod-Ubuntu:~/MIUI-Vengeance/MiPatcher/p920$
any ideas ?
to tell you the truth I have no idea. I am no dev myself (though I wish I were). I just found that thread and post it here. I did try following the guide but got me nowhere. I do remember reading though that MIUI suggested using the patcher on stock roms preferably and no cm builds. Dont know why though.
Last edited: