possible to deodex? - AT&T LG V10

can anybody tell me if we can deodex our rom now that we have root? doesnt matter if it is using a pc or from within

I am pretty sure yes, although I could be wrong. Don't see why not though, you now have root level rights, and thus can deodex them. If you can read them, you can copy them. Good luck! I will try it out later too, and if anything goes wrong, no real harm done. Just reflash.

But why do you want to deodex? On average an odexed rooms is 10% faster then an deodexed rom. The reason behind having a deodexed rom is for theming purposes.
Sent from my LG-H900 using Tapatalk

I also read (somewhere) that when MM rolls out, the need for Odexing is completely gone.

MysteryEmotionz said:
But why do you want to deodex? On average an odexed rooms is 10% faster then an deodexed rom. The reason behind having a deodexed rom is for theming purposes.
Sent from my LG-H900 using Tapatalk
Click to expand...
Click to collapse
Ive never seen which one is faster... I'll take ure word but I was under the impression that deodex in general is better? I know the main reason is to theme tho

Here is a good explanation. Deodexed is only good theming and modding but any good dev such as my self can work with an odexed system.
When I was actively developing Roms I would do both and they where identical in features and theming. Sometimes I offered to the public both but sometimes I would just order the deodexed version for the ease of theming back in the day and keep the odexed version for my self. I even have a script floating around that can odex your system after you flashed your ROM, mods, and themes.
Now with xposed and the right set of modules there no need to flash a theme like you did back in the day when it would replace the apk. So there is no need for a deodexed system.
http://www.redmondpie.com/odexed-vs-deodexed-the-difference-between-the-two-android-roms-explained/
Sent from my LG-H900 using Tapatalk

MysteryEmotionz said:
Here is a good explanation. Deodexed is only good theming and modding but any good dev such as my self can work with an odexed system.
When I was actively developing Roms I would do both and they where identical in features and theming. Sometimes I offered to the public both but sometimes I would just order the deodexed version for the ease of theming back in the day and keep the odexed version for my self. I even have a script floating around that can odex your system after you flashed your ROM, mods, and themes.
Now with xposed and the right set of modules there no need to flash a theme like you did back in the day when it would replace the apk. So there is no need for a deodexed system.
http://www.redmondpie.com/odexed-vs-deodexed-the-difference-between-the-two-android-roms-explained/
Sent from my LG-H900 using Tapatalk
Click to expand...
Click to collapse
thanks i guess i wont deodex then

Related

[TWEAK][CM7]ODEX CyanogenMod 7.2 Flashable Zip

Flashable Zip to ODEX CyanogenMod 7.2​
I've heard that an ODEXed rom can be faster that a deODEXed rom, or at least the apps will load faster. This may or may not be true, but ODEX does provide one noticeable advantage that the system apps and frameworks no longer require storage space on /data in the dalvik-cache. It uses more space on /system, but there is plenty to spare there with CyanogenMod.
One of the main reasons roms are usually deodexed is to allow themers and the like to easily edit apks and frameworks. Since cyanogen has the Theme Chooser app that doesn't need to modify files, I decided to try odexing. This is loosely based off of a script by Decad3nce for the Hero.
So far I haven't noticed anything broken by this, and it seems a bit faster. I have no way to tell if its actually faster, but there's no harm in trying it for yourself.
Advantages:
More free space on /data
Possibly faster app loading time and phone bootup.
Disadvantages:
More space used on /system (so what?)
Moding system apk files and framework not easy. (ex. Theme flashable zips won't work, but CM has its own theme app that still works.)
Instructions:
NANDROID!!!
Flash zip (be patient, it takes a while)
Reboot
How to flash a new nightly: IMPORTANT!
Flash cm_epicmtd_full-##.zip
Flash gapps-gp-20110828-signed.zip
Flash auto-odex-cm7_2.zip
Notes on using custom kernels:
Custom frameworks: If the kernel (or anything else) flashes any .jar file in /system/framework/ you MUST flash it before odexing. If you want to flash after odexing, open the kernel zip on your computer and delete the jar file from /system/framework/.
Zipalign: Kernel's that zipalignshould be flashed after this. My odex script deletes the classes.dex file from every app/framework it odexes which modifys the zips. I haven't verified this, but I am assuming that negates the effects of the zipalign.
If the kernel both zipaligns and has custom frameworks, you must make a choice of which feature you find more useful. If you want zipalign more, delete the custom frameworks and flash after odexing. If you want the custom frameworks more, flash before odexing.
How to undo (deodex):
Do NOT just delete the .odex file from /system/app or /system/framework !!!!!
You have two options here:
Advanced restore nandroid of /system
--OR-- Reflash CyanogenMod and Google Apps.
Download:
auto-odex-cm7_2.zip - 948 KB
This has been tested to work on CyanogenMod 7.2 Nightly 12 and 13.
It should work on any other nightly or the RC0, but no guarantees...
How it works:
The flashable zip runs a script that runs a program called dexopt-wrapper on every framework file in BOOTCLASSPATH order, then every system apk included with CM and gapps. It then deletes the classes.dex file from all of those frameworks and apks. Last it clears the dalvik cache since much of it will now be unneeded.
The dexopt-wrapper binary doesn't do much other than properly run the system's dexopt binary with the right arguments.
Credits:
Inspired by a script by Decad3nce
zip binary: taken from metamorph app's googlecode site.
dexopt-wrapper binary: Not in CM, so taken from random mediafire link
Author unknown, but here's what could be the source code
Can you shed some knoledge on how to odex a flashable mod?
Sent from my SPH-D700 using XDA App
marcusant said:
Can you shed some knoledge on how to odex a flashable mod?
Click to expand...
Click to collapse
Do you mean how to ODEX a previously DEODEX'd file? All the ODEX custom ROMs I've seen are flashable... unless you are discounting those done via ODIN... but that doesn't make up the bulk of ODEX ROMs.
Flashing this with Burrito Manager right now, I'll let you know how it goes =]
edufur said:
Do you mean how to ODEX a previously DEODEX'd file? All the ODEX custom ROMs I've seen are flashable... unless you are discounting those done via ODIN... but that doesn't make up the bulk of ODEX ROMs.
Click to expand...
Click to collapse
I am wondering how to reodex files on a PC and not CWM
Sent from my SPH-D700 using XDA App
marcusant said:
Can you shed some knoledge on how to odex a flashable mod?
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Just a thought but if you delivered deodexed files and then deleted the odex file associated with them when you installed and then ran this script on the files you added or modified after the install it would be like delivering odex or deodex to whoever wanted each version and it could key off some config file or just check for the presence of an odex file in the system directory to determine if to odex after installing or not.
Sent from my SPH-D700 using Tapatalk
Wrong thread lol
edufur said:
Do you mean how to ODEX a previously DEODEX'd file? All the ODEX custom ROMs I've seen are flashable... unless you are discounting those done via ODIN... but that doesn't make up the bulk of ODEX ROMs.
Click to expand...
Click to collapse
He did say that the mod is already flashable. And he didn't specify whether it was previously deodexed because A.) it doesn't matter if the mod had once been odexed and subsequently deodexed, or was and always has been deodexed, and B.) why would he ask how to odex an odexed file? That's an easy one: "step 1.) Don't do anything. step 2.) there is no step 2... (no, don't profit - you haven't done anything)"
Sent from my SPH-D700 using XDA App
styles420 said:
He did say that the mod is already flashable. And he didn't specify whether it was previously deodexed because A.) it doesn't matter if the mod had once been odexed and subsequently deodexed, or was and always has been deodexed, and B.) why would he ask how to odex an odexed file? That's an easy one: "step 1.) Don't do anything. step 2.) there is no step 2... (no, don't profit - you haven't done anything)"
Click to expand...
Click to collapse
I think you misunderstood one of us. I did not suggest that anyone ODEXed something that was already ODEXed, nor did I suggest that anyone else what inquiring how to do that. Maybe you need to re-read it?
marcusant said:
I am wondering how to reodex files on a PC and not CWM
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
I don't believe it's possible to odex files outside of the phone. The odexing process makes use of the dexopt binary on the phone which is part of andriod. I think you pretty much have to do it manually on the phone, or write a script to do it from a flashable zip.
As for flashing new files then odexing them to a rom that has already been odexed, that must be done carefully. If you are just changing an app, then just delete the odex file, replace the app with your deodexed version, then odex it if you want (doesn't have to be odexed). If you want to change one of the framework jar file, you should probably revert the whole rom to deodexed first. The frameworks have to be odexed in BOOTCLASSPATH order, and before any apps are odexed. If one of them is replaced and reodexed later, things will break. Also, if the odexing of any of the framework is changed, it invalidates all the apps that were odexed.
It is possible to leave the framework deodexed and odex just the system apps, but that probably isn't even worth doing, since everything uses the framework, where only relatively a few of the apps are system apps (at least when you have 200+ apps). But this does allow the framework to be modified easier.
My reasoning behind odexing both the framework and the apps is that this is cyanogen. The framework files shouldn't really need modified for anything. Seems like it should be easier to make any changes in the cyanogen source.
marcusant said:
I am wondering how to reodex files on a PC and not CWM
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Check your ODEX thread. Did you give a look at tanimn's odex tool? I posted it there.
Has anyone tested this, other than zmann of course? Just wondering if anyone has noticed any pros/cons. Also, would it matter which kernel one was using with this mod? The smooth scrolling mod in the newer samurai kernel modifies the framework.jar somewhat i believe.
beltsnspoons said:
Has anyone tested this, other than zmann of course? Just wondering if anyone has noticed any pros/cons. Also, would it matter which kernel one was using with this mod? The smooth scrolling mod in the newer samurai kernel modifies the framework.jar somewhat i believe.
Click to expand...
Click to collapse
This worked wonders nightlys 12-14. After flashing the latest samurai kernel with scrolling cache fix, I flashed this again. Did not work. Boot looped. That could be my fault though.
darkierawr said:
This worked wonders nightlys 12-14. After flashing the latest samurai kernel with scrolling cache fix, I flashed this again. Did not work. Boot looped. That could be my fault though.
Click to expand...
Click to collapse
Samurai flashes one of the framework jars, so the one way for it to work is if you reflash nightly and gapps, then samurai, then this.
I've been running this for a couple days on 13 now and it seems so much faster. I don't seem to get the random slowdowns that always seemed to happen with just about every rom.
Edit: its had 40 downloads, so someone must be using it.
Sent from my SPH-D700 using xda premium
I've been using this for a few days now and must say that it really improves boot times and the phone feels snappier for sure. Idk why more people haven't flashed this, it definitely provides a noticeable performance gain. Thank you for this!
Sent from my SPH-D700 using xda premium
zman0900 said:
Samurai flashes one of the framework jars, so the one way for it to work is if you reflash nightly and gapps, then samurai, then this.
I've been running this for a couple days on 13 now and it seems so much faster. I don't seem to get the random slowdowns that always seemed to happen with just about every rom.
Edit: its had 40 downloads, so someone must be using it.
Sent from my SPH-D700 using xda premium
Click to expand...
Click to collapse
Would this have to be flashed after every nightly update and by using the method you mentioned above? Or would this just be a one time flash?
Sent from my cyan seppuku samurai epic
zman0900 said:
Samurai flashes one of the framework jars, so the one way for it to work is if you reflash nightly and gapps, then samurai, then this.
I've been running this for a couple days on 13 now and it seems so much faster. I don't seem to get the random slowdowns that always seemed to happen with just about every rom.
Edit: its had 40 downloads, so someone must be using it.
Sent from my SPH-D700 using xda premium
Click to expand...
Click to collapse
I downloaded it to read it
Nashdogg said:
Would this have to be flashed after every nightly update and by using the method you mentioned above? Or would this just be a one time flash?
Sent from my cyan seppuku samurai epic
Click to expand...
Click to collapse
After every nightly, flash gapps, then this. If your flashing samurai, you should flash it before odexing since it modifys framework. If flashing my kernel, flash it after odexing since it zipaligns the system apks.
Sent from my SPH-D700 using xda premium
zman0900 said:
After every nightly, flash gapps, then this. If your flashing samurai, you should flash it before odexing since it modifys framework. If flashing my kernel, flash it after odexing since it zipaligns the system apks.
Sent from my SPH-D700 using xda premium
Click to expand...
Click to collapse
Ok, thank you. That clears things up alot. Was just getting ready to flash this using your kernel and was gonna flash it before, so you saved my a## there Thank you for this and a great alternative to the samurai kernel. I like them both, but yours is definatly great on battery savings and stability. Great job.
Sent from my cyan seppuku samurai epic
darkierawr said:
This worked wonders nightlys 12-14. After flashing the latest samurai kernel with scrolling cache fix, I flashed this again. Did not work. Boot looped. That could be my fault though.
Click to expand...
Click to collapse
zman0900 said:
Samurai flashes one of the framework jars, so the one way for it to work is if you reflash nightly and gapps, then samurai, then this.
I've been running this for a couple days on 13 now and it seems so much faster. I don't seem to get the random slowdowns that always seemed to happen with just about every rom.
Edit: its had 40 downloads, so someone must be using it.
Sent from my SPH-D700 using xda premium
Click to expand...
Click to collapse
thomasskull666 said:
I've been using this for a few days now and must say that it really improves boot times and the phone feels snappier for sure. Idk why more people haven't flashed this, it definitely provides a noticeable performance gain. Thank you for this!
Sent from my SPH-D700 using xda premium
Click to expand...
Click to collapse
thanks for the info guys. im gonna go ahead and give it a shot. theres still a few things that are unclear to me. one, if i flash the kernel affecting the framework and then this, would the modifications to the framework in the odex zip nullify the modifications used in the smooth scrolling tweak? and two, if i use a morph to theme the lockscreen, will it work with this, and if so should i flash the morph before or after flashing the odex zip? thanks again for the help, i hit the thanks button for all three of you.

[Q] Question to devs

Hey just to fill my own curiosity (I am not a developer), when you guys deodex and zip allign a rom you create or are customizing...what effect does it have on the way the rom runs?
Or what are you doing?
thanks and I was just curious.
zipaligning is supposed to decrease ram use and increase performance.
deodexing removes the .odex files that go with system apps and puts the information into the apk. it basically makes the app ready to decompile and compile so that modifications can be made. it doesn't really have a positive performance advantage except that it might free some ram, if it make things quicker I'd imagine the factory wouldn't create odex files to begin with. also it often introduces bugs like broken apps or android system force closing on startup.
My understanding is that prior to de-odexing its actually faster and more stable, but when you de-odex it makes it so that you can make changes that you otherwise would not be able to, such as themes, ect.
X,
Using CK(simple).
Exactly right... actually an "odexed" rom runs a little smoother and faster and you can theme it, but once the theme is implemented that's it... you will have to flash only odexed themes, which requires theming of the apk and the odexed apk... its just a lot easier to mod and theme a deodexed rom...
sent from my SGH-I717 using XDA premium app

[ROM][FC19][BML][MTD] Stock Odexed Prerooted

This is all Darkierawr's work putting this together. He asked me to release it if I have time as he does not. So I tested both files by Odining back to stock, rooted and flashed the BML then the MTD version from there. If you see Darkie around make sure to hit a thanks for him.
The MTD version will convert you from BML also and that is a big thanks to Toadlife for his conversion script.
So this is a flashable of the odexed full stock prerooted of the FC19 leak. Big thanks to Whosdaman for getting the tar for us.
The FC19 modem is here: http://d-h.st/eU1
For Odin installation of modem - Odin 1.85: http://d-h.st/i1Q
This was rooted with shadowkernel so thanks to Bbelos!
The FC19 leak had the Sprint Connections Optimizer conspicuously missing so was this a backup plan? Who knows. Check it out if you like.
BML version:
http://BillionUploads.com/ziulfl4gps4w
MTD version:
http://BillionUploads.com/qrdcikacmupq
Neither I nor Darkierawr are responsible if you brick your phone, partner breaks up with, favorite show gets cancelled, a dingo eats your baby, a tornado takes you to Oz, or of course the Zombie apocalypse!
Reserved
Sent from my PantechP4100 using xda premium
very nice
Finally a flashable as usual u guys rock!! any reason not deodexed??
Odin is still definetly the way to do it.. coming from fc09 all the apps came with but still have 4g randomly coming on plus random reboots and freezing up when scrolling through the market hopefully this fixes all that. would still love to have sound for boot animation and some kind of sutdown animation would rock... any chance??
Taking 2nd just to say "thanks" and hope you had fun at the birthday party! I'm way too happy on Rom Populei v2.1, but if I ever need it, I'm glad the genius of KG123 brought it!
Sent from my SPH-D700 using xda premium
Coming from Odin of FC09 on BML this has all stock boot ani and sound. The MTD kernel used has the flashing Android waiting for you to stick in bootani and sound of choice. As for deodexed...easily done with Xultimate or deodexed tool of choice. If there is a big demand for the stock deodexed FC19 leak I will do it for you guys. I think Sleeper also posted a deodexing and odexing tool.
YAYYYYYYY
darkierawr said:
YAYYYYYYY
Click to expand...
Click to collapse
OK there he is in the post above this one...THANK that man!
Same here!
I am also noticing better results with the fc09 modem, I will probably flash back. So what is the difference between odexed deodexed?? sorry for the noob question.. but i have always used deodexed. thanks
animal1589 said:
I am also noticing better results with the fc09 modem, I will probably flash back. So what is the difference between odexed deodexed?? sorry for the noob question.. but i have always used deodexed. thanks
Click to expand...
Click to collapse
A quick google will get you better answers but odexed means each apk in app folder and each jar file in framework folder is coupled with an odex file making it more difficult to theme or mod. Deodexed combines needed info into the apk files as well as in classes.dex. Then just the apk or jar file can be modded.
Sent from my PantechP4100 using xda premium
thanks kenny
So any chance of getting a deodexed version?? appreciate all the help just dont want to screw it up trying to change to odexed version.. haven't tried that yet.
animal1589 said:
So any chance of getting a deodexed version?? appreciate all the help just dont want to screw it up trying to change to odexed version.. haven't tried that yet.
Click to expand...
Click to collapse
The only thing deodexed is used for is theming and modding.
If you're not going to be doing either of those flashing this should be fine.
How do we strip out the Sprint bloatware? Once it's rooted, can it just be uninstalled? Or will it come out with one of the uninstaller apps?
I think it's time to try something stock again- as much as I like ThunderHawk4, I'd really like my data to work correctly by itself all the time.
I have a personal [unproven] theory that different phones react differently to different ROM/kernel combinations. My first EPIC definitely played better with a greater variety than my current refurb. Maybe STOCK is easiest for some?
Trident said:
How do we strip out the Sprint bloatware? Once it's rooted, can it just be uninstalled? Or will it come out with one of the uninstaller apps?
I think it's time to try something stock again- as much as I like ThunderHawk4, I'd really like my data to work correctly by itself all the time.
I have a personal [unproven] theory that different phones react differently to different ROM/kernel combinations. My first EPIC definitely played better with a greater variety than my current refurb. Maybe STOCK is easiest for some?
Click to expand...
Click to collapse
Titanium backup can uninstall system apps. You can also delete them out of system\app directory with 7zip before installing.
Sent from my PantechP4100 using xda premium
thanks for putting this together
its queued up as the next rom to install
sometime here it'll happen
kennyglass123 said:
Coming from Odin of FC09 on BML this has all stock boot ani and sound. The MTD kernel used has the flashing Android waiting for you to stick in bootani and sound of choice. As for deodexed...easily done with Xultimate or deodexed tool of choice. If there is a big demand for the stock deodexed FC19 leak I will do it for you guys. I think Sleeper also posted a deodexing and odexing tool.
Click to expand...
Click to collapse
Is there another tool besides Xultimate to deodex? For reasons too boring to explain here, I can't use Xultimate.
Naddict said:
REODEX TOOL === REODEX TOOL
here you go....http://forum.xda-developers.com/showthread.php?t=1465628
http://senseisimple.com/downloads/MOD_CWM-ReOdex-20120208.zip
Click to expand...
Click to collapse
From Sleeper Rom thread
DaggettBeaver said:
Is there another tool besides Xultimate to deodex? For reasons too boring to explain here, I can't use Xultimate.
Click to expand...
Click to collapse
Try this:
http://androidforums.com/eris-all-things-root/112139-first-ever-all-one-deodex-kitchen.html
What does it look like?
i was hesitant to flash this due to the 2.0 / 2.1 bug of flashing first...
but decided to take the plunge.
so far so good.
passed the work test
eigerzoom said:
i was hesitant to flash this due to the 2.0 / 2.1 bug of flashing first...
but decided to take the plunge.
so far so good.
passed the work test
Click to expand...
Click to collapse
2.2 will have no flashing bug and going back to FC09 with a brand new FC09 kernel courtesy of Earthbound. Tomorrow it will be released.
Sent from my PantechP4100 using xda premium

Will ODEXing rom work on the SGN10.1?

This is supposed to be a universal method to ODEX:
http://forum.xda-developers.com/showthread.php?t=1476617
Safe for use to try?
Sent from my GT-N8013 using Tapatalk 2
I'm pretty sure the stock rom is already ODEXed. I've been trying to learn how to cook roms and just DeODEXed a UEALH2 stock rom. So I suppose if you wanted to ODEX a DeODEXed Note 10.1 rom you could with this method.
darksabre_x said:
I'm pretty sure the stock rom is already ODEXed. I've been trying to learn how to cook roms and just DeODEXed a UEALH2 stock rom. So I suppose if you wanted to ODEX a DeODEXed Note 10.1 rom you could with this method.
Click to expand...
Click to collapse
There's not much point to re-odexing a firmware. It saves a tiny bit of time on initial boot, but that's it. It has zero performance impact once the device has booted, and makes maintaining a firmware very difficult. (This is, for example, one of the reasons why Cyanogenmod doesn't odex builds.)

[DISCUSSION] Deodex vs Stock

From trying Alexis to Xtralite and Xtrestolite MM roms, what do you find overall better stock or deodex, in terms of battery, UI, bloatware, speed etc.
Post screenshots of SOT or whatever you feel necessary.
Odex from will always be faster than a deodex rom.
Sent from my iPhone using Tapatalk
LNJ said:
Odex from will always be faster than a deodex rom.
Sent from my iPhone using Tapatalk
Click to expand...
Click to collapse
what about battery
LNJ said:
Odex from will always be faster than a deodex rom.
Sent from my iPhone using Tapatalk
Click to expand...
Click to collapse
if I remember good, just for first boot speed difference, later speed same.
LNJ said:
Odex from will always be faster than a deodex rom.
Click to expand...
Click to collapse
Some mods and tools don't work on Odex either. Which is why the majority of Ron's are deodex
[Complete Guide] What is Odex and Deodex ROM?
Advantages & Disadvantages
The advantage of deodexing is in modification possibilities. This is most widely used in custom ROMs and themes. A developer building a custom ROM would almost always choose to deodex the ROM package first, since that would not only allow him to modify various APKs, but also leave room for post-install theming.
On the other hand, since the .odex files were supposed to quickly build the dalvik cache, removing them would mean longer initial boot times. However, this is true only for the first ever boot after deodexing, since the cache would still get built over time as applications are used. Longer boot times may only be seen again if the dalvik cache is wiped for some reason.
Click to expand...
Click to collapse

Categories

Resources