Having trouble porting miui v4 to htc rezound using MiCode


May 29, 2012
hello everyone I'm working on making a working port for the Htc Rezound and i'm stuck at this error

/home/josh/patchrom/tools/apktool --quiet b out/services out/services.jar
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: java.io.FileInputStream@d3bef50
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:45)
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:33)
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:64)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:48)
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)
make: *** [out/services.jar] Error 1

any help on fixing this would be greatly appreciated:D

"java -jar smali.jar name_of_folder_containing_jar"

That'll build the file and give you the exact error. Then fix the smali. You'll need to download smali.jar online. Just google it and grab the 1.3.2 binary.
I've already resolved all of the smali issues and have successfully built the rom. When I flash I'm stuck on the htc splashcreen though.
Going to try and pull a logcat when I get home.