yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] vipa:
With Odexer 1.2 I am getting strange error (or not?) for priv-apps:

System priv-apps are: /system/bin/odex[666]: -n: not found

Previously (before moving to 4.4.2) used v1.1.1 without any issue.

Any hint on what might be causing this / how to fix this?

Product model: SM-N9005
Android version: 4.4.2 (KitKat)

Framework is: Odexed
System apps are: Partial odexed
[COLOR=Red] System priv-apps are: /system/bin/odex[666]: -n: not found[/COLOR]
Partial odexed

System free space: 588 Mb

Available command:

Odex system apps & priv-apps => sysapp
Odex all (sysapp) => all
Exit from the script => exit

Installed version 1.1.1 and уverything went smoothly - no problems at all.

Thanks
[Android Software/Hacking General [Developers Only]] stopro:
After odex should i use that disable/delete odex
[Android Software/Hacking General [Developers Only]] JohnCorleone:
I haven't seen that option yet. I think the way to go is odex the framework then run the option to get rid of classes.dex and zipalign. It could also be different depending on the device. I just ran odex framework then the option for the 2 system app files on my old Sprint Galaxy Nexus and after a reboot I had no more "Android is Upgrading". I will double check the folders to make sure but I just spent hours doing a clean install on my HTC One. I was getting a message that system was read only but I have a toggle for read/write on my HTC. My only worry is that the framework is very heavily modded and has some apks that weren't in earlier builds. Either way, I am going to keep testing until both phones are fully odexed. Of course I themed everything first. Also I use almost every app possible inverted so the classes.dex should be removed already if they were themed right....if everything is 100% then system/framework, system/app, and system/priv will all have an odex file after each apk and framework jar etc

Sent from my Galaxy Nexus using Xparent Gray Tapatalk 2
[Android Software/Hacking General [Developers Only]] stopro:
Thx i mean if i set disable&zipaling mean i still be odexed but rid off android upgradeing am i rite
[Android Software/Hacking General [Developers Only]] nagpalkapil:
I am unable to use it with pac man 4.4.2 Have suceesfully used it with CM 11 and other kitkat roms but this new version with pacman gives bootloop. Even after using odex and then all command before rebooting only applucations fc. It says x & y application fc then system ui fc. When it says system ui fc pressing ok again and again brings same screen again and hv no option other than to press ok. If reboot goes to bootloop.

Is there any way out? Or is due to so much customization in pacman that odexing is not possible. [MENTION=222656]matrix[/MENTION] Sir pls support and confirm.

Sent using Tapatalk Pro
[Android Software/Hacking General [Developers Only]] JohnCorleone:
Actually its my understanding that you want the odex file after each one but you should get rid of classes.dex and zipalign otherwise you'll have Android is Upgrading" every thing thatvyou odexed. I am going to try another device now....my HTC One. I kept getting system was read only so I made sure it was r/w in misc settings. I can't believe I used to odex one by one. I was just tired last night. However because I have 200 or so inverted apps it may already be done. I am going to keep testing until I understand the order 100%. Just make sure your theme is set before starting..

Sent from my Galaxy Nexus using Xparent Gray Tapatalk 2
[Android Software/Hacking General [Developers Only]] belloni:
Hi, I'm getting this error too, any one have any ideas please?
[Android Software/Hacking General [Developers Only]] JohnCorleone:
Yeah it does get rid of that long "Upgrading" period. I think people do things like zipalign and add lots of init.d scripts (many that are a placebo to try to get the odex feel back.

I think a great next step would be if you could add a deodex option or separate deodexing script because I have one line on Sprint and one on T Mobile. Some devices say on Sprint don't get tons of dev support and often people are waiting for a stock deodex release to swap in inverted apps or install an ad blocker. I am about 10 minutes from trying another time on my HTC One which is one of the most feature packed ROMs out with original code. I swapped in all blacked out apps as well but I am 99% that it will work as it should. Seeing Android is Upgrading" for 540+ files or whatever they are (I only have around 175 apps installed gets old having to wait.

To the guy who had trouble with PAC Man maybe there was a tiny coding error in ROMs bootclasspath. That first part has to be perfect

Sent from my Galaxy Nexus using Xparent Gray Tapatalk 2
[Android Software/Hacking General [Developers Only]] JohnCorleone:
Well, I did a clean install, swapped in 45 blacked out apps then flashed the base theme and finally this theme.

I flashed the script and went to Terminal. I entered "su" and enter then "frame" and enter. All went fast and smooth. I went back and entered "su" then "set" and > 1. It said it was read only even though the ROM says stock kernel is write enabled. Anyhow, I rebooted once and had the "Upgrading" but I bought an app called adbd insecure by Chainfire because I usually stick with stock kernels. I ran the command and got the "read only" message but I rebooted and it was gone and everything is perfect! Thanks!!

Sent from my HTC One using Xparent Gray Tapatalk 2
[Android Software/Hacking General [Developers Only]] nagpalkapil:
[MENTION=222656]matrix[/MENTION] sir pls reply something on the above post. Thanks

Sent using Tapatalk Pro
[Android Software/Hacking General [Developers Only]] JohnCorleone:
There has to be one conflicting tiny pain in the a$$ giving you trouble because the ViperROM for the HTC One is over 1gig and has the most customization options I have seen. I will try a Pac Man build for this device and see what happens.

Sent from my HTC One using Xparent Gray Tapatalk 2
[Android Software/Hacking General [Developers Only]] JohnCorleone:
For those of you who are trying this and once everything is odexed, try using SManager under "_Advanced" option. Set it to all it to write, find the zip in download and hit run. Enter su then odex and all will show odexed then the command for "set" and you will get the access

Sent from my HTC One using Xparent Gray Tapatalk 2
[Android Software/Hacking General [Developers Only]] stopro:
Mate i got problem i flashed stock rom and odex still persist and no way to rid off even when i resotre backup before odex , odex still there. I even tryed nuke script still the same. How to rid off odex cos i wanna do some mods before odex again
[Android Software/Hacking General [Developers Only]] Urticant2:
delete manually with root explorer not possible?
[Android Software/Hacking General [Developers Only]] stopro:
Nope when i delete it manualy system brick, have to flash stock again but after flash odex still there , i just instaled ubuntu and try (first lern how to use it) use rom kitchen to deodex rom again. But for now its anything i can do to sort that
[Android Software/Hacking General [Developers Only]] pemell:
What do you mean by this? You will have "access". Access to what?
[Android Software/Hacking General [Developers Only]] pemell:
[MENTION=4944549]MatrixDJ96[/MENTION] how can I confirm this is working? I've did some checks before and after and the ram usage directly after boot is the same with or without Odex.
[Android Software/Hacking General [Developers Only]] JohnCorleone:
I was mistaken by the instructions that the command to enable remove classes.Dex and zipalign was ">1" because thevcommands above it were set, all, sysapp, etc but I FINALLY figured out I literally have to type that line out....lol ...I just cleared out the classes.dex and zipalign and officially got that last step. I was following the commands under the blue font:D

Edit....Now the ROM is flying through everything!!!

Sent from my HTC One using Xparent Gray Tapatalk 2
[Android Software/Hacking General [Developers Only]] peter-k:
What do you mean by this, please?
[Android Software/Hacking General [Developers Only]] JohnCorleone:
I am in a terrible signal area its usually LTE alll Day... HTC One M7....Themed like no other and loaded with inverted apps and custom stuff.....lots of screenshots but they don't lie.

Edit...so on heavily themed and modified ROMs like I use where exactly do I run the classes.dex command? Sometimes with these VR themes I see a zipalign script in sbin and xbin and I have go tear into init.d scripts. Just odex and that's all you need!

Sent from my HTC One using Xparent Gray Tapatalk 2
[Android Software/Hacking General [Developers Only]] Urticant2:
I have the same opinion as you and I still did frequently try to see what's wrong but I think that there is no change as you said
[Android Software/Hacking General [Developers Only]] JohnCorleone:
I am trying a few commands for after odexing is finished to remount system read/write...

About to try mount -o remount,rw /system

I may need the exact devblock to add but I will know in 2 min....

Sent from my Galaxy Nexus using Xparent Gray Tapatalk 2
[Android Software/Hacking General [Developers Only]] peter-k:
I did not have a real difference in overall memory food-print. But I noticed there are lesser fluctuations than before.

To me this means that memory management is more efficient, and the system works more stabil. As well the peak memory required is remarkably lower than before. Also some individual apps have abt 20 - 25 % lower memory foot print, in particular those which stay resident and involve notifications (i.e. weather, data manager, Android Tuner).
[Android Software/Hacking General [Developers Only]] externus:
Hey, i get an error when the optimized zip should be created, could you help me pls?

The Error seems like this:

creating flashable zip in sdcard...

zip I/O error: Invalid argument

zip error: Could not create output file (OpitmizedJiayuG3s....bla bla something like this

My Phone : JiayuG3s

Rom: ME! ROM V2 -PURE VANILLA

especially the port from here
[Android Software/Hacking General [Developers Only]] JohnCorleone:
I haven't gotten that zip yet myself but if you have Titanium Pro you can move all of the classes.dex files from data/dalvik cache and select menu twice and integrate sys Dalvik into the ROM and back.

Sent from my HTC One using Xparent Gray Tapatalk 2
[Android Software/Hacking General [Developers Only]] sien1996:
Just tried this out, seems ok so far, will test and see. And ooh yeah it does support ART right? :D

Great work. :good:
[Android Software/Hacking General [Developers Only]] Eyalkn:
Yes
[Android Software/Hacking General [Developers Only]] rog_star:
What about an option to remove odex files from app/priv-app or framework instead of disabling the frame/sys command if odex files are detected.
[Android Software/Hacking General [Developers Only]] allen_ho:
when can I disable the "The options 'Remove classes.dex" & zipalign"'??
[Android Software/Hacking General [Developers Only]] undaclazz:
When you're on KK it is disabled by default
[Android Software/Hacking General [Developers Only]] coffeecore:
Which 1.2 version do I have to download? What's the difference?
[Android Software/Hacking General [Developers Only]] fendytrancers89:
any mirror please....
[Android Software/Hacking General [Developers Only]] JohnCorleone:
Check in post #7:thumbup::thumbup:

Sent from my SM-T217S using Xparent Gray Tapatalk 2
[Android Software/Hacking General [Developers Only]] Larvitarrr:
u0_a38@m7:/ $ su
root@m7:/ # odex
FATAL: cannot determine kernel version
Segmentation fault
FATAL: cannot determine kernel version
Segmentation fault
FATAL: cannot determine kernel version
Segmentation fault
root@m7:/ #

I've got this error while trying to odex my OneDroid ROM on M7. I've flashed ARMEABI version. Anyone knows if it's this is related to script or ROM?
[Android Software/Hacking General [Developers Only]] JohnCorleone:
It must be something with your setup and judging from above its the kernel. Are you running a custom kernel because I am and always do run stock kernel. I am on ViperOne v5.8.0 at the moment which is the Sense 5.5 KitKat version. I haven't tried it on ViperROM v6.1 which is Sense 6 with many M8 features but I will be later today....

Sent from my HTC One using Xparent Gray Tapatalk 2
[Android Software/Hacking General [Developers Only]] JHat83:
I'm not sure that the script works. After erasing dalvik system optimization applications is 245 ... It should not be! Yes .odex file is present, but the system does not work with him and continues to unload classes.dex. Im on ViperOne 6.1.0
[Android Software/Hacking General [Developers Only]] JohnCorleone:
If you have Titanium Backup (not sure if Pro is necessary but I have it) go into menu and select "integrate dalvik into ROM" THEN go into system/bin and system/xbin with Root Explorer or similar app and delete the zipalign.

When you do the integrate dalvik step it may say 98 apps to be integrated" for example and when you hit start or OK it may run through real fast and say 0 successful. If it does, run it once more and it will work the second time and clear the classes.dex stuff. I had 118 I believe in mine. You can check because when it says all were successfully integrated the option above it and it will then say no unneeded files in dalvik

Sent from my HTC One using Xparent Gray Tapatalk 2
[Android Software/Hacking General [Developers Only]] kermage:
awesome! :good:
[Android Software/Hacking General [Developers Only]] dhirajahuja432:
There are three files which one to download on My Micromax A110 using Tsunami Tech-Vanced ROM
[Android Software/Hacking General [Developers Only]] dhrtlockeroo9:
1st one ARMEAB
[Android Software/Hacking General [Developers Only]] dhirajahuja432:
Ok thanks
[Android Software/Hacking General [Developers Only]] MAXIMATOR:
Cant deodex framework :(

Go to my webpage on xda to see more info
http://xdaforums.com/showthread.php?t=2527268

MatrixDJ96 - XDA Senior Member

Product model: HTCONE
Android version: 4.4.2 (KitKat)

Framework is: Deodexed
System apps are: Odexed
System priv-apps are: Odexed

System free space: 279 Mb

Available command:

Exit from the script => exit

=> frame
frame

Impossible odex framework
To odex it deodex system apps before
1|root@m7wls:/ #
[Android Software/Hacking General [Developers Only]] elmanzon:
when mounting /system from recovery it got unmounted after reboot. if I used root explorer it had no effect. Remounting from the terminal emulator using this command did allow the odexer tool to perform successfully. Users should try this if they experiences a total fail by the odexer script.

Thank you sir
[Android Software/Hacking General [Developers Only]] MatrixDJ96:
Await for update but i'm busy... I"m studying a lot at school
[Android Software/Hacking General [Developers Only]] dineshdotcom2000:
Which file

There are 3 attachments. Which 1 should i download for Note 2 DN3 ????

---------- Post added at 03:38 PM ---------- Previous post was at 03:29 PM ----------

Im not able to download OdexerTool_1.2_ARMEABI file. when i click on it, it opens another folder. Can you please upload it on mediafire or any other link>>>
[Android Software/Hacking General [Developers Only]] luqman98:
ARMEABI. Try to download via your PC/Laptop.

1. Love doesn't need any reason.

2. Wanna speed up 3G (not 4G LTE)?

Here it is:

http://xdaforums.com/showthread.php?t=2586876

3. My blog

4. Press the thanks button if I really helped/assisted you.
[Android Software/Hacking General [Developers Only]] fordawin:
Which one should I use for the galaxy mini? I'm using this rom and when I type all in terminal emulator I get only 'failed' messages. Why?
[Android Software/Hacking General [Developers Only]] MatrixDJ96:
Armeabi but you don't have enough free space

Inviato dal mio GT-S5570 con Tapatalk 2
[Android Software/Hacking General [Developers Only]] kpirnie:
Will this work on Linux if I use the x86 version? I ask because I know very little about rom dev, but I am making my first attempt, and would like to make sure the rom is odex'd once I am done
[Android Software/Hacking General [Developers Only]] collegencmc:
Hey belloni did you every get that error fixed: "System priv-apps are: /system/bin/odex[666]: -n: not found"

I'm getting that now and get to work.

Does anyone know if the only option is to go back to 1.1?

Thanks!
[Android Software/Hacking General [Developers Only]] tomi456:
I tried to odex using Odexer-Tool1.2 ARMEABI, everything was fine (at least it was looking so) and then.......... (BANG). after the hot reboot, dalvik cache jumped to app 47 of 48. Every app on my phone got FC, I can't finish clicking on 'OK' button. Gonna restore my /system/app backup...
[Android Software/Hacking General [Developers Only]] jagnik:
how can i remove script completely?? because i odex sysapps and now its not showing option of odex framework.. help..
[Android Software/Hacking General [Developers Only]] QUIETLYloud:
Dirty flashing your rom
[Android Software/Hacking General [Developers Only]] barisdoqan:
realy great fine job
[Android Software/Hacking General [Developers Only]] ne0zone75:
[MENTION=4944549]MatrixDJ96[/MENTION], Good afternoon,

Your script is working like a charm :good:... tested out over SlimKAT build 5.6 !

Very nice work,

Thank you !

Sent from my GT-I9195
[Android Software/Hacking General [Developers Only]] Phenom2122:
Thank you for a really useful tool. I use a lot of 3rd party apks in my /system partition so this has been very handy.

I just have one request / issue. Your updater-script searches for previously existing terminal emulators and removes any files, replacing them with the ones contained in your zip. The problem with this, is if a person already has a terminal emulator, it will generally be up to date. Since 03-28 it has already been updated two or three times I think. That means that for anyone keeping their apps up to date, this tool replaces their up to date terminal emulator with an old one. If ever I want to use this tool on the latest build of a rom, I either have to manually replace my up to date terminal afterwards, or modify your zip and updater-script to exclude AndroidTerm.

Could you not instead configure the script to NOT install AndroidTerm if it already exists rather then replacing it? I hope I managed to explain this properly haha.
[Android Software/Hacking General [Developers Only]] ioannis_m:
Can i move Fb,instagram,google+ app to system/app so it can be odexed as system apps so they can open fast?:confused:
[Android Software/Hacking General [Developers Only]] kpirnie:
u could but you would b risking them getting updated.

Rockin it from my Rockin Smartly GoldenEye NC1 S4 (much thanks to: [MENTION=4631220]Venom0642[/MENTION] [MENTION=2284570]ted77usa[/MENTION] [MENTION=833788]rebel1699[/MENTION] [MENTION=1380660]iB4STiD[/MENTION] ~ 20GB free cloud https://copy.com?r=vtiraF
[Android Software/Hacking General [Developers Only]] Phenom2122:
If you wish to manually move a data app to system you have to check for lib files in /data/app-lib as well. Alternatively you can extract them from the apk. Most apps don't have any, I don't think Fb does but I'm pretty sure Google+ does. The apks have to go to /system/app and the libs have to go to /system/lib with the right permissions of course as I'm sure you know. I usually prefer to add them to my flashable zips before installing. If they update, the updates will be installed in /data as normal.

I'm pretty sure to manually odex an app you have to extract classes.dex and rename it accordingly.

But there are apps and tools (such as this one) for all these tasks, which is infinitely easier.
[Android Software/Hacking General [Developers Only]] ioannis_m:
Can you fix a .zip for those specific apps? I am not sure that I can separate from the apk's the libs and place them in correct places. :(
[Android Software/Hacking General [Developers Only]] takota6:
After alot of reading I'm little confused,,so I ask of you too clear me up..I installed on top of stock sense 6 4.4.2 ,should i odex all? With that I have but everything fc.so I go back to terminal and type 1,then >1 and so on to no avail..I'm not clear about clear class dex and rebuild ..and then a zip appears somewhere ? To use to rebuild the system with(per0p)I couldn't find it either. Tall request ..but I thank you in advance

Æaaa..\../
[Android Software/Hacking General [Developers Only]] ioannis_m:
I tried to and it works.:D

The problem i have now is that i can not odex cyanogenmod 4.4.3 (cm-11-20140611-NIGHTLY-galaxysmtd.zip ) when i type >all on terminal emulator it keeps rebooting after 2-3 successfully odexed files. (every time i try to do it it reboots.) :confused:
[Android Software/Hacking General [Developers Only]] kpirnie:
hmm. I can't run CM roms, so I'm not sure what the issue would be.
[Android Software/Hacking General [Developers Only]] Phenom2122:
That is strange, I have never come across such an issue. Successfully odexed Carbon 4.4.3 for S4 mini. The only suggestion I could offer is to manually delete any and every odex file you find and try again. Did you manage to find where the lib files (.so) are?
[Android Software/Hacking General [Developers Only]] ioannis_m:
I tried now to odex only framework and it rebooted again with some .failed commands before reboot.

I don't know what causes the problem.In Resurraction Remix ROM it flawlessly odexed all and i wanted to give it a try on CM11 again but it won't let me....:(

EDIT: 0mb of system free that's why it can't odex.Just saw it.What can i safely erase from system in order to odex successfully the rom?

edit2: Deleted media ringtones etc and got 11mb free'd but again the reboot strikes back....:(
[Android Software/Hacking General [Developers Only]] kpirnie:
dont try to odex the framework.... java and android is really good about keeping those .jar files in check.

just try on sysapp

Rockin it from my Rockin Smartly Deadly Venom NE5 S4 (much thanks to: [MENTION=4631220]Venom0642[/MENTION] [MENTION=2284570]ted77usa[/MENTION] [MENTION=833788]rebel1699[/MENTION] [MENTION=1380660]iB4STiD[/MENTION] ~ 20GB free cloud https://copy.com?r=vtiraF
[Android Software/Hacking General [Developers Only]] ioannis_m:
Tried that also....see my previous post because i edited it.Now I'm waiting for it to awake from reboot again.(Galaxy S i9000 takes a little while.:p ) It also zipaligns everything when it reboots??
[Android Software/Hacking General [Developers Only]] kpirnie:
mine does too... i337... well... its boots pretty quick but ive made some heavy tweaks. :)

Rockin it from my Rockin Smartly Deadly Venom NE5 S4 (much thanks to: [MENTION=4631220]Venom0642[/MENTION] [MENTION=2284570]ted77usa[/MENTION] [MENTION=833788]rebel1699[/MENTION] [MENTION=1380660]iB4STiD[/MENTION] ~ 20GB free cloud https://copy.com?r=vtiraF
[Android Software/Hacking General [Developers Only]] ioannis_m:
After trying with CM11 and did not see anything good in it and the fact that it wouldn't let me odex neither framework nor system apps,I got back to Resurraction Remix and I odexed everything successfully with one try.:good:
[Android Software/Hacking General [Developers Only]] kpirnie:
Yeah unfortunatly with my locked bootloader I cant use anything CW oe AOSP....

Rockin it from my Rockin Smartly Deadly Venom NE5 S4 (much thanks to: [MENTION=4631220]Venom0642[/MENTION] [MENTION=2284570]ted77usa[/MENTION] [MENTION=833788]rebel1699[/MENTION] [MENTION=1380660]iB4STiD[/MENTION] ~ 20GB free cloud https://copy.com?r=vtiraF
[Android Software/Hacking General [Developers Only]] takota6:
Update...Thanks to no one..damn

Æaaa..\../
[Android Software/Hacking General [Developers Only]] kpirnie:
hopefully just a quick question... i tried this last night on GoldenEye 34... and all sysapp failed to odex...

in other words it showed me each file it tried... and then under it showed failed...

any thoughts?

Rockin it from my Rockin Smartly Deadly Venom NE5 S4 (much thanks to: [MENTION=4631220]Venom0642[/MENTION] [MENTION=2284570]ted77usa[/MENTION] [MENTION=833788]rebel1699[/MENTION] [MENTION=1380660]iB4STiD[/MENTION] ~ 20GB free cloud https://copy.com?r=vtiraF