Comments (7)
Comment #1 originally posted by JesusFreke on 2010-05-23T00:09:09.000Z:
I can confirm this as well. Every file gives the same error
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.RuntimeException: bad magic value: 64 65 79 0a 30 33 36 00
at org.jf.dexlib.DexFile.(DexFile.java:382)
at org.jf.baksmali.main.main(main.java:249)
from smali.
Comment #2 originally posted by JesusFreke on 2010-05-23T00:13:28.000Z:
same here *'d
from smali.
Comment #3 originally posted by JesusFreke on 2010-05-23T03:23:31.000Z:
I can also confirm this exact same error for the Froyo odexes.
from smali.
Comment #4 originally posted by JesusFreke on 2010-05-23T03:47:22.000Z:
Its possible to hex edit the .odex files in 2.2 and change 64 65 79 0a 30 33 36 00 to
64 65 79 0a 30 33 35 00
Which will continue to deodex but get different errors
Example: 1 of 10 errors (core.odex on 2.2) Same file as above
Error occured while disassembling class java.nio.ReadOnlyCharArrayBuffer - skipp
ing class
java.lang.RuntimeException: regCount does not match the number of arguments of t
he method
at org.jf.dexlib.Code.Format.Instruction35c.checkItem(Instruction35c.jav
a:149)
at org.jf.dexlib.Code.Format.Instruction35c.(Instruction35c.java:7
5)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeExecuteInline(Metho
dAnalyzer.java:3364)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInstruction(MethodA
nalyzer.java:1034)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze(MethodAnalyzer.jav
a:202)
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefini
tion.java:290)
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.ja
va:130)
at org.jf.baksmali.Adaptors.ClassDefinition.writeMethods(ClassDefinition
.java:322)
at org.jf.baksmali.Adaptors.ClassDefinition.writeVirtualMethods(ClassDef
inition.java:307)
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java
:136)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:187)
at org.jf.baksmali.main.main(main.java:277)
Error while disassembling method Ljava/nio/channels/Channels$ByteChannelWriter;-
(Ljava/io/OutputStream;Ljava/nio/charset/CharsetEncoder;I)V. Continuing.
org.jf.dexlib.Code.Analysis.ValidationException: Invalid register type (Conflict
ed) for register v1.
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.checkRegister(MethodAnalyz
er.java:3654)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.getAndCheckSourceRegister(
MethodAnalyzer.java:3638)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeIputIgetQuick(Metho
dAnalyzer.java:3426)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInstruction(MethodA
nalyzer.java:1049)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze(MethodAnalyzer.jav
a:202)
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefini
tion.java:290)
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.ja
va:130)
at org.jf.baksmali.Adaptors.ClassDefinition.writeMethods(ClassDefinition
.java:322)
at org.jf.baksmali.Adaptors.ClassDefinition.writeDirectMethods(ClassDefi
nition.java:291)
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java
:135)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:187)
at org.jf.baksmali.main.main(main.java:277)
opcode: iput-object-quick
CodeAddress: 18
Method: Ljava/nio/channels/Channels$ByteChannelWriter;->(Ljava/io/OutputSt
ream;Ljava/nio/charset/CharsetEncoder;I)V
from smali.
Comment #5 originally posted by JesusFreke on 2010-05-23T13:00:36.000Z:
I won't be able to take a look at this for several days at least. Depending on what
was changed in froyo, I may have to wait until the froyo source is released.
from smali.
Comment #6 originally posted by JesusFreke on 2010-06-09T01:48:25.000Z:
The changes to support froyo have been pushed to the svn repo. I'm not ready to do a new release yet, but in the interim, you can grab the latest svn sources and make your own build :)
If you do try them, please respond to this issue and let me know if the changes worked for you or not.
from smali.
Comment #7 originally posted by JesusFreke on 2010-06-09T04:52:42.000Z:
Working for me, thanks JF.
from smali.
Related Issues (20)
- New official version published? HOT 4
- added support for 4rcc in MutableMethodImplementation
- Ive been Hacked please help me HOT 6
- Parsing smali methode HOT 1
- The Fields do not keep their initial values if they're default value
- odex error
- Error while writing instruction at code offset 0x8
- How to calculate the contribution of each class to the dex HOT 2
- Dex file size increases by ~50% without making changes (DexFileFactory.loadDexFile then DexFileFactory.writeDexFile) HOT 7
- missing EOF at '.class'
- any method to replace one String with modifiedString in StringIds section of dex file using dexlib2? HOT 3
- How to create a new method using dexlib2 HOT 2
- Try to run examples/BracketedMemberNames HOT 1
- how to copy class to new dex using dexlib2 HOT 4
- Smali patcher does not support Dex version 039 HOT 1
- java.lang.NoSuchMethodError when calling DexPool.internClass
- smali report error
- how to move the useless classes to a new dex using dexlib2? HOT 1
- [Feature Request] Could we support dex v41? HOT 3
- Won't build under Debian WSL
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smali.