Having trouble porting miui v4 to htc rezound using MiCode


May 29, 2012
5
0
21
#1
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
 

iBotPeaches

Script Gatekeeper
Oct 31, 2011
3,808
1,123
335
#2
Run

"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.
 
May 29, 2012
5
0
21
#3
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.