testwhat / smaliex Goto Github PK
View Code? Open in Web Editor NEWA wrapper to get de-optimized dex from odex/oat/vdex.
A wrapper to get de-optimized dex from odex/oat/vdex.
wth is a .art
and does this tool support it?
sorry for the bug thats not really a bug
C:\Users\xxxxxx\Downloads\Compressed\oat2dex>java -jar oat2dex.jar boot C:\Users\xxxxxx\Downloads\Compressed\System_Extractor-WIN-master\System_Extractor-WIN-master\system\framework\arm\boot.oat
11-11 20:40:27:364 Output raw dex: C:\Users\xxxxxx\Downloads\Compressed\System_Extractor-WIN-master\System_Extractor-WIN-master\system\xxxxxx\arm\odex\core-oj.dex
11-11 20:40:29:191 Art version=79 (C:\Users\xxxxxx\Downloads\Compressed\System_Extractor-WIN-master\System_Extractor-WIN-master\system\framework\arm\boot.oat)
11-11 20:40:29:224 De-optimizing /system/framework/core-oj.jar
11-11 20:40:29:958 Analysis error in class=Ljavax/security/cert/X509Certificate; method=
Method: Ljavax/security/cert/X509Certificate;->()V
Near line: 148 (address 2)
Instructions:
[0] const-class regA=0
[1] invoke-virtual-quick regC=0 <-----
[2] move-result-object regA=0
[3] sput-object regA=0
11-11 20:40:29:995 org.jf.dexlib2.analysis.AnalysisException: Index: 82, Size: 82
at java.util.ArrayList.rangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at org.jf.dexlib2.analysis.ClassProto$VirtualTableSupplier.findMethodIndexInVtable(ClassProto.java:1258)
at org.jf.dexlib2.analysis.ClassProto$VirtualTableN70.getVirtualTable(ClassProto.java:1409)
at org.jf.dexlib2.analysis.ClassProto$VirtualTableSupplier.get(ClassProto.java:1246)
...(Skip 34 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:323)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:246)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:130)
at org.rh.smaliex.Main.mainImpl(Main.java:101)
at org.rh.smaliex.Main.main(Main.java:42)
11-11 20:40:30:045 Failed to re-construct dex java.lang.ClassCastException: org.jf.dexlib2.analysis.UnresolvedOdexInstruction cannot be cast to org.jf.dexlib2.iface.instruction.formats.Instruction35ms
11-11 20:40:30:059 convertToDex: skip /system/framework/core-oj.jar
Attempting to extract boot.oat with oat2dex 0.88
I am receiving the following error "Could not resolve the field in class (NULL)"
Any Ideas? Full Log Below
$ java -Xms512m -Xmx1g -jar oat2dex.jar -v boot boot.oat
10-21 23:30:49:987 Output raw dex: I:\VICDEODEX\odex\aspectjrt.dex
10-21 23:30:49:991 Output raw dex: I:\VICDEODEX\odex\oem-services.dex
10-21 23:30:49:994 Output raw dex: I:\VICDEODEX\odex\org.codeaurora.Performance.dex
10-21 23:30:49:998 Output raw dex: I:\VICDEODEX\odex\vcard.dex
10-21 23:30:49:999 Output raw dex: I:\VICDEODEX\odex\tcmiface.dex
10-21 23:30:50:005 Output raw dex: I:\VICDEODEX\odex\com.lge.frameworks.dex
10-21 23:30:50:010 Output raw dex: I:\VICDEODEX\odex\com.lge.policy.dex
10-21 23:30:50:013 Output raw dex: I:\VICDEODEX\odex\telephony-target.dex
10-21 23:30:50:014 Output raw dex: I:\VICDEODEX\odex\com.lge.opt.dex
10-21 23:30:50:019 Output raw dex: I:\VICDEODEX\odex\bc-fips.dex
10-21 23:30:50:025 Output raw dex: I:\VICDEODEX\odex\core-libart.dex
10-21 23:30:50:030 Output raw dex: I:\VICDEODEX\odex\conscrypt.dex
10-21 23:30:50:034 Output raw dex: I:\VICDEODEX\odex\okhttp.dex
10-21 23:30:50:038 Output raw dex: I:\VICDEODEX\odex\core-junit.dex
10-21 23:30:50:043 Output raw dex: I:\VICDEODEX\odex\bouncycastle.dex
10-21 23:30:50:051 Output raw dex: I:\VICDEODEX\odex\ext.dex
10-21 23:30:50:062 Output raw dex: I:\VICDEODEX\odex\framework.dex
10-21 23:30:50:070 Output raw dex: I:\VICDEODEX\odex\framework-classes2.dex
10-21 23:30:50:077 Output raw dex: I:\VICDEODEX\odex\telephony-common.dex
10-21 23:30:50:081 Output raw dex: I:\VICDEODEX\odex\voip-common.dex
10-21 23:30:50:085 Output raw dex: I:\VICDEODEX\odex\ims-common.dex
10-21 23:30:50:088 Output raw dex: I:\VICDEODEX\odex\mms-common.dex
10-21 23:30:50:093 Output raw dex: I:\VICDEODEX\odex\android.policy.dex
10-21 23:30:50:098 Output raw dex: I:\VICDEODEX\odex\apache-xml.dex
10-21 23:30:50:304 Art version=45 (boot.oat)
10-21 23:30:50:337 De-optimizing /system/framework/aspectjrt.jar
10-21 23:30:50:704 Output to I:\VICDEODEX\dex\aspectjrt.dex
10-21 23:30:50:704 De-optimizing /system/framework/oem-services.jar
10-21 23:30:50:710 Output to I:\VICDEODEX\dex\oem-services.dex
10-21 23:30:50:711 De-optimizing /system/framework/org.codeaurora.Performance.jar
10-21 23:30:50:724 Output to I:\VICDEODEX\dex\org.codeaurora.Performance.dex
10-21 23:30:50:725 De-optimizing /system/framework/vcard.jar
10-21 23:30:50:872 Output to I:\VICDEODEX\dex\vcard.dex
10-21 23:30:50:872 De-optimizing /system/framework/tcmiface.jar
10-21 23:30:50:874 Output to I:\VICDEODEX\dex\tcmiface.dex
10-21 23:30:50:875 De-optimizing /system/framework/com.lge.frameworks.jar
10-21 23:30:52:931 Output to I:\VICDEODEX\dex\com.lge.frameworks.dex
10-21 23:30:52:931 De-optimizing /system/framework/com.lge.policy.jar
10-21 23:30:53:127 Output to I:\VICDEODEX\dex\com.lge.policy.dex
10-21 23:30:53:127 De-optimizing /system/framework/telephony-target.jar
10-21 23:30:53:137 Output to I:\VICDEODEX\dex\telephony-target.dex
10-21 23:30:53:137 De-optimizing /system/framework/com.lge.opt.jar
10-21 23:30:53:139 Output to I:\VICDEODEX\dex\com.lge.opt.dex
10-21 23:30:53:139 De-optimizing /system/framework/bc-fips.jar
10-21 23:30:54:982 Output to I:\VICDEODEX\dex\bc-fips.dex
10-21 23:30:54:982 De-optimizing /system/framework/core-libart.jar
10-21 23:30:57:004 Output to I:\VICDEODEX\dex\core-libart.dex
10-21 23:30:57:004 De-optimizing /system/framework/conscrypt.jar
10-21 23:30:57:148 Output to I:\VICDEODEX\dex\conscrypt.dex
10-21 23:30:57:148 De-optimizing /system/framework/okhttp.jar
10-21 23:30:57:414 Output to I:\VICDEODEX\dex\okhttp.dex
10-21 23:30:57:414 De-optimizing /system/framework/core-junit.jar
10-21 23:30:57:430 Output to I:\VICDEODEX\dex\core-junit.dex
10-21 23:30:57:430 De-optimizing /system/framework/bouncycastle.jar
10-21 23:30:58:138 Output to I:\VICDEODEX\dex\bouncycastle.dex
10-21 23:30:58:138 De-optimizing /system/framework/ext.jar
10-21 23:30:59:123 Output to I:\VICDEODEX\dex\ext.dex
10-21 23:30:59:124 De-optimizing /system/framework/framework.jar
10-21 23:31:06:099 Output to I:\VICDEODEX\dex\framework.dex
10-21 23:31:06:099 De-optimizing /system/framework/framework.jar:classes2.dex
10-21 23:31:07:016 Analysis info of Landroid/widget/NumberPicker;->:
Cannot find type [iput-object-quick @ 301]
Near .line 301
UnresolvedOdexInstruction IPUT_OBJECT_QUICK Format22cs at line 301
UnresolvedOdexInstruction IPUT_OBJECT_QUICK Format22cs at line 306
UnresolvedOdexInstruction IPUT_QUICK Format22cs at line 326
UnresolvedOdexInstruction IPUT_QUICK Format22cs at line 427
UnresolvedOdexInstruction IPUT_QUICK Format22cs at line 478
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK Format35ms at line 599
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK Format35ms at line 601
UnresolvedOdexInstruction IPUT_QUICK Format22cs at line 604
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK Format35ms at line 606
UnresolvedOdexInstruction IPUT_QUICK Format22cs at line 606
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK Format35ms at line 609
UnresolvedOdexInstruction IPUT_QUICK Format22cs at line 609
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK Format35ms at line 611
UnresolvedOdexInstruction IPUT_OBJECT_QUICK Format22cs at line 611
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_RANGE Format3rms at line 613
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_RANGE Format3rms at line 613
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK Format35ms at line 616
UnresolvedOdexInstruction IPUT_QUICK Format22cs at line 616
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_RANGE Format3rms at line 619
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_RANGE Format3rms at line 619
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK Format35ms at line 622
UnresolvedOdexInstruction IPUT_QUICK Format22cs at line 622
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK Format35ms at line 625
UnresolvedOdexInstruction IPUT_QUICK Format22cs at line 625
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK Format35ms at line 628
UnresolvedOdexInstruction IPUT_QUICK Format22cs at line 628
UnresolvedOdexInstruction IGET_QUICK Format22cs at line 630
UnresolvedOdexInstruction IGET_QUICK Format22cs at line 630
UnresolvedOdexInstruction IGET_QUICK Format22cs at line 630
UnresolvedOdexInstruction IGET_QUICK Format22cs at line 630
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK Format35ms at line 635
UnresolvedOdexInstruction IPUT_QUICK Format22cs at line 635
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK Format35ms at line 638
UnresolvedOdexInstruction IPUT_QUICK Format22cs at line 638
UnresolvedOdexInstruction IGET_QUICK Format22cs at line 640
UnresolvedOdexInstruction IGET_QUICK Format22cs at line 640
UnresolvedOdexInstruction IGET_QUICK Format22cs at line 640
UnresolvedOdexInstruction IGET_QUICK Format22cs at line 640
UnresolvedOdexInstruction IGET_QUICK Format22cs at line 645
UnresolvedOdexInstruction IPUT_QUICK Format22cs at line 645
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK Format35ms at line 647
UnresolvedOdexInstruction IPUT_OBJECT_QUICK Format22cs at line 647
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK Format35ms at line 650
UnresolvedOdexInstruction IPUT_OBJECT_QUICK Format22cs at line 652
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK Format35ms at line 659
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_RANGE Format3rms at line 661
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_RANGE Format3rms at line 661
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK Format35ms at line 663
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK Format35ms at line 692
UnresolvedOdexInstruction IPUT_OBJECT_QUICK Format22cs at line 692
UnresolvedOdexInstruction IGET_OBJECT_QUICK Format22cs at line 693
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK Format35ms at line 693
UnresolvedOdexInstruction IGET_OBJECT_QUICK Format22cs at line 694
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK Format35ms at line 694
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK Format35ms at line 701
UnresolvedOdexInstruction IPUT_OBJECT_QUICK Format22cs at line 701
UnresolvedOdexInstruction IGET_OBJECT_QUICK Format22cs at line 702
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK Format35ms at line 702
UnresolvedOdexInstruction IGET_OBJECT_QUICK Format22cs at line 703
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK Format35ms at line 703
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK Format35ms at line 709
UnresolvedOdexInstruction IPUT_OBJECT_QUICK Format22cs at line 709
UnresolvedOdexInstruction IGET_OBJECT_QUICK Format22cs at line 710
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_RANGE Format3rms at line 710
UnresolvedOdexInstruction IGET_OBJECT_QUICK Format22cs at line 726
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_RANGE Format3rms at line 726
UnresolvedOdexInstruction IGET_OBJECT_QUICK Format22cs at line 730
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_RANGE Format3rms at line 730
UnresolvedOdexInstruction IGET_OBJECT_QUICK Format22cs at line 731
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_RANGE Format3rms at line 731
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK Format35ms at line 735
UnresolvedOdexInstruction IPUT_QUICK Format22cs at line 735
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK Format35ms at line 736
UnresolvedOdexInstruction IPUT_QUICK Format22cs at line 736
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK Format35ms at line 737
UnresolvedOdexInstruction IPUT_QUICK Format22cs at line 737
UnresolvedOdexInstruction IGET_OBJECT_QUICK Format22cs at line 739
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK Format35ms at line 739
UnresolvedOdexInstruction IPUT_QUICK Format22cs at line 739
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK Format35ms at line 743
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK Format35ms at line 744
UnresolvedOdexInstruction IGET_QUICK Format22cs at line 745
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK Format35ms at line 745
UnresolvedOdexInstruction IGET_OBJECT_QUICK Format22cs at line 746
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK Format35ms at line 746
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK Format35ms at line 746
UnresolvedOdexInstruction IGET_OBJECT_QUICK Format22cs at line 747
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK Format35ms at line 747
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK Format35ms at line 748
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK Format35ms at line 749
UnresolvedOdexInstruction IPUT_OBJECT_QUICK Format22cs at line 750
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_RANGE Format3rms at line 753
UnresolvedOdexInstruction IPUT_OBJECT_QUICK Format22cs at line 753
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_RANGE Format3rms at line 754
UnresolvedOdexInstruction IPUT_OBJECT_QUICK Format22cs at line 754
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_RANGE Format3rms at line 759
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK Format35ms at line 760
UnresolvedOdexInstruction IPUT_OBJECT_QUICK Format22cs at line 696
UnresolvedOdexInstruction IPUT_OBJECT_QUICK Format22cs at line -1
10-21 23:31:07:019 Analysis error in class=Landroid/widget/NumberPicker; method=
Method: Landroid/widget/NumberPicker;->(Landroid/content/Context;Landroid/util/AttributeSet;II)V
Near line: 301 (address 18)
Instructions:
[6] invoke-direct regC=15
[7] move-object/from16 regA=0 regB=19
[8] iput-object-quick regA=15 regB=0 <-----
[9] const/4 regA=15
[10] new-array regA=15 regB=15
10-21 23:31:07:020 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the field in class (Null) at offset 676 in
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeIputIgetQuick(MethodAnalyzer.java:2416)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1246)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:259)
at org.jf.dexlib2.analysis.MethodAnalyzer.(MethodAnalyzer.java:190)
at org.rh.smaliex.DexUtil$ODexRewriterModule$1$1.getInstructions(DexUtil.java:505)
at org.jf.dexlib2.immutable.ImmutableMethodImplementation.of(ImmutableMethodImplementation.java:84)
at org.jf.dexlib2.immutable.ImmutableMethod.(ImmutableMethod.java:72)
at org.jf.dexlib2.immutable.ImmutableMethod.of(ImmutableMethod.java:102)
at org.jf.dexlib2.immutable.ImmutableMethod$1.makeImmutable(ImmutableMethod.java:129)
at org.jf.dexlib2.immutable.ImmutableMethod$1.makeImmutable(ImmutableMethod.java:120)
at org.jf.util.ImmutableConverter$3.next(ImmutableConverter.java:139)
at com.google.common.collect.ImmutableCollection$Builder.addAll(ImmutableCollection.java:301)
at com.google.common.collect.ImmutableSet$Builder.addAll(ImmutableSet.java:522)
at com.google.common.collect.ImmutableSortedSet$Builder.addAll(ImmutableSortedSet.java:551)
at com.google.common.collect.ImmutableSortedSet.copyOf(ImmutableSortedSet.java:326)
at org.jf.util.ImmutableConverter.toSortedSet(ImmutableConverter.java:137)
at org.jf.dexlib2.immutable.ImmutableMethod.immutableSetOf(ImmutableMethod.java:116)
at org.jf.dexlib2.immutable.ImmutableClassDef.(ImmutableClassDef.java:109)
at org.jf.dexlib2.immutable.ImmutableClassDef.of(ImmutableClassDef.java:149)
at org.jf.dexlib2.immutable.ImmutableClassDef$3.makeImmutable(ImmutableClassDef.java:210)
at org.jf.dexlib2.immutable.ImmutableClassDef$3.makeImmutable(ImmutableClassDef.java:201)
at org.jf.util.ImmutableConverter$2.next(ImmutableConverter.java:105)
at com.google.common.collect.ImmutableCollection$Builder.addAll(ImmutableCollection.java:301)
at com.google.common.collect.ImmutableSet$Builder.addAll(ImmutableSet.java:522)
at com.google.common.collect.ImmutableSet.copyOf(ImmutableSet.java:321)
at org.jf.util.ImmutableConverter.toSet(ImmutableConverter.java:103)
at org.jf.dexlib2.immutable.ImmutableClassDef.immutableSetOf(ImmutableClassDef.java:197)
at org.jf.dexlib2.immutable.ImmutableDexFile.(ImmutableDexFile.java:49)
at org.jf.dexlib2.immutable.ImmutableDexFile.of(ImmutableDexFile.java:62)
at org.rh.smaliex.DexUtil$ODexRewriter.rewriteDexFile(DexUtil.java:435)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:321)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:244)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:128)
at org.rh.smaliex.Main.mainImpl(Main.java:101)
at org.rh.smaliex.Main.main(Main.java:42)
Method: Landroid/widget/NumberPicker;->(Landroid/content/Context;Landroid/util/AttributeSet;II)V
Near line: 301 (address 18)
Instructions:
[6] invoke-direct regC=15
[7] move-object/from16 regA=0 regB=19
[8] iput-object-quick regA=15 regB=0 <-----
[9] const/4 regA=15
[10] new-array regA=15 regB=15
10-21 23:31:07:062 Failed to re-construct dex java.lang.NullPointerException
10-21 23:31:07:063 java.lang.NullPointerException
at org.jf.baksmali.Adaptors.MethodDefinition.addInstructionMethodItems(MethodDefinition.java:461)
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefinition.java:384)
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.java:249)
at org.jf.baksmali.Adaptors.ClassDefinition.writeDirectMethods(ClassDefinition.java:281)
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java:111)
at org.rh.smaliex.DexUtil.writeSmaliContent(DexUtil.java:328)
at org.rh.smaliex.DexUtil$ODexRewriterModule.handleAnalysisException(DexUtil.java:556)
at org.rh.smaliex.DexUtil$ODexRewriterModule$1$1.getInstructions(DexUtil.java:517)
at org.jf.dexlib2.immutable.ImmutableMethodImplementation.of(ImmutableMethodImplementation.java:84)
at org.jf.dexlib2.immutable.ImmutableMethod.(ImmutableMethod.java:72)
at org.jf.dexlib2.immutable.ImmutableMethod.of(ImmutableMethod.java:102)
at org.jf.dexlib2.immutable.ImmutableMethod$1.makeImmutable(ImmutableMethod.java:129)
at org.jf.dexlib2.immutable.ImmutableMethod$1.makeImmutable(ImmutableMethod.java:120)
at org.jf.util.ImmutableConverter$3.next(ImmutableConverter.java:139)
at com.google.common.collect.ImmutableCollection$Builder.addAll(ImmutableCollection.java:301)
at com.google.common.collect.ImmutableSet$Builder.addAll(ImmutableSet.java:522)
at com.google.common.collect.ImmutableSortedSet$Builder.addAll(ImmutableSortedSet.java:551)
at com.google.common.collect.ImmutableSortedSet.copyOf(ImmutableSortedSet.java:326)
at org.jf.util.ImmutableConverter.toSortedSet(ImmutableConverter.java:137)
at org.jf.dexlib2.immutable.ImmutableMethod.immutableSetOf(ImmutableMethod.java:116)
at org.jf.dexlib2.immutable.ImmutableClassDef.(ImmutableClassDef.java:109)
at org.jf.dexlib2.immutable.ImmutableClassDef.of(ImmutableClassDef.java:149)
at org.jf.dexlib2.immutable.ImmutableClassDef$3.makeImmutable(ImmutableClassDef.java:210)
at org.jf.dexlib2.immutable.ImmutableClassDef$3.makeImmutable(ImmutableClassDef.java:201)
at org.jf.util.ImmutableConverter$2.next(ImmutableConverter.java:105)
at com.google.common.collect.ImmutableCollection$Builder.addAll(ImmutableCollection.java:301)
at com.google.common.collect.ImmutableSet$Builder.addAll(ImmutableSet.java:522)
at com.google.common.collect.ImmutableSet.copyOf(ImmutableSet.java:321)
at org.jf.util.ImmutableConverter.toSet(ImmutableConverter.java:103)
at org.jf.dexlib2.immutable.ImmutableClassDef.immutableSetOf(ImmutableClassDef.java:197)
at org.jf.dexlib2.immutable.ImmutableDexFile.(ImmutableDexFile.java:49)
at org.jf.dexlib2.immutable.ImmutableDexFile.of(ImmutableDexFile.java:62)
at org.rh.smaliex.DexUtil$ODexRewriter.rewriteDexFile(DexUtil.java:435)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:321)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:244)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:128)
at org.rh.smaliex.Main.mainImpl(Main.java:101)
at org.rh.smaliex.Main.main(Main.java:42)
10-21 23:31:07:064 convertToDex: skip /system/framework/framework.jar:classes2.dex
10-21 23:31:07:064 De-optimizing /system/framework/telephony-common.jar
10-21 23:31:07:141 Analysis info of Lcom/android/internal/telephony/BaseCommands;->:
Cannot find type [iput-quick @ 248]
Near .line 248
UnresolvedOdexInstruction IPUT_QUICK Format22cs at line 248
UnresolvedOdexInstruction IPUT_QUICK Format22cs at line 249
UnresolvedOdexInstruction IPUT_QUICK Format22cs at line 253
UnresolvedOdexInstruction IPUT_QUICK Format22cs at line 259
UnresolvedOdexInstruction IPUT_OBJECT_QUICK Format22cs at line 262
UnresolvedOdexInstruction IPUT_OBJECT_QUICK Format22cs at line 263
UnresolvedOdexInstruction IPUT_OBJECT_QUICK Format22cs at line 264
UnresolvedOdexInstruction IPUT_OBJECT_QUICK Format22cs at line 265
UnresolvedOdexInstruction IPUT_OBJECT_QUICK Format22cs at line 266
UnresolvedOdexInstruction IPUT_OBJECT_QUICK Format22cs at line 267
UnresolvedOdexInstruction IPUT_OBJECT_QUICK Format22cs at line 268
UnresolvedOdexInstruction IPUT_OBJECT_QUICK Format22cs at line 269
UnresolvedOdexInstruction IPUT_OBJECT_QUICK Format22cs at line 270
UnresolvedOdexInstruction IPUT_QUICK Format22cs at line 273
UnresolvedOdexInstruction IPUT_OBJECT_QUICK Format22cs at line 280
UnresolvedOdexInstruction IPUT_OBJECT_QUICK Format22cs at line 1612
UnresolvedOdexInstruction IPUT_OBJECT_QUICK Format22cs at line 1623
UnresolvedOdexInstruction IPUT_QUICK Format22cs at line 1873
UnresolvedOdexInstruction IPUT_OBJECT_QUICK Format22cs at line 320
10-21 23:31:07:142 Analysis error in class=Lcom/android/internal/telephony/BaseCommands; method=
Method: Lcom/android/internal/telephony/BaseCommands;->(Landroid/content/Context;)V
Near line: 248 (address 543)
Instructions:
[232] iput-object-quick regA=0 regB=3
[233] iput-quick regA=2 regB=3
[234] iput-quick regA=1 regB=3 <-----
[235] iput-quick regA=1 regB=3
[236] iput-quick regA=2 regB=3
10-21 23:31:07:143 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the field in class (Null) at offset 500 in
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeIputIgetQuick(MethodAnalyzer.java:2416)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1246)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:259)
at org.jf.dexlib2.analysis.MethodAnalyzer.(MethodAnalyzer.java:190)
at org.rh.smaliex.DexUtil$ODexRewriterModule$1$1.getInstructions(DexUtil.java:505)
at org.jf.dexlib2.immutable.ImmutableMethodImplementation.of(ImmutableMethodImplementation.java:84)
at org.jf.dexlib2.immutable.ImmutableMethod.(ImmutableMethod.java:72)
at org.jf.dexlib2.immutable.ImmutableMethod.of(ImmutableMethod.java:102)
at org.jf.dexlib2.immutable.ImmutableMethod$1.makeImmutable(ImmutableMethod.java:129)
at org.jf.dexlib2.immutable.ImmutableMethod$1.makeImmutable(ImmutableMethod.java:120)
at org.jf.util.ImmutableConverter$3.next(ImmutableConverter.java:139)
at com.google.common.collect.ImmutableCollection$Builder.addAll(ImmutableCollection.java:301)
at com.google.common.collect.ImmutableSet$Builder.addAll(ImmutableSet.java:522)
at com.google.common.collect.ImmutableSortedSet$Builder.addAll(ImmutableSortedSet.java:551)
at com.google.common.collect.ImmutableSortedSet.copyOf(ImmutableSortedSet.java:326)
at org.jf.util.ImmutableConverter.toSortedSet(ImmutableConverter.java:137)
at org.jf.dexlib2.immutable.ImmutableMethod.immutableSetOf(ImmutableMethod.java:116)
at org.jf.dexlib2.immutable.ImmutableClassDef.(ImmutableClassDef.java:109)
at org.jf.dexlib2.immutable.ImmutableClassDef.of(ImmutableClassDef.java:149)
at org.jf.dexlib2.immutable.ImmutableClassDef$3.makeImmutable(ImmutableClassDef.java:210)
at org.jf.dexlib2.immutable.ImmutableClassDef$3.makeImmutable(ImmutableClassDef.java:201)
at org.jf.util.ImmutableConverter$2.next(ImmutableConverter.java:105)
at com.google.common.collect.ImmutableCollection$Builder.addAll(ImmutableCollection.java:301)
at com.google.common.collect.ImmutableSet$Builder.addAll(ImmutableSet.java:522)
at com.google.common.collect.ImmutableSet.copyOf(ImmutableSet.java:321)
at org.jf.util.ImmutableConverter.toSet(ImmutableConverter.java:103)
at org.jf.dexlib2.immutable.ImmutableClassDef.immutableSetOf(ImmutableClassDef.java:197)
at org.jf.dexlib2.immutable.ImmutableDexFile.(ImmutableDexFile.java:49)
at org.jf.dexlib2.immutable.ImmutableDexFile.of(ImmutableDexFile.java:62)
at org.rh.smaliex.DexUtil$ODexRewriter.rewriteDexFile(DexUtil.java:435)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:321)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:244)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:128)
at org.rh.smaliex.Main.mainImpl(Main.java:101)
at org.rh.smaliex.Main.main(Main.java:42)
Method: Lcom/android/internal/telephony/BaseCommands;->(Landroid/content/Context;)V
Near line: 248 (address 543)
Instructions:
[232] iput-object-quick regA=0 regB=3
[233] iput-quick regA=2 regB=3
[234] iput-quick regA=1 regB=3 <-----
[235] iput-quick regA=1 regB=3
[236] iput-quick regA=2 regB=3
10-21 23:31:07:171 Output failed class content to I:\VICDEODEX\dex\Lcom-android-internal-telephony-BaseCommands.smali
10-21 23:31:07:175 Failed to re-construct dex java.lang.ClassCastException: org.jf.dexlib2.analysis.UnresolvedOdexInstruction cannot be cast to org.jf.dexlib2.
iface.instruction.formats.Instruction22cs
10-21 23:31:07:175 convertToDex: skip /system/framework/telephony-common.jar
10-21 23:31:07:176 De-optimizing /system/framework/voip-common.jar
10-21 23:31:07:265 Output to I:\VICDEODEX\dex\voip-common.dex
10-21 23:31:07:265 De-optimizing /system/framework/ims-common.jar
10-21 23:31:07:330 Output to I:\VICDEODEX\dex\ims-common.dex
10-21 23:31:07:331 De-optimizing /system/framework/mms-common.jar
10-21 23:31:07:332 Output to I:\VICDEODEX\dex\mms-common.dex
10-21 23:31:07:333 De-optimizing /system/framework/android.policy.jar
10-21 23:31:07:526 Output to I:\VICDEODEX\dex\android.policy.dex
10-21 23:31:07:526 De-optimizing /system/framework/apache-xml.jar
10-21 23:31:08:328 Output to I:\VICDEODEX\dex\apache-xml.dex
After decompiling boot. oat, if the DEX file is repackaged into boot. oat
Framework folder:
https://drive.google.com/file/d/0B2QhEXa2ySgkQ0M5Q0dnOU5acG8/view?usp=sharing
12-05 16:49:01:709 De-optimizing services.jar
12-05 16:49:01:939 Analysis error in class=Lcom/android/server/CountryDetectorService$Receiver; method=equals
Method: Lcom/android/server/CountryDetectorService$Receiver;->equals(Ljava/lang/Object;)Z
Opcode: iget-object-quick
Code address: 8
Near line: 66
12-05 16:49:01:939 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the field in class Ljava/lang/Object; at offset 8 in equals
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeIputIgetQuick(MethodAnalyzer.java:1714)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1032)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:211)
at org.jf.dexlib2.analysis.MethodAnalyzer.(MethodAnalyzer.java:149)
at org.rh.smaliex.OatUtil$OatDexRewriterModule$1$1.getInstructions(OatUtil.java:477)
at org.jf.dexlib2.immutable.ImmutableMethodImplementation.of(ImmutableMethodImplementation.java:82)
at org.jf.dexlib2.immutable.ImmutableMethod.(ImmutableMethod.java:72)
at org.jf.dexlib2.immutable.ImmutableMethod.of(ImmutableMethod.java:95)
at org.jf.dexlib2.immutable.ImmutableMethod$1.makeImmutable(ImmutableMethod.java:129)
at org.jf.dexlib2.immutable.ImmutableMethod$1.makeImmutable(ImmutableMethod.java:120)
at org.jf.util.ImmutableConverter$3.next(ImmutableConverter.java:139)
at com.google.common.collect.ImmutableCollection$Builder.addAll(ImmutableCollection.java:301)
at com.google.common.collect.ImmutableSet$Builder.addAll(ImmutableSet.java:522)
at com.google.common.collect.ImmutableSortedSet$Builder.addAll(ImmutableSortedSet.java:551)
at com.google.common.collect.ImmutableSortedSet.copyOf(ImmutableSortedSet.java:326)
at org.jf.util.ImmutableConverter.toSortedSet(ImmutableConverter.java:137)
at org.jf.dexlib2.immutable.ImmutableMethod.immutableSetOf(ImmutableMethod.java:116)
at org.jf.dexlib2.immutable.ImmutableClassDef.(ImmutableClassDef.java:110)
at org.jf.dexlib2.immutable.ImmutableClassDef.of(ImmutableClassDef.java:139)
at org.jf.dexlib2.immutable.ImmutableClassDef$3.makeImmutable(ImmutableClassDef.java:210)
at org.jf.dexlib2.immutable.ImmutableClassDef$3.makeImmutable(ImmutableClassDef.java:201)
at org.jf.util.ImmutableConverter$2.next(ImmutableConverter.java:105)
at com.google.common.collect.ImmutableCollection$Builder.addAll(ImmutableCollection.java:301)
at com.google.common.collect.ImmutableSet$Builder.addAll(ImmutableSet.java:522)
at com.google.common.collect.ImmutableSet.copyOf(ImmutableSet.java:321)
at org.jf.util.ImmutableConverter.toSet(ImmutableConverter.java:103)
at org.jf.dexlib2.immutable.ImmutableClassDef.immutableSetOf(ImmutableClassDef.java:197)
at org.jf.dexlib2.immutable.ImmutableDexFile.(ImmutableDexFile.java:47)
at org.jf.dexlib2.immutable.ImmutableDexFile.of(ImmutableDexFile.java:58)
at org.rh.smaliex.OatUtil$OatDexRewriter.rewriteDexFile(OatUtil.java:431)
at org.rh.smaliex.OatUtil.convertToDexJar(OatUtil.java:379)
at org.rh.smaliex.DeodexFrameworkFromDevice.generateNonBootFrameworkJar(DeodexFrameworkFromDevice.java:239)
at org.rh.smaliex.DeodexFrameworkFromDevice.deOptimizeFramework(DeodexFrameworkFromDevice.java:200)
at org.rh.smaliex.DeodexFrameworkFromDevice$1.run(DeodexFrameworkFromDevice.java:60)
at org.rh.smaliex.AdbUtil$3.deviceConnected(AdbUtil.java:174)
at com.android.ddmlib.AndroidDebugBridge.deviceConnected(AndroidDebugBridge.java:657)
at com.android.ddmlib.DeviceMonitor.updateDevices(DeviceMonitor.java:341)
at com.android.ddmlib.DeviceMonitor.processIncomingDeviceData(DeviceMonitor.java:282)
at com.android.ddmlib.DeviceMonitor.deviceMonitorLoop(DeviceMonitor.java:157)
at com.android.ddmlib.DeviceMonitor.access$000(DeviceMonitor.java:34)
at com.android.ddmlib.DeviceMonitor$1.run(DeviceMonitor.java:65)
Method: Lcom/android/server/CountryDetectorService$Receiver;->equals(Ljava/lang/Object;)Z
Opcode: iget-object-quick
Code address: 8
Near line: 66
12-05 16:49:01:940 Failed to re-construct dex java.lang.ClassCastException: org.jf.dexlib2.analysis.UnresolvedOdexInstruction cannot be cast to org.jf.dexlib2.iface.instruction.formats.Instruction22cs
12-05 16:49:01:940 convertToDexJar: skip services.jar
java -Xmx1024M -jar oat2dex.jar Camera2.odex dex
10-07 16:38:59:730 Art version=64 (Camera2.odex)
10-07 16:38:59:745 De-optimizing /system/app/Camera2/Camera2.apk
10-07 16:39:02:489 Analysis error in class=Lcom/bumptech/glide/GenericRequestBuilder$2; method=
Method: Lcom/bumptech/glide/GenericRequestBuilder$2;->()V
Near line: -1 (address 46)
Instructions:
[23] sget-object regA=0
[24] sget-object regA=1
[25] invoke-virtual-quick regC=1 <-----
[26] move-result regA=1
[27] const/4 regA=2
10-07 16:39:02:489 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the method in class unknown at index 15, objReg=1
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:2590)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1248)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:259)
at org.jf.dexlib2.analysis.MethodAnalyzer.(MethodAnalyzer.java:190)
at org.rh.smaliex.DexUtil$ODexRewriterModule$1$1.getInstructions(DexUtil.java:505)
...(Skip 24 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:321)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:244)
at org.rh.smaliex.OatUtil.oat2dex(OatUtil.java:146)
at org.rh.smaliex.Main.mainImpl(Main.java:122)
at org.rh.smaliex.Main.main(Main.java:42)
10-07 16:39:02:521 Failed to re-construct dex java.lang.ClassCastException: org.jf.dexlib2.analysis.UnresolvedOdexInstruction cannot be cast to org.jf.dexlib2.iface.instruction.formats.Instruction35ms
Hi guys..
I'm trying to deodex my stock ROM and I got this output when launching decompiling boot.oax
`D:\Programmi\Android\smali>java -jar ..\oat2dex.jar boot boot.oat
10-31 17:38:05:932 Output raw dex: D:\Programmi\Android\smali\odex\core-libart.dex
10-31 17:38:05:935 Output raw dex: D:\Programmi\Android\smali\odex\conscrypt.dex
10-31 17:38:05:936 Output raw dex: D:\Programmi\Android\smali\odex\okhttp.dex
10-31 17:38:05:936 Output raw dex: D:\Programmi\Android\smali\odex\core-junit.dex
10-31 17:38:05:938 Output raw dex: D:\Programmi\Android\smali\odex\bouncycastle.dex
10-31 17:38:05:940 Output raw dex: D:\Programmi\Android\smali\odex\ext.dex
10-31 17:38:05:949 Output raw dex: D:\Programmi\Android\smali\odex\framework.dex
10-31 17:38:05:953 Output raw dex: D:\Programmi\Android\smali\odex\framework-classes2.dex
10-31 17:38:05:958 Output raw dex: D:\Programmi\Android\smali\odex\telephony-common.dex
10-31 17:38:05:959 Output raw dex: D:\Programmi\Android\smali\odex\voip-common.dex
10-31 17:38:05:960 Output raw dex: D:\Programmi\Android\smali\odex\ims-common.dex
10-31 17:38:05:961 Output raw dex: D:\Programmi\Android\smali\odex\mms-common.dex
10-31 17:38:05:962 Output raw dex: D:\Programmi\Android\smali\odex\android.policy.dex
10-31 17:38:05:964 Output raw dex: D:\Programmi\Android\smali\odex\apache-xml.dex
10-31 17:38:05:968 Output raw dex: D:\Programmi\Android\smali\odex\com.intel.config.dex
10-31 17:38:05:969 Output raw dex: D:\Programmi\Android\smali\odex\com.intel.aware.awareservice.dex
10-31 17:38:05:970 Output raw dex: D:\Programmi\Android\smali\odex\com.intel.multidisplay.dex
10-31 17:38:06:328 Art version=48 (boot.oat)
10-31 17:38:06:357 De-optimizing /system/framework/core-libart.jar
10-31 17:38:09:831 Output to D:\Programmi\Android\smali\dex\core-libart.dex
10-31 17:38:09:831 De-optimizing /system/framework/conscrypt.jar
10-31 17:38:10:762 Output to D:\Programmi\Android\smali\dex\conscrypt.dex
10-31 17:38:10:762 De-optimizing /system/framework/okhttp.jar
10-31 17:38:10:938 Output to D:\Programmi\Android\smali\dex\okhttp.dex
10-31 17:38:10:939 De-optimizing /system/framework/core-junit.jar
10-31 17:38:10:953 Output to D:\Programmi\Android\smali\dex\core-junit.dex
10-31 17:38:10:953 De-optimizing /system/framework/bouncycastle.jar
10-31 17:38:12:180 Output to D:\Programmi\Android\smali\dex\bouncycastle.dex
10-31 17:38:12:180 De-optimizing /system/framework/ext.jar
10-31 17:38:13:065 Analysis error in class=Lgov/nist/javax/sip/header/SIPHeaderNamesCache; method=
Method: Lgov/nist/javax/sip/header/SIPHeaderNamesCache;->()V
Near line: 18 (address 25)
Instructions:
[11] move-result-object regA=5
[12] const-class regA=6
[13] invoke-virtual-quick regC=5 regD=6 <-----
[14] move-result regA=5
[15] if-eqz regA=5
10-31 17:38:13:070 org.jf.dexlib2.analysis.AnalysisException: Invalid register type (Integer) for register v5.
at org.jf.dexlib2.analysis.MethodAnalyzer.checkRegister(MethodAnalyzer.java:2746)
at org.jf.dexlib2.analysis.MethodAnalyzer.getAndCheckSourceRegister(MethodAnalyzer.java:2729)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:2512)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1257)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:258)
...(Skip 26 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:323)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:246)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:130)
at org.rh.smaliex.Main.mainImpl(Main.java:101)
at org.rh.smaliex.Main.main(Main.java:42)
10-31 17:38:13:073 Failed to re-construct dex java.lang.ClassCastException: org.jf.dexlib2.analysis.UnresolvedOdexInstruction cannot be cast to org.jf.dexlib2.iface.instruction.formats.Instruction35ms
10-31 17:38:13:075 convertToDex: skip /system/framework/ext.jar
10-31 17:38:13:076 De-optimizing /system/framework/framework.jar
10-31 17:38:19:534 Output to D:\Programmi\Android\smali\dex\framework.dex
10-31 17:38:19:534 De-optimizing /system/framework/framework.jar:classes2.dex
10-31 17:38:24:419 Analysis error in class=Landroid/widget/NumberPicker; method=
Method: Landroid/widget/NumberPicker;->(Landroid/content/Context;Landroid/util/AttributeSet;II)V
Near line: 742 (address 619)
Instructions:
[305] const/16 regA=16
[306] move/from16 regA=0 regB=16
[307] invoke-virtual-quick regC=6 regD=15 regE=0 <-----
[308] move-result regA=5
[309] invoke-virtual-quick regC=14 regD=5
10-31 17:38:24:423 org.jf.dexlib2.analysis.AnalysisException: Invalid register type (Integer) for register v6.
at org.jf.dexlib2.analysis.MethodAnalyzer.checkRegister(MethodAnalyzer.java:2746)
at org.jf.dexlib2.analysis.MethodAnalyzer.getAndCheckSourceRegister(MethodAnalyzer.java:2729)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:2512)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1257)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:258)
...(Skip 26 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:323)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:246)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:130)
at org.rh.smaliex.Main.mainImpl(Main.java:101)
at org.rh.smaliex.Main.main(Main.java:42)
10-31 17:38:24:426 Failed to re-construct dex java.lang.ClassCastException
10-31 17:38:24:427 convertToDex: skip /system/framework/framework.jar:classes2.dex
10-31 17:38:24:428 De-optimizing /system/framework/telephony-common.jar
10-31 17:38:25:970 Output to D:\Programmi\Android\smali\dex\telephony-common.dex
10-31 17:38:25:970 De-optimizing /system/framework/voip-common.jar
10-31 17:38:26:042 Output to D:\Programmi\Android\smali\dex\voip-common.dex
10-31 17:38:26:042 De-optimizing /system/framework/ims-common.jar
10-31 17:38:26:079 Output to D:\Programmi\Android\smali\dex\ims-common.dex
10-31 17:38:26:079 De-optimizing /system/framework/mms-common.jar
10-31 17:38:26:082 Output to D:\Programmi\Android\smali\dex\mms-common.dex
10-31 17:38:26:082 De-optimizing /system/framework/android.policy.jar
10-31 17:38:26:229 Output to D:\Programmi\Android\smali\dex\android.policy.dex
10-31 17:38:26:230 De-optimizing /system/framework/apache-xml.jar
10-31 17:38:26:939 Output to D:\Programmi\Android\smali\dex\apache-xml.dex
10-31 17:38:26:940 De-optimizing /system/framework/com.intel.config.jar
10-31 17:38:26:942 Output to D:\Programmi\Android\smali\dex\com.intel.config.dex
10-31 17:38:26:943 De-optimizing /system/framework/com.intel.aware.awareservice.jar
10-31 17:38:26:952 Output to D:\Programmi\Android\smali\dex\com.intel.aware.awareservice.dex
10-31 17:38:26:952 De-optimizing /system/framework/com.intel.multidisplay.jar
10-31 17:38:26:962 Output to D:\Programmi\Android\smali\dex\com.intel.multidisplay.dex`
Do you have any hint for me how to try to solve that?
Hello, thank you very much for your work.
I understand MM just dropped but i want to report two issues anyway.
Tested over Nexus 5 MarshMallow official MRA58K boot.oat.
Thank you very very much in advance, used your tool successfully for the whole Lollipop year.
First one:
10-05 20:37:10:735 De-optimizing /system/framework/core-libart.jar
10-05 20:37:11:305 Analysis info of Landroid/icu/impl/PluralRulesLoader; : :
Unresolved INVOKE_VIRTUAL_QUICK_ART mIdx=16 objReg=3, use Ljava/lang/String; to invoke (it may have exception but is expected)
Second one:
10-05 20:37:21:161 De-optimizing /system/framework/telephony-common.jar
10-05 20:37:21:490 Analysis info of Lcom/android/internal/telephony/cdma/CdmaServiceStateTracker; : dump:
Near .line 2075
UnresolvedOdexInstruction IGET_BOOLEAN_QUICK_ART Format22cs i=86
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=87
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=89
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=91
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=95
UnresolvedOdexInstruction IGET_QUICK_ART Format22cs i=97
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=98
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=100
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=102
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=106
UnresolvedOdexInstruction IGET_QUICK_ART Format22cs i=108
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=109
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=111
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=113
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=117
UnresolvedOdexInstruction IGET_BOOLEAN_QUICK_ART Format22cs i=119
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=120
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=122
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=124
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=125
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=129
UnresolvedOdexInstruction IGET_QUICK_ART Format22cs i=131
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=132
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=134
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=136
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=140
UnresolvedOdexInstruction IGET_BOOLEAN_QUICK_ART Format22cs i=142
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=143
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=145
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=147
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=151
UnresolvedOdexInstruction IGET_WIDE_QUICK_ART Format22cs i=153
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=154
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=156
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=158
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=162
UnresolvedOdexInstruction IGET_BOOLEAN_QUICK_ART Format22cs i=164
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=165
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=167
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=169
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=173
UnresolvedOdexInstruction IGET_OBJECT_QUICK_ART Format22cs i=175
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=176
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=178
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=180
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=184
UnresolvedOdexInstruction IGET_WIDE_QUICK_ART Format22cs i=186
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=187
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=189
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=191
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=195
UnresolvedOdexInstruction IGET_WIDE_QUICK_ART Format22cs i=197
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=198
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=200
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=202
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=206
UnresolvedOdexInstruction IGET_OBJECT_QUICK_ART Format22cs i=208
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=209
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=211
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=213
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=217
UnresolvedOdexInstruction IGET_OBJECT_QUICK_ART Format22cs i=219
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=220
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=222
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=224
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=228
UnresolvedOdexInstruction IGET_OBJECT_QUICK_ART Format22cs i=230
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=231
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=233
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=235
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=239
UnresolvedOdexInstruction IGET_OBJECT_QUICK_ART Format22cs i=241
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=242
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=244
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=246
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=250
UnresolvedOdexInstruction IGET_OBJECT_QUICK_ART Format22cs i=252
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=253
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=255
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=257
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=261
UnresolvedOdexInstruction IGET_OBJECT_QUICK_ART Format22cs i=263
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=264
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=266
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=268
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=272
UnresolvedOdexInstruction IGET_OBJECT_QUICK_ART Format22cs i=274
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=275
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=277
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=279
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=283
UnresolvedOdexInstruction IGET_BOOLEAN_QUICK_ART Format22cs i=285
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=286
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=288
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=290
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=294
UnresolvedOdexInstruction IGET_BOOLEAN_QUICK_ART Format22cs i=296
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=297
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=299
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=301
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=305
UnresolvedOdexInstruction IGET_BOOLEAN_QUICK_ART Format22cs i=307
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=308
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=310
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=312
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=316
UnresolvedOdexInstruction IGET_OBJECT_QUICK_ART Format22cs i=318
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=319
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=321
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=323
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=327
UnresolvedOdexInstruction IGET_OBJECT_QUICK_ART Format22cs i=329
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=330
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=332
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=334
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=338
UnresolvedOdexInstruction IGET_OBJECT_QUICK_ART Format22cs i=340
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=341
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=343
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=345
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=346
10-05 20:37:21:492 Analysis error in class=Lcom/android/internal/telephony/cdma/CdmaServiceStateTracker; method=dump
opcode: iget-boolean-quick
code address: 199
method: Lcom/android/internal/telephony/cdma/CdmaServiceStateTracker;->dump(Ljava/io/FileDescriptor;Ljava/io/PrintWriter;[Ljava/lang/String;)V
10-05 20:37:21:493 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the field in class Lcom/android/internal/telephony/cdma/CdmaServiceStateTracker; at offset 253 in dump
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeIputIgetQuick(MethodAnalyzer.java:1638)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:982)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:211)
at org.jf.dexlib2.analysis.MethodAnalyzer.(MethodAnalyzer.java:149)
at org.rh.smaliex.OatUtil$OatDexRewriterModule$1$1.getInstructions(OatUtil.java:591)
at org.jf.dexlib2.immutable.ImmutableMethodImplementation.of(ImmutableMethodImplementation.java:82)
at org.jf.dexlib2.immutable.ImmutableMethod.(ImmutableMethod.java:72)
at org.jf.dexlib2.immutable.ImmutableMethod.of(ImmutableMethod.java:95)
at org.jf.dexlib2.immutable.ImmutableMethod$1.makeImmutable(ImmutableMethod.java:129)
at org.jf.dexlib2.immutable.ImmutableMethod$1.makeImmutable(ImmutableMethod.java:120)
at org.jf.util.ImmutableConverter$3.next(ImmutableConverter.java:139)
at com.google.common.collect.ImmutableCollection$Builder.addAll(ImmutableCollection.java:301)
at com.google.common.collect.ImmutableSet$Builder.addAll(ImmutableSet.java:522)
at com.google.common.collect.ImmutableSortedSet$Builder.addAll(ImmutableSortedSet.java:551)
at com.google.common.collect.ImmutableSortedSet.copyOf(ImmutableSortedSet.java:326)
at org.jf.util.ImmutableConverter.toSortedSet(ImmutableConverter.java:137)
at org.jf.dexlib2.immutable.ImmutableMethod.immutableSetOf(ImmutableMethod.java:116)
at org.jf.dexlib2.immutable.ImmutableClassDef.(ImmutableClassDef.java:109)
at org.jf.dexlib2.immutable.ImmutableClassDef.of(ImmutableClassDef.java:138)
at org.jf.dexlib2.immutable.ImmutableClassDef$3.makeImmutable(ImmutableClassDef.java:209)
at org.jf.dexlib2.immutable.ImmutableClassDef$3.makeImmutable(ImmutableClassDef.java:200)
at org.jf.util.ImmutableConverter$2.next(ImmutableConverter.java:105)
at com.google.common.collect.ImmutableCollection$Builder.addAll(ImmutableCollection.java:301)
at com.google.common.collect.ImmutableSet$Builder.addAll(ImmutableSet.java:522)
at com.google.common.collect.ImmutableSet.copyOf(ImmutableSet.java:321)
at org.jf.util.ImmutableConverter.toSet(ImmutableConverter.java:103)
at org.jf.dexlib2.immutable.ImmutableClassDef.immutableSetOf(ImmutableClassDef.java:196)
at org.jf.dexlib2.immutable.ImmutableDexFile.(ImmutableDexFile.java:47)
at org.jf.dexlib2.immutable.ImmutableDexFile.of(ImmutableDexFile.java:58)
at org.rh.smaliex.OatUtil$OatDexRewriter.rewriteDexFile(OatUtil.java:545)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:306)
at org.rh.smaliex.OatUtil.extractDexFromBootOat(OatUtil.java:233)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:146)
at org.rh.smaliex.Main.main(Main.java:61)
opcode: iget-boolean-quick
code address: 199
method: Lcom/android/internal/telephony/cdma/CdmaServiceStateTracker;->dump(Ljava/io/FileDescriptor;Ljava/io/PrintWriter;[Ljava/lang/String;)V
10-05 20:37:21:493 Failed to re-construct dex java.lang.ClassCastException: org.jf.dexlib2.analysis.UnresolvedOdexInstruction cannot be cast to org.jf.dexlib2.iface.instruction.formats.Instruction22cs
10-05 20:37:21:493 convertToDex: skip /system/framework/telephony-common.jar
09-26 21:21:14:092 De-optimizing /system/priv-app/GmsCore/GmsCore.apk:classes2.dex
09-26 21:21:14:575 Analysis error in class=Lbik; method=run
Method: Lbik;->run()V
Opcode: invoke-virtual-quick
Code address: 755
Near line: 6917
09-26 21:21:14:588 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the method in class unknown at index 11, objReg=2
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:2192)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1137)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:228)
at org.jf.dexlib2.analysis.MethodAnalyzer.(MethodAnalyzer.java:165)
at org.rh.smaliex.DexUtil$ODexRewriterModule$1$1.getInstructions(DexUtil.java:403)
...(Skip 23 traces)
at org.rh.smaliex.DexUtil$ODexRewriter.rewriteDexFile(DexUtil.java:342)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:269)
at org.rh.smaliex.OatUtil.oat2dex(OatUtil.java:134)
at org.rh.smaliex.Main.mainImpl(Main.java:128)
at org.rh.smaliex.Main.main(Main.java:54)
09-26 21:19:20:135 De-optimizing /system/app/Chrome/Chrome.apk
09-26 21:19:20:649 Analysis error in class=Landroid/support/v4/media/g; method=h
Method: Landroid/support/v4/media/g;->h()V
Opcode: invoke-virtual-quick
Code address: 18
Near line: 224
09-26 21:19:20:649 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the method in class unknown at index 12, objReg=3
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:2192)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1137)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:228)
at org.jf.dexlib2.analysis.MethodAnalyzer.(MethodAnalyzer.java:165)
at org.rh.smaliex.DexUtil$ODexRewriterModule$1$1.getInstructions(DexUtil.java:403)
...(Skip 23 traces)
at org.rh.smaliex.DexUtil$ODexRewriter.rewriteDexFile(DexUtil.java:342)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:269)
at org.rh.smaliex.OatUtil.oat2dex(OatUtil.java:134)
at org.rh.smaliex.Main.mainImpl(Main.java:128)
at org.rh.smaliex.Main.main(Main.java:54)
Hi,
would you be able to do a build based on the latest 2.2 beta of smali ?
It can be found at https://github.com/JesusFreke/smali/tree/v2.2_WIP
its dev thinks some issues should be resolved and Nougat compatibility should work.
Often I just mount the android system image I'd like to deodex. But since this mountpoint is read-only, the script cannot be executed. Would it be possible to implement to allow reading from location X and do all write operations to another location Y?
Hi @testwhat,
Trying to deodex this framework from MM N910P build: https://drive.google.com/file/d/0B7yjRH4f-JfgZkppaHRaeWlMOXc/view?usp=sharing
Oat2dex v0.86 works fine but the latest pre-release v2.1.2-160425 does not, i use svadev tool and it does not show any failure on the logs.
Deodexed with no errors using @svadev tool against your master branch, 0.81 and 0.7 version, but all of them causes many hangs at boot resulting on a continuous NfcNci FC.
NfcNci (odexed + deodexed) can be downloaded here: https://www.dropbox.com/sh/eroyj74t559w8qi/AABwEeSVEnCV83uYwMRjzLoia?dl=0
It seems to be a wrong type issue on the result of dex2oat:
I/dex2oat ( 6112): /system/bin/dex2oat --zip-fd=11 --zip-location=/system/app/NfcNci/NfcNci.apk --oat-fd=12 --art-fd=13 --compress-image --oat-location=/data/dalvik-cache/arm64/system@app@NfcNci@[email protected] --instruction-set=arm64 --instruction-set-features=default --runtime-arg -Xms64m --runtime-arg -Xmx512m --swap-fd=15
I/dex2oat ( 6112): Decided to run without swap.
I/dex2oat ( 6112): Verification error in void com.android.nfc.beam.SendUi.(android.content.Context, com.android.nfc.beam.SendUi$Callback)
I/dex2oat ( 6112): void com.android.nfc.beam.SendUi.(android.content.Context, com.android.nfc.beam.SendUi$Callback) failed to verify: void com.android.nfc.beam.SendUi.(android.content.Context, com.android.nfc.beam.SendUi$Callback): [0xF7] register v3 has type Float but expected Integer
E/dex2oat ( 6112): Verification failed on class com.android.nfc.beam.SendUi in /system/app/NfcNci/NfcNci.apk because: Verifier rejected class com.android.nfc.beam.SendUi due to bad method void com.android.nfc.beam.SendUi.(android.content.Context, com.android.nfc.beam.SendUi$Callback)
Hello, can you see what is wrong with new boot.oat. I think oat2dex not extract classes from boot.oat proper, because when i try baksmali-2.1.0 core-libart.jar i have this error:
Exception in thread "main" java.lang.RuntimeException: java.util.concurrent.Exec
utionException: org.jf.util.ExceptionWithContext: The last instruction in the me
thod is truncated
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:165)
at org.jf.baksmali.main.main(main.java:305)
Caused by: java.util.concurrent.ExecutionException: org.jf.util.ExceptionWithCon
text: The last instruction in the method is truncated
at java.util.concurrent.FutureTask.report(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:159)
... 1 more
Caused by: org.jf.util.ExceptionWithContext: The last instruction in the method
is truncated
at org.jf.dexlib2.dexbacked.DexBackedMethodImplementation$1$1.readNextIt
em(DexBackedMethodImplementation.java:87)
at org.jf.dexlib2.dexbacked.DexBackedMethodImplementation$1$1.readNextIt
em(DexBackedMethodImplementation.java:75)
at org.jf.dexlib2.dexbacked.util.VariableSizeLookaheadIterator.computeNe
xt(VariableSizeLookaheadIterator.java:60)
at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractI
terator.java:143)
at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.j
ava:138)
at org.jf.baksmali.Adaptors.ClassDefinition.findFieldsSetInStaticConstru
ctor(ClassDefinition.java:73)
at org.jf.baksmali.Adaptors.ClassDefinition.(ClassDefinition.java:
58)
at org.jf.baksmali.baksmali.disassembleClass(baksmali.java:197)
at org.jf.baksmali.baksmali.access$000(baksmali.java:55)
at org.jf.baksmali.baksmali$1.call(baksmali.java:149)
at org.jf.baksmali.baksmali$1.call(baksmali.java:147)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
File boot.oat
https://mega.nz/#!8YU1ELoD!11r2cXHuo8W_ozOUPB8q1NFncL18-OBZ45tF3CzFwQk
Thanks
12-06 12:44:50:133 De-optimizing /system/app/Bluetooth/Bluetooth.apk
12-06 12:44:51:120 Analysis error in class=Landroid/support/v4/media/MediaMetadataCompat; method=
Method: Landroid/support/v4/media/MediaMetadataCompat;->()V
Opcode: invoke-virtual-quick
Code address: 19
Near line: 204
12-06 12:44:51:121 org.jf.dexlib2.analysis.AnalysisException: Interfaces for class Landroid/support/v4/util/ArrayMap; not fully resolved
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:222)
at org.jf.dexlib2.analysis.MethodAnalyzer.(MethodAnalyzer.java:149)
at org.rh.smaliex.OatUtil$OatDexRewriterModule$1$1.getInstructions(OatUtil.java:478)
at org.jf.dexlib2.immutable.ImmutableMethodImplementation.of(ImmutableMethodImplementation.java:84)
at org.jf.dexlib2.immutable.ImmutableMethod.(ImmutableMethod.java:72)
at org.jf.dexlib2.immutable.ImmutableMethod.of(ImmutableMethod.java:102)
at org.jf.dexlib2.immutable.ImmutableMethod$1.makeImmutable(ImmutableMethod.java:129)
at org.jf.dexlib2.immutable.ImmutableMethod$1.makeImmutable(ImmutableMethod.java:120)
at org.jf.util.ImmutableConverter$3.next(ImmutableConverter.java:139)
at com.google.common.collect.ImmutableCollection$Builder.addAll(ImmutableCollection.java:301)
at com.google.common.collect.ImmutableSet$Builder.addAll(ImmutableSet.java:522)
at com.google.common.collect.ImmutableSortedSet$Builder.addAll(ImmutableSortedSet.java:551)
at com.google.common.collect.ImmutableSortedSet.copyOf(ImmutableSortedSet.java:326)
at org.jf.util.ImmutableConverter.toSortedSet(ImmutableConverter.java:137)
at org.jf.dexlib2.immutable.ImmutableMethod.immutableSetOf(ImmutableMethod.java:116)
at org.jf.dexlib2.immutable.ImmutableClassDef.(ImmutableClassDef.java:109)
at org.jf.dexlib2.immutable.ImmutableClassDef.of(ImmutableClassDef.java:149)
at org.jf.dexlib2.immutable.ImmutableClassDef$3.makeImmutable(ImmutableClassDef.java:210)
at org.jf.dexlib2.immutable.ImmutableClassDef$3.makeImmutable(ImmutableClassDef.java:201)
at org.jf.util.ImmutableConverter$2.next(ImmutableConverter.java:105)
at com.google.common.collect.ImmutableCollection$Builder.addAll(ImmutableCollection.java:301)
at com.google.common.collect.ImmutableSet$Builder.addAll(ImmutableSet.java:522)
at com.google.common.collect.ImmutableSet.copyOf(ImmutableSet.java:321)
at org.jf.util.ImmutableConverter.toSet(ImmutableConverter.java:103)
at org.jf.dexlib2.immutable.ImmutableClassDef.immutableSetOf(ImmutableClassDef.java:197)
at org.jf.dexlib2.immutable.ImmutableDexFile.(ImmutableDexFile.java:47)
at org.jf.dexlib2.immutable.ImmutableDexFile.of(ImmutableDexFile.java:58)
at org.rh.smaliex.OatUtil$OatDexRewriter.rewriteDexFile(OatUtil.java:431)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:303)
at org.rh.smaliex.OatUtil.oat2dex(OatUtil.java:159)
at org.rh.smaliex.Main.mainImpl(Main.java:112)
at org.rh.smaliex.Main.main(Main.java:53)
Caused by: org.jf.dexlib2.analysis.UnresolvedClassException: Interfaces for class Landroid/support/v4/util/ArrayMap; not fully resolved
at org.jf.dexlib2.analysis.ClassProto.getDirectInterfaces(ClassProto.java:209)
at org.jf.dexlib2.analysis.ClassProto$3.get(ClassProto.java:1063)
at org.jf.dexlib2.analysis.ClassProto$3.get(ClassProto.java:1030)
at com.google.common.base.Suppliers$MemoizingSupplier.get(Suppliers.java:125)
at org.jf.dexlib2.analysis.ClassProto.getVtable(ClassProto.java:1026)
at org.jf.dexlib2.analysis.ClassProto.getMethodByVtableIndex(ClassProto.java:359)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:1833)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1035)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:211)
... 31 more
Method: Landroid/support/v4/media/MediaMetadataCompat;->()V
Opcode: invoke-virtual-quick
Code address: 19
Near line: 204
12-06 12:44:51:122 Failed to re-construct dex java.lang.ClassCastException: org.jf.dexlib2.analysis.UnresolvedOdexInstruction cannot be cast to org.jf.dexlib2.iface.instruction.formats.Instruction35ms
12-06 12:44:51:123 convertToDex: skip /system/app/Bluetooth/Bluetooth.apk
I'm hitting a problem on an apk which does something like:
String function(Object a) {
if(a instanceof int[]) {
int[] v = (int[]) a;
// Do something with v
}
This hits:
1276 throw new AnalysisException("aget-object used with non-array register: %s",
1277 arrayRegisterType.toString()
java -jar oat2dex.jar aaa.odex
print Not a vdex file
I don't know. Because of what
java -jar oat2dex.jar boot framework/arm64/boot.oat
Exception in thread "main" java.lang.IllegalArgumentException
at java.nio.Buffer.position(Unknown Source)
at org.rh.smaliex.reader.DataReader.position(DataReader.java:61)
at org.rh.smaliex.reader.DataReader.seek(DataReader.java:57)
at org.rh.smaliex.reader.Oat.(Oat.java:210)
at org.rh.smaliex.OatUtil.getOat(OatUtil.java:91)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:190)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:75)
at org.rh.smaliex.Main.mainImpl(Main.java:106)
at org.rh.smaliex.Main.main(Main.java:43)
Hi,
I have tried the latest snapshot-with-v2.1.2-160428 build, but getting errors on many apk's when deodexing.
Tried Sva & batchapktool deodexing tools, but both give errors/FC's.
See attached log file for the errors that I got using the latest Batchapktool.
log_decompile.txt
I have segnalate this bug-->BurgerZ/jBART#141
Thanks :)
i am using Joeldroid tool to convert my rom to deodex is shows failed-oat2dex conversion
16-08-2016:19-16-21 => Framework Folder Exists
16-08-2016:19-16-21 => boot.oat Exists
16-08-2016:19-16-21 => App Folder Exists
16-08-2016:19-16-21 => Priv-App Folder Exists
16-08-2016:19-16-21 => Deodexing Started
16-08-2016:19-16-21 => Extracting Boot.oat
16-08-2016:19-16-21 => Copying Boot.oat to Working Directory - SUCCESS
16-08-2016:19-17-08 => Boot.oat Extraction Complete
16-08-2016:19-17-08 => Odexed System Apps Count: 158
16-08-2016:19-17-08 => Deodexing System Apps
16-08-2016:19-17-10 => 1 of 158 - AnonymousData - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-17-12 => 2 of 158 - AntHalService - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-17-13 => 3 of 158 - AptxNotifier - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-17-14 => 4 of 158 - Backup-wizard - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-17-15 => 5 of 158 - BasicDreams - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-17-16 => 6 of 158 - Bluetooth - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-17-18 => 7 of 158 - Books - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-17-19 => 8 of 158 - bootinfo - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-17-20 => 9 of 158 - BrowserProviderProxy - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-17-21 => 10 of 158 - CABLService - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-17-22 => 11 of 158 - Calculator - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-17-24 => 12 of 158 - CallWidgetFrameworkPermission - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-17-25 => 13 of 158 - CameraAddonPermission - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-17-26 => 14 of 158 - CameraCommonPermission - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-17-27 => 15 of 158 - CameraExtensionPermission - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-17-29 => 16 of 158 - CaptivePortalLogin - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-17-30 => 17 of 158 - CertInstaller - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-17-32 => 18 of 158 - Chrome - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-17-33 => 19 of 158 - CityIdPermission - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-17-34 => 20 of 158 - ClockWidgets-release - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-17-35 => 21 of 158 - com.sonyericsson.xhs - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-17-37 => 22 of 158 - com.sonymobile.xperialounge.services - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-17-38 => 23 of 158 - ConfigUpdater - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-17-39 => 24 of 158 - CrashMonitor - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-17-40 => 25 of 158 - CrashMonitorSystem - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-17-42 => 26 of 158 - CustomizationPresetContacts - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-17-44 => 27 of 158 - device-monitor - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-17-45 => 28 of 158 - DocumentsUI - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-17-46 => 29 of 158 - DownloadProviderUi - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-17-48 => 30 of 158 - Drive - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-17-49 => 31 of 158 - DrmDialogs - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-17-50 => 32 of 158 - duidgenerator - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-17-53 => 33 of 158 - EnchantedForest - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-17-54 => 34 of 158 - Exchange3Google - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-17-55 => 35 of 158 - ExternalKeyboardsInternational - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-17-56 => 36 of 158 - FaceLock - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-17-58 => 37 of 158 - fastdormancy - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-17-59 => 38 of 158 - Galaxy4 - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-01 => 39 of 158 - gmail-reader-service - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-02 => 40 of 158 - Gmail2 - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-03 => 41 of 158 - GoogleCalendarSyncAdapter - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-04 => 42 of 158 - GoogleContactsSyncAdapter - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-06 => 43 of 158 - GoogleLyricsPlugin - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-07 => 44 of 158 - GoogleTTS - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-08 => 45 of 158 - Hangouts - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-09 => 46 of 158 - HeadphoneSelection - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-10 => 47 of 158 - HoloSpiralWallpaper - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-11 => 48 of 158 - home-release - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-13 => 49 of 158 - HotspotAdvancedSetting - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-14 => 50 of 158 - HTMLViewer - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-16 => 51 of 158 - IddAgent - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-17 => 52 of 158 - Initial-boot-setup - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-18 => 53 of 158 - InterfacePermissions - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-19 => 54 of 158 - jp.naver.line.android - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-21 => 55 of 158 - KeyChain - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-22 => 56 of 158 - Kvloader - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-23 => 57 of 158 - LiveWallpapers - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-25 => 58 of 158 - LiveWallpapersPicker - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-26 => 59 of 158 - LocalContacts - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-27 => 60 of 158 - LockscreenSettings-release - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-28 => 61 of 158 - Maps - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-29 => 62 of 158 - MultiSimSettings - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-31 => 63 of 158 - Newsstand - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-32 => 64 of 158 - NfcNci - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-33 => 65 of 158 - NoiseField - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-34 => 66 of 158 - OemCryptoReceiver - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-35 => 67 of 158 - OmaDownload - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-36 => 68 of 158 - OmaV1AgentDownloadServices - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-38 => 69 of 158 - PackageInstaller - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-39 => 70 of 158 - PacProcessor - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-40 => 71 of 158 - PartnerBookmarksProvider - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-41 => 72 of 158 - PhaseBeam - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-42 => 73 of 158 - phone-usage - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-44 => 74 of 158 - Photos - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-45 => 75 of 158 - PhotoSlideshow - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-47 => 76 of 158 - PhotoTable - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-48 => 77 of 158 - PhotoWidget-release - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-49 => 78 of 158 - PlayGames - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-50 => 79 of 158 - PlusOne - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-51 => 80 of 158 - PMSserviceTrigger - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-53 => 81 of 158 - PrintSpooler - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-54 => 82 of 158 - Protips - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-56 => 83 of 158 - QComQMIPermissions - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-57 => 84 of 158 - Radio3 - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-58 => 85 of 158 - RemoteControlService - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-18-59 => 86 of 158 - SecureClockService - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-00 => 87 of 158 - SelfPortrait - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-02 => 88 of 158 - SemcAutoPowerOff - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-03 => 89 of 158 - SemcCalendar - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-04 => 90 of 158 - SemcClock - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-06 => 91 of 158 - SemcCnapProvider - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-07 => 92 of 158 - SemcIllumination - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-08 => 93 of 158 - SemcMetadataCleanup - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-09 => 94 of 158 - SemcMusicVisualizer - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-10 => 95 of 158 - SemcPowerSaveModule - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-11 => 96 of 158 - SemcSettings - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-12 => 97 of 158 - SemcSimDetection - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-13 => 98 of 158 - SemcWarrantyTime - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-14 => 99 of 158 - ServiceMenu - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-15 => 100 of 158 - shutdownlistener - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-16 => 101 of 158 - SimContacts - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-18 => 102 of 158 - SimpleHome - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-19 => 103 of 158 - skin-core-release - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-20 => 104 of 158 - skin-picker-release - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-22 => 105 of 158 - SmallApp-Calculator - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-23 => 106 of 158 - SmallApp-Timer - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-24 => 107 of 158 - SmallAppManagerService - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-25 => 108 of 158 - SmallAppsFramework - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-26 => 109 of 158 - SmallAppsLauncher - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-27 => 110 of 158 - SmallAppWidget - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-29 => 111 of 158 - SmartSearch - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-30 => 112 of 158 - sneiaccountmanager - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-31 => 113 of 158 - socialife - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-32 => 114 of 158 - SomcAutoPairing - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-33 => 115 of 158 - SomcCameraFaceRegistration - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-35 => 116 of 158 - SomcCameraWidget - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-36 => 117 of 158 - SomcChinaPhotoEditor - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-37 => 118 of 158 - SomcDlna - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-39 => 119 of 158 - SomcSketch - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-40 => 120 of 158 - SOMCWebPlatform - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-41 => 121 of 158 - SonyEntrance - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-43 => 122 of 158 - Sound-Picker - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-44 => 123 of 158 - SoundEnhancement - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-45 => 124 of 158 - SoundRecorder - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-47 => 125 of 158 - Stk - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-48 => 126 of 158 - SuperStamina - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-50 => 127 of 158 - talkback - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-51 => 128 of 158 - Tasks - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-53 => 129 of 158 - TetherEntitlementCheck - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-54 => 130 of 158 - textinput-chn - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-56 => 131 of 158 - textinput-tng - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-57 => 132 of 158 - theme-manager - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-58 => 133 of 158 - Theme001 - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-19-59 => 134 of 158 - Theme002 - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-01 => 135 of 158 - Theme003 - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-03 => 136 of 158 - Theme004 - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-04 => 137 of 158 - Theme005 - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-04 => 138 of 158 - Theme006 - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-05 => 139 of 158 - TimeService - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-06 => 140 of 158 - TopContactsProvider - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-07 => 141 of 158 - TopContactsWidget-release - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-09 => 142 of 158 - UnsupportedHeadsetNotifier - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-10 => 143 of 158 - UserDictionaryProvider - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-12 => 144 of 158 - Videos - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-13 => 145 of 158 - VisualizationWallpapers - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-14 => 146 of 158 - WallpaperPicker - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-16 => 147 of 158 - WapPush - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-17 => 148 of 158 - WAPPushManager - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-18 => 149 of 158 - WeatherWidget-release - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-20 => 150 of 158 - WebViewGoogle - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-21 => 151 of 158 - WfdService - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-22 => 152 of 158 - white-balance - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-23 => 153 of 158 - WikipediaPlugin - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-25 => 154 of 158 - WirelessControllerManagerService - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-26 => 155 of 158 - WorldClockWidget-release - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-27 => 156 of 158 - YouTube - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-29 => 157 of 158 - YouTubeKaraokePlugin - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-30 => 158 of 158 - YouTubePlugin - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-30 => Odexed Private Apps Count: 92
16-08-2016:19-20-30 => Deodexing Private Apps
16-08-2016:19-20-31 => 1 of 92 - ActiveClipper - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-32 => 2 of 92 - ar-effect - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-34 => 3 of 92 - ArtFilterCamera - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-35 => 4 of 92 - BackupRestoreConfirmation - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-37 => 5 of 92 - CalendarProvider - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-38 => 6 of 92 - CameraCommon - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-39 => 7 of 92 - CameraWearableBridgeHandheldServer - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-40 => 8 of 92 - com.qualcomm.location - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-41 => 9 of 92 - Conversations - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-41 => 10 of 92 - CredentialManagerService - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-42 => 11 of 92 - CustomizationSelector - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-43 => 12 of 92 - CustomizedSettings - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-43 => 13 of 92 - DefaultCapabilities - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-44 => 14 of 92 - DefaultContainerService - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-44 => 15 of 92 - DeviceSecurityService - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-45 => 16 of 92 - DownloadProvider - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-45 => 17 of 92 - enhancedusbux - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-46 => 18 of 92 - EnterpriseService - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-46 => 19 of 92 - Exchange2 - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-47 => 20 of 92 - ExternalStorageProvider - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-49 => 21 of 92 - FBCalendarSync - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-51 => 22 of 92 - filecommander - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-52 => 23 of 92 - FusedLocation - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-53 => 24 of 92 - GmsCore - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-53 => 25 of 92 - GoogleBackupTransport - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-54 => 26 of 92 - GoogleFeedback - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-55 => 27 of 92 - GoogleLoginService - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-56 => 28 of 92 - GoogleOneTimeInitializer - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-57 => 29 of 92 - GooglePartnerSetup - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-57 => 30 of 92 - GoogleServicesFramework - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-58 => 31 of 92 - helpapp - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-59 => 32 of 92 - InCallUI - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-20-59 => 33 of 92 - InputDevices - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-00 => 34 of 92 - livewaremanager - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-01 => 35 of 92 - ManagedProvisioning - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-02 => 36 of 92 - MediaProvider - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-02 => 37 of 92 - MmsService - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-03 => 38 of 92 - MusicFX - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-04 => 39 of 92 - MyXperia - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-04 => 40 of 92 - OMAClientProvisioning - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-05 => 41 of 92 - Phonebook - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-06 => 42 of 92 - Phonesky - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-06 => 43 of 92 - PMSservice - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-07 => 44 of 92 - ProxyHandler - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-08 => 45 of 92 - qcrilmsgtunnel - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-08 => 46 of 92 - ReadyToRun - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-09 => 47 of 92 - SemcAlbum-albumLive-release - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-09 => 48 of 92 - SemcCamera3D - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-10 => 49 of 92 - SemcCameraUI - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-11 => 50 of 92 - SemcContactsProvider - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-11 => 51 of 92 - SemcEmail - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-12 => 52 of 92 - SEMCFacebookProxy - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-12 => 53 of 92 - SemcMusic - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-14 => 54 of 92 - SEMCSetupWizard - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-15 => 55 of 92 - SemcStorageChecker - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-17 => 56 of 92 - SemcTelephonyProvider - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-18 => 57 of 92 - SemcVideo - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-19 => 58 of 92 - Settings - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-21 => 59 of 92 - SettingsProvider - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-22 => 60 of 92 - SetupWizard - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-23 => 61 of 92 - SharedStorageBackup - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-24 => 62 of 92 - Shell - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-26 => 63 of 92 - SimlockUnlockApp - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-27 => 64 of 92 - SmartcardService - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-29 => 65 of 92 - SocialEngineCore - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-30 => 66 of 92 - SocialEngineFacebookPlugin - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-31 => 67 of 92 - SocialEngineFacebookShareFrwkPlugin - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-32 => 68 of 92 - SocialEnginePicasaPlugin - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-34 => 69 of 92 - SocialEngineTwitterShareFrwkPlugin - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-35 => 70 of 92 - SomcHotspot2Settings - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-37 => 71 of 92 - SomcMovieCreator-release - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-38 => 72 of 92 - SomcNotes - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-39 => 73 of 92 - SomcPhotoAnalyzer - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-40 => 74 of 92 - SomcPlayAnywhere - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-42 => 75 of 92 - SomcPodcast - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-43 => 76 of 92 - SOMCTwitterAccount - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-44 => 77 of 92 - SomcWifiDisplay - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-45 => 78 of 92 - sonyentrance2-release - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-47 => 79 of 92 - SystemUI - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-48 => 80 of 92 - Telecom - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-49 => 81 of 92 - TeleService - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-50 => 82 of 92 - TimeShiftCamera - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-52 => 83 of 92 - UpdateCenter - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-53 => 84 of 92 - usb-mtp-backup-transport - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-54 => 85 of 92 - usb-mtp-factoryreset-wrapper - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-55 => 86 of 92 - usb-mtp-marlin-wrapper - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-57 => 87 of 92 - usb-mtp-update-wrapper - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-58 => 88 of 92 - usb-mtp-vendor-extension-service - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-21-59 => 89 of 92 - usbotg - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-00 => 90 of 92 - Velvet - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-01 => 91 of 92 - VpnDialogs - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-03 => 92 of 92 - WallpaperCropper - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-03 => Odexed Framework Apps Count: 115
16-08-2016:19-22-03 => Deodexing Framework Apps
16-08-2016:19-22-04 => 1 of 115 - am - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-05 => 2 of 115 - android.test.runner - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-06 => 3 of 115 - appops - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-07 => 4 of 115 - appwidget - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-08 => 5 of 115 - bmgr - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-09 => 6 of 115 - btmultisimlibrary - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-10 => 7 of 115 - bu - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-12 => 8 of 115 - com.android.future.usb.accessory - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-13 => 9 of 115 - com.android.location.provider - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-14 => 10 of 115 - com.android.media.remotedisplay - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-15 => 11 of 115 - com.android.mediadrm.signer - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-16 => 12 of 115 - com.android.nfc_extras - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-17 => 13 of 115 - com.dsi.ant.antradio_library - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-19 => 14 of 115 - com.google.protobuf-2.3.0 - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-20 => 15 of 115 - com.google.widevine.software.drm - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-21 => 16 of 115 - com.gsma.services.nfc_impl - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-22 => 17 of 115 - com.qualcomm.location.vzw_library - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-24 => 18 of 115 - com.sony.device - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-25 => 19 of 115 - com.sony.smallapp - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-26 => 20 of 115 - com.sony.snei.vu - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-27 => 21 of 115 - com.sonyericsson.android.omacp - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-28 => 22 of 115 - com.sonyericsson.android.socialphonebook.dynamic - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-29 => 23 of 115 - com.sonyericsson.appextensions - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-30 => 24 of 115 - com.sonyericsson.autopoweroff - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-31 => 25 of 115 - com.sonyericsson.bluetooth.a2dp - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-32 => 26 of 115 - com.sonyericsson.cameraextension_impl - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-34 => 27 of 115 - com.sonyericsson.colorextraction_impl - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-35 => 28 of 115 - com.sonyericsson.dlna.dtcpplayer - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-36 => 29 of 115 - com.sonyericsson.dlna.playanywhere - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-37 => 30 of 115 - com.sonyericsson.dlna_impl - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-38 => 31 of 115 - com.sonyericsson.idd - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-39 => 32 of 115 - com.sonyericsson.illumination - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-40 => 33 of 115 - com.sonyericsson.media.infinite.extension_1 - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-42 => 34 of 115 - com.sonyericsson.metadatacleanup - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-43 => 35 of 115 - com.sonyericsson.mimetype - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-44 => 36 of 115 - com.sonyericsson.music - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-45 => 37 of 115 - com.sonyericsson.musicvisualizer - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-47 => 38 of 115 - com.sonyericsson.privateapis_impl - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-48 => 39 of 115 - com.sonyericsson.sysmon - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-49 => 40 of 115 - com.sonyericsson.system - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-50 => 41 of 115 - com.sonyericsson.updatecenter - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-52 => 42 of 115 - com.sonyericsson.uxpres - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-53 => 43 of 115 - com.sonyericsson.video - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-54 => 44 of 115 - com.sonyericsson.video.player.service - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-55 => 45 of 115 - com.sonyericsson.video.settings - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-56 => 46 of 115 - com.sonymobile.album - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-57 => 47 of 115 - com.sonymobile.bluetoothunlock.api - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-22-59 => 48 of 115 - com.sonymobile.callwidgetframework - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-00 => 49 of 115 - com.sonymobile.camera.addon_impl - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-02 => 50 of 115 - com.sonymobile.cityid.common - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-03 => 51 of 115 - com.sonymobile.covermode - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-04 => 52 of 115 - com.sonymobile.datawasher - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-06 => 53 of 115 - com.sonymobile.devicesecurity_impl - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-07 => 54 of 115 - com.sonymobile.drm.dtcp - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-08 => 55 of 115 - com.sonymobile.drm.restriction - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-09 => 56 of 115 - com.sonymobile.drmstream_impl - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-10 => 57 of 115 - com.sonymobile.ds4 - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-11 => 58 of 115 - com.sonymobile.dtcp.remoteaccessregisterapi - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-13 => 59 of 115 - com.sonymobile.enterprise_impl - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-14 => 60 of 115 - com.sonymobile.faceeditor - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-15 => 61 of 115 - com.sonymobile.fota - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-17 => 62 of 115 - com.sonymobile.help - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-18 => 63 of 115 - com.sonymobile.home.resourceprovider - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-20 => 64 of 115 - com.sonymobile.locationhistory - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-21 => 65 of 115 - com.sonymobile.media.dashboard.extension - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-23 => 66 of 115 - com.sonymobile.mediacontent - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-24 => 67 of 115 - com.sonymobile.miscta_impl - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-25 => 68 of 115 - com.sonymobile.musicslideshow - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-26 => 69 of 115 - com.sonymobile.nfc_impl - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-27 => 70 of 115 - com.sonymobile.photoanalyzer - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-29 => 71 of 115 - com.sonymobile.photoanalyzer_impl - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-30 => 72 of 115 - com.sonymobile.photoeditor - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-31 => 73 of 115 - com.sonymobile.playanywhere - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-33 => 74 of 115 - com.sonymobile.podcast - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-34 => 75 of 115 - com.sonymobile.provider.tasks - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-35 => 76 of 115 - com.sonymobile.providers.extendedcalllog - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-36 => 77 of 115 - com.sonymobile.remotefileaccess - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-38 => 78 of 115 - com.sonymobile.runtimeskinning - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-39 => 79 of 115 - com.sonymobile.servicemenu - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-40 => 80 of 115 - com.sonymobile.settings.illumination - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-41 => 81 of 115 - com.sonymobile.settings.logging - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-42 => 82 of 115 - com.sonymobile.settings.shakecontrol - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-44 => 83 of 115 - com.sonymobile.simlock.platform - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-45 => 84 of 115 - com.sonymobile.smime - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-46 => 85 of 115 - com.sonymobile.softreset - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-47 => 86 of 115 - com.sonymobile.tlextract - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-48 => 87 of 115 - com.sonymobile.tvout.wifidisplay - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-50 => 88 of 115 - com.sonymobile.tvout.wifidisplay_impl - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-51 => 89 of 115 - com.sonymobile.usbux - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-52 => 90 of 115 - content - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-54 => 91 of 115 - dpm - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-55 => 92 of 115 - ethernet-service - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-56 => 93 of 115 - ime - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-58 => 94 of 115 - input - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-23-59 => 95 of 115 - javax.btobex - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-24-00 => 96 of 115 - javax.obex - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-24-02 => 97 of 115 - media_cmd - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-24-03 => 98 of 115 - monkey - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-24-04 => 99 of 115 - org.kxml2.wap - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-24-05 => 100 of 115 - org.simalliance.openmobileapi - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-24-06 => 101 of 115 - pm - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-24-08 => 102 of 115 - qcnvitems - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-24-09 => 103 of 115 - qcrilhook - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-24-10 => 104 of 115 - qcsemcserviceif - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-24-12 => 105 of 115 - requestsync - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-24-13 => 106 of 115 - semcrilextension - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-24-14 => 107 of 115 - semc_audioeffectif - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-24-15 => 108 of 115 - semc_bootinfoif - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-24-16 => 109 of 115 - services - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-24-17 => 110 of 115 - settings - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-24-18 => 111 of 115 - svc - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-24-20 => 112 of 115 - techdatamanager - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-24-21 => 113 of 115 - uiautomator - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-24-22 => 114 of 115 - wifi-service - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-24-23 => 115 of 115 - wm - FAILED - Oat2Dex Conversion Failed
16-08-2016:19-24-23 => Odexed Boot Framework Apps Count: 21
16-08-2016:19-24-23 => Deodexing Boot Framework Apps
16-08-2016:19-24-24 => 1 of 21 - android.policy - SUCCESS
16-08-2016:19-24-25 => 2 of 21 - apache-xml - SUCCESS
16-08-2016:19-24-26 => 3 of 21 - bouncycastle - SUCCESS
16-08-2016:19-24-26 => 4 of 21 - com.sonyericsson.uxp - SUCCESS
16-08-2016:19-24-26 => 5 of 21 - conscrypt - SUCCESS
16-08-2016:19-24-26 => 6 of 21 - core-junit - SUCCESS
16-08-2016:19-24-28 => 7 of 21 - core-libart - SUCCESS
16-08-2016:19-24-29 => 8 of 21 - ext - SUCCESS
16-08-2016:19-24-34 => 9 of 21 - framework - SUCCESS
16-08-2016:19-24-34 => 10 of 21 - ims-common - SUCCESS
16-08-2016:19-24-34 => 11 of 21 - mms-common - SUCCESS
16-08-2016:19-24-34 => 12 of 21 - oem-services - SUCCESS
16-08-2016:19-24-34 => 13 of 21 - okhttp - SUCCESS
16-08-2016:19-24-35 => 14 of 21 - org.codeaurora.Performance - SUCCESS
16-08-2016:19-24-35 => 15 of 21 - qcmediaplayer - SUCCESS
16-08-2016:19-24-35 => 16 of 21 - qcom.fmradio - SUCCESS
16-08-2016:19-24-35 => 17 of 21 - tcmiface - SUCCESS
16-08-2016:19-24-36 => 18 of 21 - telephony-common - SUCCESS
16-08-2016:19-24-37 => 19 of 21 - vcard - SUCCESS
16-08-2016:19-24-37 => 20 of 21 - voip-common - SUCCESS
16-08-2016:19-24-37 => 21 of 21 - WfdCommon - SUCCESS
16-08-2016:19-24-40 => Deodexing Classes2 - SUCCESS
16-08-2016:19-24-40 => Deodexing Completed
commit c75b8a8 solved the problem with deodexing services.jar, but now is not deodexing files: com.lge.mdm.jar and wifi-service.jar from the framework folder, and have a lot from the errors as app and priv-app
attach folders app, priv-app, framework (odex), framework (deodex):
https://drive.google.com/file/d/0B2QhEXa2ySgkQ0FseEI4OWc2UDQ/view?usp=sharing
I pulled out a boot-framework.oat
from emulator with Android N image
adb pull system/framework/arm/boot-framework.oat
but getting DEX from it fails:
java -jar oat2dex/oat2dex.jar boot boot-framework.oat
Invalid dex magic
java.io.EOFException
at java.io.RandomAccessFile.readInt(Unknown Source)
at org.rh.smaliex.reader.DataReader.readInt(DataReader.java:87)
at org.rh.smaliex.reader.Oat$DexFile$Header.(Oat.java:168)
at org.rh.smaliex.reader.Oat$DexFile.(Oat.java:203)
at org.rh.smaliex.reader.Oat.(Oat.java:277)
at org.rh.smaliex.OatUtil.getOat(OatUtil.java:144)
at org.rh.smaliex.OatUtil.extractOdexFromOat(OatUtil.java:183)
at org.rh.smaliex.OatUtil.prepareOdex(OatUtil.java:123)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:112)
at org.rh.smaliex.Main.mainImpl(Main.java:113)
at org.rh.smaliex.Main.main(Main.java:54)Unhandled IOException: null
Is there anything I'm mussing or is it just an unsupported OAT format in Android N?
04-04 11:36:42:458 De-optimizing /system/framework/core-libart.jar
04-04 11:36:44:489 Analysis error in class=Landroid/icu/impl/URLHandler; method=
Method: Landroid/icu/impl/URLHandler;->()V
Opcode: invoke-virtual-quick
Code address: 67
Near line: 49
04-04 11:36:44:491 org.jf.dexlib2.analysis.AnalysisException: Invalid register type (Integer) for register v14.
at org.jf.dexlib2.analysis.MethodAnalyzer.checkRegister(MethodAnalyzer.java:2331)
at org.jf.dexlib2.analysis.MethodAnalyzer.getAndCheckSourceRegister(MethodAnalyzer.java:2316)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:2106)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1137)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:228)
...(Skip 25 traces)
at org.rh.smaliex.DexUtil$ODexRewriter.rewriteDexFile(DexUtil.java:342)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:269)
at org.rh.smaliex.OatUtil.oat2dex(OatUtil.java:134)
at org.rh.smaliex.Main.mainImpl(Main.java:128)
at org.rh.smaliex.Main.main(Main.java:54)
04-04 11:36:44:492 Failed to re-construct dex java.lang.ClassCastException: org.jf.dexlib2.analysis.UnresolvedOdexInstruction cannot be cast to org.jf.dexlib2.iface.instruction.formats.Instruction35ms
04-04 11:36:44:493 convertToDex: skip /system/framework/core-libart.jar
04-04 11:36:44:493 De-optimizing /system/framework/conscrypt.jar
04-04 11:36:45:503 Output to /root/AndroidStudioProjects/frm/conscrypt.dex
04-04 11:36:45:503 De-optimizing /system/framework/okhttp.jar
04-04 11:36:46:483 Output to /root/AndroidStudioProjects/frm/okhttp.dex
04-04 11:36:46:484 De-optimizing /system/framework/core-junit.jar
04-04 11:36:46:532 Output to /root/AndroidStudioProjects/frm/core-junit.dex
04-04 11:36:46:533 De-optimizing /system/framework/bouncycastle.jar
04-04 11:36:49:105 Output to /root/AndroidStudioProjects/frm/bouncycastle.dex
04-04 11:36:49:106 De-optimizing /system/framework/ext.jar
04-04 11:36:49:691 Analysis error in class=Lgov/nist/javax/sip/header/SIPHeaderNamesCache; method=
Method: Lgov/nist/javax/sip/header/SIPHeaderNamesCache;->()V
Opcode: invoke-virtual-quick
Code address: 25
Near line: 18
04-04 11:36:49:693 org.jf.dexlib2.analysis.AnalysisException: Invalid register type (Short) for register v6.
at org.jf.dexlib2.analysis.MethodAnalyzer.checkRegister(MethodAnalyzer.java:2331)
at org.jf.dexlib2.analysis.MethodAnalyzer.getAndCheckSourceRegister(MethodAnalyzer.java:2316)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:2106)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1137)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:228)
...(Skip 25 traces)
at org.rh.smaliex.DexUtil$ODexRewriter.rewriteDexFile(DexUtil.java:342)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:269)
at org.rh.smaliex.OatUtil.oat2dex(OatUtil.java:134)
at org.rh.smaliex.Main.mainImpl(Main.java:128)
at org.rh.smaliex.Main.main(Main.java:54)
04-04 11:36:49:693 Failed to re-construct dex java.lang.ClassCastException: org.jf.dexlib2.analysis.UnresolvedOdexInstruction cannot be cast to org.jf.dexlib2.iface.instruction.formats.Instruction35ms
04-04 11:36:49:694 convertToDex: skip /system/framework/ext.jar
04-04 11:36:49:694 De-optimizing /system/framework/framework.jar
04-04 11:36:52:121 Analysis error in class=Landroid/app/admin/DeviceAdminInfo; method=
Method: Landroid/app/admin/DeviceAdminInfo;->()V
Opcode: move-result-object
Code address: 248
Near line: 233
04-04 11:36:52:121 org.jf.dexlib2.analysis.AnalysisException: Invalid type: V
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:239)
at org.jf.dexlib2.analysis.MethodAnalyzer.(MethodAnalyzer.java:165)
at org.rh.smaliex.DexUtil$ODexRewriterModule$1$1.getInstructions(DexUtil.java:403)
at org.jf.dexlib2.immutable.ImmutableMethodImplementation.of(ImmutableMethodImplementation.java:84)
at org.jf.dexlib2.immutable.ImmutableMethod.(ImmutableMethod.java:72)
...(Skip 21 traces)
at org.rh.smaliex.DexUtil$ODexRewriter.rewriteDexFile(DexUtil.java:342)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:269)
at org.rh.smaliex.OatUtil.oat2dex(OatUtil.java:134)
at org.rh.smaliex.Main.mainImpl(Main.java:128)
at org.rh.smaliex.Main.main(Main.java:54)
04-04 11:36:52:122 Failed to re-construct dex java.lang.ClassCastException: org.jf.dexlib2.analysis.UnresolvedOdexInstruction cannot be cast to org.jf.dexlib2.iface.instruction.formats.Instruction22cs
04-04 11:36:52:123 convertToDex: skip /system/framework/framework.jar
04-04 11:36:52:123 De-optimizing /system/framework/framework.jar:classes2.dex
04-04 11:36:56:169 Analysis error in class=Lcom/motorola/android/util/SystemUpdatesXMLParser; method=
Method: Lcom/motorola/android/util/SystemUpdatesXMLParser;->()V
Opcode: invoke-virtual-quick
Code address: 9
Near line: 82
04-04 11:36:56:170 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the method in class unknown at index 56, objReg=0
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:2192)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1137)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:228)
at org.jf.dexlib2.analysis.MethodAnalyzer.(MethodAnalyzer.java:165)
at org.rh.smaliex.DexUtil$ODexRewriterModule$1$1.getInstructions(DexUtil.java:403)
...(Skip 23 traces)
at org.rh.smaliex.DexUtil$ODexRewriter.rewriteDexFile(DexUtil.java:342)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:269)
at org.rh.smaliex.OatUtil.oat2dex(OatUtil.java:134)
at org.rh.smaliex.Main.mainImpl(Main.java:128)
at org.rh.smaliex.Main.main(Main.java:54)
04-04 11:36:56:170 Failed to re-construct dex java.lang.ClassCastException
04-04 11:36:56:170 convertToDex: skip /system/framework/framework.jar:classes2.dex
04-04 11:36:56:171 De-optimizing /system/framework/telephony-common.jar
04-04 11:36:56:815 Analysis error in class=Lcom/android/internal/telephony/cdma/CdmaServiceStateTracker; method=dump
Method: Lcom/android/internal/telephony/cdma/CdmaServiceStateTracker;->dump(Ljava/io/FileDescriptor;Ljava/io/PrintWriter;[Ljava/lang/String;)V
Opcode: iget-boolean-quick
Code address: 199
Near line: 2326
04-04 11:36:56:816 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the field in class (Null) at offset 286 in dump
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeIputIgetQuick(MethodAnalyzer.java:2044)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1134)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:228)
at org.jf.dexlib2.analysis.MethodAnalyzer.(MethodAnalyzer.java:165)
at org.rh.smaliex.DexUtil$ODexRewriterModule$1$1.getInstructions(DexUtil.java:403)
...(Skip 23 traces)
at org.rh.smaliex.DexUtil$ODexRewriter.rewriteDexFile(DexUtil.java:342)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:269)
at org.rh.smaliex.OatUtil.oat2dex(OatUtil.java:134)
at org.rh.smaliex.Main.mainImpl(Main.java:128)
at org.rh.smaliex.Main.main(Main.java:54)
04-04 11:36:56:817 Failed to re-construct dex java.lang.ClassCastException: org.jf.dexlib2.analysis.UnresolvedOdexInstruction cannot be cast to org.jf.dexlib2.iface.instruction.formats.Instruction22cs
04-04 11:36:56:817 convertToDex: skip /system/framework/telephony-common.jar
04-04 11:36:56:818 De-optimizing /system/framework/voip-common.jar
04-04 11:36:57:047 Output to /root/AndroidStudioProjects/frm/voip-common.dex
04-04 11:36:57:047 De-optimizing /system/framework/ims-common.jar
04-04 11:36:57:185 Output to /root/AndroidStudioProjects/frm/ims-common.dex
04-04 11:36:57:186 De-optimizing /system/framework/apache-xml.jar
04-04 11:36:58:038 Analysis error in class=Lorg/apache/xml/utils/Context2; method=
Method: Lorg/apache/xml/utils/Context2;->()V
Opcode: move-result-object
Code address: 8
Near line: 451
04-04 11:36:58:038 org.jf.dexlib2.analysis.AnalysisException: Invalid type: V
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:239)
at org.jf.dexlib2.analysis.MethodAnalyzer.(MethodAnalyzer.java:165)
at org.rh.smaliex.DexUtil$ODexRewriterModule$1$1.getInstructions(DexUtil.java:403)
at org.jf.dexlib2.immutable.ImmutableMethodImplementation.of(ImmutableMethodImplementation.java:84)
at org.jf.dexlib2.immutable.ImmutableMethod.(ImmutableMethod.java:72)
...(Skip 21 traces)
at org.rh.smaliex.DexUtil$ODexRewriter.rewriteDexFile(DexUtil.java:342)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:269)
at org.rh.smaliex.OatUtil.oat2dex(OatUtil.java:134)
at org.rh.smaliex.Main.mainImpl(Main.java:128)
at org.rh.smaliex.Main.main(Main.java:54)
04-04 11:36:59:034 Output to /root/AndroidStudioProjects/frm/apache-xml.dex
04-04 11:36:59:034 De-optimizing /system/framework/org.apache.http.legacy.boot.jar
04-04 11:36:59:744 Output to /root/AndroidStudioProjects/frm/org.apache.http.legacy.boot.dex
Hi
I am trying to deodex my stock 5.1.1 but it is failing
This was the output http://pastebin.com/hztmd4Pd
I've also tried Joeldroid tool it says Oat2Dex Conversion Failed in all apps and jar
02-27 18:08:49:574 Art version=79 (Dialer.odex)
02-27 18:08:49:583 De-optimizing /system/priv-app/Dialer/Dialer.apk
02-27 18:08:50:888 Analysis error in class=Lcom/android/dialer/calllog/CallLogAsyncTaskUtil$CallDetailQuery; method=
Method: Lcom/android/dialer/calllog/CallLogAsyncTaskUtil$CallDetailQuery;->()V
Near line: 127 (address 128)
Instructions:
[56] const-string/jumbo regA=1
[57] invoke-virtual-quick regC=0 regD=1
[58] invoke-virtual-quick regC=0 <-----
[59] invoke-virtual-quick regC=0
[60] move-result regA=1
02-27 18:08:50:891 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the method in class unknown at index 44, objReg=0
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:2612)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1248)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:259)
at org.jf.dexlib2.analysis.MethodAnalyzer.(MethodAnalyzer.java:190)
at org.rh.smaliex.DexUtil$ODexRewriterModule$1$1.getInstructions(DexUtil.java:505)
...(Skip 24 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:321)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:244)
at org.rh.smaliex.OatUtil.oat2dex(OatUtil.java:146)
at org.rh.smaliex.Main.mainImpl(Main.java:122)
at org.rh.smaliex.Main.main(Main.java:42)
02-27 18:08:50:893 Failed to re-construct dex java.lang.ClassCastException: org.jf.dexlib2.analysis.UnresolvedOdexInstruction cannot be cast to org.jf.dexlib2.iface.instruction.formats.Instruction35ms
02-27 18:08:50:895 convertToDex: skip /system/priv-app/Dialer/Dialer.apk
While deodexing hammerhead M preview 1.
07-13 12:47:03:224 Preparing bootclasspath from /home/aaahh/deodex/system/framework/arm/odex
07-13 12:47:03:501 De-optimizing /system/framework/core-libart.jar
07-13 12:47:05:818 Analysis info of Landroid/icu/impl/PluralRulesLoader; : :
Unresolved INVOKE_VIRTUAL_QUICK_ART mIdx=16 objReg=3, use Ljava/lang/String; to invoke (it may have exception but is expected)
07-13 12:47:26:445 Output to /home/aaahh/deodex/system/framework/arm/dex/core-libart.dex
Used command:
java -jar oat2dex.jar boot system/framework/arm/boot.oat
Android 6.0.1
java -jar oat2dex.jar boot boot.oat
10-14 24:48:46:416 java.io.IOException: Error at boot.oat
at org.rh.smaliex.OatUtil.extractOdexFromOat(OatUtil.java:219)
at org.rh.smaliex.OatUtil.prepareOdex(OatUtil.java:136)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:123)
at org.rh.smaliex.Main.mainImpl(Main.java:101)
at org.rh.smaliex.Main.main(Main.java:42)
Suppressed: java.io.EOFException
at java.io.RandomAccessFile.readInt(RandomAccessFile.java:803)
at org.rh.smaliex.reader.DataReader.readInt(DataReader.java:75)
at org.rh.smaliex.reader.Elf.(Elf.java:412)
at org.rh.smaliex.OatUtil.extractOdexFromOat(OatUtil.java:206)
... 4 more
Unhandled IOException: Error at boot.oat
@testwhat
I tried the latest release to deodex android N but it failed especially during use command:
oat2dex boot framework/arm64
also tried single file and the same problem it gets the raw dex file but failed on the really dex file
the rom is for Nexus 6
I used the latest version that compiled including baksmali 2.2b3
10-07 17:32:56:802 Output raw dex: D:\framework\arm64-odex\apache-xml.dex
10-07 17:32:56:810 Output raw dex: D:\framework\arm64-odex\bouncycastle.dex
10-07 17:32:56:816 Output raw dex: D:\framework\arm64-odex\conscrypt.dex
10-07 17:32:56:822 Output raw dex: D:\framework\arm64-odex\core-junit.dex
10-07 17:32:56:830 Output raw dex: D:\framework\arm64-odex\core-libart.dex
10-07 17:32:56:837 Output raw dex: D:\framework\arm64-odex\ext.dex
10-07 17:32:56:851 Output raw dex: D:\framework\arm64-odex\framework.dex
10-07 17:32:56:860 Output raw dex: D:\framework\arm64-odex\framework-classes2.dex
10-07 17:32:56:866 Output raw dex: D:\framework\arm64-odex\ims-common.dex
10-07 17:32:56:875 Output raw dex: D:\framework\arm64-odex\okhttp.dex
10-07 17:32:56:882 Output raw dex: D:\framework\arm64-odex\org.apache.http.legacy.boot.dex
10-07 17:32:56:890 Output raw dex: D:\framework\arm64-odex\telephony-common.dex
10-07 17:32:56:896 Output raw dex: D:\framework\arm64-odex\voip-common.dex
10-07 17:32:56:905 Output raw dex: D:\framework\arm64-odex\core-oj.dex
10-07 17:32:57:128 Art version=79 (D:\framework\arm64\boot-apache-xml.oat)
10-07 17:32:57:130 De-optimizing /system/framework/apache-xml.jaraddred# public abstract java.lang.String toString()
addred# public default java.util.Spliterator spliterator()
addred# public abstract int hashCode()
10-07 17:33:22:017 Analysis error in class=Lorg/apache/xalan/transformer/TransformerImpl; method=transform
Method: Lorg/apache/xalan/transformer/TransformerImpl;->transform(Ljavax/xml/transform/Source;Z)V
Near line: 571 (address 98)
Instructions:
[44] invoke-virtual-quick regC=4
[45] move-result-object regA=4
[46] invoke-virtual-quick regC=3 regD=4 <-----
[47] move-result-object regA=3
[48] invoke-virtual-quick regC=3
10-07 17:33:22:018 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the method in class unknown at index 78, objReg=3
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:2590)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1257)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:258)
at org.jf.dexlib2.analysis.MethodAnalyzer.(MethodAnalyzer.java:189)
at org.rh.smaliex.DexUtil$ODexRewriterModule$1$1.getInstructions(DexUtil.java:422)
...(Skip 24 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:314)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:239)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:127)
at org.rh.smaliex.Main.mainImpl(Main.java:101)
at org.rh.smaliex.Main.main(Main.java:42)
10-07 17:33:22:018 Failed to re-construct dex java.lang.ClassCastException: org.jf.dexlib2.analysis.UnresolvedOdexInstruction cannot be cast to org.jf.dexlib2.iface.instruction.formats.Instruction35ms
10-07 17:33:22:018 convertToDex: skip /system/framework/apache-xml.jar
the error log listed is for one oat only and all the rest are the same error
Note: using smali & baksmali 2.2b3 manually works fine!!
Any help please?
using latest 0.88 snapshot-s to deodex seems to always output dex file version 037 no matter what api version is specified/detected.
example:
$ java -jar ~/Downloads/oat2dex-0.88.jar -a 22 Settings.odex odex
10-25 23:35:36:209 Art version=45 (Settings.odex)
10-25 23:35:36:214 De-optimizing /system/priv-app/Settings/Settings.apk
10-25 23:35:38:409 Output to /home/nnnn20430/lg/Settings/Settings.dex
$ file Settings.dex
Settings.dex: Dalvik dex file version 037
using older 0.87 version:
$ java -jar ~/Downloads/oat2dex-0.87.jar -a 22 Settings.odex odex
10-25 23:37:12:705 Art version=45 (Settings.odex)
10-25 23:37:12:709 De-optimizing /system/priv-app/Settings/Settings.apk
10-25 23:37:14:742 Output to /home/nnnn20430/lg/Settings/Settings.dex
$ file Settings.dex
Settings.dex: Dalvik dex file version 035
Hi..
How to update built in smali/baksmali to the latest in oat2dex?
just update /smali branch of this repo and build new oat2dex..?
currently there is 2.0.8 and latest released is 2.1.2...
thank you
12-29 02:43:32:132 De-optimizing /system/app/SamsungIMEv3/SamsungIMEv3.apk
12-29 02:43:33:649 Analysis error in class=Lcom/myscript/atk/sltw/d/a/e; method=b
Method: Lcom/myscript/atk/sltw/d/a/e;->b(Ljava/util/List;Ljava/util/List;)I
Opcode: invoke-virtual-quick
Code address: 52
Near line: 954
12-29 02:43:33:654 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the method in class unknown at index 1, objReg=9
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:2191)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1137)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:228)
at org.jf.dexlib2.analysis.MethodAnalyzer.(MethodAnalyzer.java:165)
at org.rh.smaliex.DexUtil$ODexRewriterModule$1$1.getInstructions(DexUtil.java:402)
...(Skip 23 traces)
at org.rh.smaliex.DexUtil$ODexRewriter.rewriteDexFile(DexUtil.java:342)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:269)
at org.rh.smaliex.OatUtil.oat2dex(OatUtil.java:134)
at org.rh.smaliex.Main.mainImpl(Main.java:128)
at org.rh.smaliex.Main.main(Main.java:54)
12-29 02:43:33:655 Analysis error in class=Lcom/myscript/atk/sltw/d/a/e; method=c
Method: Lcom/myscript/atk/sltw/d/a/e;->c(Ljava/util/List;Ljava/util/List;)I
Opcode: invoke-virtual-quick
Code address: 62
Near line: 996
12-29 02:43:33:655 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the method in class unknown at index 1, objReg=10
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:2191)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1137)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:228)
at org.jf.dexlib2.analysis.MethodAnalyzer.(MethodAnalyzer.java:165)
at org.rh.smaliex.DexUtil$ODexRewriterModule$1$1.getInstructions(DexUtil.java:402)
...(Skip 23 traces)
at org.rh.smaliex.DexUtil$ODexRewriter.rewriteDexFile(DexUtil.java:342)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:269)
at org.rh.smaliex.OatUtil.oat2dex(OatUtil.java:134)
at org.rh.smaliex.Main.mainImpl(Main.java:128)
at org.rh.smaliex.Main.main(Main.java:54)
12-29 02:43:45:131 Output to /home/svan/android/superrs-kitchen2/superr_T813/system/app/SamsungIMEv3/oat/arm64/SamsungIMEv3.dex
Hi,
when trying to deodex the following APKs from the latest Fugu image ( https://dl.google.com/dl/android/aosp/fugu-mmb29v-factory-2db4c688.tgz )
oat2dex fails at the following apps (that were actually correctly deodexable on the lollipop images):
The Android version is:
[ro.build.version.release]: [6.0.1]
oat2dex oat/arm64/services.odex arm64/boot.oat
04-16 18:38:11:776 Art version=64 (oat/arm64/services.odex)
04-16 18:38:11:783 De-optimizing /system/framework/services.jar
04-16 18:38:13:263 Analysis error in class=Lcom/android/server/am/ActivityManagerService; method=dumpHeap
Method: Lcom/android/server/am/ActivityManagerService;->dumpHeap(Ljava/lang/String;IZLjava/lang/String;Landroid/os/ParcelFileDescriptor;)Z
Near line: 20008 (address 142)
Instructions:
[72] monitor-exit regA=6
[73] if-eqz regA=11
[74] invoke-virtual-quick regC=11 <-----
[75] return regA=3
[76] move-exception regA=4
04-16 18:38:13:263 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the method in class unknown at index 13, objReg=11
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:2582)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1271)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:259)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:190)
at org.rh.smaliex.deopt.OdexRewriter$OdexRewriterModule$1$1.getInstructions(OdexRewriter.java:232)
...(Skip 24 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:271)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:192)
at org.rh.smaliex.OatUtil.oat2dex(OatUtil.java:81)
at org.rh.smaliex.Main.mainImpl(Main.java:127)
at org.rh.smaliex.Main.main(Main.java:43)
04-16 18:38:13:264 Failed to re-construct dex java.lang.ClassCastException: org.jf.dexlib2.analysis.UnresolvedOdexInstruction cannot be cast to org.jf.dexlib2.iface.instruction.formats.Instruction35ms
04-16 18:38:13:264 convertToDex: skip /system/framework/services.jar
Version:
oat2dex
Easy oat2dex 0.90
Usage:
java -jar oat2dex.jar [options] <action>
[options]
Api level: -a <integer>
Output folder: -o <folder path>
Print detail : -v
<action>
Get dex of boot(.oat) : boot <boot.oat/boot-folder>
Get dex (de-optimize) : <oat/odex file> <boot-class-folder>
<vdex file>
Get raw odex : odex <oat/odex/vdex file>
Get raw odex smali : smali <oat/odex/vdex file>
Deodex framework (exp): devfw [empty or path of /system/framework/]
boot.oat and services.odex:
https://www.dropbox.com/s/rjt98vrwcbippys/Sony_M4_Aqua_Dual_26.3.B.0.131_deodex_problem_files.zip?dl=1
➜ smaliex-bin git:(master) java -jar oat2dex.jar devfw
11-23 05:05:11:395 Preparing boot jars from nubia-nx627j-0123456789ABCDEF
11-23 05:05:11:464 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-QPerformance.art.rel, skip pull boot-QPerformance.art.rel
11-23 05:05:11:464 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-QPerformance.oat, skip pull boot-QPerformance.oat
11-23 05:05:11:464 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-QPerformance.vdex, skip pull boot-QPerformance.vdex
11-23 05:05:11:465 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-UxPerformance.art.rel, skip pull boot-UxPerformance.art.rel
11-23 05:05:11:465 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-UxPerformance.oat, skip pull boot-UxPerformance.oat
11-23 05:05:11:465 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-UxPerformance.vdex, skip pull boot-UxPerformance.vdex
11-23 05:05:11:465 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-WfdCommon.art.rel, skip pull boot-WfdCommon.art.rel
11-23 05:05:11:465 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-WfdCommon.oat, skip pull boot-WfdCommon.oat
11-23 05:05:11:465 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-WfdCommon.vdex, skip pull boot-WfdCommon.vdex
11-23 05:05:11:465 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-android.hidl.base-V1.0-java.art.rel, skip pull boot-android.hidl.base-V1.0-java.art.rel
11-23 05:05:11:466 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-android.hidl.base-V1.0-java.oat, skip pull boot-android.hidl.base-V1.0-java.oat
11-23 05:05:11:466 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-android.hidl.base-V1.0-java.vdex, skip pull boot-android.hidl.base-V1.0-java.vdex
11-23 05:05:11:466 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-android.hidl.manager-V1.0-java.art.rel, skip pull boot-android.hidl.manager-V1.0-java.art.rel
11-23 05:05:11:466 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-android.hidl.manager-V1.0-java.oat, skip pull boot-android.hidl.manager-V1.0-java.oat
11-23 05:05:11:466 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-android.hidl.manager-V1.0-java.vdex, skip pull boot-android.hidl.manager-V1.0-java.vdex
11-23 05:05:11:466 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-android.test.base.art.rel, skip pull boot-android.test.base.art.rel
11-23 05:05:11:466 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-android.test.base.oat, skip pull boot-android.test.base.oat
11-23 05:05:11:466 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-android.test.base.vdex, skip pull boot-android.test.base.vdex
11-23 05:05:11:467 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-apache-xml.art.rel, skip pull boot-apache-xml.art.rel
11-23 05:05:11:467 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-apache-xml.oat, skip pull boot-apache-xml.oat
11-23 05:05:11:467 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-apache-xml.vdex, skip pull boot-apache-xml.vdex
11-23 05:05:11:467 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-bouncycastle.art.rel, skip pull boot-bouncycastle.art.rel
11-23 05:05:11:467 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-bouncycastle.oat, skip pull boot-bouncycastle.oat
11-23 05:05:11:467 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-bouncycastle.vdex, skip pull boot-bouncycastle.vdex
11-23 05:05:11:467 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-com.qualcomm.qti.camera.art.rel, skip pull boot-com.qualcomm.qti.camera.art.rel
11-23 05:05:11:467 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-com.qualcomm.qti.camera.oat, skip pull boot-com.qualcomm.qti.camera.oat
11-23 05:05:11:468 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-com.qualcomm.qti.camera.vdex, skip pull boot-com.qualcomm.qti.camera.vdex
11-23 05:05:11:468 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-conscrypt.art.rel, skip pull boot-conscrypt.art.rel
11-23 05:05:11:468 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-conscrypt.oat, skip pull boot-conscrypt.oat
11-23 05:05:11:468 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-conscrypt.vdex, skip pull boot-conscrypt.vdex
11-23 05:05:11:468 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-core-libart.art.rel, skip pull boot-core-libart.art.rel
11-23 05:05:11:468 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-core-libart.oat, skip pull boot-core-libart.oat
11-23 05:05:11:468 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-core-libart.vdex, skip pull boot-core-libart.vdex
11-23 05:05:11:469 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-core-oj.art.rel, skip pull boot-core-oj.art.rel
11-23 05:05:11:469 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-core-oj.oat, skip pull boot-core-oj.oat
11-23 05:05:11:469 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-core-oj.vdex, skip pull boot-core-oj.vdex
11-23 05:05:11:469 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-ext.art.rel, skip pull boot-ext.art.rel
11-23 05:05:11:469 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-ext.oat, skip pull boot-ext.oat
11-23 05:05:11:469 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-ext.vdex, skip pull boot-ext.vdex
11-23 05:05:11:469 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-framework-oahl-backward-compatibility.art.rel, skip pull boot-framework-oahl-backward-compatibility.art.rel
11-23 05:05:11:469 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-framework-oahl-backward-compatibility.oat, skip pull boot-framework-oahl-backward-compatibility.oat
11-23 05:05:11:470 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-framework-oahl-backward-compatibility.vdex, skip pull boot-framework-oahl-backward-compatibility.vdex
11-23 05:05:11:470 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-framework.art.rel, skip pull boot-framework.art.rel
11-23 05:05:11:470 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-framework.oat, skip pull boot-framework.oat
11-23 05:05:11:470 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-framework.vdex, skip pull boot-framework.vdex
11-23 05:05:11:470 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-gesture.art.rel, skip pull boot-gesture.art.rel
11-23 05:05:11:470 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-gesture.oat, skip pull boot-gesture.oat
11-23 05:05:11:470 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-gesture.vdex, skip pull boot-gesture.vdex
11-23 05:05:11:470 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-ifaa_fingerprint.art.rel, skip pull boot-ifaa_fingerprint.art.rel
11-23 05:05:11:470 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-ifaa_fingerprint.oat, skip pull boot-ifaa_fingerprint.oat
11-23 05:05:11:471 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-ifaa_fingerprint.vdex, skip pull boot-ifaa_fingerprint.vdex
11-23 05:05:11:471 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-ims-common.art.rel, skip pull boot-ims-common.art.rel
11-23 05:05:11:471 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-ims-common.oat, skip pull boot-ims-common.oat
11-23 05:05:11:471 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-ims-common.vdex, skip pull boot-ims-common.vdex
11-23 05:05:11:471 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-nubia-vibrate.art.rel, skip pull boot-nubia-vibrate.art.rel
11-23 05:05:11:471 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-nubia-vibrate.oat, skip pull boot-nubia-vibrate.oat
11-23 05:05:11:471 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-nubia-vibrate.vdex, skip pull boot-nubia-vibrate.vdex
11-23 05:05:11:471 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-nubiatel-common.art.rel, skip pull boot-nubiatel-common.art.rel
11-23 05:05:11:472 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-nubiatel-common.oat, skip pull boot-nubiatel-common.oat
11-23 05:05:11:472 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-nubiatel-common.vdex, skip pull boot-nubiatel-common.vdex
11-23 05:05:11:472 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-okhttp.art.rel, skip pull boot-okhttp.art.rel
11-23 05:05:11:472 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-okhttp.oat, skip pull boot-okhttp.oat
11-23 05:05:11:472 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-okhttp.vdex, skip pull boot-okhttp.vdex
11-23 05:05:11:472 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-tcmiface.art.rel, skip pull boot-tcmiface.art.rel
11-23 05:05:11:472 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-tcmiface.oat, skip pull boot-tcmiface.oat
11-23 05:05:11:472 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-tcmiface.vdex, skip pull boot-tcmiface.vdex
11-23 05:05:11:473 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-telephony-common.art.rel, skip pull boot-telephony-common.art.rel
11-23 05:05:11:473 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-telephony-common.oat, skip pull boot-telephony-common.oat
11-23 05:05:11:473 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-telephony-common.vdex, skip pull boot-telephony-common.vdex
11-23 05:05:11:473 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-telephony-ext.art.rel, skip pull boot-telephony-ext.art.rel
11-23 05:05:11:473 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-telephony-ext.oat, skip pull boot-telephony-ext.oat
11-23 05:05:11:473 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-telephony-ext.vdex, skip pull boot-telephony-ext.vdex
11-23 05:05:11:473 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-telephony-static-config.art.rel, skip pull boot-telephony-static-config.art.rel
11-23 05:05:11:473 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-telephony-static-config.oat, skip pull boot-telephony-static-config.oat
11-23 05:05:11:473 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-telephony-static-config.vdex, skip pull boot-telephony-static-config.vdex
11-23 05:05:11:474 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-voip-common.art.rel, skip pull boot-voip-common.art.rel
11-23 05:05:11:474 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-voip-common.oat, skip pull boot-voip-common.oat
11-23 05:05:11:474 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot-voip-common.vdex, skip pull boot-voip-common.vdex
11-23 05:05:11:474 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot.art.rel, skip pull boot.art.rel
11-23 05:05:11:474 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot.oat, skip pull boot.oat
11-23 05:05:11:474 Found /home/flowertome/SmaliEx/smaliex-bin/boot-raw/boot.vdex, skip pull boot.vdex
11-23 05:05:11:474 Found /home/flowertome/SmaliEx/smaliex-bin/boot-jar-original/qcom.fmradio.jar, skip pull /system/framework/qcom.fmradio.jar
11-23 05:05:11:474 Found /home/flowertome/SmaliEx/smaliex-bin/boot-jar-original/com.qualcomm.qti.camera.jar, skip pull /system/framework/com.qualcomm.qti.camera.jar
11-23 05:05:11:474 Found /home/flowertome/SmaliEx/smaliex-bin/boot-jar-original/QPerformance.jar, skip pull /system/framework/QPerformance.jar
11-23 05:05:11:475 Found /home/flowertome/SmaliEx/smaliex-bin/boot-jar-original/UxPerformance.jar, skip pull /system/framework/UxPerformance.jar
11-23 05:05:11:475 Found /home/flowertome/SmaliEx/smaliex-bin/boot-jar-original/core-oj.jar, skip pull /system/framework/core-oj.jar
11-23 05:05:11:475 Found /home/flowertome/SmaliEx/smaliex-bin/boot-jar-original/core-libart.jar, skip pull /system/framework/core-libart.jar
11-23 05:05:11:475 Found /home/flowertome/SmaliEx/smaliex-bin/boot-jar-original/conscrypt.jar, skip pull /system/framework/conscrypt.jar
11-23 05:05:11:475 Found /home/flowertome/SmaliEx/smaliex-bin/boot-jar-original/okhttp.jar, skip pull /system/framework/okhttp.jar
11-23 05:05:11:475 Found /home/flowertome/SmaliEx/smaliex-bin/boot-jar-original/bouncycastle.jar, skip pull /system/framework/bouncycastle.jar
11-23 05:05:11:475 Found /home/flowertome/SmaliEx/smaliex-bin/boot-jar-original/apache-xml.jar, skip pull /system/framework/apache-xml.jar
11-23 05:05:11:476 Found /home/flowertome/SmaliEx/smaliex-bin/boot-jar-original/ext.jar, skip pull /system/framework/ext.jar
11-23 05:05:11:476 Found /home/flowertome/SmaliEx/smaliex-bin/boot-jar-original/framework.jar, skip pull /system/framework/framework.jar
11-23 05:05:11:476 Found /home/flowertome/SmaliEx/smaliex-bin/boot-jar-original/telephony-common.jar, skip pull /system/framework/telephony-common.jar
11-23 05:05:11:476 Found /home/flowertome/SmaliEx/smaliex-bin/boot-jar-original/voip-common.jar, skip pull /system/framework/voip-common.jar
11-23 05:05:11:476 Found /home/flowertome/SmaliEx/smaliex-bin/boot-jar-original/ims-common.jar, skip pull /system/framework/ims-common.jar
11-23 05:05:11:476 Found /home/flowertome/SmaliEx/smaliex-bin/boot-jar-original/android.hidl.base-V1.0-java.jar, skip pull /system/framework/android.hidl.base-V1.0-java.jar
11-23 05:05:11:476 Found /home/flowertome/SmaliEx/smaliex-bin/boot-jar-original/android.hidl.manager-V1.0-java.jar, skip pull /system/framework/android.hidl.manager-V1.0-java.jar
11-23 05:05:11:476 Found /home/flowertome/SmaliEx/smaliex-bin/boot-jar-original/framework-oahl-backward-compatibility.jar, skip pull /system/framework/framework-oahl-backward-compatibility.jar
11-23 05:05:11:477 Found /home/flowertome/SmaliEx/smaliex-bin/boot-jar-original/android.test.base.jar, skip pull /system/framework/android.test.base.jar
11-23 05:05:11:477 Found /home/flowertome/SmaliEx/smaliex-bin/boot-jar-original/tcmiface.jar, skip pull /system/framework/tcmiface.jar
11-23 05:05:11:477 Found /home/flowertome/SmaliEx/smaliex-bin/boot-jar-original/telephony-ext.jar, skip pull /system/framework/telephony-ext.jar
11-23 05:05:11:477 Found /home/flowertome/SmaliEx/smaliex-bin/boot-jar-original/WfdCommon.jar, skip pull /system/framework/WfdCommon.jar
11-23 05:05:11:477 Found /home/flowertome/SmaliEx/smaliex-bin/boot-jar-original/ifaa_fingerprint.jar, skip pull /system/framework/ifaa_fingerprint.jar
11-23 05:05:11:477 Found /home/flowertome/SmaliEx/smaliex-bin/boot-jar-original/nubiatel-common.jar, skip pull /system/framework/nubiatel-common.jar
11-23 05:05:11:477 Found /home/flowertome/SmaliEx/smaliex-bin/boot-jar-original/nubia-vibrate.jar, skip pull /system/framework/nubia-vibrate.jar
11-23 05:05:11:477 Found /home/flowertome/SmaliEx/smaliex-bin/boot-jar-original/telephony-static-config.jar, skip pull /system/framework/telephony-static-config.jar
11-23 05:05:11:478 Found /home/flowertome/SmaliEx/smaliex-bin/boot-jar-original/gesture.jar, skip pull /system/framework/gesture.jar
11-23 05:05:11:491 java.lang.IllegalArgumentException
at java.nio.Buffer.position(Buffer.java:244)
at org.rh.smaliex.reader.DataReader.position(DataReader.java:61)
at org.rh.smaliex.reader.DataReader.seek(DataReader.java:57)
at org.rh.smaliex.reader.Oat.(Oat.java:210)
at org.rh.smaliex.OatUtil.getOat(OatUtil.java:91)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:190)
at org.rh.smaliex.OatUtil.bootOat2Jar(OatUtil.java:63)
at org.rh.smaliex.DeodexFrameworkFromDevice.generateBootJar(DeodexFrameworkFromDevice.java:373)
at org.rh.smaliex.DeodexFrameworkFromDevice.deOptimizeFramework(DeodexFrameworkFromDevice.java:263)
at org.rh.smaliex.DeodexFrameworkFromDevice$1.run(DeodexFrameworkFromDevice.java:79)
at org.rh.smaliex.AdbUtil$2.deviceConnected(AdbUtil.java:161)
at com.android.ddmlib.AndroidDebugBridge.deviceConnected(AndroidDebugBridge.java:678)
at com.android.ddmlib.DeviceMonitor.updateDevices(DeviceMonitor.java:148)
at com.android.ddmlib.DeviceMonitor.access$300(DeviceMonitor.java:40)
at com.android.ddmlib.DeviceMonitor$DeviceListUpdateListener.deviceListUpdate(DeviceMonitor.java:230)
at com.android.ddmlib.DeviceMonitor$DeviceListMonitorTask.processIncomingDeviceData(DeviceMonitor.java:417)
at com.android.ddmlib.DeviceMonitor$DeviceListMonitorTask.run(DeviceMonitor.java:353)
at java.lang.Thread.run(Thread.java:748)
I have seen the issue #19 , but it still throws Exception:
D:\TryDeodex>java -jar oat2dex.jar boot boot.oat
08-11 20:32:10:750 Invalid dex version dex
08-11 20:32:10:771 Output raw dex: D:\TryDeodex\odex\core-oj.dex
08-11 20:32:10:774 Invalid dex version dex
Exception in thread "main" org.jf.dexlib2.dexbacked.DexBackedDexFile$NotADexFile: Invalid magic value: 64 65 78 0a 30 33 37 00
at org.jf.dexlib2.dexbacked.DexBackedDexFile.verifyMagicAndByteOrder(DexBackedDexFile.java:151)
at org.jf.dexlib2.dexbacked.DexBackedDexFile.<init>(DexBackedDexFile.java:70)
at org.jf.dexlib2.dexbacked.DexBackedDexFile.<init>(DexBackedDexFile.java:96)
at org.rh.smaliex.DexUtil.loadSingleDex(DexUtil.java:91)
at org.rh.smaliex.DexUtil.loadMultiDex(DexUtil.java:108)
at org.rh.smaliex.DexUtil.getClassPath(DexUtil.java:163)
at org.rh.smaliex.DexUtil$ODexRewriterModule.<init>(DexUtil.java:406)
at org.rh.smaliex.DexUtil$ODexRewriterModule.<init>(DexUtil.java:410)
at org.rh.smaliex.DexUtil.getODexRewriter(DexUtil.java:348)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:300)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:246)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:134)
at org.rh.smaliex.Main.mainImpl(Main.java:113)
at org.rh.smaliex.Main.main(Main.java:54)
commit ce54c59 solves a lot of problems, but some still remained
I attach folder framework and problematic app and priv-app
https://drive.google.com/a/citymasseurs.ru/file/d/0B2QhEXa2ySgkVzBOQkgxUk13T1U/view?usp=sharing
and log
log_deodex.txt
I receive the following error when deoptimising a specific application from the Honor 7 (5.0.2):
(freshly built SmaliEx today)
09-28 15:05:59:971 Preparing bootclasspath from /var/bigdisk/h7/framework/arm64/odex
09-28 15:06:00:087 De-optimizing /system/app/HwWiFiDirect/HwWiFiDirect.apk
09-28 15:06:00:370 Analysis info of Lcom/huawei/android/wfdft/ftc/service/FTCService; : <clinit>:
UnresolvedOdexInstruction INVOKE_VIRTUAL_QUICK_ART Format35ms i=57
09-28 15:06:00:370 Analysis error in class=Lcom/huawei/android/wfdft/ftc/service/FTCService; method=<clinit>
Method: Lcom/huawei/android/wfdft/ftc/service/FTCService;-><clinit>()V
Opcode: invoke-virtual-quick
Code address: 114
Near line: 182
09-28 15:06:00:371 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the method in class Ljava/lang/Object; at index 14, objReg=2
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:1809)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:994)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:211)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:149)
at org.rh.smaliex.OatUtil$OatDexRewriterModule$1$1.getInstructions(OatUtil.java:592)
at org.jf.dexlib2.immutable.ImmutableMethodImplementation.of(ImmutableMethodImplementation.java:84)
at org.jf.dexlib2.immutable.ImmutableMethod.<init>(ImmutableMethod.java:72)
at org.jf.dexlib2.immutable.ImmutableMethod.of(ImmutableMethod.java:102)
at org.jf.dexlib2.immutable.ImmutableMethod$1.makeImmutable(ImmutableMethod.java:129)
at org.jf.dexlib2.immutable.ImmutableMethod$1.makeImmutable(ImmutableMethod.java:120)
at org.jf.util.ImmutableConverter$3.next(ImmutableConverter.java:139)
at com.google.common.collect.ImmutableCollection$Builder.addAll(ImmutableCollection.java:301)
at com.google.common.collect.ImmutableSet$Builder.addAll(ImmutableSet.java:522)
at com.google.common.collect.ImmutableSortedSet$Builder.addAll(ImmutableSortedSet.java:551)
at com.google.common.collect.ImmutableSortedSet.copyOf(ImmutableSortedSet.java:326)
at org.jf.util.ImmutableConverter.toSortedSet(ImmutableConverter.java:137)
at org.jf.dexlib2.immutable.ImmutableMethod.immutableSetOf(ImmutableMethod.java:116)
at org.jf.dexlib2.immutable.ImmutableClassDef.<init>(ImmutableClassDef.java:108)
at org.jf.dexlib2.immutable.ImmutableClassDef.of(ImmutableClassDef.java:148)
at org.jf.dexlib2.immutable.ImmutableClassDef$3.makeImmutable(ImmutableClassDef.java:209)
at org.jf.dexlib2.immutable.ImmutableClassDef$3.makeImmutable(ImmutableClassDef.java:200)
at org.jf.util.ImmutableConverter$2.next(ImmutableConverter.java:105)
at com.google.common.collect.ImmutableCollection$Builder.addAll(ImmutableCollection.java:301)
at com.google.common.collect.ImmutableSet$Builder.addAll(ImmutableSet.java:522)
at com.google.common.collect.ImmutableSet.copyOf(ImmutableSet.java:321)
at org.jf.util.ImmutableConverter.toSet(ImmutableConverter.java:103)
at org.jf.dexlib2.immutable.ImmutableClassDef.immutableSetOf(ImmutableClassDef.java:196)
at org.jf.dexlib2.immutable.ImmutableDexFile.<init>(ImmutableDexFile.java:47)
at org.jf.dexlib2.immutable.ImmutableDexFile.of(ImmutableDexFile.java:58)
at org.rh.smaliex.OatUtil$OatDexRewriter.rewriteDexFile(OatUtil.java:545)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:306)
at org.rh.smaliex.OatUtil.oat2dex(OatUtil.java:163)
at org.rh.smaliex.Main.main(Main.java:75)
Method: Lcom/huawei/android/wfdft/ftc/service/FTCService;-><clinit>()V
Opcode: invoke-virtual-quick
Code address: 114
Near line: 182
09-28 15:06:00:372 Failed to re-construct dex java.lang.ClassCastException: org.jf.dexlib2.analysis.UnresolvedOdexInstruction cannot be cast to org.jf.dexlib2.iface.instruction.formats.Instruction35ms
09-28 15:06:00:372 convertToDex: skip /system/app/HwWiFiDirect/HwWiFiDirect.apk
Hi,
I have extracted smali files from framework/services.odex, and made a change to compareSignatures in PackageManageService and want to convert back the classes to odex.
I cannot find the steps to do that, and when I try to use smali from original forked repo, it will give me these errors.
I am using smali 2.2b4, should I downgrade ?
elkhawajah:framework ahmad$ java -jar smali-2.2b4.jar ass arm/services/ -o services.dex
arm/services/com/android/server/accessibility/AccessibilityInputFilter.smali[71,37] Error for input '@': Invalid text
arm/services/com/android/server/accessibility/AccessibilityInputFilter.smali[71,31] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/internal/app/ShutdownManager.smali[170,41] Error for input '@': Invalid text
arm/services/com/android/internal/app/ShutdownManager.smali[170,35] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/internal/app/ShutdownManager.smali[198,41] Error for input '@': Invalid text
arm/services/com/android/internal/app/ShutdownManager.smali[198,35] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/internal/app/ShutdownManager.smali[202,41] Error for input '@': Invalid text
arm/services/com/android/internal/app/ShutdownManager.smali[202,35] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/internal/app/ShutdownManager.smali[206,37] Error for input '@': Invalid text
arm/services/com/android/internal/app/ShutdownManager.smali[206,31] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/internal/app/ShutdownManager.smali[227,37] Error for input '@': Invalid text
arm/services/com/android/internal/app/ShutdownManager.smali[227,31] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/internal/app/ShutdownManager.smali[234,41] Error for input '@': Invalid text
arm/services/com/android/internal/app/ShutdownManager.smali[234,35] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/internal/app/ShutdownManager.smali[242,37] Error for input '@': Invalid text
arm/services/com/android/internal/app/ShutdownManager.smali[242,31] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/internal/app/ShutdownManager.smali[251,41] Error for input '@': Invalid text
arm/services/com/android/internal/app/ShutdownManager.smali[251,35] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/internal/app/ShutdownManager.smali[257,37] Error for input '@': Invalid text
arm/services/com/android/internal/app/ShutdownManager.smali[257,31] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/internal/app/ShutdownManager.smali[265,41] Error for input '@': Invalid text
arm/services/com/android/internal/app/ShutdownManager.smali[265,35] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/internal/app/ShutdownManager.smali[269,41] Error for input '@': Invalid text
arm/services/com/android/internal/app/ShutdownManager.smali[269,35] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/internal/app/ShutdownManager.smali[278,41] Error for input '@': Invalid text
arm/services/com/android/internal/app/ShutdownManager.smali[278,35] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/internal/app/ShutdownManager.smali[282,41] Error for input '@': Invalid text
arm/services/com/android/internal/app/ShutdownManager.smali[282,35] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/internal/app/ShutdownManager.smali[295,41] Error for input '@': Invalid text
arm/services/com/android/internal/app/ShutdownManager.smali[295,35] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/internal/app/ShutdownManager.smali[303,41] Error for input '@': Invalid text
arm/services/com/android/internal/app/ShutdownManager.smali[303,35] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/internal/app/ShutdownManager.smali[311,41] Error for input '@': Invalid text
arm/services/com/android/internal/app/ShutdownManager.smali[311,35] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/internal/app/ShutdownManager.smali[320,41] Error for input '@': Invalid text
arm/services/com/android/internal/app/ShutdownManager.smali[320,35] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/internal/app/ShutdownManager.smali[330,37] Error for input '@': Invalid text
arm/services/com/android/internal/app/ShutdownManager.smali[330,31] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/internal/app/ShutdownManager.smali[358,41] Error for input '@': Invalid text
arm/services/com/android/internal/app/ShutdownManager.smali[358,35] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/internal/app/ShutdownManager.smali[362,41] Error for input '@': Invalid text
arm/services/com/android/internal/app/ShutdownManager.smali[362,35] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/internal/app/ShutdownManager.smali[366,37] Error for input '@': Invalid text
arm/services/com/android/internal/app/ShutdownManager.smali[366,31] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/internal/app/ShutdownManager.smali[393,41] Error for input '@': Invalid text
arm/services/com/android/internal/app/ShutdownManager.smali[393,35] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/internal/app/ShutdownManager.smali[420,41] Error for input '@': Invalid text
arm/services/com/android/internal/app/ShutdownManager.smali[420,35] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/internal/app/ShutdownManager.smali[424,41] Error for input '@': Invalid text
arm/services/com/android/internal/app/ShutdownManager.smali[424,35] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/internal/app/ShutdownManager.smali[428,37] Error for input '@': Invalid text
arm/services/com/android/internal/app/ShutdownManager.smali[428,31] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/internal/app/ShutdownManager.smali[449,37] Error for input '@': Invalid text
arm/services/com/android/internal/app/ShutdownManager.smali[449,31] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/internal/app/ShutdownManager.smali[456,41] Error for input '@': Invalid text
arm/services/com/android/internal/app/ShutdownManager.smali[456,35] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/internal/app/ShutdownManager.smali[464,37] Error for input '@': Invalid text
arm/services/com/android/internal/app/ShutdownManager.smali[464,31] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/internal/app/ShutdownManager.smali[473,41] Error for input '@': Invalid text
arm/services/com/android/internal/app/ShutdownManager.smali[473,35] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/internal/app/ShutdownManager.smali[479,37] Error for input '@': Invalid text
arm/services/com/android/internal/app/ShutdownManager.smali[479,31] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/internal/app/ShutdownManager.smali[487,41] Error for input '@': Invalid text
arm/services/com/android/internal/app/ShutdownManager.smali[487,35] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/internal/app/ShutdownManager.smali[491,41] Error for input '@': Invalid text
arm/services/com/android/internal/app/ShutdownManager.smali[491,35] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/internal/app/ShutdownManager.smali[500,41] Error for input '@': Invalid text
arm/services/com/android/internal/app/ShutdownManager.smali[500,35] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/internal/app/ShutdownManager.smali[504,41] Error for input '@': Invalid text
arm/services/com/android/internal/app/ShutdownManager.smali[504,35] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/internal/app/ShutdownManager.smali[517,41] Error for input '@': Invalid text
arm/services/com/android/internal/app/ShutdownManager.smali[517,35] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/internal/app/ShutdownManager.smali[525,41] Error for input '@': Invalid text
arm/services/com/android/internal/app/ShutdownManager.smali[525,35] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/internal/app/ShutdownManager.smali[533,41] Error for input '@': Invalid text
arm/services/com/android/internal/app/ShutdownManager.smali[533,35] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/internal/app/ShutdownManager.smali[542,41] Error for input '@': Invalid text
arm/services/com/android/internal/app/ShutdownManager.smali[542,35] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/internal/app/ShutdownManager.smali[552,37] Error for input '@': Invalid text
arm/services/com/android/internal/app/ShutdownManager.smali[552,31] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/internal/app/ShutdownManager.smali[579,41] Error for input '@': Invalid text
arm/services/com/android/internal/app/ShutdownManager.smali[579,35] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/internal/app/ShutdownManager.smali[583,41] Error for input '@': Invalid text
arm/services/com/android/internal/app/ShutdownManager.smali[583,35] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/internal/app/ShutdownManager.smali[587,37] Error for input '@': Invalid text
arm/services/com/android/internal/app/ShutdownManager.smali[587,31] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/internal/app/ShutdownManager.smali[606,41] Error for input '@': Invalid text
arm/services/com/android/internal/app/ShutdownManager.smali[606,35] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/server/accessibility/DisplayAdjustmentUtils.smali[26,37] Error for input '@': Invalid text
arm/services/com/android/server/accessibility/DisplayAdjustmentUtils.smali[26,31] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/server/accessibility/ScreenMagnifier.smali[123,37] Error for input '@': Invalid text
arm/services/com/android/server/accessibility/ScreenMagnifier.smali[123,31] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/server/accounts/AccountManagerService.smali[237,41] Error for input '@': Invalid text
arm/services/com/android/server/accounts/AccountManagerService.smali[237,35] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/server/AlarmManagerService.smali[364,41] Error for input '@': Invalid text
arm/services/com/android/server/AlarmManagerService.smali[364,35] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/server/am/ActivityStack$1.smali[42,37] Error for input '@': Invalid text
arm/services/com/android/server/am/ActivityStack$1.smali[42,31] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/server/am/ActivityStack$1.smali[58,37] Error for input '@': Invalid text
arm/services/com/android/server/am/ActivityStack$1.smali[58,31] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/server/am/ActivityStack$1.smali[74,37] Error for input '@': Invalid text
arm/services/com/android/server/am/ActivityStack$1.smali[74,31] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/server/am/ActivityStack$1.smali[90,37] Error for input '@': Invalid text
arm/services/com/android/server/am/ActivityStack$1.smali[90,31] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/server/am/ActivityStack$1.smali[106,37] Error for input '@': Invalid text
arm/services/com/android/server/am/ActivityStack$1.smali[106,31] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/server/am/ActivityStack$1.smali[122,37] Error for input '@': Invalid text
arm/services/com/android/server/am/ActivityStack$1.smali[122,31] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/server/am/ActivityManagerService.smali[1158,41] Error for input '@': Invalid text
arm/services/com/android/server/am/ActivityManagerService.smali[1158,35] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/server/am/ActivityManagerService.smali[1168,41] Error for input '@': Invalid text
arm/services/com/android/server/am/ActivityManagerService.smali[1168,35] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/server/am/ActivityManagerService.smali[1256,41] Error for input '@': Invalid text
arm/services/com/android/server/am/ActivityManagerService.smali[1256,35] mismatched input 'vtable' expecting VTABLE_INDEX
arm/services/com/android/server/am/CoreSettingsObserver.smali[60,37] Error for input '@': Invalid text
arm/services/com/android/server/am/CoreSettingsObserver.smali[60,31] mismatched input 'vtable' expecting VTABLE_INDEX
I was trying to extract from the emulator dex files from files in (interchangeably):
I've pulled them from the device and then tried to convert boot directory --> .dex using command, e.g:
[...]$ java -jar ../oat2dex.jar boot x86_64
I've got x86_64-odex and x86_64-dex directories but CLI output suggests that it did not succeed in 100%.
From one of the dex files in *-odex I wanted to get .jar so I've used dex2jar tool.
[...]$ sh ../dex2jar-2.0/d2j-dex2jar.sh -d toconvert.dex > output_dex2jar.txt
result:
dex2jar toconvert.dex -> ./toconvert-dex2jar.jar
com.googlecode.d2j.DexException: not support version.
at com.googlecode.d2j.reader.DexFileReader.<init>(DexFileReader.java:151)
at com.googlecode.d2j.reader.DexFileReader.<init>(DexFileReader.java:211)
at com.googlecode.dex2jar.tools.Dex2jarCmd.doCommandLine(Dex2jarCmd.java:104)
at com.googlecode.dex2jar.tools.BaseCmd.doMain(BaseCmd.java:288)
at com.googlecode.dex2jar.tools.Dex2jarCmd.main(Dex2jarCmd.java:32)
Above method works for emulators with API 23 but NOT for API 24
I attach output from: java -jar ../oat2dex.jar boot x86_64
command_output.txt
Using release version of oat2dex did not succeed at all, so -like it is written in #19- I've obtained oat2dex from sources.
#36
EDIT: Emulator that I've used:
emulator_details.txt
Crypto WhatsApp
i try uses your tool, but not work on stock LG android 7.0 ,
http://forum.xda-developers.com/v20/development/dev-stock-dump-f800l-v09g-android-7-0-t3459436/page2
can i help you fix it?
Framework files here - https://cloud.mail.ru/public/GMcq/6eYJ1vEet
& here - https://drive.google.com/open?id=0B8jxACZy2MZMTlVwZFZ3ZURWMEE
This is log - https://drive.google.com/file/d/0B8jxACZy2MZMdXNROUJrS1gwY3M/view
Deodexing AnonymousData.apk...
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1619219
at org.jf.dexlib2.dexbacked.BaseDexReader.readUleb128(BaseDexReader.java:101)
at org.jf.dexlib2.dexbacked.BaseDexReader.readSmallUleb128(BaseDexReader.java:92)
at org.jf.dexlib2.dexbacked.DexBackedClassDef.(DexBackedClassDef.java:86)
at org.jf.dexlib2.dexbacked.DexBackedDexFile$1.readItem(DexBackedDexFile.java:135)
at org.jf.dexlib2.dexbacked.DexBackedDexFile$1.readItem(DexBackedDexFile.java:131)
at org.jf.dexlib2.dexbacked.util.FixedSizeSet$1.next(FixedSizeSet.java:56)
at org.jf.dexlib2.analysis.ClassPath.addDex(ClassPath.java:113)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:291)
at org.rh.smaliex.OatUtil.oat2dex(OatUtil.java:159)
at org.rh.smaliex.Main.mainImpl(Main.java:112)
at org.rh.smaliex.Main.main(Main.java:53)
The error messages using oat2dex v0.90 (3ed9044, latest commit for now) are:
Сб мар 31 05:28:51-s-trace@omen:/tmp/framework
^_^ oat2dex boot arm64/boot.oat
03-31 05:29:04:708 Art version=64 (arm64/boot.oat)
03-31 05:29:04:771 De-optimizing /system/framework/core-libart.jar
03-31 05:29:05:129 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 4931
03-31 05:29:05:129 convertToDex: skip /system/framework/core-libart.jar
03-31 05:29:05:130 De-optimizing /system/framework/conscrypt.jar
03-31 05:29:05:140 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 964
03-31 05:29:05:141 convertToDex: skip /system/framework/conscrypt.jar
03-31 05:29:05:142 De-optimizing /system/framework/okhttp.jar
03-31 05:29:05:149 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 627
03-31 05:29:05:149 convertToDex: skip /system/framework/okhttp.jar
03-31 05:29:05:150 De-optimizing /system/framework/core-junit.jar
03-31 05:29:05:172 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 122
03-31 05:29:05:172 convertToDex: skip /system/framework/core-junit.jar
03-31 05:29:05:173 De-optimizing /system/framework/bouncycastle.jar
03-31 05:29:05:632 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 2127
03-31 05:29:05:632 convertToDex: skip /system/framework/bouncycastle.jar
03-31 05:29:05:632 De-optimizing /system/framework/ext.jar
03-31 05:29:05:647 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 2482
03-31 05:29:05:648 convertToDex: skip /system/framework/ext.jar
03-31 05:29:05:648 De-optimizing /system/framework/framework.jar
03-31 05:29:05:666 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 1653071
03-31 05:29:05:667 convertToDex: skip /system/framework/framework.jar
03-31 05:29:05:667 De-optimizing /system/framework/framework.jar:classes2.dex
03-31 05:29:05:687 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 8581
03-31 05:29:05:688 convertToDex: skip /system/framework/framework.jar:classes2.dex
03-31 05:29:05:688 De-optimizing /system/framework/telephony-common.jar
03-31 05:29:05:805 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 6280
03-31 05:29:05:805 convertToDex: skip /system/framework/telephony-common.jar
03-31 05:29:05:806 De-optimizing /system/framework/voip-common.jar
03-31 05:29:05:808 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 252
03-31 05:29:05:808 convertToDex: skip /system/framework/voip-common.jar
03-31 05:29:05:808 De-optimizing /system/framework/ims-common.jar
03-31 05:29:05:809 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 13414
03-31 05:29:05:810 convertToDex: skip /system/framework/ims-common.jar
03-31 05:29:05:810 De-optimizing /system/framework/apache-xml.jar
03-31 05:29:05:918 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 2510
03-31 05:29:05:919 convertToDex: skip /system/framework/apache-xml.jar
03-31 05:29:05:920 De-optimizing /system/framework/org.apache.http.legacy.boot.jar
03-31 05:29:05:942 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 1740
03-31 05:29:05:943 convertToDex: skip /system/framework/org.apache.http.legacy.boot.jar
03-31 05:29:05:943 De-optimizing /system/framework/HWJNIFLPLocation.jar
03-31 05:29:05:979 Output to /tmp/framework/arm64/boot.oat-dex/HWJNIFLPLocation.dex
03-31 05:29:05:979 De-optimizing /system/framework/hwEmui.jar
03-31 05:29:05:989 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 1392636
03-31 05:29:05:990 convertToDex: skip /system/framework/hwEmui.jar
03-31 05:29:05:990 De-optimizing /system/framework/hwTelephony-common.jar
03-31 05:29:05:994 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 3229
03-31 05:29:05:994 convertToDex: skip /system/framework/hwTelephony-common.jar
03-31 05:29:05:995 De-optimizing /system/framework/hwframework.jar
03-31 05:29:06:033 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 3108
03-31 05:29:06:033 convertToDex: skip /system/framework/hwframework.jar
03-31 05:29:06:033 De-optimizing /system/framework/org.simalliance.openmobileapi.jar
03-31 05:29:06:034 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 121
03-31 05:29:06:034 convertToDex: skip /system/framework/org.simalliance.openmobileapi.jar
03-31 05:29:06:038 De-optimizing /system/framework/hwaps.jar
03-31 05:29:06:041 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 5212
03-31 05:29:06:043 convertToDex: skip /system/framework/hwaps.jar
03-31 05:29:06:043 De-optimizing /system/framework/hwcustEmui.jar
03-31 05:29:06:048 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 10829
03-31 05:29:06:048 convertToDex: skip /system/framework/hwcustEmui.jar
03-31 05:29:06:048 De-optimizing /system/framework/hwcustTelephony-common.jar
03-31 05:29:06:058 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 3994
03-31 05:29:06:058 convertToDex: skip /system/framework/hwcustTelephony-common.jar
03-31 05:29:06:058 De-optimizing /system/framework/hwcustframework.jar
03-31 05:29:06:064 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 123
03-31 05:29:06:067 convertToDex: skip /system/framework/hwcustframework.jar
03-31 05:29:06:067 De-optimizing /system/framework/tdframework.cust.jar
03-31 05:29:06:126 Output to /tmp/framework/arm64/boot.oat-dex/tdframework.cust.dex
03-31 05:29:06:127 De-optimizing /system/framework/tdframework.tui.jar
03-31 05:29:06:144 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 4268
03-31 05:29:06:145 convertToDex: skip /system/framework/tdframework.tui.jar
03-31 05:29:06:145 De-optimizing /system/framework/tdappframework.jar
03-31 05:29:06:151 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 277
03-31 05:29:06:151 convertToDex: skip /system/framework/tdappframework.jar
Сб мар 31 05:29:06-s-trace@omen:/tmp/framework
^_^ oat2dex boot arm/boot.oat
03-31 05:29:13:337 Art version=64 (arm/boot.oat)
03-31 05:29:13:387 De-optimizing /system/framework/core-libart.jar
03-31 05:29:13:832 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 4931
03-31 05:29:13:833 convertToDex: skip /system/framework/core-libart.jar
03-31 05:29:13:833 De-optimizing /system/framework/conscrypt.jar
03-31 05:29:13:845 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 964
03-31 05:29:13:845 convertToDex: skip /system/framework/conscrypt.jar
03-31 05:29:13:845 De-optimizing /system/framework/okhttp.jar
03-31 05:29:13:854 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 627
03-31 05:29:13:855 convertToDex: skip /system/framework/okhttp.jar
03-31 05:29:13:855 De-optimizing /system/framework/core-junit.jar
03-31 05:29:13:863 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 122
03-31 05:29:13:864 convertToDex: skip /system/framework/core-junit.jar
03-31 05:29:13:864 De-optimizing /system/framework/bouncycastle.jar
03-31 05:29:14:385 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 2127
03-31 05:29:14:385 convertToDex: skip /system/framework/bouncycastle.jar
03-31 05:29:14:385 De-optimizing /system/framework/ext.jar
03-31 05:29:14:399 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 2482
03-31 05:29:14:399 convertToDex: skip /system/framework/ext.jar
03-31 05:29:14:399 De-optimizing /system/framework/framework.jar
03-31 05:29:14:423 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 1653071
03-31 05:29:14:423 convertToDex: skip /system/framework/framework.jar
03-31 05:29:14:423 De-optimizing /system/framework/framework.jar:classes2.dex
03-31 05:29:14:442 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 8581
03-31 05:29:14:442 convertToDex: skip /system/framework/framework.jar:classes2.dex
03-31 05:29:14:443 De-optimizing /system/framework/telephony-common.jar
03-31 05:29:14:522 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 6280
03-31 05:29:14:522 convertToDex: skip /system/framework/telephony-common.jar
03-31 05:29:14:522 De-optimizing /system/framework/voip-common.jar
03-31 05:29:14:523 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 252
03-31 05:29:14:523 convertToDex: skip /system/framework/voip-common.jar
03-31 05:29:14:524 De-optimizing /system/framework/ims-common.jar
03-31 05:29:14:525 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 13414
03-31 05:29:14:525 convertToDex: skip /system/framework/ims-common.jar
03-31 05:29:14:525 De-optimizing /system/framework/apache-xml.jar
03-31 05:29:14:630 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 2510
03-31 05:29:14:630 convertToDex: skip /system/framework/apache-xml.jar
03-31 05:29:14:631 De-optimizing /system/framework/org.apache.http.legacy.boot.jar
03-31 05:29:14:651 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 1740
03-31 05:29:14:651 convertToDex: skip /system/framework/org.apache.http.legacy.boot.jar
03-31 05:29:14:651 De-optimizing /system/framework/HWJNIFLPLocation.jar
03-31 05:29:14:689 Output to /tmp/framework/arm/boot.oat-dex/HWJNIFLPLocation.dex
03-31 05:29:14:691 De-optimizing /system/framework/hwEmui.jar
03-31 05:29:14:701 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 1392636
03-31 05:29:14:701 convertToDex: skip /system/framework/hwEmui.jar
03-31 05:29:14:701 De-optimizing /system/framework/hwTelephony-common.jar
03-31 05:29:14:706 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 3229
03-31 05:29:14:706 convertToDex: skip /system/framework/hwTelephony-common.jar
03-31 05:29:14:706 De-optimizing /system/framework/hwframework.jar
03-31 05:29:14:759 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 3108
03-31 05:29:14:759 convertToDex: skip /system/framework/hwframework.jar
03-31 05:29:14:759 De-optimizing /system/framework/org.simalliance.openmobileapi.jar
03-31 05:29:14:761 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 121
03-31 05:29:14:761 convertToDex: skip /system/framework/org.simalliance.openmobileapi.jar
03-31 05:29:14:761 De-optimizing /system/framework/hwaps.jar
03-31 05:29:14:763 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 5212
03-31 05:29:14:765 convertToDex: skip /system/framework/hwaps.jar
03-31 05:29:14:771 De-optimizing /system/framework/hwcustEmui.jar
03-31 05:29:14:777 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 10829
03-31 05:29:14:777 convertToDex: skip /system/framework/hwcustEmui.jar
03-31 05:29:14:777 De-optimizing /system/framework/hwcustTelephony-common.jar
03-31 05:29:14:788 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 3994
03-31 05:29:14:788 convertToDex: skip /system/framework/hwcustTelephony-common.jar
03-31 05:29:14:788 De-optimizing /system/framework/hwcustframework.jar
03-31 05:29:14:821 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 123
03-31 05:29:14:823 convertToDex: skip /system/framework/hwcustframework.jar
03-31 05:29:14:823 De-optimizing /system/framework/tdframework.cust.jar
03-31 05:29:14:875 Output to /tmp/framework/arm/boot.oat-dex/tdframework.cust.dex
03-31 05:29:14:875 De-optimizing /system/framework/tdframework.tui.jar
03-31 05:29:14:906 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 4268
03-31 05:29:14:906 convertToDex: skip /system/framework/tdframework.tui.jar
03-31 05:29:14:906 De-optimizing /system/framework/tdappframework.jar
03-31 05:29:14:912 Failed to re-construct dex org.jf.dexlib2.dexbacked.DexBackedDexFile$InvalidItemIndex: Type index out of bounds: 277
03-31 05:29:14:912 convertToDex: skip /system/framework/tdappframework.jar
The error messages using oat2dex v0.89 are:
^_^ oat2dex boot arm/boot.oat
03-31 04:58:58:395 Not added any dex from arm/boot.oat
03-31 04:58:58:473 Art version=64 (arm/boot.oat)
03-31 04:58:58:496 De-optimizing /system/framework/core-libart.jar
03-31 04:58:58:584 Analysis error in class=Landroid/icu/impl/BMPSet; method=<clinit>
Method: Landroid/icu/impl/BMPSet;-><clinit>()V
Near line: 23 (address 2)
Instructions:
[0] const-class regA=0
[1] invoke-virtual-quick regC=0 <-----
[2] move-result regA=0
[3] if-nez regA=0
03-31 04:58:58:585 org.jf.dexlib2.analysis.AnalysisException: Interfaces for class Ljava/lang/Class; not fully resolved: Ljava/lang/Class;,Ljava/lang/reflect/GenericDeclaration;
at org.jf.dexlib2.analysis.ClassProto.getDirectInterfaces(ClassProto.java:296)
at org.jf.dexlib2.analysis.ClassProto$6.get(ClassProto.java:975)
at org.jf.dexlib2.analysis.ClassProto$6.get(ClassProto.java:942)
at com.google.common.base.Suppliers$MemoizingSupplier.get(Suppliers.java:125)
at org.jf.dexlib2.analysis.ClassProto.getVtable(ClassProto.java:933)
...(Skip 32 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:368)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:289)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:155)
at org.rh.smaliex.Main.mainImpl(Main.java:106)
at org.rh.smaliex.Main.main(Main.java:43)
03-31 04:58:58:585 Failed to re-construct dex java.lang.ClassCastException: org.jf.dexlib2.analysis.UnresolvedOdexInstruction cannot be cast to org.jf.dexlib2.iface.instruction.formats.Instruction35ms
03-31 04:58:58:585 convertToDex: skip /system/framework/core-libart.jar
03-31 04:58:58:585 De-optimizing /system/framework/conscrypt.jar
03-31 04:58:58:691 Analysis error in class=Lcom/android/org/conscrypt/NativeCrypto; method=<clinit>
Method: Lcom/android/org/conscrypt/NativeCrypto;-><clinit>()V
Near line: 739 (address 681)
Instructions:
[296] invoke-direct regC=5
[297] const-string regA=6
[298] invoke-virtual-quick regC=5 regD=6 <-----
[299] move-result-object regA=5
[300] aget-object regA=6 regB=0 regC=1
03-31 04:58:58:691 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the method in class unknown at index 59, objReg=5
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:2582)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1271)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:259)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:190)
at org.rh.smaliex.deopt.OdexRewriter$OdexRewriterModule$1$1.getInstructions(OdexRewriter.java:233)
...(Skip 24 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:368)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:289)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:155)
at org.rh.smaliex.Main.mainImpl(Main.java:106)
at org.rh.smaliex.Main.main(Main.java:43)
03-31 04:58:58:692 Failed to re-construct dex java.lang.ClassCastException: org.jf.dexlib2.analysis.UnresolvedOdexInstruction cannot be cast to org.jf.dexlib2.iface.instruction.formats.Instruction35ms
03-31 04:58:58:692 convertToDex: skip /system/framework/conscrypt.jar
03-31 04:58:58:692 De-optimizing /system/framework/okhttp.jar
03-31 04:58:58:727 Analysis error in class=Lcom/android/okhttp/CacheControl; method=<clinit>
Method: Lcom/android/okhttp/CacheControl;-><clinit>()V
Near line: 20 (address 5)
Instructions:
[0] new-instance regA=0
[1] invoke-direct regC=0
[2] invoke-virtual-quick regC=0 <-----
[3] move-result-object regA=0
[4] invoke-virtual-quick regC=0
03-31 04:58:58:728 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the method in class unknown at index 15, objReg=0
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:2582)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1271)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:259)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:190)
at org.rh.smaliex.deopt.OdexRewriter$OdexRewriterModule$1$1.getInstructions(OdexRewriter.java:233)
...(Skip 24 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:368)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:289)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:155)
at org.rh.smaliex.Main.mainImpl(Main.java:106)
at org.rh.smaliex.Main.main(Main.java:43)
03-31 04:58:58:728 Failed to re-construct dex java.lang.ClassCastException: org.jf.dexlib2.analysis.UnresolvedOdexInstruction cannot be cast to org.jf.dexlib2.iface.instruction.formats.Instruction35ms
03-31 04:58:58:728 convertToDex: skip /system/framework/okhttp.jar
03-31 04:58:58:728 De-optimizing /system/framework/core-junit.jar
03-31 04:58:58:812 Output to /tmp/test/arm/boot.oat-dex/core-junit.dex
03-31 04:58:58:812 De-optimizing /system/framework/bouncycastle.jar
03-31 04:58:58:937 Analysis error in class=Lcom/android/org/bouncycastle/asn1/bc/BCObjectIdentifiers; method=<clinit>
Method: Lcom/android/org/bouncycastle/asn1/bc/BCObjectIdentifiers;-><clinit>()V
Near line: 24 (address 13)
Instructions:
[4] sget-object regA=0
[5] const-string regA=1
[6] invoke-virtual-quick regC=0 regD=1 <-----
[7] move-result-object regA=0
[8] sput-object regA=0
03-31 04:58:58:938 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the method in class unknown at index 21, objReg=0
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:2582)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1271)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:259)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:190)
at org.rh.smaliex.deopt.OdexRewriter$OdexRewriterModule$1$1.getInstructions(OdexRewriter.java:233)
...(Skip 24 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:368)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:289)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:155)
at org.rh.smaliex.Main.mainImpl(Main.java:106)
at org.rh.smaliex.Main.main(Main.java:43)
03-31 04:58:58:939 Failed to re-construct dex java.lang.ClassCastException: org.jf.dexlib2.analysis.UnresolvedOdexInstruction cannot be cast to org.jf.dexlib2.iface.instruction.formats.Instruction35ms
03-31 04:58:58:939 convertToDex: skip /system/framework/bouncycastle.jar
03-31 04:58:58:939 De-optimizing /system/framework/ext.jar
03-31 04:58:58:941 Analysis error in class=Lcom/android/i18n/phonenumbers/AsYouTypeFormatter; method=<clinit>
Method: Lcom/android/i18n/phonenumbers/AsYouTypeFormatter;-><clinit>()V
Near line: 64 (address 7)
Instructions:
[1] invoke-direct regC=0
[2] const-string regA=1
[3] invoke-virtual-quick regC=0 regD=1 <-----
[4] move-result-object regA=0
[5] sput-object regA=0
03-31 04:58:58:942 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the method in class unknown at index 86, objReg=0
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:2582)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1271)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:259)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:190)
at org.rh.smaliex.deopt.OdexRewriter$OdexRewriterModule$1$1.getInstructions(OdexRewriter.java:233)
...(Skip 24 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:368)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:289)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:155)
at org.rh.smaliex.Main.mainImpl(Main.java:106)
at org.rh.smaliex.Main.main(Main.java:43)
03-31 04:58:58:943 Failed to re-construct dex java.lang.ClassCastException: org.jf.dexlib2.analysis.UnresolvedOdexInstruction cannot be cast to org.jf.dexlib2.iface.instruction.formats.Instruction35ms
03-31 04:58:58:943 convertToDex: skip /system/framework/ext.jar
03-31 04:58:58:944 De-optimizing /system/framework/framework.jar
03-31 04:58:59:005 Analysis error in class=Landroid/accessibilityservice/AccessibilityServiceInfo; method=<clinit>
Method: Landroid/accessibilityservice/AccessibilityServiceInfo;-><clinit>()V
Near line: 110 (address 25)
Instructions:
[10] const regA=3
[11] invoke-direct regC=1 regD=4 regE=2 regF=3
[12] invoke-virtual-quick regC=0 regD=4 regE=1 <-----
[13] sget-object regA=0
[14] new-instance regA=1
03-31 04:58:59:005 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the method in class unknown at index 20, objReg=0
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:2582)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1271)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:259)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:190)
at org.rh.smaliex.deopt.OdexRewriter$OdexRewriterModule$1$1.getInstructions(OdexRewriter.java:233)
...(Skip 24 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:368)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:289)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:155)
at org.rh.smaliex.Main.mainImpl(Main.java:106)
at org.rh.smaliex.Main.main(Main.java:43)
03-31 04:58:59:006 Failed to re-construct dex java.lang.ClassCastException: org.jf.dexlib2.analysis.UnresolvedOdexInstruction cannot be cast to org.jf.dexlib2.iface.instruction.formats.Instruction35ms
03-31 04:58:59:006 convertToDex: skip /system/framework/framework.jar
03-31 04:58:59:006 De-optimizing /system/framework/framework.jar:classes2.dex
03-31 04:58:59:064 Analysis error in class=Landroid/util/Base64$Encoder; method=<clinit>
Method: Landroid/util/Base64$Encoder;-><clinit>()V
Near line: 542 (address 4)
Instructions:
[0] const/16 regA=1
[1] const-class regA=0
[2] invoke-virtual-quick regC=0 <-----
[3] move-result regA=0
[4] if-nez regA=0
03-31 04:58:59:064 org.jf.dexlib2.analysis.AnalysisException: Interfaces for class Ljava/lang/Class; not fully resolved: Ljava/lang/Class;,Ljava/lang/reflect/GenericDeclaration;
at org.jf.dexlib2.analysis.ClassProto.getDirectInterfaces(ClassProto.java:296)
at org.jf.dexlib2.analysis.ClassProto$6.get(ClassProto.java:975)
at org.jf.dexlib2.analysis.ClassProto$6.get(ClassProto.java:942)
at com.google.common.base.Suppliers$MemoizingSupplier.get(Suppliers.java:125)
at org.jf.dexlib2.analysis.ClassProto.getVtable(ClassProto.java:933)
...(Skip 32 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:368)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:289)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:155)
at org.rh.smaliex.Main.mainImpl(Main.java:106)
at org.rh.smaliex.Main.main(Main.java:43)
03-31 04:58:59:065 Failed to re-construct dex java.lang.ClassCastException: org.jf.dexlib2.analysis.UnresolvedOdexInstruction cannot be cast to org.jf.dexlib2.iface.instruction.formats.Instruction35ms
03-31 04:58:59:065 convertToDex: skip /system/framework/framework.jar:classes2.dex
03-31 04:58:59:065 De-optimizing /system/framework/telephony-common.jar
03-31 04:58:59:094 Analysis error in class=Landroid/telephony/SmsMessage$1; method=<clinit>
Method: Landroid/telephony/SmsMessage$1;-><clinit>()V
Near line: -1 (address 46)
Instructions:
[23] sget-object regA=0
[24] sget-object regA=1
[25] invoke-virtual-quick regC=1 <-----
[26] move-result regA=1
[27] const/4 regA=2
03-31 04:58:59:095 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the method in class unknown at index 15, objReg=1
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:2582)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1271)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:259)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:190)
at org.rh.smaliex.deopt.OdexRewriter$OdexRewriterModule$1$1.getInstructions(OdexRewriter.java:233)
...(Skip 24 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:368)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:289)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:155)
at org.rh.smaliex.Main.mainImpl(Main.java:106)
at org.rh.smaliex.Main.main(Main.java:43)
03-31 04:58:59:095 Failed to re-construct dex java.lang.ClassCastException: org.jf.dexlib2.analysis.UnresolvedOdexInstruction cannot be cast to org.jf.dexlib2.iface.instruction.formats.Instruction35ms
03-31 04:58:59:098 convertToDex: skip /system/framework/telephony-common.jar
03-31 04:58:59:098 De-optimizing /system/framework/voip-common.jar
03-31 04:58:59:119 Analysis error in class=Landroid/net/sip/SipAudioCall; method=<clinit>
Method: Landroid/net/sip/SipAudioCall;-><clinit>()V
Near line: -1 (address 2)
Instructions:
[0] const-class regA=0
[1] invoke-virtual-quick regC=0 <-----
[2] move-result-object regA=0
[3] sput-object regA=0
03-31 04:58:59:119 org.jf.dexlib2.analysis.AnalysisException: Interfaces for class Ljava/lang/Class; not fully resolved: Ljava/lang/Class;,Ljava/lang/reflect/GenericDeclaration;
at org.jf.dexlib2.analysis.ClassProto.getDirectInterfaces(ClassProto.java:296)
at org.jf.dexlib2.analysis.ClassProto$6.get(ClassProto.java:975)
at org.jf.dexlib2.analysis.ClassProto$6.get(ClassProto.java:942)
at com.google.common.base.Suppliers$MemoizingSupplier.get(Suppliers.java:125)
at org.jf.dexlib2.analysis.ClassProto.getVtable(ClassProto.java:933)
...(Skip 32 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:368)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:289)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:155)
at org.rh.smaliex.Main.mainImpl(Main.java:106)
at org.rh.smaliex.Main.main(Main.java:43)
03-31 04:58:59:119 Failed to re-construct dex java.lang.ClassCastException: org.jf.dexlib2.analysis.UnresolvedOdexInstruction cannot be cast to org.jf.dexlib2.iface.instruction.formats.Instruction35ms
03-31 04:58:59:119 convertToDex: skip /system/framework/voip-common.jar
03-31 04:58:59:119 De-optimizing /system/framework/ims-common.jar
03-31 04:58:59:225 Output to /tmp/test/arm/boot.oat-dex/ims-common.dex
03-31 04:58:59:225 De-optimizing /system/framework/apache-xml.jar
03-31 04:58:59:313 Analysis error in class=Lorg/apache/xalan/processor/XSLTSchema; method=build
Method: Lorg/apache/xalan/processor/XSLTSchema;->build()V
Near line: 257 (address 743)
Instructions:
[363] move-object/from16 regA=0 regB=48
[364] move-object/from16 regA=1 regB=70
[365] invoke-virtual-quick regC=0 regD=1 <-----
[366] new-instance regA=49
[367] const/16 regA=50
03-31 04:58:59:314 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the method in class unknown at index 41, objReg=0
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:2582)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1271)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:259)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:190)
at org.rh.smaliex.deopt.OdexRewriter$OdexRewriterModule$1$1.getInstructions(OdexRewriter.java:233)
...(Skip 24 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:368)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:289)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:155)
at org.rh.smaliex.Main.mainImpl(Main.java:106)
at org.rh.smaliex.Main.main(Main.java:43)
03-31 04:58:59:316 Failed to re-construct dex java.lang.ClassCastException
03-31 04:58:59:316 convertToDex: skip /system/framework/apache-xml.jar
03-31 04:58:59:316 De-optimizing /system/framework/org.apache.http.legacy.boot.jar
03-31 04:58:59:381 Analysis error in class=Lorg/apache/commons/codec/binary/Base64; method=<clinit>
Method: Lorg/apache/commons/codec/binary/Base64;-><clinit>()V
Near line: 58 (address 12)
Instructions:
[4] const/16 regA=4
[5] const-string regA=2
[6] invoke-virtual-quick regC=2 <-----
[7] move-result-object regA=2
[8] sput-object regA=2
03-31 04:58:59:382 org.jf.dexlib2.analysis.AnalysisException: Interfaces for class Ljava/lang/String; not fully resolved: Ljava/lang/Comparable;,Ljava/lang/String;
at org.jf.dexlib2.analysis.ClassProto.getDirectInterfaces(ClassProto.java:296)
at org.jf.dexlib2.analysis.ClassProto$6.get(ClassProto.java:975)
at org.jf.dexlib2.analysis.ClassProto$6.get(ClassProto.java:942)
at com.google.common.base.Suppliers$MemoizingSupplier.get(Suppliers.java:125)
at org.jf.dexlib2.analysis.ClassProto.getVtable(ClassProto.java:933)
...(Skip 32 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:368)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:289)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:155)
at org.rh.smaliex.Main.mainImpl(Main.java:106)
at org.rh.smaliex.Main.main(Main.java:43)
03-31 04:58:59:382 Failed to re-construct dex java.lang.ClassCastException
03-31 04:58:59:382 convertToDex: skip /system/framework/org.apache.http.legacy.boot.jar
03-31 04:58:59:382 De-optimizing /system/framework/HWJNIFLPLocation.jar
03-31 04:58:59:383 Output to /tmp/test/arm/boot.oat-dex/HWJNIFLPLocation.dex
03-31 04:58:59:383 De-optimizing /system/framework/hwEmui.jar
03-31 04:58:59:396 Analysis error in class=Landroid/content/res/HwResources; method=<clinit>
Method: Landroid/content/res/HwResources;-><clinit>()V
Near line: 95 (address 18)
Instructions:
[8] invoke-static regC=0
[9] move-result-object regA=1
[10] invoke-virtual-quick regC=0 regD=1 <-----
[11] move-result-object regA=0
[12] const-string regA=1
03-31 04:58:59:403 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the method in class unknown at index 58, objReg=0
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:2582)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1271)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:259)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:190)
at org.rh.smaliex.deopt.OdexRewriter$OdexRewriterModule$1$1.getInstructions(OdexRewriter.java:233)
...(Skip 24 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:368)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:289)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:155)
at org.rh.smaliex.Main.mainImpl(Main.java:106)
at org.rh.smaliex.Main.main(Main.java:43)
03-31 04:58:59:403 Failed to re-construct dex java.lang.ClassCastException
03-31 04:58:59:403 convertToDex: skip /system/framework/hwEmui.jar
03-31 04:58:59:403 De-optimizing /system/framework/hwTelephony-common.jar
03-31 04:58:59:429 Analysis error in class=Lcom/android/internal/telephony/HwAllInOneController$3; method=<clinit>
Method: Lcom/android/internal/telephony/HwAllInOneController$3;-><clinit>()V
Near line: -1 (address 114)
Instructions:
[59] sget-object regA=0
[60] sget-object regA=1
[61] invoke-virtual-quick regC=1 <-----
[62] move-result regA=1
[63] const/16 regA=2
03-31 04:58:59:430 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the method in class unknown at index 15, objReg=1
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:2582)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1271)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:259)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:190)
at org.rh.smaliex.deopt.OdexRewriter$OdexRewriterModule$1$1.getInstructions(OdexRewriter.java:233)
...(Skip 24 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:368)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:289)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:155)
at org.rh.smaliex.Main.mainImpl(Main.java:106)
at org.rh.smaliex.Main.main(Main.java:43)
03-31 04:58:59:430 Failed to re-construct dex java.lang.ClassCastException
03-31 04:58:59:430 convertToDex: skip /system/framework/hwTelephony-common.jar
03-31 04:58:59:431 De-optimizing /system/framework/hwframework.jar
03-31 04:58:59:444 Analysis error in class=Landroid/widget/HwSpinner; method=<clinit>
Method: Landroid/widget/HwSpinner;-><clinit>()V
Near line: 29 (address 18)
Instructions:
[8] return-void-no-barrier
[9] move-exception regA=0
[10] invoke-virtual-quick regC=0 <-----
[11] goto
03-31 04:58:59:444 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the method in class unknown at index 19, objReg=0
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:2582)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1271)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:259)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:190)
at org.rh.smaliex.deopt.OdexRewriter$OdexRewriterModule$1$1.getInstructions(OdexRewriter.java:233)
...(Skip 24 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:368)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:289)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:155)
at org.rh.smaliex.Main.mainImpl(Main.java:106)
at org.rh.smaliex.Main.main(Main.java:43)
03-31 04:58:59:444 Failed to re-construct dex java.lang.ClassCastException
03-31 04:58:59:444 convertToDex: skip /system/framework/hwframework.jar
03-31 04:58:59:444 De-optimizing /system/framework/org.simalliance.openmobileapi.jar
03-31 04:58:59:492 Output to /tmp/test/arm/boot.oat-dex/org.simalliance.openmobileapi.dex
03-31 04:58:59:492 De-optimizing /system/framework/hwaps.jar
03-31 04:58:59:546 Output to /tmp/test/arm/boot.oat-dex/hwaps.dex
03-31 04:58:59:547 De-optimizing /system/framework/hwcustEmui.jar
03-31 04:58:59:584 Output to /tmp/test/arm/boot.oat-dex/hwcustEmui.dex
03-31 04:58:59:584 De-optimizing /system/framework/hwcustTelephony-common.jar
03-31 04:58:59:597 Analysis error in class=Lcom/android/internal/telephony/dataconnection/HwCustApnReminderImpl; method=<clinit>
Method: Lcom/android/internal/telephony/dataconnection/HwCustApnReminderImpl;-><clinit>()V
Near line: 73 (address 8)
Instructions:
[3] invoke-static regC=0
[4] move-result-object regA=0
[5] invoke-virtual-quick regC=0 <-----
[6] move-result regA=0
[7] sput-boolean regA=0
03-31 04:58:59:597 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the method in class unknown at index 154, objReg=0
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:2582)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1271)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:259)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:190)
at org.rh.smaliex.deopt.OdexRewriter$OdexRewriterModule$1$1.getInstructions(OdexRewriter.java:233)
...(Skip 24 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:368)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:289)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:155)
at org.rh.smaliex.Main.mainImpl(Main.java:106)
at org.rh.smaliex.Main.main(Main.java:43)
03-31 04:58:59:598 Failed to re-construct dex java.lang.ClassCastException
03-31 04:58:59:598 convertToDex: skip /system/framework/hwcustTelephony-common.jar
03-31 04:58:59:598 De-optimizing /system/framework/hwcustframework.jar
03-31 04:58:59:604 Analysis error in class=Lcom/huawei/android/manufacture/ProjectMenuCustEx; method=<clinit>
Method: Lcom/huawei/android/manufacture/ProjectMenuCustEx;-><clinit>()V
Near line: 246 (address 46)
Instructions:
[19] const-string regA=2
[20] invoke-static regC=1 regD=2
[21] invoke-virtual-quick regC=0 <-----
[22] goto
03-31 04:58:59:604 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the method in class unknown at index 19, objReg=0
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:2582)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1271)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:259)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:190)
at org.rh.smaliex.deopt.OdexRewriter$OdexRewriterModule$1$1.getInstructions(OdexRewriter.java:233)
...(Skip 24 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:368)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:289)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:155)
at org.rh.smaliex.Main.mainImpl(Main.java:106)
at org.rh.smaliex.Main.main(Main.java:43)
03-31 04:58:59:604 Failed to re-construct dex java.lang.ClassCastException
03-31 04:58:59:604 convertToDex: skip /system/framework/hwcustframework.jar
03-31 04:58:59:604 De-optimizing /system/framework/tdframework.cust.jar
03-31 04:58:59:616 Analysis error in class=Llte/trunk/terminal/tmo/internal/DcFailCause; method=<clinit>
Method: Llte/trunk/terminal/tmo/internal/DcFailCause;-><clinit>()V
Near line: 73 (address 560)
Instructions:
[271] aget-object regA=1 regB=0 regC=2
[272] sget-object regA=4
[273] invoke-virtual-quick regC=1 <-----
[274] move-result regA=5
[275] invoke-static regC=5
03-31 04:58:59:617 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the method in class unknown at index 16, objReg=1
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:2582)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1271)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:259)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:190)
at org.rh.smaliex.deopt.OdexRewriter$OdexRewriterModule$1$1.getInstructions(OdexRewriter.java:233)
...(Skip 24 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:368)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:289)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:155)
at org.rh.smaliex.Main.mainImpl(Main.java:106)
at org.rh.smaliex.Main.main(Main.java:43)
03-31 04:58:59:617 Failed to re-construct dex java.lang.ClassCastException
03-31 04:58:59:617 convertToDex: skip /system/framework/tdframework.cust.jar
03-31 04:58:59:617 De-optimizing /system/framework/tdframework.tui.jar
03-31 04:58:59:658 Analysis error in class=Llte/trunk/terminal/configuration/ConfigurationManager$1; method=<clinit>
Method: Llte/trunk/terminal/configuration/ConfigurationManager$1;-><clinit>()V
Near line: -1 (address 24)
Instructions:
[11] sget-object regA=0
[12] sget-object regA=1
[13] invoke-virtual-quick regC=1 <-----
[14] move-result regA=1
[15] const/4 regA=2
03-31 04:58:59:658 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the method in class unknown at index 15, objReg=1
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:2582)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1271)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:259)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:190)
at org.rh.smaliex.deopt.OdexRewriter$OdexRewriterModule$1$1.getInstructions(OdexRewriter.java:233)
...(Skip 24 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:368)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:289)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:155)
at org.rh.smaliex.Main.mainImpl(Main.java:106)
at org.rh.smaliex.Main.main(Main.java:43)
03-31 04:58:59:658 Failed to re-construct dex java.lang.ClassCastException
03-31 04:58:59:658 convertToDex: skip /system/framework/tdframework.tui.jar
03-31 04:58:59:658 De-optimizing /system/framework/tdappframework.jar
03-31 04:58:59:664 Analysis error in class=Llte/trunk/terminal/aaclient/AacServiceEx; method=<clinit>
Method: Llte/trunk/terminal/aaclient/AacServiceEx;-><clinit>()V
Near line: 74 (address 18)
Instructions:
[7] invoke-direct regC=0 regD=2
[8] const/4 regA=1
[9] invoke-virtual-quick regC=0 <-----
[10] move-result regA=2
[11] if-eqz regA=2
03-31 04:58:59:664 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the method in class unknown at index 32, objReg=0
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:2582)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1271)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:259)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:190)
at org.rh.smaliex.deopt.OdexRewriter$OdexRewriterModule$1$1.getInstructions(OdexRewriter.java:233)
...(Skip 24 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:368)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:289)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:155)
at org.rh.smaliex.Main.mainImpl(Main.java:106)
at org.rh.smaliex.Main.main(Main.java:43)
03-31 04:58:59:664 Failed to re-construct dex java.lang.ClassCastException
03-31 04:58:59:664 convertToDex: skip /system/framework/tdappframework.jar
Сб мар 31 04:58:59-s-trace@omen:/tmp/test
^_^ oat2dex boot arm64/boot.oat
03-31 04:59:09:769 Not added any dex from arm64/boot.oat
03-31 04:59:09:829 Art version=64 (arm64/boot.oat)
03-31 04:59:09:851 De-optimizing /system/framework/core-libart.jar
03-31 04:59:09:940 Analysis error in class=Landroid/icu/impl/BMPSet; method=<clinit>
Method: Landroid/icu/impl/BMPSet;-><clinit>()V
Near line: 23 (address 2)
Instructions:
[0] const-class regA=0
[1] invoke-virtual-quick regC=0 <-----
[2] move-result regA=0
[3] if-nez regA=0
03-31 04:59:09:940 org.jf.dexlib2.analysis.AnalysisException: Interfaces for class Ljava/lang/Class; not fully resolved: Ljava/lang/Class;,Ljava/lang/reflect/GenericDeclaration;
at org.jf.dexlib2.analysis.ClassProto.getDirectInterfaces(ClassProto.java:296)
at org.jf.dexlib2.analysis.ClassProto$6.get(ClassProto.java:975)
at org.jf.dexlib2.analysis.ClassProto$6.get(ClassProto.java:942)
at com.google.common.base.Suppliers$MemoizingSupplier.get(Suppliers.java:125)
at org.jf.dexlib2.analysis.ClassProto.getVtable(ClassProto.java:933)
...(Skip 32 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:368)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:289)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:155)
at org.rh.smaliex.Main.mainImpl(Main.java:106)
at org.rh.smaliex.Main.main(Main.java:43)
03-31 04:59:09:941 Failed to re-construct dex java.lang.ClassCastException: org.jf.dexlib2.analysis.UnresolvedOdexInstruction cannot be cast to org.jf.dexlib2.iface.instruction.formats.Instruction35ms
03-31 04:59:09:941 convertToDex: skip /system/framework/core-libart.jar
03-31 04:59:09:941 De-optimizing /system/framework/conscrypt.jar
03-31 04:59:10:045 Analysis error in class=Lcom/android/org/conscrypt/NativeCrypto; method=<clinit>
Method: Lcom/android/org/conscrypt/NativeCrypto;-><clinit>()V
Near line: 739 (address 681)
Instructions:
[296] invoke-direct regC=5
[297] const-string regA=6
[298] invoke-virtual-quick regC=5 regD=6 <-----
[299] move-result-object regA=5
[300] aget-object regA=6 regB=0 regC=1
03-31 04:59:10:045 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the method in class unknown at index 59, objReg=5
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:2582)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1271)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:259)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:190)
at org.rh.smaliex.deopt.OdexRewriter$OdexRewriterModule$1$1.getInstructions(OdexRewriter.java:233)
...(Skip 24 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:368)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:289)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:155)
at org.rh.smaliex.Main.mainImpl(Main.java:106)
at org.rh.smaliex.Main.main(Main.java:43)
03-31 04:59:10:046 Failed to re-construct dex java.lang.ClassCastException: org.jf.dexlib2.analysis.UnresolvedOdexInstruction cannot be cast to org.jf.dexlib2.iface.instruction.formats.Instruction35ms
03-31 04:59:10:046 convertToDex: skip /system/framework/conscrypt.jar
03-31 04:59:10:046 De-optimizing /system/framework/okhttp.jar
03-31 04:59:10:081 Analysis error in class=Lcom/android/okhttp/CacheControl; method=<clinit>
Method: Lcom/android/okhttp/CacheControl;-><clinit>()V
Near line: 20 (address 5)
Instructions:
[0] new-instance regA=0
[1] invoke-direct regC=0
[2] invoke-virtual-quick regC=0 <-----
[3] move-result-object regA=0
[4] invoke-virtual-quick regC=0
03-31 04:59:10:081 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the method in class unknown at index 15, objReg=0
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:2582)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1271)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:259)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:190)
at org.rh.smaliex.deopt.OdexRewriter$OdexRewriterModule$1$1.getInstructions(OdexRewriter.java:233)
...(Skip 24 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:368)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:289)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:155)
at org.rh.smaliex.Main.mainImpl(Main.java:106)
at org.rh.smaliex.Main.main(Main.java:43)
03-31 04:59:10:081 Failed to re-construct dex java.lang.ClassCastException: org.jf.dexlib2.analysis.UnresolvedOdexInstruction cannot be cast to org.jf.dexlib2.iface.instruction.formats.Instruction35ms
03-31 04:59:10:081 convertToDex: skip /system/framework/okhttp.jar
03-31 04:59:10:081 De-optimizing /system/framework/core-junit.jar
03-31 04:59:10:167 Output to /tmp/test/arm64/boot.oat-dex/core-junit.dex
03-31 04:59:10:167 De-optimizing /system/framework/bouncycastle.jar
03-31 04:59:10:305 Analysis error in class=Lcom/android/org/bouncycastle/asn1/bc/BCObjectIdentifiers; method=<clinit>
Method: Lcom/android/org/bouncycastle/asn1/bc/BCObjectIdentifiers;-><clinit>()V
Near line: 24 (address 13)
Instructions:
[4] sget-object regA=0
[5] const-string regA=1
[6] invoke-virtual-quick regC=0 regD=1 <-----
[7] move-result-object regA=0
[8] sput-object regA=0
03-31 04:59:10:305 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the method in class unknown at index 21, objReg=0
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:2582)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1271)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:259)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:190)
at org.rh.smaliex.deopt.OdexRewriter$OdexRewriterModule$1$1.getInstructions(OdexRewriter.java:233)
...(Skip 24 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:368)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:289)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:155)
at org.rh.smaliex.Main.mainImpl(Main.java:106)
at org.rh.smaliex.Main.main(Main.java:43)
03-31 04:59:10:306 Failed to re-construct dex java.lang.ClassCastException: org.jf.dexlib2.analysis.UnresolvedOdexInstruction cannot be cast to org.jf.dexlib2.iface.instruction.formats.Instruction35ms
03-31 04:59:10:306 convertToDex: skip /system/framework/bouncycastle.jar
03-31 04:59:10:306 De-optimizing /system/framework/ext.jar
03-31 04:59:10:308 Analysis error in class=Lcom/android/i18n/phonenumbers/AsYouTypeFormatter; method=<clinit>
Method: Lcom/android/i18n/phonenumbers/AsYouTypeFormatter;-><clinit>()V
Near line: 64 (address 7)
Instructions:
[1] invoke-direct regC=0
[2] const-string regA=1
[3] invoke-virtual-quick regC=0 regD=1 <-----
[4] move-result-object regA=0
[5] sput-object regA=0
03-31 04:59:10:308 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the method in class unknown at index 86, objReg=0
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:2582)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1271)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:259)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:190)
at org.rh.smaliex.deopt.OdexRewriter$OdexRewriterModule$1$1.getInstructions(OdexRewriter.java:233)
...(Skip 24 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:368)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:289)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:155)
at org.rh.smaliex.Main.mainImpl(Main.java:106)
at org.rh.smaliex.Main.main(Main.java:43)
03-31 04:59:10:308 Failed to re-construct dex java.lang.ClassCastException: org.jf.dexlib2.analysis.UnresolvedOdexInstruction cannot be cast to org.jf.dexlib2.iface.instruction.formats.Instruction35ms
03-31 04:59:10:308 convertToDex: skip /system/framework/ext.jar
03-31 04:59:10:308 De-optimizing /system/framework/framework.jar
03-31 04:59:10:356 Analysis error in class=Landroid/accessibilityservice/AccessibilityServiceInfo; method=<clinit>
Method: Landroid/accessibilityservice/AccessibilityServiceInfo;-><clinit>()V
Near line: 110 (address 25)
Instructions:
[10] const regA=3
[11] invoke-direct regC=1 regD=4 regE=2 regF=3
[12] invoke-virtual-quick regC=0 regD=4 regE=1 <-----
[13] sget-object regA=0
[14] new-instance regA=1
03-31 04:59:10:357 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the method in class unknown at index 20, objReg=0
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:2582)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1271)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:259)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:190)
at org.rh.smaliex.deopt.OdexRewriter$OdexRewriterModule$1$1.getInstructions(OdexRewriter.java:233)
...(Skip 24 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:368)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:289)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:155)
at org.rh.smaliex.Main.mainImpl(Main.java:106)
at org.rh.smaliex.Main.main(Main.java:43)
03-31 04:59:10:357 Failed to re-construct dex java.lang.ClassCastException: org.jf.dexlib2.analysis.UnresolvedOdexInstruction cannot be cast to org.jf.dexlib2.iface.instruction.formats.Instruction35ms
03-31 04:59:10:357 convertToDex: skip /system/framework/framework.jar
03-31 04:59:10:357 De-optimizing /system/framework/framework.jar:classes2.dex
03-31 04:59:10:431 Analysis error in class=Landroid/util/Base64$Encoder; method=<clinit>
Method: Landroid/util/Base64$Encoder;-><clinit>()V
Near line: 542 (address 4)
Instructions:
[0] const/16 regA=1
[1] const-class regA=0
[2] invoke-virtual-quick regC=0 <-----
[3] move-result regA=0
[4] if-nez regA=0
03-31 04:59:10:431 org.jf.dexlib2.analysis.AnalysisException: Interfaces for class Ljava/lang/Class; not fully resolved: Ljava/lang/Class;,Ljava/lang/reflect/GenericDeclaration;
at org.jf.dexlib2.analysis.ClassProto.getDirectInterfaces(ClassProto.java:296)
at org.jf.dexlib2.analysis.ClassProto$6.get(ClassProto.java:975)
at org.jf.dexlib2.analysis.ClassProto$6.get(ClassProto.java:942)
at com.google.common.base.Suppliers$MemoizingSupplier.get(Suppliers.java:125)
at org.jf.dexlib2.analysis.ClassProto.getVtable(ClassProto.java:933)
...(Skip 32 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:368)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:289)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:155)
at org.rh.smaliex.Main.mainImpl(Main.java:106)
at org.rh.smaliex.Main.main(Main.java:43)
03-31 04:59:10:432 Failed to re-construct dex java.lang.ClassCastException: org.jf.dexlib2.analysis.UnresolvedOdexInstruction cannot be cast to org.jf.dexlib2.iface.instruction.formats.Instruction35ms
03-31 04:59:10:432 convertToDex: skip /system/framework/framework.jar:classes2.dex
03-31 04:59:10:432 De-optimizing /system/framework/telephony-common.jar
03-31 04:59:10:486 Analysis error in class=Landroid/telephony/SmsMessage$1; method=<clinit>
Method: Landroid/telephony/SmsMessage$1;-><clinit>()V
Near line: -1 (address 46)
Instructions:
[23] sget-object regA=0
[24] sget-object regA=1
[25] invoke-virtual-quick regC=1 <-----
[26] move-result regA=1
[27] const/4 regA=2
03-31 04:59:10:486 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the method in class unknown at index 15, objReg=1
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:2582)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1271)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:259)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:190)
at org.rh.smaliex.deopt.OdexRewriter$OdexRewriterModule$1$1.getInstructions(OdexRewriter.java:233)
...(Skip 24 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:368)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:289)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:155)
at org.rh.smaliex.Main.mainImpl(Main.java:106)
at org.rh.smaliex.Main.main(Main.java:43)
03-31 04:59:10:486 Failed to re-construct dex java.lang.ClassCastException: org.jf.dexlib2.analysis.UnresolvedOdexInstruction cannot be cast to org.jf.dexlib2.iface.instruction.formats.Instruction35ms
03-31 04:59:10:486 convertToDex: skip /system/framework/telephony-common.jar
03-31 04:59:10:486 De-optimizing /system/framework/voip-common.jar
03-31 04:59:10:510 Analysis error in class=Landroid/net/sip/SipAudioCall; method=<clinit>
Method: Landroid/net/sip/SipAudioCall;-><clinit>()V
Near line: -1 (address 2)
Instructions:
[0] const-class regA=0
[1] invoke-virtual-quick regC=0 <-----
[2] move-result-object regA=0
[3] sput-object regA=0
03-31 04:59:10:511 org.jf.dexlib2.analysis.AnalysisException: Interfaces for class Ljava/lang/Class; not fully resolved: Ljava/lang/Class;,Ljava/lang/reflect/GenericDeclaration;
at org.jf.dexlib2.analysis.ClassProto.getDirectInterfaces(ClassProto.java:296)
at org.jf.dexlib2.analysis.ClassProto$6.get(ClassProto.java:975)
at org.jf.dexlib2.analysis.ClassProto$6.get(ClassProto.java:942)
at com.google.common.base.Suppliers$MemoizingSupplier.get(Suppliers.java:125)
at org.jf.dexlib2.analysis.ClassProto.getVtable(ClassProto.java:933)
...(Skip 32 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:368)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:289)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:155)
at org.rh.smaliex.Main.mainImpl(Main.java:106)
at org.rh.smaliex.Main.main(Main.java:43)
03-31 04:59:10:511 Failed to re-construct dex java.lang.ClassCastException: org.jf.dexlib2.analysis.UnresolvedOdexInstruction cannot be cast to org.jf.dexlib2.iface.instruction.formats.Instruction35ms
03-31 04:59:10:511 convertToDex: skip /system/framework/voip-common.jar
03-31 04:59:10:511 De-optimizing /system/framework/ims-common.jar
03-31 04:59:10:611 Output to /tmp/test/arm64/boot.oat-dex/ims-common.dex
03-31 04:59:10:611 De-optimizing /system/framework/apache-xml.jar
03-31 04:59:10:697 Analysis error in class=Lorg/apache/xalan/processor/XSLTSchema; method=build
Method: Lorg/apache/xalan/processor/XSLTSchema;->build()V
Near line: 257 (address 743)
Instructions:
[363] move-object/from16 regA=0 regB=48
[364] move-object/from16 regA=1 regB=70
[365] invoke-virtual-quick regC=0 regD=1 <-----
[366] new-instance regA=49
[367] const/16 regA=50
03-31 04:59:10:698 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the method in class unknown at index 41, objReg=0
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:2582)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1271)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:259)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:190)
at org.rh.smaliex.deopt.OdexRewriter$OdexRewriterModule$1$1.getInstructions(OdexRewriter.java:233)
...(Skip 24 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:368)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:289)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:155)
at org.rh.smaliex.Main.mainImpl(Main.java:106)
at org.rh.smaliex.Main.main(Main.java:43)
03-31 04:59:10:699 Failed to re-construct dex java.lang.ClassCastException
03-31 04:59:10:699 convertToDex: skip /system/framework/apache-xml.jar
03-31 04:59:10:700 De-optimizing /system/framework/org.apache.http.legacy.boot.jar
03-31 04:59:10:759 Analysis error in class=Lorg/apache/commons/codec/binary/Base64; method=<clinit>
Method: Lorg/apache/commons/codec/binary/Base64;-><clinit>()V
Near line: 58 (address 12)
Instructions:
[4] const/16 regA=4
[5] const-string regA=2
[6] invoke-virtual-quick regC=2 <-----
[7] move-result-object regA=2
[8] sput-object regA=2
03-31 04:59:10:759 org.jf.dexlib2.analysis.AnalysisException: Interfaces for class Ljava/lang/String; not fully resolved: Ljava/lang/Comparable;,Ljava/lang/String;
at org.jf.dexlib2.analysis.ClassProto.getDirectInterfaces(ClassProto.java:296)
at org.jf.dexlib2.analysis.ClassProto$6.get(ClassProto.java:975)
at org.jf.dexlib2.analysis.ClassProto$6.get(ClassProto.java:942)
at com.google.common.base.Suppliers$MemoizingSupplier.get(Suppliers.java:125)
at org.jf.dexlib2.analysis.ClassProto.getVtable(ClassProto.java:933)
...(Skip 32 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:368)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:289)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:155)
at org.rh.smaliex.Main.mainImpl(Main.java:106)
at org.rh.smaliex.Main.main(Main.java:43)
03-31 04:59:10:759 Failed to re-construct dex java.lang.ClassCastException
03-31 04:59:10:759 convertToDex: skip /system/framework/org.apache.http.legacy.boot.jar
03-31 04:59:10:759 De-optimizing /system/framework/HWJNIFLPLocation.jar
03-31 04:59:10:761 Output to /tmp/test/arm64/boot.oat-dex/HWJNIFLPLocation.dex
03-31 04:59:10:761 De-optimizing /system/framework/hwEmui.jar
03-31 04:59:10:775 Analysis error in class=Landroid/content/res/HwResources; method=<clinit>
Method: Landroid/content/res/HwResources;-><clinit>()V
Near line: 95 (address 18)
Instructions:
[8] invoke-static regC=0
[9] move-result-object regA=1
[10] invoke-virtual-quick regC=0 regD=1 <-----
[11] move-result-object regA=0
[12] const-string regA=1
03-31 04:59:10:775 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the method in class unknown at index 58, objReg=0
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:2582)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1271)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:259)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:190)
at org.rh.smaliex.deopt.OdexRewriter$OdexRewriterModule$1$1.getInstructions(OdexRewriter.java:233)
...(Skip 24 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:368)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:289)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:155)
at org.rh.smaliex.Main.mainImpl(Main.java:106)
at org.rh.smaliex.Main.main(Main.java:43)
03-31 04:59:10:776 Failed to re-construct dex java.lang.ClassCastException
03-31 04:59:10:778 convertToDex: skip /system/framework/hwEmui.jar
03-31 04:59:10:778 De-optimizing /system/framework/hwTelephony-common.jar
03-31 04:59:10:793 Analysis error in class=Lcom/android/internal/telephony/HwAllInOneController$3; method=<clinit>
Method: Lcom/android/internal/telephony/HwAllInOneController$3;-><clinit>()V
Near line: -1 (address 114)
Instructions:
[59] sget-object regA=0
[60] sget-object regA=1
[61] invoke-virtual-quick regC=1 <-----
[62] move-result regA=1
[63] const/16 regA=2
03-31 04:59:10:795 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the method in class unknown at index 15, objReg=1
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:2582)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1271)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:259)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:190)
at org.rh.smaliex.deopt.OdexRewriter$OdexRewriterModule$1$1.getInstructions(OdexRewriter.java:233)
...(Skip 24 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:368)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:289)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:155)
at org.rh.smaliex.Main.mainImpl(Main.java:106)
at org.rh.smaliex.Main.main(Main.java:43)
03-31 04:59:10:795 Failed to re-construct dex java.lang.ClassCastException
03-31 04:59:10:795 convertToDex: skip /system/framework/hwTelephony-common.jar
03-31 04:59:10:795 De-optimizing /system/framework/hwframework.jar
03-31 04:59:10:807 Analysis error in class=Landroid/widget/HwSpinner; method=<clinit>
Method: Landroid/widget/HwSpinner;-><clinit>()V
Near line: 29 (address 18)
Instructions:
[8] return-void-no-barrier
[9] move-exception regA=0
[10] invoke-virtual-quick regC=0 <-----
[11] goto
03-31 04:59:10:807 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the method in class unknown at index 19, objReg=0
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:2582)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1271)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:259)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:190)
at org.rh.smaliex.deopt.OdexRewriter$OdexRewriterModule$1$1.getInstructions(OdexRewriter.java:233)
...(Skip 24 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:368)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:289)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:155)
at org.rh.smaliex.Main.mainImpl(Main.java:106)
at org.rh.smaliex.Main.main(Main.java:43)
03-31 04:59:10:807 Failed to re-construct dex java.lang.ClassCastException
03-31 04:59:10:807 convertToDex: skip /system/framework/hwframework.jar
03-31 04:59:10:807 De-optimizing /system/framework/org.simalliance.openmobileapi.jar
03-31 04:59:10:855 Output to /tmp/test/arm64/boot.oat-dex/org.simalliance.openmobileapi.dex
03-31 04:59:10:855 De-optimizing /system/framework/hwaps.jar
03-31 04:59:10:911 Output to /tmp/test/arm64/boot.oat-dex/hwaps.dex
03-31 04:59:10:911 De-optimizing /system/framework/hwcustEmui.jar
03-31 04:59:10:948 Output to /tmp/test/arm64/boot.oat-dex/hwcustEmui.dex
03-31 04:59:10:948 De-optimizing /system/framework/hwcustTelephony-common.jar
03-31 04:59:10:961 Analysis error in class=Lcom/android/internal/telephony/dataconnection/HwCustApnReminderImpl; method=<clinit>
Method: Lcom/android/internal/telephony/dataconnection/HwCustApnReminderImpl;-><clinit>()V
Near line: 73 (address 8)
Instructions:
[3] invoke-static regC=0
[4] move-result-object regA=0
[5] invoke-virtual-quick regC=0 <-----
[6] move-result regA=0
[7] sput-boolean regA=0
03-31 04:59:10:962 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the method in class unknown at index 154, objReg=0
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:2582)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1271)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:259)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:190)
at org.rh.smaliex.deopt.OdexRewriter$OdexRewriterModule$1$1.getInstructions(OdexRewriter.java:233)
...(Skip 24 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:368)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:289)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:155)
at org.rh.smaliex.Main.mainImpl(Main.java:106)
at org.rh.smaliex.Main.main(Main.java:43)
03-31 04:59:10:962 Failed to re-construct dex java.lang.ClassCastException
03-31 04:59:10:962 convertToDex: skip /system/framework/hwcustTelephony-common.jar
03-31 04:59:10:962 De-optimizing /system/framework/hwcustframework.jar
03-31 04:59:10:968 Analysis error in class=Lcom/huawei/android/manufacture/ProjectMenuCustEx; method=<clinit>
Method: Lcom/huawei/android/manufacture/ProjectMenuCustEx;-><clinit>()V
Near line: 246 (address 46)
Instructions:
[19] const-string regA=2
[20] invoke-static regC=1 regD=2
[21] invoke-virtual-quick regC=0 <-----
[22] goto
03-31 04:59:10:968 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the method in class unknown at index 19, objReg=0
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:2582)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1271)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:259)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:190)
at org.rh.smaliex.deopt.OdexRewriter$OdexRewriterModule$1$1.getInstructions(OdexRewriter.java:233)
...(Skip 24 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:368)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:289)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:155)
at org.rh.smaliex.Main.mainImpl(Main.java:106)
at org.rh.smaliex.Main.main(Main.java:43)
03-31 04:59:10:968 Failed to re-construct dex java.lang.ClassCastException
03-31 04:59:10:968 convertToDex: skip /system/framework/hwcustframework.jar
03-31 04:59:10:968 De-optimizing /system/framework/tdframework.cust.jar
03-31 04:59:10:981 Analysis error in class=Llte/trunk/terminal/tmo/internal/DcFailCause; method=<clinit>
Method: Llte/trunk/terminal/tmo/internal/DcFailCause;-><clinit>()V
Near line: 73 (address 560)
Instructions:
[271] aget-object regA=1 regB=0 regC=2
[272] sget-object regA=4
[273] invoke-virtual-quick regC=1 <-----
[274] move-result regA=5
[275] invoke-static regC=5
03-31 04:59:10:981 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the method in class unknown at index 16, objReg=1
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:2582)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1271)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:259)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:190)
at org.rh.smaliex.deopt.OdexRewriter$OdexRewriterModule$1$1.getInstructions(OdexRewriter.java:233)
...(Skip 24 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:368)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:289)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:155)
at org.rh.smaliex.Main.mainImpl(Main.java:106)
at org.rh.smaliex.Main.main(Main.java:43)
03-31 04:59:10:981 Failed to re-construct dex java.lang.ClassCastException
03-31 04:59:10:981 convertToDex: skip /system/framework/tdframework.cust.jar
03-31 04:59:10:981 De-optimizing /system/framework/tdframework.tui.jar
03-31 04:59:11:029 Analysis error in class=Llte/trunk/terminal/configuration/ConfigurationManager$1; method=<clinit>
Method: Llte/trunk/terminal/configuration/ConfigurationManager$1;-><clinit>()V
Near line: -1 (address 24)
Instructions:
[11] sget-object regA=0
[12] sget-object regA=1
[13] invoke-virtual-quick regC=1 <-----
[14] move-result regA=1
[15] const/4 regA=2
03-31 04:59:11:029 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the method in class unknown at index 15, objReg=1
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:2582)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1271)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:259)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:190)
at org.rh.smaliex.deopt.OdexRewriter$OdexRewriterModule$1$1.getInstructions(OdexRewriter.java:233)
...(Skip 24 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:368)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:289)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:155)
at org.rh.smaliex.Main.mainImpl(Main.java:106)
at org.rh.smaliex.Main.main(Main.java:43)
03-31 04:59:11:029 Failed to re-construct dex java.lang.ClassCastException
03-31 04:59:11:029 convertToDex: skip /system/framework/tdframework.tui.jar
03-31 04:59:11:029 De-optimizing /system/framework/tdappframework.jar
03-31 04:59:11:036 Analysis error in class=Llte/trunk/terminal/aaclient/AacServiceEx; method=<clinit>
Method: Llte/trunk/terminal/aaclient/AacServiceEx;-><clinit>()V
Near line: 74 (address 18)
Instructions:
[7] invoke-direct regC=0 regD=2
[8] const/4 regA=1
[9] invoke-virtual-quick regC=0 <-----
[10] move-result regA=2
[11] if-eqz regA=2
03-31 04:59:11:037 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the method in class unknown at index 32, objReg=0
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:2582)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1271)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:259)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:190)
at org.rh.smaliex.deopt.OdexRewriter$OdexRewriterModule$1$1.getInstructions(OdexRewriter.java:233)
...(Skip 24 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:368)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:289)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:155)
at org.rh.smaliex.Main.mainImpl(Main.java:106)
at org.rh.smaliex.Main.main(Main.java:43)
03-31 04:59:11:037 Failed to re-construct dex java.lang.ClassCastException
03-31 04:59:11:037 convertToDex: skip /system/framework/tdappframework.jar
oat2dex v0.89 works a bit better with these files, it produced 6 dex files (328,7 KB), oat2dex v0.90 produced only 2 dex files (41.5 KB)
Files: https://www.dropbox.com/s/ek8m6qwyis2a7xo/Android_6.0_sdk23_deodex_problem_files.7z?dl=1
java -version
openjdk version "1.8.0_121"
OpenJDK Runtime Environment (build 1.8.0_121-8u121-b13-4-b13)
OpenJDK 64-Bit Server VM (build 25.121-b13, mixed mode)
OS is Kubuntu 17.10 AMD64
I have boot-framework.oat from a 7.1.0 image which I'm trying to convert to dex via:
java -jar oat2dex.jar -a 24 -o out-7 boot boot-framework.oat
And get this:
Method: Landroid/accessibilityservice/AccessibilityService$1;-><init>(Landroid/accessibilityservice/AccessibilityService;ZLandroid/accessibilityservice/AccessibilityService$GestureResultCallbackInfo;)V
Near line: -1 (address 2)
Instructions:
[0] iput-object-quick regA=1 regB=0
[1] iput-boolean-quick regA=2 regB=0 <-----
[2] iput-object-quick regA=3 regB=0
[3] invoke-direct regC=0
07-05 12:19:49:180 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the field in class (UninitThis,Landroid/accessibilityservice/AccessibilityService$1;) at offset 16 in <init>
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeIputIgetQuick(MethodAnalyzer.java:2422)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1269)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:259)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:190)
at org.rh.smaliex.deopt.OdexRewriter$OdexRewriterModule$1$1.getInstructions(OdexRewriter.java:233)
...(Skip 24 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:271)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:192)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:75)
at org.rh.smaliex.Main.mainImpl(Main.java:108)
at org.rh.smaliex.Main.main(Main.java:45)
07-05 12:19:49:180 Failed to re-construct dex java.lang.ClassCastException: org.jf.dexlib2.analysis.UnresolvedOdexInstruction cannot be cast to org.jf.dexlib2.iface.instruction.formats.Instruction22cs
07-05 12:19:49:180 convertToDex: skip /system/framework/framework.jar
07-05 12:19:49:180 De-optimizing /system/framework/framework.jar:classes2.dex
07-05 12:19:49:367 Analysis error in class=Landroid/telephony/TelephonyHistogram; method=<init>
Method: Landroid/telephony/TelephonyHistogram;-><init>(III)V
Near line: 86 (address 23)
Instructions:
[9] iput-quick regA=4 regB=2
[10] const regA=0
[11] iput-quick regA=0 regB=2 <-----
[12] iput-quick regA=1 regB=2
[13] iput-quick regA=1 regB=2
07-05 12:19:49:367 org.jf.dexlib2.analysis.AnalysisException: Could not resolve the field in class (Reference,Landroid/telephony/TelephonyHistogram;) at offset 40 in <init>
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeIputIgetQuick(MethodAnalyzer.java:2422)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1269)
at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:259)
at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:190)
at org.rh.smaliex.deopt.OdexRewriter$OdexRewriterModule$1$1.getInstructions(OdexRewriter.java:233)
...(Skip 24 traces)
at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:271)
at org.rh.smaliex.OatUtil.convertDexFromBootOat(OatUtil.java:192)
at org.rh.smaliex.OatUtil.bootOat2Dex(OatUtil.java:75)
at org.rh.smaliex.Main.mainImpl(Main.java:108)
at org.rh.smaliex.Main.main(Main.java:45)
07-05 12:19:49:368 Failed to re-construct dex java.lang.ClassCastException: org.jf.dexlib2.analysis.UnresolvedOdexInstruction cannot be cast to org.jf.dexlib2.iface.instruction.formats.Instruction22cs
07-05 12:19:49:368 convertToDex: skip /system/framework/framework.jar:classes2.dex
I'm sure I'm just doing something wrong, but I don't understand the right commands I need, or if supplemental files from the device are needed, to make this work. Can anyone help?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.