Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[TIP] How to get ART working with de-odexed

OP baadnewz

19th June 2014, 01:52 PM   |  #1  
baadnewz's Avatar
OP Recognized Developer
Flag In a Dark Basement.HELP!
Thanks Meter: 27,510
 
10,056 posts
Join Date:Joined: Sep 2008
Donate to Me
More
This is for developers, chefs and zip modders.


A bit of introduction:

!!APKs / JARs are just glorified zip files!!


so it all depends on the base you are working on . Basically it comes down to this. if your odexed base has inside any APK / JAR a dex file then you are good to go . else stop here.

how do you check that? as i said jar / apk are just glorified zip files so take a peek inside the apk/jar with your favorite archive program



m8 base has this already so all is fine.

so what to do next?

easy. just delete all *.odex files from app / priv-app / framework . surprise all is done . your rom is deodexed and ART compliant.

sure you can go and decompile any apks/ jars with apktool / baksmali depending on your needs and change code / add / delete whatever you want. just make sure your edits are byte code compatible, otherwise it will break ART compiler.

P.S. as the title says this is a TIP, not a guide for you to follow blindly. should be enough to put you on the right track
P.S.2 if you are confused, not my problem since this is for rom owners you should know what your doing. if not maybe you should stop making roms
Last edited by baadnewz; 19th June 2014 at 01:56 PM.
The Following 10 Users Say Thank You to baadnewz For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes