yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] hgoldner:
Updating BusyBox works....

That solved it for me, too. HTC Rezound running "Blue" deodexed version of stock Global OTA. Hiccoughed on velvet.apk because ROM has Google NOW embedded for ICS. I wasn't using it, so I restored original velvet.apk and repeated script; it finished out and I'm good to go.

I like now having the ability to flash a deodexed ROM, make the customizations I want, then reodex it on the device to speed things up.

Thanks.
[Android Software/Hacking General [Developers Only]] nurfirdaus:
Here, I attach..
[Android Software/Hacking General [Developers Only]] MatrixDJ96:
And the phone stucks in bootloop?

So the problem is of the kernel
[Android Software/Hacking General [Developers Only]] bayustev:
May I ask sir..can I flash this zip file using stock recovery? Im using gt-s6310...thanks

send by my GT-S6310 custom
[Android Software/Hacking General [Developers Only]] MatrixDJ96:
..i don't know... you can try
[Android Software/Hacking General [Developers Only]] nurfirdaus:
I have tried several kernel but still bootloop :rolleyes: then i have tried to odex my phone by Kuban Odexer with method 2 and it was successful.

Here I am attaching the log Odexed with other kernel for your reference.
[Android Software/Hacking General [Developers Only]] gpvecchi:
Impossible to odex Cyanogenmod, a lot of FC after reboot...
[Android Software/Hacking General [Developers Only]] rignfool:
That would be just you.... Works fine for me
[Android Software/Hacking General [Developers Only]] gpvecchi:
Do you have latest 4.3 nightly?
[Android Software/Hacking General [Developers Only]] muktheo:
how if my ROM already odex before?

do this script give me more better experience?thanks sir :)
[Android Software/Hacking General [Developers Only]] Muksleo:
Thanks a lot brother ..

works perfectly on my one x running sense 5 :highfive: :o:o

---------- Post added at 07:12 AM ---------- Previous post was at 06:53 AM ----------

just one question sir, if i install a new app or update an app i just have to run dexo -dat or dexo-all?
[Android Software/Hacking General [Developers Only]] MatrixDJ96:
Dexo -dat :)
[Android Software/Hacking General [Developers Only]] madhavs:
working Perfectly on my galaxy nexus with beanstalk ROM build 4.3
[MENTION=4944549]MatrixDJ96[/MENTION] thanks a lot for a such wonderful script
[Android Software/Hacking General [Developers Only]] lozohcum:
Worked perfectly on stock ICS, gave huge boost.

but

Doesn't work on MIUI5 3.8.2

It says:

Impossible 'preloaded-classes' Because File Not Found!
[Android Software/Hacking General [Developers Only]] diegz:
Worked ;)
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Since yesterday, I have Odexed CM10.2 (2013-09-02 nightly) on an Galaxy S3, CM7 on an Samsung Galaxy Y and HTC Wildfire S, CM9 on an HTC Legend and CM10.1 on an HTC Desire. All from an ADB Shell within the booted system (Since recovery will not work), all using the command "dexo -all" and all went fine.
[Android Software/Hacking General [Developers Only]] MatrixDJ96:
Thank you for your feedback <3 :)
[Android Software/Hacking General [Developers Only]] hgoldner:
Ran this "successfully" on an HTC Rezound running a slightly modified deodexed stock ROM; although it took two passes, I did manage to get a working bootable ROM, but then I noticed that about half of my HTC widgets had vanished.

Any ideas why/how? I'd like to try it again, but I need those particular widgets.
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Np. Now that I have your attention, I wanted to ask. I update my ROM regularly, so to make things easier, I have a custom package that I flash after each ROM updates which runs different custom scripts and such to setup things the way that I like them. Saves me a bunch of time on manual work. I wanted to add your dexo to this as well, to have it auto odex the ROM whenever I run the package, but it does not work in the recovery. It just prints "Failed To Odex ..." on each file it attempts to run it on. It seams to only work in a booted system.

I thought about taking a look, but I am pressed on time with other projects, and since you made it, you can navigate the script a lot faster than me, and properly find the issue in no time? Might be interesting to others as well to be able to run this in recovery.

I did try changing the PATH variable to make sure it used the same binaries as when the system was booted, but this still did not work.
[Android Software/Hacking General [Developers Only]] UnitedOceanic:
First could you share your package i would love to see what you have included.

Second what recovery do you use? As far as I know twrp can't use binaries that are dynamically linkes.
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
TWRP is sadly refusing to include sd-ext support for the Samsung i9300, so I am using PhilZ Touch (A CWM port) who was kind enough to include it on my request.

About my package, not much to see. It includes what is needed to run Xposed Modules and XPrivacy (Which needs a special Xposed binary), my Xposed Additions module, my sd-ext script, some custom kernel tweaks for the custom kernel that I am using, the custom kernel that I am using with my own ramdisk changes to include a better init.d support, a script to change some build.prop values like DPI and such. Mostly device specific changes and mostly me specific :)
[Android Software/Hacking General [Developers Only]] gpvecchi:
It seems that I am not lucky with this script; I successfully odexed my CM10.2 using stock kernel.

I had a lot of FC during odexing progress, I had to put back clock widget in my homescreen, but everything worked.

Except that I get the "Android is upgrading" at every reboot...

Any help, please?
[Android Software/Hacking General [Developers Only]] rignfool:
That comes from an odexed services.jar iirc... No fix... Just patience
[Android Software/Hacking General [Developers Only]] tdunham:
[MENTION=4944549]MatrixDJ96[/MENTION], Apologize if this has been addressed already.

Could you please add a few scripts to pull files to SD from root.

For instance:

dexo -fr -pullfr could odex entire framework, then pull files to SD.

dexo -pullfr could pull entire framework to SD without involving odexing process

dexo -cpa pullcpa

dexo -csa pullcsa

I think you get the idea. My purpose is to create an odexed version of a stable custom rom for the extra speed that users can use too.

Love the scripts. Tnx - TD
[Android Software/Hacking General [Developers Only]] Narenji89:
I wanna odex all my data partition except one app. Is there a way?
[Android Software/Hacking General [Developers Only]] tdunham:
Copy the app to SD with root explorer (probably in data/app) for safekeeping.

Then do the entire data partition. Afterwards, delete the xxx.apk and xxx.odex files for the one app and put your saved copy back and set correct permissions. The system won't know the difference. ;)
[Android Software/Hacking General [Developers Only]] pemell:
If I dexo -sys on my galaxy note 2 and slimrom 4.3 it won't work with several fc's.
[Android Software/Hacking General [Developers Only]] MatrixDJ96:
During the odex process it's normal that apps going in fc

After reboot all will work fine
[Android Software/Hacking General [Developers Only]] pemell:
I can assure you that it don't. Tried everything. And I mean everything.

com.android.process has stopped working or something. Don't remember exactly so I guess this bug report is of no worth. (Sorry about that).
[Android Software/Hacking General [Developers Only]] gpvecchi:
So if I restore a deodexed version of services.jar, Upgrading will be gone?
[Android Software/Hacking General [Developers Only]] datvui2211:
Could anyone give me a mirror link? Thanks

Gửi từ Galaxy Y bằng cách sử dụng tia X truyền từ mặt trời!
[Android Software/Hacking General [Developers Only]] tdunham:
Here you go.
[Android Software/Hacking General [Developers Only]] Narenji89:
Odexed data partition and performance boost is noticeable but why Google has not done it itself?
[Android Software/Hacking General [Developers Only]] hgoldner:
FWIW, tried this twice on an HTC Rezound. First time it was running a lightly modified stock deodexed ROM and the result was the disappearance of about half of the HTC built-in widgets, resulting in my wiping and restoring the prior deodexed ROM.

Second time was on a rooted pure stock deodexed ROM. First I ran the -fr variant. While the reboot command didn't work (I did so manually), the ROM booted up fine and everything was peachy. Next ran the -sys command and the script got about half way through then the handset auto-rebooted. Checked the log and it hadn't finished so ran it again, rebooted again after a little bit; checked the log and while it had gone further, it hadn't finished.

Third time was the charm and all widgets are still present in the ROM. Definitely detect a speed improvement in the handset's response now that the ROM is reodexed.
[Android Software/Hacking General [Developers Only]] freaked9:
I installed the script on my HTC One X, Sense 5 rom (Insertcoin), and it worked fine, until i wanted to update the maps app.

During the installation i got an error message that says: Error, insufficient storage available

I could update other programs (witch are not so big as maps).

Any ideas what to do with that?
[Android Software/Hacking General [Developers Only]] rasanu:
Impossible to unzipped framework.jar??????

Help :confused:
[Android Software/Hacking General [Developers Only]] KShion619:
Dexo On framework+bootstrap=Bootloop?

Do you need space in /boot to odex the bootstrap?
[Android Software/Hacking General [Developers Only]] MatrixDJ96:
Install the latest version of busybox from the play store
[Android Software/Hacking General [Developers Only]] MatrixDJ96:
No, you need space in system
[Android Software/Hacking General [Developers Only]] TheNerd:]:
Just odexed thank you!
[Android Software/Hacking General [Developers Only]] TheNerd:]:
I have a question. Do I have to reodex after each flash of ROM/kernel/gapps/mods ?
[Android Software/Hacking General [Developers Only]] MatrixDJ96:
Rom/Gapps :)
[Android Software/Hacking General [Developers Only]] Clorush:
Hello MatrixDJ69,

I tried to use the script on my Samsung Galaxy Tab 2 with Slim Bean 4.2.2 Build 8,

when I typed dexo-dat to odex data, it worked fine. Next, I typed dexo-all, and when it finished rebooting all user apps were gone from the Tab.

Any idea what happened?
[Android Software/Hacking General [Developers Only]] MatrixDJ96:
Yes... when you odex an apk it depends by bootstrap. The bootstrap is the most important part of the framework..when you odex framework (so bootstrap) you change it. you type dexo -all so you also odex framework... so you changed bootstrap and all app odexed before the framrwork can't be odexed. Repair this problem you can:

Reinstall the rom or reinstall the data app
[Android Software/Hacking General [Developers Only]] rasanu:
Will try later.... thanx:thumbup:

---------- Post added at 08:47 PM ---------- Previous post was at 08:25 PM ----------

After updated busybox it is showing this

Universal Odex Script

Version 6.2

Product Model: E10i

[: Z: unknown operand

Unknown Rom

(Gingerbread)n: 2.3.7

Free Space In System: 68 Mb

----------------------------------------

Possible Command For Your Phone:

dexo -dat | Odex Data Apps

dexo -bs | Odex BootStrap

dexo -fr | Odex BootStrap and Framework

[1] Segmentation fault [[ "${CONSSYS}" ...

dexo -all | Odex All Rom

----------------------------------------

Not Recommended Command For Your Phone:

----------------------------------------

Command Not Possible For Your Phone:

dexo -pa | Odex Preload Apps

dexo -cpa | Odex Custom Preload Apps

dexo -csa | Odex Custom System Apps

dexo -fcs | Odex BS-FR-CSA

----------------------------------------

Universal Odex Script

Version 6.2

Product Model: E10i

[: Z: unknown operand

Unknown Rom

(Gingerbread)n: 2.3.7

Checking For Root Permissions...

Root Permissions Acquired!

Free Space In System: 68 Mb

Sufficient Space!

Mounting File System...

Setting Variable and Costant...

Setting BusyBox...

BOOTCLASSPATCH: /system/framework/core.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/core-junit.jar

BOOTSTRAP: core.jar bouncycastle.jar ext.jar framework.jar android.policy.jar services.jar core-junit.jar

Grepping 'preloaded-classes'...

Archive: framework.jar

Length Date Time Name

-------- ---- ---- ----

unzip: zip flags 1 and 8 are not supported

Impossible Unzip Framework.jar To Grep 'preloaded-classes'!

Restoring BusyBox...

Exiting...

#

... not working
[Android Software/Hacking General [Developers Only]] eushaun99:
Hi [MENTION=4944549]MatrixDJ96[/MENTION], I just odexed my system apps, all of them odexed successfully but the last apk, webaudiores.apk, failed to odex. In the log, it showed

Odexing webaudiores.apk...
--- BEGIN 'webaudiores.apk' (bootstrap=0) ---
--- waiting for verify+opt, pid=7894
--- END 'webaudiores.apk' --- status=0xff00, process failed
Failed To Odex webaudiores.apk

Does it mean that it's unable to odex? Here is the odex.log. https://db.tt/98FF3DCH
[Android Software/Hacking General [Developers Only]] freaked9:
Hello!

I have some problems, it might be related to the script, at least i have no other idea.

A week ago i used the script on my HTC One X Sense5 rom, but i got errors when i tried updating apps like Maps -> Link, reported it but got no answer.

I've had enough of that so i did a full wipe and installed some other (deodexed) Rom, two after another actually.

Now i got an error message on both of these Rom's, when i want to install some app's, like Whatsapp (see attached image as well):

Unknown error code during application install: "-24"

Can it be related to the script i used before the full wipes?

I used the "dexo -all" and "dexo -dat" commands.
[Android Software/Hacking General [Developers Only]] MatrixDJ96:
A full wipe of data after odex is raccomended
[Android Software/Hacking General [Developers Only]] freaked9:
I did. Wiped everything, system,data, caches. Can the script affect something that is not going away with a full wipe?
[Android Software/Hacking General [Developers Only]] Groot:
good job on this

Sent from my muffintalk
[Android Software/Hacking General [Developers Only]] freaked9:
A Factory Reset solved my problem, sorry for disturbing :)
[Android Software/Hacking General [Developers Only]] MatrixDJ96:
No problem sir :)

Sorry for my late reply but I'm really busy (with school)
[Android Software/Hacking General [Developers Only]] boe323:
I want to odex a few apks, in an already stock odexed rom, im rooted obviously, can I use this to odex the apks ive added to system/app ?.EDIT:, well, I tried on htc onex+ 4.2.2, I just keep getting unkown rom/device, cant use this command etc etc.
[Android Software/Hacking General [Developers Only]] gpvecchi:
Failed to odex webaudiores.apk on latest CM. It worked fine with 1/10 version...
[Android Software/Hacking General [Developers Only]] eushaun99:
Yep, me too.
[Android Software/Hacking General [Developers Only]] MatrixDJ96:
Can you give me your webaudiores.apk?
[Android Software/Hacking General [Developers Only]] gpvecchi:
Here it is, thanks!
[Android Software/Hacking General [Developers Only]] eushaun99:
Here. Its is taken from Infamous PAC ROM, which is based on PAC. Good luck! :good:
[Android Software/Hacking General [Developers Only]] MatrixDJ96:
Ok i found the problem :)

These programs don't contain classes.dex (this isn't a bug of programs but these apks haven't any sources) so no odex

No classes.dex, no optimized-dex
[Android Software/Hacking General [Developers Only]] eushaun99:
Good to know. Thanks. :)
[Android Software/Hacking General [Developers Only]] gpvecchi:
Happy to hear that!
[Android Software/Hacking General [Developers Only]] MatrixDJ96:
New Update! :)

Changelog:

Universal Odex Version 6.3

- A Lot Of Bugs Fixed
[Android Software/Hacking General [Developers Only]] Narenji89:
Would be great if you add command to re-deodex data partition and also remove unused odexes in data
[Android Software/Hacking General [Developers Only]] rasanu:
It doesn't works with GingerDX 31v :(:(... is there any other way to work.
[Android Software/Hacking General [Developers Only]] MatrixDJ96:
To odex data you can use dexo -dat

Other fix in next release
[Android Software/Hacking General [Developers Only]] MatrixDJ96:
Tell me the problem
[Android Software/Hacking General [Developers Only]] MatrixDJ96:
Features added :)

You can't use this in recovery
[Android Software/Hacking General [Developers Only]] eryzerz:
The latest build running with no problem on my Wonder. It had odexed the whole of my system apps and framework without got fail. Thanks dev!:thumbup:
[Android Software/Hacking General [Developers Only]] UnitedOceanic:
Awesome thank you!!! hopefully I will have time to test its out this weekend.
[Android Software/Hacking General [Developers Only]] gpvecchi:
I have problems with 6.3 script: some apps (like Google keyboard and Terminal itself) don't work or FC...

I tried a couple of times; working flawless with 6.2 script (well, I have to re-configure email app and I had to put back clock in homescreen, but I think this is reasonable).
[Android Software/Hacking General [Developers Only]] MatrixDJ96:
No problem to odex terminal...

Can you give me the log?
[Android Software/Hacking General [Developers Only]] rasanu:
Impossible to unzip framework.jar
[Android Software/Hacking General [Developers Only]] MatrixDJ96:
Update your busybox and try again
[Android Software/Hacking General [Developers Only]] gpvecchi:
Nope... I tried reinstalling latest version, same here...
[Android Software/Hacking General [Developers Only]] MatrixDJ96:
Can you give me the log of odex?
[Android Software/Hacking General [Developers Only]] azyar:
help, I used your script and my Album always stopped when I try to launch it. How to fix that? I used this command dexo -all

I'm using Xperia sola, Stock firmware with custom kernel.
[Android Software/Hacking General [Developers Only]] azyar:
how do I do that? LOL I'm kinda noob on this one :P sorry
[Android Software/Hacking General [Developers Only]] MatrixDJ96:
You must reinstall rom, , reinstall script and type dexo -all -log
[Android Software/Hacking General [Developers Only]] azyar:
Okay thanks. I'll report to you when I'm done. BTW your script rocks

====================================================================================================

Here's the log.
[Android Software/Hacking General [Developers Only]] gpvecchi:
Could you please wait a couple of days? I'm on CM, so I'll update fast, I'd prefer not to reinstall then reodex...

BTW, with 6.3 my Superuser app lost all granted programs...
[Android Software/Hacking General [Developers Only]] MatrixDJ96:
No problem in the log..

Inviato dal mio GT-I9100 con Tapatalk now Free
[Android Software/Hacking General [Developers Only]] Konsumhaus:
Great work! THX :)

I've run it with -all.

Two questions:

1. Must i run -dat too, or is this even eine wit -all?

2. I've read hat i must run the script again after installing an App. But what about going to an update? For example from slimrom 1.4 to 1.6 ?
[Android Software/Hacking General [Developers Only]] MatrixDJ96:
With dexo -all you don't odex data

For update you must reinstall script and rerun it
[Android Software/Hacking General [Developers Only]] Konsumhaus:
THX again.

Run gold on SGS I9000 :)

Another question: Im using an Galaxy Tab 2 10.1 with a second user.

Someting special with multiuser?
[Android Software/Hacking General [Developers Only]] MatrixDJ96:
No problem with multiuser :)
[Android Software/Hacking General [Developers Only]] Konsumhaus:
UR really fast bro.:thumbup::thumbup:

THX
[Android Software/Hacking General [Developers Only]] Konsumhaus:
I've an issue in my tab:

When i want to instaal an App from playstore, it wasn't istalled with the message 'not enoth space in storage free'.

Another issue: when Im using Titanium Backup, the tab always reboot :(
[Android Software/Hacking General [Developers Only]] MatrixDJ96:
You can try to do a factory reset
[Android Software/Hacking General [Developers Only]] rasanu:
I have updated busybox but its still not working...:(:(
[Android Software/Hacking General [Developers Only]] Konsumhaus:
But factory reset is only the 'final solution' :(

I've restored my last backup, than run the script again...

The issue withe storage only seems Tod be with kingsoft office free.

I've installed this App...when starting it, there's an pop-up Tod agree the terms of use... But i can't accept:confused:

The App crashes.

Ethan deinstalling App and try to install it New from playstore will causes the storage issue.

Is it an app-issue?
[Android Software/Hacking General [Developers Only]] MatrixDJ96:
Impossible to unzip framework?
[Android Software/Hacking General [Developers Only]] MatrixDJ96:
Have you done dexo -dat?
[Android Software/Hacking General [Developers Only]] UnitedOceanic:
So I had the chance to try the new version.

I ran the dexo -all command.

It worked but it had again the same problem with carbon ROM. My phone (nexus 4) rebooted during the first run between keep.apk (google keep) and keychain.apk (NFC app). Nothing weird in the log.

The second time the screen went dark at wallet.apk and I had to force a reboot. Ran the script a their time and now everything seems fine.

Thank you the phone seems now a lot faster!
[Android Software/Hacking General [Developers Only]] MatrixDJ96:
For you it's better to do run my script with adb (because keep, keychain and wallet can be corrupped)
[Android Software/Hacking General [Developers Only]] Konsumhaus:
Yes.

First dexo -h, dexo all ....reboot.....dexo -dat....reboot
[Android Software/Hacking General [Developers Only]] UnitedOceanic:
keep is working fine. i don't use wallet and nfc, so it's not that bad ;)
[Android Software/Hacking General [Developers Only]] MatrixDJ96:
So not use dexo dat

With root explorer clean data/app (remove odex of kingsoft office)
[Android Software/Hacking General [Developers Only]] Konsumhaus:
No dexo -dat for the whole system, or dexo -dat and than remove the odex for kingsoft?

Sorry for the noobisch question ;)
[Android Software/Hacking General [Developers Only]] MatrixDJ96:
Nothing... remove only odex of king office
[Android Software/Hacking General [Developers Only]] Konsumhaus:
?

So, i did this:

Dexo -all

Reboot

Dexo -dat

Reboot

Remove Codex oft kingsoft office from data/App

Tried starting App=> FC oft the App

Installed App again Form Playstore

App is starting but i cant hit the agree-button:(

Whats wrong?
[Android Software/Hacking General [Developers Only]] MatrixDJ96:
1- Remove all file of kingsoft office

2- Reinstall rom and run dexo -all from adb

3- Reboot

4- Install Kingoffice and stop

Not dexo -dat
[Android Software/Hacking General [Developers Only]] csoulr666:
Is is safe to use if i'm using an INT2EXT script??
[Android Software/Hacking General [Developers Only]] MatrixDJ96:
It's safe if you use only dexo -all

Not dexo -dat
[Android Software/Hacking General [Developers Only]] Konsumhaus:
I dont know adb. Can i use the terminal Emulator?
[Android Software/Hacking General [Developers Only]] Assa551N:
I opened the terminal emulator, give su and "dexo -all"

When it finished, I rebooted my phone. After reboot, all system apps force close, when phone boot up or open apps

Omega v49

Boeffla latest stable
[Android Software/Hacking General [Developers Only]] MatrixDJ96:
Yes yes but for your phone adb is more safer
[Android Software/Hacking General [Developers Only]] Konsumhaus:
Sorry, but New Problem:

Titanium Backup causes reboot.

I've deinstalled TB, reinstalled rom, run script dexo -all and after reboot i've installed TB again.

But/ it Dorfes reboot again:(
[Android Software/Hacking General [Developers Only]] Konsumhaus:
Edit:

Solved Problem by myself: installed SuperSU

Now TB works fine and i will watch your script even on my Tab:):thumbup: