Comments (5)
Comment #1 originally posted by JesusFreke on 2010-01-27T02:54:27.000Z:
When you deodex a framework odex, you also have to deodex everything that depends
on that odex. First, check the contents of the BOOTCLASSPATH environment variable (on
the phone). On my phone (and likely yours), it is:
/system/framework/core.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar
The later jars depend on the earlier jars. So in this case, since services.jar is the
last entry in the list, you wouldn't have to deodex any of the other 5 jars mentioned
here. BUT, every other jar and apk on the phone will depend on all 6 of these jar
files, so you do have to deodex everything else - all jars and apks in
/system/framework and /system/app - except for the 5 jars that are before it in the
BOOTCLASSPATH.
from smali.
Comment #2 originally posted by JesusFreke on 2010-01-27T02:59:23.000Z:
Sorry, I had miscounted the jars in the BOOTCLASSPATH. so s/5/4/g and s/6/5/g :)
from smali.
Comment #3 originally posted by JesusFreke on 2010-01-27T02:59:44.000Z:
<empty>
from smali.
Comment #4 originally posted by JesusFreke on 2010-01-27T03:15:06.000Z:
Okay thanks.
my /apps directory contains no odex files but as mentioned my /framework directory
contains mostly odex files.
So If I use the same method I used for my services.jar (on all of the other files in
/framework) I should be good?
Thanks again.
from smali.
Comment #5 originally posted by JesusFreke on 2010-01-27T03:18:35.000Z:
Like I said, you need to deodex everything except the other 4 jars in the
BOOTCLASSPATH :). But it won't hurt to deodex them, while you're at it.
If it still doesn't work, reply back and we can discuss it some more :)
Also: feel free to ping me in #smali on freenode :)
from smali.
Related Issues (20)
- 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
- Regenerate correct boot.oat/.art/.vdex files after a recompile
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.