Disable Dexopt totally!!

250 views
Skip to first unread message

Kfir Ben Shimon

unread,
May 27, 2014, 10:50:38 AM5/27/14
to android-...@googlegroups.com
Hi,

I'm trying to disable the Dexopt totally, I already read the post:

But he wants to disable verification.

I would like to know if it's possible not to touch the classes.dex file at all,
To leave it as it was extracted from the APK file?

PS, 
Of course I have full access to the FS source code.

Christopher Tate

unread,
May 27, 2014, 11:31:57 AM5/27/14
to android-...@googlegroups.com

No, that is not possible. .dex contents are not yet actually executable. The dexopt step is the linkage step, not just performing some small optimizations.

- Chris

--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-platfo...@googlegroups.com.
To post to this group, send email to android-...@googlegroups.com.
Visit this group at http://groups.google.com/group/android-platform.
For more options, visit https://groups.google.com/d/optout.

Kfir Ben Shimon

unread,
May 28, 2014, 2:38:05 AM5/28/14
to android-...@googlegroups.com
Thanks for the reply, Need to think of another way to handle the original DEX after the dexopt.

Kfir Ben Shimon

unread,
May 28, 2014, 3:12:59 AM5/28/14
to android-...@googlegroups.com
Is there documentation that explains the exact operation of the dexopt.

I would like to know the exact changes that are being made on the dex, of course I can follow the code but a document would be a nice addition.


On Tuesday, May 27, 2014 5:50:38 PM UTC+3, Kfir Ben Shimon wrote:

Christopher Tate

unread,
May 28, 2014, 7:36:27 PM5/28/14
to android-...@googlegroups.com
There's http://source.android.com/devices/tech/dalvik/ of course, plus a great deal of commentary in the sources themselves.

--
christopher tate
android framework engineer



--

Kristopher Micinski

unread,
May 28, 2014, 10:59:49 PM5/28/14
to android-...@googlegroups.com
Maybe it would be easier if you tried to describe what you're trying to do.

It sounds like you're trying to ensure that the dex code isn't changed
at all: are you trying to do some cryptographic checksumming on the
dex code or something? It sounds like if you just describe the
problem you're trying to solve, people might be able to point you in
the right direction.

Kris
Reply all
Reply to author
Forward
0 new messages