yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] chachin:
wow everything worked on slimkat 4.4 beta1 for hte lg optimus g e970 and it was ultra fast.. thanks for the new update and keep up the good job :cyclops:
[Android Software/Hacking General [Developers Only]] MatrixDJ96:
have you installed the flashable that my script created with system optimized (removed classes.dex and zipaligned)? You find this zip in your sdcard and it is called "Optimized-System_NAMEOFYOURDEVICE.zip". Flash it by recovery and the problem will be fixed :)
[Android Software/Hacking General [Developers Only]] jekyll86:
Flashed and got bootloop :p however I restored a backup and tried again with adb enabled. At the end of the process the phone hot rebooted, so I pulled off the battery, went in recovery and flashed the zip. Now the phone is working well with frame and system apps odexed :)

thanks.

Inviato dal mio Evo 3D GSM utilizzando Tapatalk
[Android Software/Hacking General [Developers Only]] :
Hi,

Thanks for this update ;)

Successfully odexed "all" on my Nexus 5. I just needed to remove Terminal Emulator and reinstall it from the Play Store before running the script because it gave me FC's...

All is fine even after a reboot :)
[Android Software/Hacking General [Developers Only]] ct_moi:
Hi,

I've an error at the end, unable to create the zip. What can I do ?

Thanks.
[Android Software/Hacking General [Developers Only]] MatrixDJ96:
Nothing. Await next version
[Android Software/Hacking General [Developers Only]] ct_moi:
Just found I think a way, found apk without classes.dex copy inside Nukatool/update/system.

I've copy them to system and framework and all is ok.
[Android Software/Hacking General [Developers Only]] MatrixDJ96:
Good
[Android Software/Hacking General [Developers Only]] MatrixDJ96:
NEW UPDATE

Changelog:

Odexer Tool 1.0

- First stable version

Thanks for feedback
[Android Software/Hacking General [Developers Only]] Eyalkn:
[MENTION=4944549]MatrixDJ96[/MENTION],

I am on a SGS3 Kitkat rom and I tried using the script couple of times right after a clean install w/o restoring my apps yet and no matter what I do I don't have the frame option and when I choose all it odexs all except for the framework. If I run the script on ART runtime it fails all the files (works perfectly on v1.0Beta4).

I just have 2 questions:

1. Is there any difference in performance between beta4 and the latest version or I can just use beta4 if it works?

2. On Beta4 when I check framework and system folders I can see the the script successfully created .odex files but when I clear dalvik cache It still updates all the apps that I have (Android is upgrading...) can you please give more information about what does it mean performance wise? Does it mean that the script didn't work although it created odex files?
[Android Software/Hacking General [Developers Only]] MatrixDJ96:
NEW UPDATE

Changelog:

Odexer Tool 1.1

- Fixed creation of flashable zip in some device

- Disabled command to change settings with kitkat

- Fixed minor bugs

Thanks for feedback
[Android Software/Hacking General [Developers Only]] eushaun99:
I got syntax after typing odex.

u0_a52@android:/ $ su
root@android:/ # odex
/system/bin/odex[645]: syntax error: 'elif' unexpected
1|root@android:/ #
[Android Software/Hacking General [Developers Only]] Eyalkn:
Me too
[Android Software/Hacking General [Developers Only]] :
And me D:

Sent from my Galaxy Nexus
[Android Software/Hacking General [Developers Only]] johnco1972:
I went back to 4.3 on my g'nex and this script works great. Odexed and zip aligned without error.

Good work. Love it.

EDIT: My above comments are for version 1.0. I tried version 1.1 and got the same "unexpected 1" error as others have reported.
[Android Software/Hacking General [Developers Only]] gpvecchi:
Yup, syntax error with 1.1 on Hammerhead CM11 4.4.1. Works fine with 1.0
[Android Software/Hacking General [Developers Only]] Conekiller2:
1.1 working great here with quantum kit kat and d2att
[Android Software/Hacking General [Developers Only]] MatrixDJ96:
[MENTION=5113073]eushaun99[/MENTION] [MENTION=4842752]Eyalkn[/MENTION] [MENTION=4531598]Tezlastorme[/MENTION] [MENTION=4804892]johnco1972[/MENTION] [MENTION=4909585]gpvecchi[/MENTION]

Fixed! Try now with version 1.1.1
[Android Software/Hacking General [Developers Only]] :
Should I clear dalvik cache if I'm running 4.4 odexed using ART? Is dalvik cache any use now that I've switched to ART?

Sent from my Galaxy Nexus
[Android Software/Hacking General [Developers Only]] MatrixDJ96:
NEW UPDATE

Changelog:

Odexer Tool 1.1.1

- Fixed "elif syntax error"

Thanks for feedback
[Android Software/Hacking General [Developers Only]] johnco1972:
The error is gone.

I'm getting a dalvic rebuild on every boot. Enabled zipalign and flashed the created zip. Even after several reboots it still happens.

EDIT: device is galaxy nexus with android 4.3
[Android Software/Hacking General [Developers Only]] d08speed3:
Which file do I download? I see three 1.1.1 files and each download with a long name
[Android Software/Hacking General [Developers Only]] chachin:
looks like you have the droid dna and optimus g so you should get the armeabi since they are qualcomm :D
[Android Software/Hacking General [Developers Only]] takota6:
Chachan you answered 1 of my questions (DNA) I've been studying the forums for a week trying to figure out where the Single zip is? Other than all the android,app,bin,lib etc

Æaa\../
[Android Software/Hacking General [Developers Only]] d08speed3:
Yay it worked :) thanks so much! I just migrated over to 4.4 and missed odex and a quick Google search made me end up with your thread.
[Android Software/Hacking General [Developers Only]] overclockthesun:
[MENTION=4944549]MatrixDJ96[/MENTION]

I tried installing this on my Moto Defy running cm11 and TWRP. Well first I got and error in terminal saying odex --- not found.

So I manually copied everythign to the right places ...fixed permissions and now I get

:Segmentation Fault: error

Please guide me as to what I can do. The zip does not work in TWRP.

---------- Post added at 05:40 PM ---------- Previous post was at 05:10 PM ----------

Well, for some strange reason afer wiping dalvik and cache...it worked. Now of course my system restarted abruptly when odexing "services.jar"
[Android Software/Hacking General [Developers Only]] appman1234:
There are 3 files (ARMEABI, MIPS & X86) in the folder, I don't know which one should be downloaded and flashed. Please advise.

Thanks!
[Android Software/Hacking General [Developers Only]] BajoPrimate:
Hi appman1234.

You could look for it in your build.prop.

http://xdaforums.com/showthread.php?p=47616870

Cheers. Good luck.

Sent from my LG P76020L-EUR-XX unlocked and rooted
[Android Software/Hacking General [Developers Only]] runeupo:
[MENTION=4944549]MatrixDJ96[/MENTION]

odexed all, works flawlessly, Nice performance boost on app start up, Thanks!!

Motorola Defy on [MENTION=4173406]Kayant[/MENTION]'s Slim 4.1.2 [mb525red [MENTION=5077112]Taki_Jeden[/MENTION] 09052013] [SlimBased]
[Android Software/Hacking General [Developers Only]] overclockthesun:
Where is this zip? I can't find it in my sdcard. I odexed all my apps and I get optimizing apps on every boot.

I get no return value when I type set in terminal too after odex.
[Android Software/Hacking General [Developers Only]] yt92:
Just applied this and I can feel the significant improvement THX!!

BTW, what does 'customization more/less' mean? What can I do with a Deodexed ROM or what I can't do with a Odexed ROM?
[Android Software/Hacking General [Developers Only]] :
You won't be able to use mods that do things like change colours in apps if your ROM is odexed. Like features in Slim or PA.

Sent from my Galaxy Nexus
[Android Software/Hacking General [Developers Only]] manish19:
Odex downloaded apps

Does this script in anyway odex the downloaded apps.... /data/app ?
[Android Software/Hacking General [Developers Only]] BajoPrimate:
Hi manish19.

No, it doesn't.

Cheers. Good luck.

Sent from my LG P76020L-EUR-XX unlocked and rooted
[Android Software/Hacking General [Developers Only]] Coolgoly:
Script works fine on Nexus 4 and Purity rom.
[Android Software/Hacking General [Developers Only]] manish19:
One more thing... after having odexed my ROM... All apps that I install afterwards will be odexed ones right??

A silly question to ask but I used another odexing script and the ROM seemed to be odexed. However when I installed third party apps, they had their .dex files in dalvik folder.
[Android Software/Hacking General [Developers Only]] memaro_maro:
i already using lucky patcher.apk to odex all system app n framework..

does this tool give a better result than lucky patcher???

anyone??

sorry, my bad english..

galaxy nexus i9250
[Android Software/Hacking General [Developers Only]] BajoPrimate:
Hi manish19, with this tool you may have odexed your current system apps and framework, what you install after this won't be automatically odexed.

If you want it, you could try odexing all apps in data with the other MatrixDJ96's tool: http://xdaforums.com/showthread.php?t=2390162 .

Cheers. Good luck.

Sent from my LG P76020L-EUR-XX unlocked and rooted
[Android Software/Hacking General [Developers Only]] manish19:
But why is it like this?

Is there no way in which we can change this as well? i.e apps are also installed as odexed.

Can you tell me where this is governed? Is it in the framework or someplace else?
[Android Software/Hacking General [Developers Only]] antonio8297:
Tried.

It re-odex only system and priv-apps but not the framework

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Android Software/Hacking General [Developers Only]] MatrixDJ96:
Before odex system app and priv-app odex framework
[Android Software/Hacking General [Developers Only]] antonio8297:
Are already odexed

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Android Software/Hacking General [Developers Only]] MatrixDJ96:
Delete all file .odex from /system/app and /system/priv-app so try again
[Android Software/Hacking General [Developers Only]] antonio8297:
Worked fine. Thanks

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Android Software/Hacking General [Developers Only]] johnco1972:
That thread states the tool does not work with KitKat. Is odexing the data/app folder not possible in android 4.4?
[Android Software/Hacking General [Developers Only]] gpvecchi:
Oh, 1.1.1 version doesn't self-reboot...
[Android Software/Hacking General [Developers Only]] eushaun99:
I don't think so, I think MatrixDJ96 didn't include the option to odex data because there were a lot of unnecessary problems in the old script for some people while odexing data apps.
[Android Software/Hacking General [Developers Only]] johnco1972:
Bummer, but understandable. I wish I understood the issue with odexing some apks and not others.
[Android Software/Hacking General [Developers Only]] saumil007:
Amazingg work ! :D :) Thanks :)
[Android Software/Hacking General [Developers Only]] johnco1972:
@ MatrixDJ96. This tool works very good. I love that I can update the system/app files. I did notice that it doesn't seem to recognize the system/app-priv folder or files that android 4.4 uses. Will that be in a future update?
[Android Software/Hacking General [Developers Only]] zoman7663:
That was the first thing I checked (SlimKat 4.4.2 Tmo) and I was pleasantly surprised to see that It did in fact Odex that folder also.

All went very smooth and a noticeable increase in response times. THANKS!
[Android Software/Hacking General [Developers Only]] carper84:
What type of zip i must download? X86, MIPS or What? I'm on cm 10.1

Thanks

Inviato dal mio Xperia Arc S con Tapatalk 2
[Android Software/Hacking General [Developers Only]] aniket.lamba:
Deleted
[Android Software/Hacking General [Developers Only]] Coolgoly:
OdexerTool_1.1.1_ARMEABI is right for Xperia Arc S.
[Android Software/Hacking General [Developers Only]] John_wba:
Which one do I download for Samsung s4 international?
[Android Software/Hacking General [Developers Only]] John_wba:
This is what I'm left with. No options nothing.
[Android Software/Hacking General [Developers Only]] johnco1972:
Looks like you're already odexed. Try typing "all" at the prompt and see if it runs.
[Android Software/Hacking General [Developers Only]] Coolgoly:
You have to select "linux" in terminal emulator's settings\kind of terminal or terminal type(my menu isn't in english! :laugh: ) don't write it as a command.

After this type commands: su, odex, dexo -fr
[Android Software/Hacking General [Developers Only]] djdeeles:
whats the point of odexing 4.4 roms. Android 4.4 creates dex files again at optimization startup?
[Android Software/Hacking General [Developers Only]] d08speed3:
HTC DNA
[Android Software/Hacking General [Developers Only]] rignfool:
That prolly means you have odex files in your framework directory
[Android Software/Hacking General [Developers Only]] peich1:
It will not recreate the dex files if you delete them from the apk file. I managed to odex my 4.4 rom and it's working great. But I had to manually delete the dex files from every apk file because this function is disabled for 4.4. Is there anyway to reenable it? It's a pain having to do all the deleting manually everytime you update the rom. I tried modifying some lines from the script, but all I got were zipalign errors.
[Android Software/Hacking General [Developers Only]] johnco1972:
I believe if you delete the dex files from the apk files you cannot switch to ART runtime. I might be wrong on that, though
[Android Software/Hacking General [Developers Only]] John_wba:
Is there anyway to delete classes.dex on KitKat, as I know the options are disabled on this script
[Android Software/Hacking General [Developers Only]] fedelamb:
Where can i disable those file ??
[Android Software/Hacking General [Developers Only]] Eyalkn:
It detects your rom and disables these automatically.
[Android Software/Hacking General [Developers Only]] BajoPrimate:
Hi fedelamb, if you don't enable them manually, those options will stay disabled. Cheers. Good luck.

Sent from my LG P76020L-EUR-XX unlocked and rooted
[Android Software/Hacking General [Developers Only]] JJT211:
Im running CM 10.1.3 on Razr HD. Which should I DL?
[Android Software/Hacking General [Developers Only]] eushaun99:
If I'm not mistaken, RAZR HD has an Intel chip right? Then choose x86.
[Android Software/Hacking General [Developers Only]] peich1:
Probably. I use Dalvik anyway, so no big deal to me.
[Android Software/Hacking General [Developers Only]] John_wba:
Bump
[Android Software/Hacking General [Developers Only]] openmatrix:
Why changing terminal type to Linux ? I odexed mine with default one and I haven't seen any problem till now
[Android Software/Hacking General [Developers Only]] Coolgoly:
Because is written in the OP.
[Android Software/Hacking General [Developers Only]] openmatrix:
What's the logic in that ?
[Android Software/Hacking General [Developers Only]] John_wba:
Non what so ever, it works fine even without setting it to Linux mate.
[Android Software/Hacking General [Developers Only]] openmatrix:
OK thanks buddy☺☺
[Android Software/Hacking General [Developers Only]] peich1:
Bump
[Android Software/Hacking General [Developers Only]] Barua:
Very nice tool, thanks.
[Android Software/Hacking General [Developers Only]] gpvecchi:
I noticed now that my framework (see signature) is always deodexed...
[Android Software/Hacking General [Developers Only]] openmatrix:
How to delete classes.dex from apk?? Can u explain please??
[Android Software/Hacking General [Developers Only]] peich1:
Just copy the apk's to a PC, open them with winrar (the apk file is just a zip file), then remove the dex file and save the apk. After that, just copy the apks back and set the right permissions. It's easy... but very time consuming.
[Android Software/Hacking General [Developers Only]] uremytoy:
great tool man, i've been searching something like that to odex my XL. But i've got an issue. I mean i have changed in settings "Remove classes.dex & Zipalign" and i have also got message that zip was created and i should flash it but... i dont have any zip :( on my external sd or internal sd. Also it has created folder NukaTool can i delete it or leave it be?
[Android Software/Hacking General [Developers Only]] John_wba:
No need for a pc, you can do it with root explorer, takes too long with a lot of apps, so no point doing either way unless very bored lol
[Android Software/Hacking General [Developers Only]] peich1:
That's why I used a PC, it's much faster. I needed around 10 min., it's OK if you change ROM once every month or 2 months. But if it's more often.. that's why it'd be very useful if this tool could do it.
[Android Software/Hacking General [Developers Only]] John_wba:
I would like it to do it as well.
[Android Software/Hacking General [Developers Only]] openmatrix:
You mean system apps or data apps?
[Android Software/Hacking General [Developers Only]] John_wba:
I don't know about him, but I'd like to remove all classes.dex as they are not needed once odexed and are wasting space, I wonder the reason it was removed from the script for KK?
[Android Software/Hacking General [Developers Only]] lilgiz:
I think the classes.dex files are needed if you switch to the ART runtime
[Android Software/Hacking General [Developers Only]] peich1:
I'm talking about system and framework apps. Data apps are frequently updated, I don't see the point in odexing them.

---------- Post added at 01:07 PM ---------- Previous post was at 01:06 PM ----------

It's assumed that if you're odexing is because you aren't switching to ART and, therefore, you don't need the classes.dex files anymore.
[Android Software/Hacking General [Developers Only]] manan001:
- download file

- go to recovery

- install zip

- reboot

- open terminal emulator (will be installed automaticaly)

- setting terminal type "Linux"

- type su to obtain root permission

- type odex and enjoy!

how to execute this and when can u be precise in steps .. i use dalvik and 4.1.2 JB on galaxy s2 9100
[Android Software/Hacking General [Developers Only]] John_wba:
How can you not understand those very simple instructions? I think you are beyond help my friend. There is no way to make those instructions any simpler. :banghead:
[Android Software/Hacking General [Developers Only]] manan001:
I am getting error in terminal

Sent from my GT-I9100

---------- Post added at 08:34 PM ---------- Previous post was at 08:33 PM ----------

On remove command so need ur help..

Sent from my GT-I9100
[Android Software/Hacking General [Developers Only]] eushaun99:
Screenshot?
[Android Software/Hacking General [Developers Only]] manan001:
Sent from my GT-I9100
[Android Software/Hacking General [Developers Only]] manan001:
No the thing is I have reached this step now what how to remove apk and ziplings as I tried not happening. . Have I something missed

Sent from my GT-I9100[/QUOTE]

Sent from my GT-I9100
[Android Software/Hacking General [Developers Only]] Molitro:
Missing something here. Where's the logic in "if you odex then you're not switching to art"?

Swiftkey'd from my Nexus 5
[Android Software/Hacking General [Developers Only]] manan001:
No I dont use ART. See the error I am getting and no zip file is created on sd card.

Sent from my GT-I9100
[Android Software/Hacking General [Developers Only]] peich1:
I mean, if you're odexing dalvik is because you are fine with it and art is not working for you. Maybe in the future, when art works correctly for you, you'd decide then to switch to art, but you'll have a new rom anyway. So no point on storing the classes.dex files.
[Android Software/Hacking General [Developers Only]] Molitro:
I think I took it out of context. Nevermind.
[Android Software/Hacking General [Developers Only]] manan001:
Ok can u guide me what I need to do next..

Sent from my GT-I9100
[Android Software/Hacking General [Developers Only]] John_wba:
Thus causes a bootloop when odexing on chaos 4.3 TW rom. It will create the optimized system zip then after I flash in recovery it will stick at boot animation
[Android Software/Hacking General [Developers Only]] Prasad:
Working flawlessly... Thanks a ton! :)
[Android Software/Hacking General [Developers Only]] Und3rtaker:
hi,

i have a problem. Today i updated my system Mackay ROM 4.1.7 to Mackay ROM 4.1.8, and after i odex all i get:

unzip: can't find file table (or something like this)

after restart, if i type odex, i get:

//

System priv-apps Are: unzip: can't find file table

Odexed

//

and if i odex again, i get similar message:

//

unzip: can't find file table

//

if i manualy delete all odex files, i get Deodexed chech on all 3.

thanks :)
[Android Software/Hacking General [Developers Only]] 1Speede1:
for odex 4.4.2 i use 1.0Beta5 Once she gets rid of Dalvik-Cache

What about is https://code.google.com/p/android/issues/detail?id=64472

Odex files not work on ART

If odex kitkat in Odexer Tool 1.1.1 the odex files is not used by system is still used dalvik-cache

if odex kitkat in Odexer Tool 1 beta5 and enable Remove classes.dex" & "Zipalign its work ok and system not used dalvik-cache

in Kitkat for ART odex files not used it`s rebuild cahe from classes.dex
[Android Software/Hacking General [Developers Only]] phil_greg2001:
Hi all,

I use this great tools but is it possible odexing the framework of KK 4.4.2 with this tools ?

Many thanks.
[Android Software/Hacking General [Developers Only]] phil_greg2001:
Thanks luqman98,

But when I type odex I don't have this choice ?...

Any idea?
[Android Software/Hacking General [Developers Only]] 1Speede1:
possible if there is no odex files in system

use the old version 1.0 beta5 and enable Remove classes dex
[Android Software/Hacking General [Developers Only]] phil_greg2001:
Thanks.

I'll try and see.

Bye
[Android Software/Hacking General [Developers Only]] phil_greg2001:
It doesn't work... Maybe my old SGS i9000 don't have more space...

:crying:
[Android Software/Hacking General [Developers Only]] dookiebfr:
For those who couldn't flash zip file like me try to rename it to a shorter name without spaces on it but before you do it just reboot system as your apps will get all messed without reboot.

Btw, all i did was:

1 - delete odex files as said previously

2 - install script

3 - run option 1 and then all

Good work! ;)
[Android Software/Hacking General [Developers Only]] audiphil3:
I'm a bit confused. The OP stated that the command "+ frame" odexes all framework. Seems like 'dexo -fr' does the same thing. Which one should be used?

Edit: NM, figured it out.
[Android Software/Hacking General [Developers Only]] SurajH:
which zip hv to download from download section

3 zip present?????:confused:

PLZ Reply
[Android Software/Hacking General [Developers Only]] trjlive:
You use the one that matches the type of processor in your device: ARM, MIPS, or x86.

---------- Post added at 11:24 AM ---------- Previous post was at 11:17 AM ----------

Odexed framework and system using Odexer Tool v1.1.1. Worked perfectly on my HTC One running GPE 4.4.2, as well as my Galaxy Tab 2 7.0 running CM11 4.4.2 latest nightly.

[MENTION=4944549]MatrixDJ96[/MENTION] Thank you for developing this! Great tool!
[Android Software/Hacking General [Developers Only]] SurajH:
Mount2sd works after odexed Rom????

Bcoz i want to install it bcoz of less internal memory:confused:
[Android Software/Hacking General [Developers Only]] tarkin88:
Hi I'm have maybe a previous question, but if I have a ROM in zip format, how to run this awesome tool on it? Because I'm understand this only work on running ROM?

Sorry for my bad english. Greetings

The device is a Moto G with KK
[Android Software/Hacking General [Developers Only]] audiphil3:
Applied the script to a 4.1.2 ROM on my Galaxy S2 (T989). Framework is odexed, but for systemapps, I get only "partially odexed." Any ideas on why this might be happening?

When I ran the script the first time, I did: su > odex > all.
[Android Software/Hacking General [Developers Only]] pradeeppk:
Anybody please explain the command to get option 1 to enable remove.dex. canot find it. Already odexed it, but android is updating after booting. Defy with KitKat 4.4.2