1. Webst3r's Avatar
    I AM NOT RESPONSIBLE FOR WHATEVER HAPPENS TO YOUR PHONE!

    You must be rooted!

    This is a guide on manually deodexing, you phone. (Duh!)

    The reason I am making this tutorial is because I could not get my theme to work with Teenfaces deodexed android. You may want to follows this if you have the same probalem as me, or if you just want to take a shot at doing it.

    What you'll need:
    A Windows based machine
    xUltimate v2.2
    Patience

    Process:

    1. Unzip xUltimate v2.2, and launch "Main.exe"
    2. If everything goes well you xUlt should recognize the phone and make a connection. You now should see a list of options.
    3. Run option 1. After option 1 is done, run option 2.
    Now these well take a while.
    4. Run option 3.
    5. IMPORTANT: After you have run option 3, you MUST navigate to the xUltimate folder and find "origi_frame" folder, and delete "guava.odex". It's a bad file, and interferes with deodexing process.
    6. Now run option 4, and wait.
    7. Exit xUltimate, and put the phone in USB mass storage.
    8. Go back into the xUltimate folder and copy "done_frame", and "done_app", and move them to the root of the sdcard.
    9. Open a command prompt, and do the following:

    Code:
    adb shell
    su
    stop
    mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
    cp /sdcard/done_app/* /system/app/
    cp /sdcard/done_frame/* /system/framework/
    rm /system/app/*.odex
    rm /system/framework/*.odex
    mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
    reboot
    Your phone should now be deodexed!

    You may notice an increase in speed, and you now have the ability to edit certain files for effectively. (i.e. services.jar)

    Credits:
    Rainabba and Mike919: For initially working with me to get a white clock, and later deodex.
    toxman: For testing, and being a huge risk taker.
    teenfaces: For letting me use his services.jar
    And especially Xeudoxus: For letting me a guinea pig, for xUltimate, and answering my questions. And also for the making the xUltimate tool. It defiantly makes thing easier.
    08-24-2010 08:48 AM
  2. moosc's Avatar
    I believe the leaked 2.2 we have has all ready been deoxeded. At least when I open the root explorer I see it. Could be wrong.
    08-25-2010 01:49 AM
  3. kajii's Avatar
    What is "deoxeded?"
    08-25-2010 02:59 AM
  4. Webst3r's Avatar
    I believe the leaked 2.2 we have has all ready been deoxeded. At least when I open the root explorer I see it. Could be wrong.
    No. The leaked 2.2 build is not already deodexed.
    08-25-2010 09:08 AM
  5. moosc's Avatar
    Then why is there some files marked as such.

    Sent from my DROIDX using Tapatalk
    08-25-2010 10:39 AM
  6. Webst3r's Avatar
    Then why is there some files marked as such.

    Sent from my DROIDX using Tapatalk
    If it was already deodexed, you wouldn't see any files with .odex at the end.....
    08-26-2010 11:44 AM
  7. Iceman0803's Avatar
    What is "deoxeded?"
    I second this. I'm still somewhat of an Android newb.
    08-26-2010 05:28 PM
  8. Rudolphe's Avatar
    I'm not a noob and I still don't know what it means...
    08-26-2010 10:53 PM
  9. Iceman0803's Avatar
    I'm not a noob and I still don't know what it means...
    K I don't feel so bad then lol.


    Sent from my DROIDX using Tapatalk
    08-27-2010 12:01 AM
  10. GTvert90's Avatar
    I'm with these guys... say wa?
    08-27-2010 12:04 AM
  11. doctorlove316's Avatar
    Apk files have respective odexes that developers use to supposedly save space. Deodexing means you convert it back to a .dex file and put it back inside the apk. This allows you to easily replace files not having to worry about odexes. (From user Berzerker on droidforums.net) So a deodexed ROM is much easier to customize and add new themes to.
    Iceman0803 and sicario666 like this.
    08-27-2010 02:09 AM
  12. James Mac's Avatar
    if we have themes installed on deodexed 2.2 how will that work with birdmans optimized rom thats due soon? can we just install the update.zip from clockwork? sorry for the noob question the dx is my first android phone and everything new that comes out for me is a first
    08-27-2010 08:19 AM
  13. doctorlove316's Avatar
    It sounds like Birdman's 2.2 build is a full update.zip so it shouldn't matter what themes you have.
    08-27-2010 11:32 AM
  14. Dustknight's Avatar
    For the command prompt stuff, can I just use a terminal emulator? Or do I have to use adb?
    08-27-2010 12:44 PM
  15. moosc's Avatar
    birdman has a slot now in rom manager. has to be soon.
    It sounds like Birdman's 2.2 build is a full update.zip so it shouldn't matter what themes you have.
    08-27-2010 01:14 PM
  16. Iceman0803's Avatar
    Apk files have respective odexes that developers use to supposedly save space. Deodexing means you convert it back to a .dex file and put it back inside the apk. This allows you to easily replace files not having to worry about odexes. (From user Berzerker on droidforums.net) So a deodexed ROM is much easier to customize and add new themes to.
    Excellent! Thank you!
    08-27-2010 07:32 PM
  17. moosc's Avatar
    after many tries and crashes im all good..
    08-28-2010 09:51 AM
  18. bender1077's Avatar
    DEX FILES - dex - These are the Dalvik Executables for the android platform. Think of .exe in Windows.

    APK - Collection of dex files that make up the final application.->classes.dex

    ODEX FILES - Optimized DEX - These are essentially a COPY of the apk file, optimized and stored beside the apk. Takes up RAM on the system.

    DE-ODEXED - The removal of all odex files from the system - This means that an optimized copy of the apk is now sent to the DALVIK CACHE instead of being stored along side the apk directly on the system.

    This is why the start up on a new flashed deodexed rom can take a while to load, but the next time you boot up it is fast as lightning.

    I'm fairly sure I grasp the concept, but any additions or corrections are welcome!
    09-01-2010 10:27 AM
  19. terpitude71's Avatar
    a dumb question, perhaps, but would you be able to use root explorer and simply remove the odex files from system/framework and system/app and achieve the same effect without the long process?
    09-26-2010 07:44 PM
  20. bender1077's Avatar
    a dumb question, perhaps, but would you be able to use root explorer and simply remove the odex files from system/framework and system/app and achieve the same effect without the long process?
    You would need a deodexed ROM, as the odex files will be automatically re-created.
    09-28-2010 10:22 AM
  21. MoneyAddyct's Avatar
    Will this work on a Samsung Captivate with the leaked JI6?
    02-19-2011 04:13 PM
  22. rundrewrun's Avatar
    when i deodex i'm getting an error with photo editor on atrix. it'll have a black screen red font with a bunch of text, says press any key. i will. it'll say "major error" or something to that effect. then it'll say press any key then it tells me to fix it and kicks me out. how do i make it work? i know it's the photo editor.
    04-22-2011 07:27 AM
  23. mosbahi's Avatar
    ok thank you dear
    07-24-2011 12:54 PM
LINK TO POST COPIED TO CLIPBOARD