How to odex a ROM?

Search This thread

dseo80

Senior Member
May 13, 2010
85
6
there is a script you can modify on the G1 Boards. (i assume you mean deoxed?)
 
Last edited:

Daneshm90

Retired Recognized Developer
Jun 1, 2009
3,332
662

Ok then try this

Code:
for i in /data/app/*.apk
do
odex=`echo $i | sed -e 's/.apk/.odex/g'`
echo "dexopt-wrapper $i $odex"
dexopt-wrapper $i $odex
done

Then do same but instead of /data/app do /system/app

Once done clean ur dalvik-cache directory and reboot.
 

masi0

Senior Member
Jan 27, 2008
1,017
94
Warsaw
Ok then try this

Code:
for i in /data/app/*.apk
do
odex=`echo $i | sed -e 's/.apk/.odex/g'`
echo "dexopt-wrapper $i $odex"
dexopt-wrapper $i $odex
done

Then do same but instead of /data/app do /system/app

Once done clean ur dalvik-cache directory and reboot.


thx will try tonight :)