ohio813 / smali

Automatically exported from code.google.com/p/smali
0 stars 0 forks source link

Error deodexing services.odex #157

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What is the exact smali/baksmali command that you ran?

java -Xmx512m -jar baksmali.jar -a 15 -d system/framework -x 
./system/framework/services.odex

What version of smali/baksmali are you using? What rom are you working
from?
newest one

Please provide any additional information below: error messages, symptoms,
etc.

Error while disassembling method 
Lcom/android/server/enterprise/email/EmailPolicy$EmailBroadcastReceiver;->onRece
ive(Landroid/content/Context;Landroid/content/Intent;)V. Continuing.
org.jf.dexlib.Code.Analysis.ValidationException: class 
Landroid/app/enterprise/IEmailPolicy$Stub; cannot be resolved.
    at org.jf.dexlib.Code.Analysis.ClassPath$UnresolvedClassDef.unresolvedValidationException(ClassPath.java:536)
    at org.jf.dexlib.Code.Analysis.ClassPath$UnresolvedClassDef.getSuperclass(ClassPath.java:540)
    at org.jf.dexlib.Code.Analysis.DeodexUtil.parseAndResolveMethod(DeodexUtil.java:212)
    at org.jf.dexlib.Code.Analysis.DeodexUtil.lookupVirtualMethod(DeodexUtil.java:103)
    at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:3640)
    at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1106)
    at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:213)
    at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMethodItems(MethodDefinition.java:389)
    at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefinition.java:311)
    at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.java:132)
    at org.jf.baksmali.Adaptors.ClassDefinition.writeMethods(ClassDefinition.java:338)
    at org.jf.baksmali.Adaptors.ClassDefinition.writeVirtualMethods(ClassDefinition.java:310)
    at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java:117)
    at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:186)
    at org.jf.baksmali.main.main(main.java:308)
opcode: invoke-virtual-quick
CodeAddress: 8
Method: 
Lcom/android/server/enterprise/email/EmailPolicy$EmailBroadcastReceiver;->onRece
ive(Landroid/content/Context;Landroid/content/Intent;)V

Original issue reported on code.google.com by spdfr...@gmail.com on 12 Dec 2012 at 12:09

GoogleCodeExporter commented 9 years ago
By "newest one", do you mean the latest released version, or did you build from 
source? Ideally, please provide the first line of output of baksmali --version.

Also, what rom is this from?

Original comment by bgruv@google.com on 12 Dec 2012 at 1:40

GoogleCodeExporter commented 9 years ago
version 1.4.1,  actually used dsixda's Android Kitchen , but the version of 
baksmali is 1.4.1.  also tried to pull the folders/files and tried to deodex 
this myself without the help of dsixda's kitchen, and got the exact output 
error.

As far as the first line is exactly what i have posted above, error while 
disassembling.....   i just copied and pasted what was outputed on the screen.

the rom is from xda mohan_kr  [ROM][JB][4.1.2][UCLK4][TouchWiz] Stock 
Untouched. [11-DEC-2012]  this is a rom that he and someone else had stitched 
together to make it work on the samsung galaxay skyrocket.  

also just noticed on the web page that he has the deodexed version also.  but i 
still would like to know what was the problem with services.odex.

Original comment by spdfr...@gmail.com on 12 Dec 2012 at 2:36

GoogleCodeExporter commented 9 years ago
Thanks for the bug report! I've committed a change to fix this. I'll probably 
release a new version soonish, with the recent deodexing fixes.

Original comment by jesusfreke@jesusfreke.com on 26 Dec 2012 at 4:07