Comments (14)
Comment #1 originally posted by JesusFreke on 2009-09-01T16:54:32.000Z:
sorry i forgot my syntax used;
java -jar baksmali-0.95.jar classes.dex
from smali.
Comment #2 originally posted by JesusFreke on 2009-09-02T03:17:47.000Z:
Hmm. that doesn't look right. I'll take a look at it. thanks!
from smali.
Comment #3 originally posted by JesusFreke on 2009-09-04T01:55:09.000Z:
<empty>
from smali.
Comment #4 originally posted by JesusFreke on 2009-09-11T03:34:11.000Z:
I can't reproduce this issue. I just tried the same thing on a mac-mini, with java 5,
and it worked fine. Are you sure you weren't trying to run baksmali on an odex file?
.95 doesn't support that, but .96 does
from smali.
Comment #5 originally posted by JesusFreke on 2009-09-11T03:44:26.000Z:
that is strange, it happens to me each time. but, not with the same apk from a
previous rom. perhaps the apk i was trying is secretly odex? i didn't see anything,
the file name was just dex. thanks for trying to figure it out though :)
from smali.
Comment #6 originally posted by JesusFreke on 2009-09-11T04:51:01.000Z:
Hmm. Is it from a donuty type new rom? They might have updated the dex signature to a
new version. Can you post a hex dump of the first 8 bytes of the file? (that's the
magic value it's talking about)
from smali.
Comment #7 originally posted by JesusFreke on 2009-09-11T13:32:55.000Z:
50 4B 03 04 14 00 08 00
from smali.
Comment #8 originally posted by JesusFreke on 2009-09-11T13:33:34.000Z:
sorry, no it's not a new one. although i've been thinking about trying one out :-D
it's from soulifes rogers 2.9.2
from smali.
Comment #9 originally posted by JesusFreke on 2009-09-13T19:17:56.000Z:
That's the header for the apk file itself. You have to extract out the classes.dex
file and run baksmali on that
from smali.
Comment #10 originally posted by JesusFreke on 2009-09-13T19:22:40.000Z:
yes that is what i was doing, i just checked the header of the wrong file for you. i
will get the bytes from the dex later on and post them. but it is a dex file from the
browser.apk that is not working.
from smali.
Comment #11 originally posted by JesusFreke on 2009-09-13T22:27:13.000Z:
Can you try this version of baksmali, and see if it works for you?
http://smali.googlecode.com/files/baksmali-0.97b.jar
from smali.
Comment #12 originally posted by JesusFreke on 2009-09-13T22:32:04.000Z:
Doh! I just realized that you attached the classes.dex file you were trying to use. I
hadn't noticed that before. sorry :)
I took a look at it, and based on the header value, it seems like a really old
classes.dex file, like from pre-release android. baksmali definitely won't work on an
old file like that.
from smali.
Comment #13 originally posted by JesusFreke on 2009-09-13T22:32:31.000Z:
<empty>
from smali.
Comment #14 originally posted by JesusFreke on 2009-09-22T03:05:17.000Z:
ok, i've switched to a more competent operating system anyway. ubuntu, although i
still have ppc architecture so i can't use the sdk tools :(
from smali.
Related Issues (20)
- java.lang.NullPointerException, Invalid switch payload offset, and others
- comment syntax? HOT 2
- ArrayIndexOutOfBoundsException when using baksmali to deodex a big odex file (odex version 036) HOT 2
- Does smali support invoke-polymorphic ? HOT 1
- Wrong error Invalid register: v16 HOT 1
- baksmali cant find dex files HOT 1
- [BUG] Dex not properly decompiled/recompiled HOT 1
- when modify field :W/System.err: org.jf.util.ExceptionWithContext: Item not found.:
- New official release for smali/dexlib?
- org.jf.dexlib2.util.DexUtil$InvalidFile: Invalid endian tag: 0x52623dbd
- 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'
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.