[MOD][NOV.07] ★Script to ODEX ROMs★ v1.4 (to get more performance)

Search This thread

GabrielSousa

Senior Member
Feb 15, 2011
4,449
2,072
Leiria
OnePlus 9 Pro
odex ROM - faster boot, a little snappier and faster, but unthemeable

deodex ROM - customization (tweaks, themes ,fonts, etc.), more space in system, but slower

it will ODEX on fase 1 /system/framework and /system/app
it will ODEX on fase 2 /data/app [optional]

ON WINDOWS (unzip odexVlad_v14.zip on windows)
Instruction: (windows and unix bash script ) (will use adb)

1. Run (run just ONE of this 4 scripts)
......... 1odex.cmd ------- for 2.3.5 roms
......... 1odex-2.cmd ---- for 2.3.5 rom insertcoin
......... 1odex-3.cmd ---- for 2.3.5 rom stock
......... 1odex-234.cmd - for 2.3.4 roms
2. Run 2odex.cmd [optional] [this script will only odex deodex apks, so you can run many times you wanna]

My script will reboot the sensation to recovery
ON SENSATION TERMINAL (flash odexVlad-TERM_v14.zip on CWM)
Instruction:

1. Set your screen timeout to "Never turn off"
2. Run /system/odexVlad/ (run just ONE of this 4 scripts)
.................................... odex11.sh ------ for 2.3.5 roms
.................................... odex11-2.sh ---- for 2.3.5 rom insertcoin
.................................... odex11-3.sh ---- for 2.3.5 rom stock
.................................... odex11-234.sh - for 2.3.4 roms
3. Run /system/odexVlad/odexb11.sh [optional] [this script will only odex deodex apks, so you can run many times you wanna]


Once done clean your dalvik-cache directory and reboot.
or reboot to recovery and wipe dalvik-cache

APPs THAT DON'T WORK ODEXED

-rootexplorer
-bejeweled 2
TESTED ROMs

-Pyramid3D_v8.2.0_XE
-Synergy r93
-InsertCoin
-RCMix_3.5_v09
-HTC Sensation 2.08.401.1 | Stock
 

Attachments

  • odexVlad_v14.zip
    418.5 KB · Views: 452
  • odexVlad-TERM_v14.zip
    277.1 KB · Views: 218
Last edited:

gf7800

Senior Member
Dec 29, 2007
324
49
Tartus
Hi , So did you create the script or you just share the idea or...?
Edit : its OK , now the OP is completed ,my bad hehe..
 
Last edited:

dipje

Senior Member
Oct 27, 2006
776
160
probably a noob question, but is dexopt-wrapper a script in a toolkit or SDK somewhere or is it contained in every Android installation and can this be done from ADB?
 

jcarrz1

Retired Recognized Developer
May 26, 2009
1,633
1,430
scienceprousa.com
"a little snappier" is incorrect because the /system and /data partitions are on the same chip in our device and use the same filesystem; there is no difference where the odex files are.

the only things affected will be boot time and themability.
 

d3vilskid

Senior Member
Jan 2, 2010
716
85
I'm getting a syntex error while trying to do this and this is for the first line of code

odex=`echo $i | sed -e 's/.apk/.odex/g'`

Am I doing something wrong.

Nevermind I didn't add in "do" I got it. But the Rom I'm running doesn't have dexopt-wrapper can you supply it.
Sent from my HTC Sensation Z710e with Beats Audio using xda premium
 
Last edited:

GabrielSousa

Senior Member
Feb 15, 2011
4,449
2,072
Leiria
OnePlus 9 Pro
I'm getting a syntex error while trying to do this and this is for the first line of code

odex=`echo $i | sed -e 's/.apk/.odex/g'`

Am I doing something wrong.

Nevermind I didn't add in "do" I got it. But the Rom I'm running doesn't have dexopt-wrapper can you supply it.
Sent from my HTC Sensation Z710e with Beats Audio using xda premium


i'm upgrading the script, i will add the dexopt-wrapper, give me same time ;)

wotking on odexing the java files ;)
 
  • Like
Reactions: Leonardo Teles

jjdoctor

Inactive Recognized Developer
May 3, 2011
2,731
4,166
Rawalpindi
I just ran the script on InsertCoin 3.3.9 but I don't see any difference..

can someone guide how it works practically*
 

GabrielSousa

Senior Member
Feb 15, 2011
4,449
2,072
Leiria
OnePlus 9 Pro
SCRIPT ON POST #1

Code:
Instruction: (windows and unix bash script ) (will use adb)
1. Run 1dex.cmd ( will odex /system/framework and /system/app )
2. Run 2dex.cmd ( will odex /data/app ) optional rootexplorer will not work odxed

My script will reboot the sensation to recovery

Once done clean your dalvik-cache directory and reboot.
or reboot to recovery and wipe dalvik-cache
 
  • Like
Reactions: Leonardo Teles

d3vilskid

Senior Member
Jan 2, 2010
716
85
Error run is not a command via terminal

Sent from my HTC Sensation Z710e with Beats Audio using xda premium
 

Top Liked Posts

  • There are no posts matching your filters.
  • 13
    odex ROM - faster boot, a little snappier and faster, but unthemeable

    deodex ROM - customization (tweaks, themes ,fonts, etc.), more space in system, but slower

    it will ODEX on fase 1 /system/framework and /system/app
    it will ODEX on fase 2 /data/app [optional]

    ON WINDOWS (unzip odexVlad_v14.zip on windows)
    Instruction: (windows and unix bash script ) (will use adb)

    1. Run (run just ONE of this 4 scripts)
    ......... 1odex.cmd ------- for 2.3.5 roms
    ......... 1odex-2.cmd ---- for 2.3.5 rom insertcoin
    ......... 1odex-3.cmd ---- for 2.3.5 rom stock
    ......... 1odex-234.cmd - for 2.3.4 roms
    2. Run 2odex.cmd [optional] [this script will only odex deodex apks, so you can run many times you wanna]

    My script will reboot the sensation to recovery
    ON SENSATION TERMINAL (flash odexVlad-TERM_v14.zip on CWM)
    Instruction:

    1. Set your screen timeout to "Never turn off"
    2. Run /system/odexVlad/ (run just ONE of this 4 scripts)
    .................................... odex11.sh ------ for 2.3.5 roms
    .................................... odex11-2.sh ---- for 2.3.5 rom insertcoin
    .................................... odex11-3.sh ---- for 2.3.5 rom stock
    .................................... odex11-234.sh - for 2.3.4 roms
    3. Run /system/odexVlad/odexb11.sh [optional] [this script will only odex deodex apks, so you can run many times you wanna]


    Once done clean your dalvik-cache directory and reboot.
    or reboot to recovery and wipe dalvik-cache

    APPs THAT DON'T WORK ODEXED

    -rootexplorer
    -bejeweled 2
    TESTED ROMs

    -Pyramid3D_v8.2.0_XE
    -Synergy r93
    -InsertCoin
    -RCMix_3.5_v09
    -HTC Sensation 2.08.401.1 | Stock
    2
    UPDATED the version .... to 1.4
    2
    Found the solution to ODEX the system/framework,

    now i have to make a easy friendly script...
    give me some time please ... :D
    2
    new version of the scripts.

    now you can run the data/app odex script how many times you wanna, will odex only apk deodexed
    1
    you can run this script on terminal or with a script runner app