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

can't handle android 8.0? #62

Open
jiok opened this issue Jul 19, 2018 · 1 comment
Open

can't handle android 8.0? #62

jiok opened this issue Jul 19, 2018 · 1 comment

Comments

@jiok
Copy link

jiok commented Jul 19, 2018

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)

@yy4020
Copy link

yy4020 commented Jan 28, 2019

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)

you can try lastest version oat2dex.jar released on 4 Jun 2018. The dowload address is https://github.com/testwhat/SmaliEx/releases/tag/snapshot
I use the lastest version oat2dex.jar can handle huawei mate9( android 8.0).
cmd:
java -jar oat2dex.jar boot system\framework\arm64

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

2 participants