yashsingh1/xdaforums huggingface dataset:
[Galaxy S Advance I9070 General] Razvan:
Some answers, I numbered your questions to be more easily tracked

1. In your /system

2. Android's Dalvik goes through every apk's and extracts the dex file from it. It places the dex files in the cache folder - located at /data/dalvik-cache. This is the directory that gets cleared when you clear the dalvik cache in your custom recovery like CWM or TWRP.

3. The difference is that

deodexed ROMs are lighter and allow modifications

but odexed ROMs load faster. ROMs come with Zipalign at boot that make a deodexed ROM load as fast as an odexed ROM.

4. I dont know the answer of this ... sorry.

5. Of course you can, is no reason to worry about.

6. You need android-sdk installed in your computer/laptop, busybox on the phone, xUltimate and some knowledge about whole process.
[Galaxy S Advance I9070 General] fredrickaein:
Thanks a few more on odexed and deodexed ROM

Hi,

Many thanks for your prompt reply. But please bare with me as i am going to ask more questions:)

Firstly let me ask you some more queries related to the earlier questions

1 Which folder in my ROM. I have root access, so i would like to view the files.

2 got it. saw the directory where the delvik cache is stored, but in case of a deodexed rom does this happen? i mean does the system store the dalvik cache by going through the apk if the ROM is deodexed. in other words does dalvik cache exist for deodexed ROM?

3 why is the deodexed ROM lighter? is it because it stores the app info at one place?

4. actually the question is same as no 2 above, Will i see the delvik-cache folder anymore if i deodex my ROM? if no then does the zipalign provides necessary data for the dalvik VM?

5.Ok i understood this

6. the process you are talking about is how to deodex my ROM. So i guess once i try to deodex my ROM the process will convert all the odexed app in my phone to deodexed. and henceforth all the appliccation that i install will be installed as a deodexed app. am i right in my guess?

Now some more questions please

7. is the only difference between them is the fact that odexed rom stores the app in two places and deodexed rom stores as a single apk?

8. what exactly is the .ODEX dex file. Is it a full copy of the apk or only a part of the apk. i guess it is this .ODEX file that makes the odexed rom heavy while the deodexed rom doesnt contain a .ODEX file which makes it lighter
[Galaxy S Advance I9070 General] Razvan:
My friend,

You ask too many questions and I do not think going somewhere after you have the answers. :)

So, lets start with ... :D

1.There is two place: I tell you in system/root ... search for directors ->

data/app

or

system/app

2 Of course. Because of this the first start of a deodexed ROM is slower.

3 ... is it because it stores the app info at one place? I dont know for sure, but is one of the explanation. Lighter can also mean that the apk can be modified by Themers much easier without any risk.

4. Yes will see the folder, i just tell where is located from my phone when i answered before. :D And i have my ROM deodexed and zipalign :D

5....

6. You are right.

7. Yes, and much easier to theme without risks

8. I guess is correct, dont know much about that
[Galaxy S Advance I9070 General] fredrickaein:
present hipirch

Dear Razvan,

Thanks for the help. I am very curious in nature:), that why i bothered you so much.

Now please a last suggestion from you.

Shall i Deodex my Samsung Stock ROM? or go for already deodexed Pure Vanila or Jelly Bean LQB / SlimJB - Shaaan (Your Rom). please Suggest.

And also based on your experience, which Custom ROM you prefer for Galaxy S Advance (Just your Opinion )
[Galaxy S Advance I9070 General] Razvan:
Do not you worry I did not mind. :highfive:

You can put a deodexed ROM, but only if you want to apply some themes or customization, otherwise there is no reason to do so.

Frankly, in terms of what ROM to install, I can not give any advice, because besides his SlimJB Shaaan, i did not try any custom ROM, but i'm waiting, in silence :D, Cyanogen ROM stable and then i can make a choice.

Good luck
[Galaxy S Advance I9070 General] fredrickaein:
Yeah, I am also waiting for a stable 10.1 of cynogen. But how is the rom that you are using? How stable is it? I am also planing to try pure vanila till we have a stable release of cynogen. Anyways many thanks for the help.
[Galaxy S Advance I9070 General] Razvan:
For the moment i'm using LQB Serbia, deodexed, zipaligned and debloated with CoCore 6.x kernel and i'm SOOO happy .... but we are OFF TOPIC here, thanks for understanding me.
[Galaxy S Advance I9070 General] rdjl_13:
Just a question. I am now on stock odex DXLSE with speedmod kernel. Can I flash on cwm the deodexed version of the same rom without wiping the data and without losing all of my files? Thanks. :D
[Galaxy S Advance I9070 General] Razvan:
JB? Rooted?

Its necessary...
[Galaxy S Advance I9070 General] ayiemaru:
now im using ddulp8 deodex..can i just flash xxlqb deodex through cmw without change it first to xxlqb odex?

tap tap talk talk..
[Galaxy S Advance I9070 General] Jeroenvk94:
Well. Ur on DDULP8 but you want XXLQB deodexed?

Y u no make sense...

Just flash stock LQB in Odin and THEN u can flash deodexed through cwm recovery
[Galaxy S Advance I9070 General] fredrickaein:
Hi razvaan,

Just a quick one. I am going to install a deodex rom, and I have taken titanium backup of my favourite apps and games from my existing stock odex rom. And I can see that in titanium back up folder there is an .odex file for all my apps. Now after installing a deodex rom can I use this titanium backup to restore my apps (because there is an .odex file for each app)?
[Galaxy S Advance I9070 General] Razvan:
No reason to worry about. I do that way many times and everything is fine.
[Galaxy S Advance I9070 General] encik_racun:
.odex is stored in system/app/ and system/framework/

I dont know what is wrong, but i have deodexed not only s advance, but on s advacne...anytime i start from stock then deodexed, after replace stock ode with new deodexed apps, my phone will lose its CSC...when dail *#1234# there will be CSC: unknown

I try start from fresh stock but its the same...CSC will be unknown
[Galaxy S Advance I9070 General] DarkMaster95:
Nice guide, helped me a lot. thanks :laugh:
[Galaxy S Advance I9070 General] yoonus:
great noob guide

Simple and easy to understand noob guide. Thanks for posting
[Galaxy S Advance I9070 General] Xperia-Ray:
nice giude!

need help- I want to modd my camera apk - the rom is deodex (I have gallery2.apk + gallery2.odex)

How can I merge them to get full app to decode in apktool?
[Galaxy S Advance I9070 General] Underblaze:
Thank you!
[Galaxy S Advance I9070 General] panel1:
Thank you for your Guide. It will be nice to say that Odexed ROM is slightly faster.
[Galaxy S Advance I9070 General] artupidah:
thanks razvan for the guide :good:
[Galaxy S Advance I9070 General] saijm4444:
THANKS!!!!!:) Though I feel that an Odexed ROM would be faster..... Great guide tho!
[Galaxy S Advance I9070 General] violet.tester128:
pls, don't quote the OP.

Sent from a rice cooker
[Galaxy S Advance I9070 General] rkharat98:
system contains no .odex file...

Does system/app containing no .odex file means that the ROM Is De-odexed????
[Galaxy S Advance I9070 General] rkharat98:
You mean to say that.. If we delete all the .odex files from the app and framework folder the ROM gets de-odexed????

---------- Post added at 04:40 PM ---------- Previous post was at 04:38 PM ----------

Manually....???
[Galaxy S Advance I9070 General] shut_down:
No. Deodexing means integrating odex files in apk. You have deodexed zips for flashing from recovery.

Look here: http://xdaforums.com/showthread.php?t=2095301
[Galaxy S Advance I9070 General] rkharat98:
I just flashed.. Stock 4.2 JB Tweaked which contains no .odex files... And i flashed.. One more.. App that was... Made for De-odexed and it worked.. My status bar is trasparent...
[Galaxy S Advance I9070 General] rkharat98:
How to Re-Odex the zip.. ...??:what:

I want to re-odex system\app and even system\framework can u just tell me how to do it...???
[Galaxy S Advance I9070 General] Razvan:
First, please edit your post and remove the QUOTE of OP.

Second, see this guide:

[How-To] Re-Odex a Rom

PS: OP updated with that tutorial.
[Galaxy S Advance I9070 General] Razvan:
OP updated with :

[ODEX][SCRIPT/TOOL] Odexer Tool 1.0 Beta 2 (11-14-2013)
[Galaxy S Advance I9070 General] MatrixDJ96:
There is also my Universal Odex Script V6.3.1 :)
[Galaxy S Advance I9070 General] Razvan:
Yes.

Thanks for it. I give you credits in the OP in a hour when i came back to PC.

Powered by CM10.1
[Galaxy S Advance I9070 General] eeyeemk:
thank you very good explanation.

regards
[Galaxy S Advance I9070 General] bundopant:
Thanks a bunch. Went crazy understanding these terms. Also +1 for the clarity in writing. Helps us lame people :)
[Galaxy S Advance I9070 General] yoitsjustin:
Thanks for this post, it really cleared up some things for me.
[Galaxy S Advance I9070 General] tomCAD77:
thanks razvan.. seriously u made a real good guide for a noob like me.. :)
[Galaxy S Advance I9070 General] Jhonzx:
Nice explanation, thanks.
[Galaxy S Advance I9070 General] pipyakas:
After i deodex my rom i have some problem, not sure if it related to deodexed rom but since it never happened before, i guess i should ask it here

1. If i do a full wipe my phone stuck at bootanimation for a really long time. I know first boot takes some times but 20min is too long

2. [MENTION=938853]hasta[/MENTION]fiesta 's cocore manager doesnt affect mali gpu, everything else work

3. If i try to connect usb storage to pc, it open an app titled "media volume", then it say Unfotunately, SystemUI stopped. I tap ok then after 10sec it show that again. Disable adb doesnt help
[Galaxy S Advance I9070 General] tweakradje:
Deodexing has one major advantage: you can optimize the dalvik.vm.dexopt-flags in build.prop/default.prop

After deodexing the /system/app and cleaning the /data/dalvik-cache it will rebuild the dex files with the tweaked dalvik.vm.dexopt-flags settings. Mostly that will improve performance.

The downside it that you need more space in the /data/dalvik-cache folder.

Example:

Deodex /system/app/SystemUI.apk and /system/app/Browser.apk (or SecBrowser.apk) first. (do a zipalign too)

in /system/default.prop put (for multicore cpu):

dalvik.vm.dexopt-flags=v=n,o=y,u=n,m=y

dalvik.vm.execution-mode=int:jit

You notice the speed improvement right away after reboot. Even more when using the internet browser.

Cheers
[Galaxy S Advance I9070 General] ColdFire InOx:
I see a lot of references to "dalvik's cache" in here... does this work on ART aswell?
[Galaxy S Advance I9070 General] chelopapo:
nice

tnx for share, nice work
[Galaxy S Advance I9070 General] CroVeXx:
Need your help. May I delete manually .apks and their .odexes from /system if I want to to get some space ? I did this do deodexed files and it went well. Thanks
[Galaxy S Advance I9070 General] shut_down:
Yes you can. Look for thread about debloating. To see what you can remove.
[Galaxy S Advance I9070 General] Razvan:
Update for Odexer tool added.

[ODEX][SCRIPT/TOOL] Odexer Tool 1.2 (03-28-2014)(MM-dd-yyyy)
[Galaxy S Advance I9070 General] :
Thanks for guide really helpful
[Galaxy S Advance I9070 General] Rahul Haque:
Thnks,, :good: useful information for new developers who are in a confusing state about those odex files.
[Galaxy S Advance I9070 General] arash2901:
how can I deodex an odeexed rom? (befor flashing the rom)
[Galaxy S Advance I9070 General] GirlJereMy:
should deodex rom no

[MENTION=2047451]R_a_z_v_a_n[/MENTION] I want to ask, should deodex stock rom no, rom deodex have harmful device? please reply

p/s: I'm using Galaxy Grand 2 SM-G7102 on stock rom 4.4.2

sorry my english not good.
[Galaxy S Advance I9070 General] Razvan:
Please read first post spec advantage and disadvantages of deodexing.
[Galaxy S Advance I9070 General] aureliomilitao:
Is possible i deodex my APK FMradio.apk stock S3 i9300 and install in ROMs CM12.1 for works ?
[Galaxy S Advance I9070 General] Sami Kabir:
Sorry, it won't work.

In fact none of Samsung's apps will work on AOSP based ROMs because they don't have the required files.

So, here are some alternate threads for you to look at:

- http://xdaforums.com/crossdevice-dev/android-one-general/app-fm-radio-cm12-1-t3092437

- http://xdaforums.com/moto-g/themes-apps/port-fm-radio-t3015976
[Galaxy S Advance I9070 General] Holhat:
Hello

Now that I finally installed a stock rooted deodexed rom, can I delete the zip file? I saved it in Google Drive but it sucked up all the space on my external sd card. Thank you
[Galaxy S Advance I9070 General] Razvan:
Of course you can delete.
[Galaxy S Advance I9070 General] billysam:
have you ever came across an .odexx file? I have got a stock rom filled with it in a mtk device.
[Galaxy S Advance I9070 General] DaksAnkit:
informtive , thanks mate
[Galaxy S Advance I9070 General] evildog1:
odexing system apps increases /data partition space and bypass "Android is starting...", right?
[Galaxy S Advance I9070 General] crisjogos:
Deodex rom battery comsumption

Question here...

Is deodex rom consumes more battery than odex roms?

I think its makes sense since the processor needs to unpack (uncompress) apk files every time to open an application...
[Galaxy S Advance I9070 General] rosel11078:
So I have a question, Odexing system mean to have better batery performance and durability?
[Galaxy S Advance I9070 General] Heatexplorer:
thx !! your information ..:)
[MDA, XDA, 1010 General] jason.moodie:
I know this is only a minor issue but its the small things that count.

I have created a shortcut to TaskMgr.exe in my startup folder. The only problem with this is it starts up as a full screen app. You can minimize it after its loaded.

Does anybody know how to make it load up minimised on after reboot instead of manually minimising it.

Cheers
[Samsung Galaxy Nexus] mannyvinny:
Hey everyone, I am facing a weird problem.My phone freezes after few seconds on startup. Everything works normal for FEW seconds and than phone freezes and it reboots.I was on TWRP.I wiped cache,system,dalvik but it didn't fixed. Than i moved to cwm in a hope than it may fix the problem.I performed a clean install for flashing a rom(wipe system,cache......) but no :crying: .Than i also tried flashing different rom(domination) but that too didn't helped.

Overall i performed each n every possible method but none of them helped.

Note- I see some kind of lines on screen before my device hangs.And than my phone reboots(with battery dropped to zero).
[Samsung Galaxy Nexus] cupfulloflol:
Use fastboot and flash back to stock. See if that solves it. If not, it is possible it is a hardware issue.
[Samsung Galaxy Nexus] mannyvinny:
please don't scare me :cyclops: coz this phone isn't officially launched in India so that I can walk to service centre and get my phone replaced.If its a hardware issue than my phone is surely dead.

BTW,my phone was working just normal 2 days back when i restored a backup from twrp.It all started when i restored backup from twrp as I messed up bootanimation.
[Samsung Galaxy Nexus] mannyvinny:
plz help me guys..is no one available here to help me out :'(
[Samsung Galaxy Nexus] cupfulloflol:
Did you try flashing back to stock like I suggested previously?
[Samsung Galaxy Nexus] mannyvinny:
no.coz i would loose all my sd data too
[Samsung Galaxy Nexus] cupfulloflol:
Back it up to your PC prior to using fastboot.
[Samsung Galaxy Nexus] mannyvinny:
now my phone doesn't even starts! its bootlooping..i've very important stuff in my sd card which i don't want to loose.and flashing stock will surely wipe EVERYTHING :(

Anyway to recover sd card data?

note-i can access recovery and bootloader:good:
[Samsung Galaxy Nexus] cupfulloflol:
You can use ADB in a custom recovery.
[Samsung Galaxy Nexus] mannyvinny:
I flashed the stock image and locked the OEM but the problem still persists :(
[Android Q&A, Help & Troubleshooting] bryangb:
I see a number of low-cost phablets or Note-clones with 5-inch and larger screens on the market, eg. Star N9330/N9770, Mercury MagiQ, M Pai Royalty.

Which ones are the best quality, easiest to root, best supported for Android development, etc?

Cheers m'dears! :)
[RAZR HD Q&A, Help & Troubleshooting] hbenz2008:
XT 925 jb 4.1.2 UL boot loader-Rooted via this method:

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

save Android Newbie some time by answering some questions please:

When Rooting I did make a backup with cwmrecovery6028-xt925_20130219-epinter.img, Can the back up be moved to PC ?

Shall CMN get updated or leave it alone? if so , to what do I need to upgrade to?

Same with SU, any need to update ? used CWM-SuperSU-v0.99.zip

Any benefit from SU elite ?

Installed voodo, do u recommend any particular procedure?

Did another backup with Titanium Pro and carbons, moved both to PC, any recommendation?

Looking for 1% battery increments on notification bar too?

I believe I have the Rola HD where I wanted now with Apps, GPS... , but am open for any recommendations.

:good:

Coming from very old windows smartphones and iphone , I like Droid betta and definitely ROLA HD:D

Thanks to the XDA community and hopefully you guys wouldn't mind my thread and questions posted here.

Gracias
[RAZR HD Q&A, Help & Troubleshooting] hbenz2008:
For any newbie that comes after me:

Yes you can ROOT MOTO HD JB on 4.1.2, just follow link I posted above and thank original poster.

Tricky part I came to was downloading ANDROID SDK WINDOWS

Getting the ROLA into recovery mode

flashing CWM- fellas, u need to run CMD in your pc inside of PLATFORM tools

I will be happy to answer if anyone need help.:good:
[RAZR HD Q&A, Help & Troubleshooting] rodUehara:
So, man, I'm trying to update my Razr HD to JB.

I am rooted on ICS, and plan on installing the JB service version I got from here: http://xdaforums.com/showthread.php?t=2095097

The thing is: as I haven't unlocked my bootloader, and would like to keep it that way, I've been trying to install the safestrap recovery I got from here: http://blog.hash-of-codes.com/downloads/safestrap/

But up till now, I've been receiving a FAILED message when installing the rom in the rom-slot-1.

Don't know where i'm going wrong. Any ideas? Or any other way I could install the ----- Android 4.1.2 Jelly Bean - 98.21.6.XT925.Brasil.en.BR -----

Service Version?

Thanks!
[RAZR HD Q&A, Help & Troubleshooting] hbenz2008:
not sure if voodoo root keeper will survive jb 4.1.2 , look into that , also I suggest to post here

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

good luck man,
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] varunkrt:
Can any one suggest some suitable init.d tweaks for better performing dalvik vm?
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] gallardo5:
Odp: [request ]init.d tweaks for galaxy note

I don't know exactly how to make an init.d script, but experiment some with rm /data and rm /system ;)

Sent from my HTC One X.

POLSKAAAAAA BIAAAALOOOO CZEEEERWONIIIII!!!!!!!!!:D
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] deepsagarj:
This would be better asked in the galaxy note forum instead of OT

Sent from...

why do you care where I sent it from???
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] baz77:
supercharger and autopatcher automagically fixes a bunch of stuff

then you can patch and use opendroid and such
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] semo_medo:
Hello,

I tired to root my LWW and it did work well on the WT19i_4.1.B.0.587 Generic

Later as i was using the Wi-Fi it prompt for New update available for download 4.1.B.0.587 on the mobile itself.

I downloaded the update ( its size was 15 M.B ) and it started the installation and i could see the open box on the screen and an arrow coming out of it directing upwards.

But in between this process it suddenly turned OFF, when i tried to turn it ON it did not instead the Green LED flashes couple of times as long i press the power button

then i tried the Sony update service to repair it but it does not work...:(

When i connect it to the PC and use the flashtool it detects the phone and directly connects in Flashmode.

Please help me to resolve this issue.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] ansebovi:
Download the Rom and flash it with flashtool

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

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

Try this Rom and flash with...

If you are having locked bootloader..

To root

First download this gb Rom http://www.mediafire.com/?zwmzpu9czf9ib4c

Then flash and root.. Then flash ics without wipe data..
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mnishamk:
Read this and follow it http://xdaforums.com/showthread.php?t=2102206

Don't forget to hit thanks:D
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] semo_medo:
Solved.....Big Thanks For mnishamk
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mnishamk:
Please add [solved] to the title it will help others

Don't forget to hit thanks:D
[Nexus 7 Q&A, Help & Troubleshooting] BigJoey010:
Hey..I just rooted my nexus 7 its still new its been with me for a couple of days and when I now want to use it it isn't fast when it was still stock .. What's the prob ? Because root usually doesn't cause lag since its only unlocking the tablet
[Nexus 7 Q&A, Help & Troubleshooting] Billchen0014:
what kind of lag? on start up or just day to day use? you might need to consider installing a custom rom to make things really fly
[General Questions and Answers] Alicon88:
hi,

first of all: great forum!

i'm sorry for bad english and for the usual question!

i have the R.6.1 of JB Time rom for desire hd and i want to upgrade it to R7

I want to know what are the steps..i have only to install the rar o i have to format/wipe delvak cache etc..?!

i have the r.6.1 from 5-6days after a total format of the phone..

hope that somebody could help me

thank you!
[Xperia Z Q&A, Help & Troubleshooting] FlooDnl:
You can try SEUS:

http://www.sonymobile.com/global-en/tools/update-service/

not sure if it will help but it couldn't hurt to try it out. If all goes well seus will reinstall your device back to original
[Xperia Z Q&A, Help & Troubleshooting] zalukajonet:
Odp: Stuck in sideload

adb reboot recovery

check that command
[Xperia Z Q&A, Help & Troubleshooting] DreadPirateDan:
I'll give it a crack :)

UPDATE: It's not letting me go past the connect stage unfortunately :(
[Xperia Z Q&A, Help & Troubleshooting] DreadPirateDan:
yeah the adb commands are throwing up the error :

"error: closed"

ie;

adb reboot

error: closed

adb usb

error: closed

adb sideload xx.zip

gives me the whole help message.

adb get-state

unknown

very frustrating.
[Xperia Z Q&A, Help & Troubleshooting] zalukajonet:
Odp: Stuck in sideload

put power of 8 sec.
[Xperia Z Q&A, Help & Troubleshooting] DreadPirateDan:
Holding the power button for over 30 seconds didn't turn it of, nor did power + vol up, power + vol down, power + vol up & vol down, or vol up + vol down. This sucks lol. Really don't want to have to resort to just leaving it till the battery dies
[Xperia Z Q&A, Help & Troubleshooting] danw_oz:
This worried me a little with purchasing this phone with non removable battery. Tried the hard reset mentioned in the manual to be more relaxed, but was sure that a lock could occur that nothing would work except battery run down, seen it on other devices previously. Now it seems confirmed