hosijyun / smali

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

Error while disassembling method Lcom/sec/android/app/servicemodeapp/Sec_Ril_Dum p;->SendData(I)V #106

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What seems to be the problem?

What is the exact smali/baksmali command that you ran?
java -jar baksmali-1.
3.2.jar -a 10 -d framework  -x serviceModeApp.odex

What version of smali/baksmali are you using? What rom are you working
from?
1.3.2
What is the airspeed velocity of an unladen swallow?

Please provide any additional information below: error messages, symptoms,
etc.
Error while disassembling method Lcom/sec/android/app/servicemodeapp/Sec_Ril_Dum
p;->SendData(I)V. Continuing.
org.jf.dexlib.Code.Analysis.ValidationException: class Lcom/samsung/android/sec_
platform_library/FactoryPhone; cannot be resolved.
        at org.jf.dexlib.Code.Analysis.ClassPath$UnresolvedClassDef.unresolvedVa
lidationException(ClassPath.java:535)
        at org.jf.dexlib.Code.Analysis.ClassPath$UnresolvedClassDef.getClassDept
h(ClassPath.java:543)
        at org.jf.dexlib.Code.Analysis.ClassPath.getCommonSuperclass(ClassPath.j
ava:384)
        at org.jf.dexlib.Code.Analysis.RegisterType.merge(RegisterType.java:275)

        at org.jf.dexlib.Code.Analysis.AnalyzedInstruction.mergeRegister(Analyze
dInstruction.java:185)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.propagateRegisterToSuccess
ors(MethodAnalyzer.java:451)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.setPostRegisterTypeAndProp
agateChanges(MethodAnalyzer.java:431)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.setDestinationRegisterType
AndPropagateChanges(MethodAnalyzer.java:403)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeIgetWideObject(Meth
odAnalyzer.java:2702)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInstruction(MethodA
nalyzer.java:799)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze(MethodAnalyzer.jav
a:213)
        at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMetho
dItems(MethodDefinition.java:379)
        at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefini
tion.java:301)
        at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.ja
va:132)
        at org.jf.baksmali.Adaptors.ClassDefinition.writeMethods(ClassDefinition
.java:338)
        at org.jf.baksmali.Adaptors.ClassDefinition.writeDirectMethods(ClassDefi
nition.java:307)
        at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java
:151)
        at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:205)
        at org.jf.baksmali.main.main(main.java:293)
opcode: iget-object
CodeAddress: 108
Method: Lcom/sec/android/app/servicemodeapp/Sec_Ril_Dump;->SendData(I)V

Error while disassembling method Lcom/sec/android/app/servicemodeapp/Sec_Ril_Dum
p;->SendNVBackupCmd(II)V. Continuing.
org.jf.dexlib.Code.Analysis.ValidationException: class Lcom/samsung/android/sec_
platform_library/FactoryPhone; cannot be resolved.
        at org.jf.dexlib.Code.Analysis.ClassPath$UnresolvedClassDef.unresolvedVa
lidationException(ClassPath.java:535)
        at org.jf.dexlib.Code.Analysis.ClassPath$UnresolvedClassDef.getClassDept
h(ClassPath.java:543)
        at org.jf.dexlib.Code.Analysis.ClassPath.getCommonSuperclass(ClassPath.j
ava:384)
        at org.jf.dexlib.Code.Analysis.RegisterType.merge(RegisterType.java:275)

        at org.jf.dexlib.Code.Analysis.AnalyzedInstruction.mergeRegister(Analyze
dInstruction.java:185)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.propagateRegisterToSuccess
ors(MethodAnalyzer.java:451)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.setPostRegisterTypeAndProp
agateChanges(MethodAnalyzer.java:431)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.setDestinationRegisterType
AndPropagateChanges(MethodAnalyzer.java:403)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeIgetWideObject(Meth
odAnalyzer.java:2702)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInstruction(MethodA
nalyzer.java:799)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze(MethodAnalyzer.jav
a:213)
        at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMetho
dItems(MethodDefinition.java:379)
        at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefini
tion.java:301)
        at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.ja
va:132)
        at org.jf.baksmali.Adaptors.ClassDefinition.writeMethods(ClassDefinition
.java:338)
        at org.jf.baksmali.Adaptors.ClassDefinition.writeDirectMethods(ClassDefi
nition.java:307)
        at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java
:151)
        at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:205)
        at org.jf.baksmali.main.main(main.java:293)
opcode: iget-object
CodeAddress: 46
Method: Lcom/sec/android/app/servicemodeapp/Sec_Ril_Dump;->SendNVBackupCmd(II)V

Original issue reported on code.google.com by shaurabh...@gmail.com on 30 Jan 2012 at 8:10

GoogleCodeExporter commented 9 years ago
This looks like the usual case of a missing dependency. See the troubleshooting 
tips at http://code.google.com/p/smali/wiki/DeodexInstructions

Original comment by jesusfreke@jesusfreke.com on 30 Jan 2012 at 8:28

GoogleCodeExporter commented 9 years ago
Thanks for your help. So I need to find a jar which contains 
Lcom/samsung/android/sec_
platform_library/FactoryPhone class. Appreciate if you tell or give a pointer 
on how do I find that.

Original comment by shaurabh...@gmail.com on 30 Jan 2012 at 3:57

GoogleCodeExporter commented 9 years ago
baksmali all the jars in /system/framework until you find it?

Original comment by jesusfreke@jesusfreke.com on 30 Jan 2012 at 5:26