Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while deodex Camera2.apk Marshmallow #42

Open
imadlatch opened this issue Oct 7, 2016 · 3 comments
Open

Error while deodex Camera2.apk Marshmallow #42

imadlatch opened this issue Oct 7, 2016 · 3 comments

Comments

@imadlatch
Copy link

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

@testwhat
Copy link
Owner

testwhat commented Oct 7, 2016

Please provide boot/odex files.
From "Near line: -1", if the debug/type info is trimmed in build-time, it will be the limitation to deodex.

@imadlatch
Copy link
Author

I'm trying to deodex Android 6.01 Marshmallow x86_64 and x86 /32bit and 64bit
here is boot files
https://drive.google.com/open?id=0B8Z9nwDLxu8lbXdvZ0hfYTBReVk

odex files
those Am having issue with
GmsCore
https://drive.google.com/open?id=0B8Z9nwDLxu8lUXVPQ1ZoZF84Rjg
Camera2
https://drive.google.com/open?id=0B8Z9nwDLxu8lZ1ZMZ1duRzREUXM
chrome
https://drive.google.com/open?id=0B8Z9nwDLxu8lTjZ6c2RvNUtfaGc

@imadlatch imadlatch changed the title Error while deodex Camera2.apk lollipop Error while deodex Camera2.apk Marshmallow Oct 7, 2016
@brainvision
Copy link

I have issue on GmsCore, too, Lollipop 5.1 API 22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants