[Q] Deodex ? - Nexus 4 Q&A, Help & Troubleshooting

Hi,
What are the advantages and the reason to deodex a rom ? I read that some mods needed it but... How can I deodex the stock rom of the N4 ?
Thanks !

You can deodex using the Kitchen.
Sent from my Nexus 4 using xda premium

The advantage is that deodexed roms can be easily customized/themed where it is possible with odexed ROMs it's a lot more difficult and APK decompilers (apktool) don't decompile odexed files (at least to my knowlegde)
Odexed roms do run smoother and snappier since it preloads stuff into the VM. There has been great discussions on the topic.

In which topic ?
So, if i'm understanding good, deodex a rom is running it slower ?

AutruiP said:
In which topic ?
So, if i'm understanding good, deodex a rom is running it slower ?
Click to expand...
Click to collapse
Do a google search on Odexed Vs Deodexed. It's not that much slower. See with odexed each apk has a odex file so for example. SystemUI.apk.
On a deodexed ROM you would just have the SystemUI.apk
On an odexed ROM you will have SystemUI.apk and SystemUI.Odex
The odexed file gets preloaded into the virtual machine's cache
More info:
http://www.redmondpie.com/odexed-vs-deodexed-the-difference-between-the-two-android-roms-explained/
http://forum.xda-developers.com/showthread.php?t=1851750

Oh, i think i understood it ! Thanks a lot ! But now, another question, do i need zipalign with deodexed rom ?
Sent from my Blade S using xda app-developers app

Bump ! Another question, if i deodex my rom, will all the apk i will install after it deodex too ?
Sent from my Blade S using xda app-developers app

Only system apps are odexed.
Yes, they will all be deodexed, yes you will notice it performing slower. I did.
Just use an odexed ROM, I have seen very few justifications for deodexed stuff. Half the themes out there are complete toss anyway, only ones that mimic TouchWiz or AOSP seem to be any good.

You dont need to zipalign them but it's s good idea to and only system apps and framework are odexed. Stiff you install after then is not.
Sent from my Galaxy Nexus using xda app-developers app

You can also use the app by Paul O'Brien that will reodex the deodexed system apps after you're done modifying any system files
http://www.modaco.com/topic/345141-odex-me-application/

Related

Stock kernel to replace a custom kernel

Hi guys,
Is it possible to replace a custom roms kernel to a original one I've been looking all over this forum for a stock kernel to try but no luck.
Why do i want to do this??
I want to do this as I would like to use sky go app and barlcays apps which detect root and it's driving me nuts wanting to use custom again and I can't because the root is in the kernels. Also is there anyway I can remove them from it
Sent from my GT-I9100 using xda premium
What country and network?
Sent from my GT-I9100 using xda premium
Yes, you can.. make sure you match it if you're on ICS or GB
Sent from my GT-I9100 using xda premium
Hi sorry for the delay I'm on 4.04 so all I would really Need to do is get a ICS kernel how do I extract it from the rom
-Sumsy- said:
Hi sorry for the delay I'm on 4.04 so all I would really Need to do is get a ICS kernel how do I extract it from the rom
Click to expand...
Click to collapse
From what rom you want kernel?
You can use a stock kernel in a custom ROM but many of the features of custom ROMs require root access so you would lose functionality.
Your best bet is to flash custom firmware in my opinion.
If only there was a way to decompile the Skygo .APK so it didnt check for root access........
Look arond here:
http://forum.xda-developers.com/showthread.php?t=1544487

Deodex stock

Is there a way to deodex the stock rom? I remember doing it on the OG but not much out there on this phone.
There's one on droidrzr.com
Sent from my SCH-I535 using Tapatalk 2
J2B2 said:
Is there a way to deodex the stock rom? I remember doing it on the OG but not much out there on this phone.
Click to expand...
Click to collapse
Deodex stock rom Android 4.1 on 4pda.
4pda .ru/forum/index.php?showtopic=403669&view=findpost&p=19447000
Remove the space between 4pda and .ru

Customizing stock rom

Hi! To everyone who customized their stock rom, Can you guys tell me what theme, scripts and tweaks you did to customize your stock rom? I want to know how or what you did to your stock rom or basically screenshots of your customized stock rom and a tutorial of what you did. Let's see who has the best customized stock rom. Sorry for using "customized" too many times. :laugh::laugh:
Deodex your stock rom first, and THEMING will be a piece of cake.
Sent from my GT-S5360 using xda premium
I have a deodex Dxlf1 rom and have CM7 theme installed. The objective of this thread is to see what your customized stock rom looks.
Sent from my GT-S5360 using xda app-developers app

[Q] Using a custom SystemUI.apk and frameworkres.apk in odex stock rom.

Will it work if I push SYSTEMUI.apk, frameworkres.apk or other apks from JB theme to odex stock rom?
Sent from my GT-S5369 using Tapatalk 2
alemad said:
Will it work if I push SYSTEMUI.apk, frameworkres.apk or other apks from JB theme to odex stock rom?
Sent from my GT-S5369 using Tapatalk 2
Click to expand...
Click to collapse
No...friend...you have to mod it....otherwise the full theme of system ui will not work...
====================
###TECHNO-DROID###
====================
You cannot modify the framework of an odex rom - you must deodex it first
Google the difference between odex & deodex & what it means
alemad said:
Will it work if I push SYSTEMUI.apk, frameworkres.apk or other apks from JB theme to odex stock rom?
Sent from my GT-S5369 using Tapatalk 2
Click to expand...
Click to collapse
Nope sorry
You can deodex it, push it, and then reodex it
sent from my katana slicing muffin

[Q] Is the stock Note 3 rom deodexed?

For some mods your mods your ROM needs to be deodexed. So is the stock ROM that? I'm going to root mine as soon as it arrives.
Also what's the difference between odexed ROMs and deodexed ROMs?
bump...
Stock is not deodexed.
As for the diff..well to keep it short most dev deodex so that the rom can be themed. Odexed roms can be themed but it is very difficult.
There are also debates that deodexing a rom slows it down...which then brings us to zip alignment...which you can google if you like!
Sent from my SM-N900W8 using xda premium

Categories

Resources