• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [HOW-TO] Manually deodex your phone.

SimsDelt

Android Expert
Aug 4, 2010
1,066
246
Bremen, Georgia
I AM NOT RESPONSIBLE FOR WHATEVER HAPPENS TO YOUR PHONE!

You must be rooted!


Credit for
Webst3r on alldroid for posting this.

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.
  4. Now these well take a while. 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.
 
Haha... no sir... noob still... but learning a ton... my wife is going insane with all the time I spend on my phone and/or on the forums. Can you pm me the link again for the current RSD with the right .ini in it. I am back on my laptop now, did all that on Saturday with her laptop (while on vacation, btw)...

yeah I just sent it:D
 
  • Like
Reactions: SimsDelt
Upvote 0
Haha... no sir... noob still... but learning a ton... my wife is going insane with all the time I spend on my phone and/or on the forums. Can you pm me the link again for the current RSD with the right .ini in it. I am back on my laptop now, did all that on Saturday with her laptop (while on vacation, btw)...

I'm with you man this is like when I got my C64 all over again. I learned everything I could about that little 1mhz box and learned to code for it in every language I found. (I love assembler).You could say that little computer lead me to my current profession, AS400 administrator, and this thing has me all hyped up to learn just like I did back then. I'm thinking of learning to code for this thing. But I haven't coded in years and not sure I have the time to take it up again. But it has me thinking hard about it.
 
Upvote 0
Another stuck at motorola logo here... damn.

If it means anything, when I tried to do the commands:
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
the cmd prompt said:
cp: /sdcard/done_app/* No such file or directory
cp: /sdcard/done_frame/* No such file or directory

Good thing I can boot to stock recovery, select reboot system and the phone boots back into clockwork...

nandroid is HUGE at this point in the game
cool.gif
 
Upvote 0
Another stuck at motorola logo here... damn.

If it means anything, when I tried to do the commands:
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
the cmd prompt said:
cp: /sdcard/done_app/* No such file or directory
cp: /sdcard/done_frame/* No such file or directory


I got the same thing, was stuck at the Moto logo, then just booted into CMrecovery and loaded my backup. The easiest way to do it is just to flash the rooted, deodexed version that is floating around the forums.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones