1. Download our Official Android App: Forums for Android!

Root [Guide] Deodexing Stock ROM

Discussion in 'Android Devices' started by NeoSabin, Jan 10, 2012.

  1. NeoSabin

    NeoSabin Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    43
    Posts:
    237
    Joined:
    May 25, 2011

    May 25, 2011
    237
    46
    43
    To your left
    Deodexing is the process of recombining .odex files to an apk and making it a complete package again, mainly for themeing. This is really for those of you out there that want to stay on stock and theme it.

    As a shortcut i have uploaded the deodex and zipaligned files for those who want to save time. If so skip to step 4.

    Deodexed files
    PLEASE DO A BACKUP IN RECOVERY BEFORE PROCEEDING

    1.The user friendly way to deodex your system apps is by using xUltimate

    2.After downloading it run main.exe and choose option 5. This will copy your system apps to your PC and deodex them. The originals will be in the folders "origi_app" and "origi_frame". The deodexed files will be in "done_app" and "done_frame".

    3.For optimization run zipalign on the "done_app" folder by starting zipaling.exe, choosing the folder then running the zipalign.bat that was created.

    4.Copy the "done_app" and "done_frame" onto your internal sd.

    5.After copying, set your phone to internet connection on USB and make sure USB debugging is on. Now run these commands in cmd.

    adb shell
    su
    stop
    mount -o rw,remount -t ext4 /dev/block/mmcblk0p12 /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 ext4 /dev/block/mmcblk0p12 /system
    reboot

    7.Delete the "done_app" and "done_frame" folders of you like.

    6.Done. Enjoy your deodexed phone and the themes being provided by this great community :)
    L
    Base source used for this guide: [HOW-TO] Manually deodex your phone - RootzWiki
     

    Advertisement

  2. yahhboy

    yahhboy Android Expert
    Rank:
    None
    Points:
    78
    Posts:
    786
    Joined:
    Sep 3, 2011

    Sep 3, 2011
    786
    86
    78
    FL
    Lots of people had been wondering how to do this, appreciate the contribution. :)
     
  3. Jeyd02

    Jeyd02 Android Expert
    Rank:
    None
    Points:
    163
    Posts:
    1,996
    Joined:
    Nov 26, 2011

    Nov 26, 2011
    1,996
    335
    163
    To help people, currently student
    US
    great job, great instruction, great experience !!!
     
  4. JayBondzeWell

    JayBondzeWell Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    387
    Joined:
    Nov 11, 2011

    Nov 11, 2011
    387
    77
    53
    can this be done without mounting to pc for currently my phone cant connect to pc. idk why but yeah =[
     
  5. revogozoom

    revogozoom Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    402
    Joined:
    Dec 27, 2010

    Dec 27, 2010
    402
    54
    53
    Texas
    Why can you not mount to PC? Does your computer not recognize the phone? What happens when you try.
     
  6. JayBondzeWell

    JayBondzeWell Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    387
    Joined:
    Nov 11, 2011

    Nov 11, 2011
    387
    77
    53
    every pc i put it on says driver missing or deviice malfunctioned. idk why. just randomly happened a week ago. idk if the usb connectivity thing messed up on my phone or something, but i know it has to be the phone because my optimus works fine.
     
  7. revogozoom

    revogozoom Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    402
    Joined:
    Dec 27, 2010

    Dec 27, 2010
    402
    54
    53
    Texas
    Are you using the usb cord that came with your Esteem and have you uninstalled/reinstalled the LG USB drivers? If I use the Samsung cord for my Indulge, it wont recognize my Esteem.
     
  8. JayBondzeWell

    JayBondzeWell Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    387
    Joined:
    Nov 11, 2011

    Nov 11, 2011
    387
    77
    53
    did uninstall/re. reboot pc. upgrade. roll back drivers. nada and tried it and several others. still nothing and all my cords worked with optimus
     
  9. revogozoom

    revogozoom Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    402
    Joined:
    Dec 27, 2010

    Dec 27, 2010
    402
    54
    53
    Texas
    Which version of windows? On my XPsp1 pc I cant make the Esteem recognize no matter what I do but on Windows 7 it found the device without the drivers lol. Also, mine had to search windows update to find some things even though I had the complete driver package installed.
     
  10. ShinySide

    ShinySide Android Expert
    Rank:
    None
    Points:
    313
    Posts:
    5,504
    Joined:
    Jul 30, 2011

    Jul 30, 2011
    5,504
    2,680
    313
    Palm Bay, Florida
    Good stuff NeoSabin! Added/Linked in the All Things Root Guide. ;)
     
    NeoSabin likes this.
  11. JayBondzeWell

    JayBondzeWell Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    387
    Joined:
    Nov 11, 2011

    Nov 11, 2011
    387
    77
    53
    well i have xp. i guess ill try windows 7. thankx. ill let u know what happen? thankxx
     
  12. ShinySide

    ShinySide Android Expert
    Rank:
    None
    Points:
    313
    Posts:
    5,504
    Joined:
    Jul 30, 2011

    Jul 30, 2011
    5,504
    2,680
    313
    Palm Bay, Florida
    Check your system>app folder and see if you have AutorunTest.apk and AutoRun.apk

    Try deleting them if you do and reinstall these: http://dl.dropbox.com/u/50330810/AutoRun.zip
     
  13. JayBondzeWell

    JayBondzeWell Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    387
    Joined:
    Nov 11, 2011

    Nov 11, 2011
    387
    77
    53
    yeah i tried. didnt work =[ . thank you though but the apps didn't install so I'm a have to restore
     
  14. NeoSabin

    NeoSabin Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    43
    Posts:
    237
    Joined:
    May 25, 2011

    May 25, 2011
    237
    46
    43
    To your left
    I have an interview and errands tomorrow but i might try to make a flashable zip tomorrow. If you want to try doing it yourself RobMcGhee.com - Creating an Android Update.zip Package looks like a tutorial.
     
  15. JayBondzeWell

    JayBondzeWell Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    387
    Joined:
    Nov 11, 2011

    Nov 11, 2011
    387
    77
    53
    i'll try it. thank you .
     
  16. nuttmeg

    nuttmeg Android Expert
    Rank:
    None
    Points:
    313
    Posts:
    7,331
    Joined:
    Feb 9, 2011

    Feb 9, 2011
    7,331
    2,526
    313
    Making you wonder?
    Lone Star State

    win xp dont play to nice with android, another possible fix is, if you have cwm recovery install, try putting the stork recovery back on it, cause when we was testing the cwm before the actual release the sd card didnt mount that good, but it seems likeits your phone thats causing the problem.
     
  17. JayBondzeWell

    JayBondzeWell Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    387
    Joined:
    Nov 11, 2011

    Nov 11, 2011
    387
    77
    53
    yeah. i think its the phone. i tried the stock and it still says device malfunctioned. .right now its in win 7 and its saying problem with device =*[
     
  18. JayBondzeWell

    JayBondzeWell Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    387
    Joined:
    Nov 11, 2011

    Nov 11, 2011
    387
    77
    53
    i tried creating flash. but im kinda stuck at the meta-inf to sdk part
     
  19. ShinySide

    ShinySide Android Expert
    Rank:
    None
    Points:
    313
    Posts:
    5,504
    Joined:
    Jul 30, 2011

    Jul 30, 2011
    5,504
    2,680
    313
    Palm Bay, Florida
  20. JayBondzeWell

    JayBondzeWell Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    387
    Joined:
    Nov 11, 2011

    Nov 11, 2011
    387
    77
    53
    thank you but it didnt work. i may just have to give up
     
  21. NeoSabin

    NeoSabin Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    43
    Posts:
    237
    Joined:
    May 25, 2011

    May 25, 2011
    237
    46
    43
    To your left
    Semi busy but i might try tonight but when you say it didn't work, what was the output when tried to flash?
     
  22. JayBondzeWell

    JayBondzeWell Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    387
    Joined:
    Nov 11, 2011

    Nov 11, 2011
    387
    77
    53
    the file downloaded. but the phone still didnt work on pc which is what im going to give up on =[
     
  23. NeoSabin

    NeoSabin Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    43
    Posts:
    237
    Joined:
    May 25, 2011

    May 25, 2011
    237
    46
    43
    To your left
    The file shiny linked was a zip flashable through CWM. Do you have a multi reader that you can put your SD card in and copy over the file? You can try removing files in /system/app/ and copy the system apps into that folder then disable signature verification and try installing.
     
  24. JayBondzeWell

    JayBondzeWell Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    387
    Joined:
    Nov 11, 2011

    Nov 11, 2011
    387
    77
    53
    it installed and everything. but. i got theut when i out phone on pc to test it says device malfunctioning (drivers not installed) when they r
     
  25. NeoSabin

    NeoSabin Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    43
    Posts:
    237
    Joined:
    May 25, 2011

    May 25, 2011
    237
    46
    43
    To your left
    Check your pm inbox
     
Tags:

Share This Page

Loading...