2.2.6 Froyo Deodexed and Themed

Discussion in 'Droid X Hacks' started by teenfaces, Aug 24, 2010.

  1. teenfaces
    Offline

    teenfaces New Member

    Joined:
    Nov 12, 2009
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    0
    2.6.32.9 Froyo Deodexed and Themed

    First of all you should already have a rooted version of Droid X Froyo 2.6.32.9 running Koush's ClockWork Recovery! This is not for poeple running 2.1 !!!!! Go to the other thread for putting rooted froyo on your X first, then come back here for the themed statusbar.
    This is a completely deodexed version of froyo 2.6.32.9 . This will not work if you are not deodexed. The following directions will deodex your froyo droid x build. I had up a nandroid earlier and the links were taken down pretty quickly. Make a nandroid backup before you do this in case you mess up. I am not responsible for your actions!!! If you get stuck, pull your battery and boot into bootloader by pressing camera, volume down and power at the same time. Now plug in your usb cord and press the power button. Your phone will power off. Now press and hold power button and the logo will come on...let it load clockwork recovery will come up next. Now restore your backup....

    Here are the system dumps to deodex your froyo 2.6.32.9...

    Hotfile.com: One click file hosting: app.zip

    Hotfile.com: One click file hosting: framework.zip

    I need mirrors for these links they won't last long! extract the folders and put them in your sdk tools directory and follow the code below. If your phone won't reboot pull the battery. It will take a while to rebuild the dalvik cache so let it load. You must perform a factory reset from your privacy settings to resign into google servers after this! DO NOT DATA WIPE FROM RECOVERY!!! only use factory reset from privacy settings.

    code:
    adb shell
    su
    mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
    cd system/app
    rm -r *
    exit
    adb push app system/app
    adb shell
    cd system/framework
    rm -r *
    exit
    adb push framework system/framework
    reboot

    [​IMG]

    [​IMG]
  2. Seano
    Offline

    Seano New Member

    Joined:
    Dec 11, 2009
    Messages:
    178
    Likes Received:
    0
    Trophy Points:
    0
    can this also be done using terminal emulator?
  3. teenfaces
    Offline

    teenfaces New Member

    Joined:
    Nov 12, 2009
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    0

    It is a lot more tedious that way. I would have my nandroid backup ready. The copy code would look like this. cp -r /sdcard/app/ * /system/app and the same with the framework.. cp -r /sdcard/framework/ * /system/framework
  4. teenfaces
    Offline

    teenfaces New Member

    Joined:
    Nov 12, 2009
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    0
    If you already have a rooted 2.2 running on your Droid X, use this nandroid and restore in ClockWork Recovery. After restore, you need to go into settings/privacy and do a factory reset. The reboot will take a while. Reactivate your phone by selecting option (1) at the prompt and sign back into Google and you will be good to go. DO NOT FACTORY RESET IN RECOVERY! ONLY USE PRIVACY SETTINGS FACTORY RESET!



    Hotfile.com: One click file hosting: 2010-08-24.09.08.31.zip
  5. hacku
    Offline

    hacku New Member

    Joined:
    Jan 4, 2010
    Messages:
    549
    Likes Received:
    1
    Trophy Points:
    0
    Location:
    Mesa, AZ.
    Thanks for all the hard work TF. I read in another forum that the permissions were wrong on this nandroid. Is this still the case or did they get fixed?
  6. InfamousDX
    Offline

    InfamousDX New Member

    Joined:
    Aug 18, 2010
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    0
    Sorry for my ignorance but what is the point of this if I'm already rooted 2.2 ? Is it just a different theme?
  7. hacku
    Offline

    hacku New Member

    Joined:
    Jan 4, 2010
    Messages:
    549
    Likes Received:
    1
    Trophy Points:
    0
    Location:
    Mesa, AZ.
    The leaked Froyo version was odexed. This nandroid is fully deodexed.
  8. JoJoCal19
    Offline

    JoJoCal19 New Member

    Joined:
    Nov 14, 2009
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    St Augustine, FL
    Can you explain the difference?
  9. InfamousDX
    Offline

    InfamousDX New Member

    Joined:
    Aug 18, 2010
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    0
    This might help us both - Odex vs DeOdex - xda-developers
  10. tobytl
    Offline

    tobytl New Member

    Joined:
    Mar 24, 2010
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    0
    I'll put in a slightly more in depth explanation. The Dalvik VM has a native executable format, DEX (Dalvik EXecutable), which all java byte-code is compiled into. This is the base code, as it is distributed, within the APK files. Dalvik also allows for hardware specific shortcuts that can make it faster on a given hardware platform (at which point, that code will only run correctly on that hardware). These are ODEX files (Optimized Dalvik EXecutable). The speed gains with ODEX are questionable, and newer, faster, hardware is making it more and more of a moot point. It does change the way the files are cached, but again, newer handsets are coming out with larger cache and higher speed NAND, so may not be important anymore. The catch is, these ODEX files are optimized to such an extent that it makes modifying them practically impossible (ie: themeing).

    In general all vendor supplied roms are ODEXed, but there are exceptions (DroidX 2.1 stock was shipped DeODEXed for some reason).

    To sum up:
    ODEX=May run faster, depending on hardware. Certainly caches more efficiently. The files themselves CANNOT be themed, or changed in any meaningful way.

    DeODEX=Back to the base DEX code. May run slower, depending on hardware. Caches the same way as all android code. But the files can be easily themed and modified.

    EDIT:I can't spell to save my life.... Had to staunch the red squiggly blood bath...
  11. Natemz
    Offline

    Natemz New Member

    Joined:
    Aug 6, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Excellent explaination. Thank you. Makes sense.

    Also, I just deodexd my DX today and I see no slow noticeable slow down at all
  12. rustyp2
    Offline

    rustyp2 New Member

    Joined:
    Jul 18, 2010
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Utah
    What is ODEXED and DEODEXED, and why is it important to me? I am root and Froyo 2.2.
  13. phobic
    Offline

    phobic New Member

    Joined:
    Jan 13, 2010
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    Try reading this thread again? It was answered in this same thread already.
  14. cgrimm9
    Offline

    cgrimm9 New Member

    Joined:
    Aug 9, 2010
    Messages:
    175
    Likes Received:
    0
    Trophy Points:
    0
    I can skip the first post and just install this nand backup to my phone and my theme will be changed?
  15. tobytl
    Offline

    tobytl New Member

    Joined:
    Mar 24, 2010
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    0
    That's the way I understand it. I did the adb setup, so I can't say for sure, but that's the way I read the post.

    It'll also be easier, as you won't have to wait 30 minutes in between downloading the app file and the framework file... Hotfile *shakes fist in mock indignation* :D
  16. rustyp2
    Offline

    rustyp2 New Member

    Joined:
    Jul 18, 2010
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Utah
    Yes, I saw it right after I posted it. I may have not gotten to it / refreshed my browser until AFTER I had posted. My-Bad!
  17. YukonCornelius
    Offline

    YukonCornelius New Member

    Joined:
    Nov 19, 2009
    Messages:
    55
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Parts Unknown
    When you installed this file, did it take FOREVER and seem to hang on the status bar under "Installing Update..." ?

    20 minutes and status bar still shows nothing... Normal?
  18. cgrimm9
    Offline

    cgrimm9 New Member

    Joined:
    Aug 9, 2010
    Messages:
    175
    Likes Received:
    0
    Trophy Points:
    0
    I downloaded the file and compared it to my backup and I chose to not install it do to there where 4 files in the back up folder and in my nand backup I only recieved 2 I am suspisios.
  19. hacku
    Offline

    hacku New Member

    Joined:
    Jan 4, 2010
    Messages:
    549
    Likes Received:
    1
    Trophy Points:
    0
    Location:
    Mesa, AZ.
    What are the names of the files you found in your backup folder?
  20. tobytl
    Offline

    tobytl New Member

    Joined:
    Mar 24, 2010
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    0
    Just a heads up, I effectively lost root after doing the adb steps above... The superuser.apk that's included is the "classic" superuser.apk, and I can't get it to actually allow anything, nor can I delete it and install ChainsDD's version as I can't get root to actually delete the file from /system/app....

    Yay, SBF time. No Biggie, be fully back up and running in 20 minutes.
Search tags for this page

froyo 2.2 fully deodexed rooted

,

froyo deodexed rom s5670

,

motorola droid 2.2 deodexed rooted bootload