Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,727,987 Members 46,091 Now Online
XDA Developers Android and Mobile Development Forum

[HOW-TO] Manually deodex your phone.

Tip us?
 
ghostlypickel
Old
(Last edited by Sleuth255; 19th October 2010 at 12:34 AM.) Reason: inserted PC mode instruction at step 9.
#1  
Member - OP
Thanks Meter 14
Posts: 51
Join Date: Jan 2010
Default [HOW-TO] Manually deodex your phone.

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 nandroid. You may want to follows this if you have the same problem 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 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. Put the phone in PC mode
10. 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 with greater effects. (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.
The Following 8 Users Say Thank You to ghostlypickel For This Useful Post: [ Click to Expand ]
 
geoxda
Old
#2  
Junior Member
Thanks Meter 0
Posts: 9
Join Date: Aug 2010
what is deodexing?

Was searching through the forum for a definition but no luck
 
jdenman03
Old
#3  
Senior Member
Thanks Meter 7
Posts: 149
Join Date: Aug 2008
Quote:
Originally Posted by geoxda View Post
what is deodexing?

Was searching through the forum for a definition but no luck
it allows us to customize system files so we can theme.

http://www.droidforums.net/forum/dro...-deodexed.html
 
quadjacks
Old
#4  
quadjacks's Avatar
Senior Member
Thanks Meter 19
Posts: 295
Join Date: Mar 2008
Location: UpState NY
I get file not found on option 3. Fresh SBF 2.1, only thing is i am rooted... Any Ideas on this?
God is Luv!
 
geoxda
Old
#5  
Junior Member
Thanks Meter 0
Posts: 9
Join Date: Aug 2010
thank you message too short filler
 
inzandity
Old
#6  
Senior Member
Thanks Meter 6
Posts: 206
Join Date: Aug 2010
Location: Western Massachusetts
Don't think you need to do this on 2.1 as you can put in a modified services.jar and it updates the system clock to different colors (usually white).
 
quadjacks
Old
#7  
quadjacks's Avatar
Senior Member
Thanks Meter 19
Posts: 295
Join Date: Mar 2008
Location: UpState NY
Quote:
Originally Posted by inzandity View Post
Don't think you need to do this on 2.1 as you can put in a modified services.jar and it updates the system clock to different colors (usually white).
I want to deodex the phone as suggested by the OP, not just the clock.
God is Luv!
 
makickal
Old
#8  
Junior Member
Thanks Meter 0
Posts: 10
Join Date: Aug 2010
Tested and does NOT work with Droid 2 2.2. Phone locks up at "cp /sdcard/done_app/* /system/app"
 
ghostlypickel
Old
#9  
Member - OP
Thanks Meter 14
Posts: 51
Join Date: Jan 2010
This must be done one 2.2. I Never ;put of a warning because I assumed the majority of people have already switched.
 
bigdade
Old
#10  
Member
Thanks Meter 7
Posts: 98
Join Date: Apr 2010
Can the code above be done on terminal emulator on the droid x

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Pale Moon Browser Ported to Android

Having a wide choice of third party applications is one of the most beautiful things that Android has to … more

Partial Android Wear Source Uploaded to AOSP

2014 is certainly shaping up to be theyear of the wearables. And thanks to its innovative … more

Street Panorama Combines Google Maps and Street View into One App

Google Maps is a must have application forevery amateur world explorer. … more

XDA Behind the Scenes, Part 3

This is the last part of a series of articles that reveals some of the processes, technology, and systems that … more