Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
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 12
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 6 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 2
Posts: 132
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: 291
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: 192
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: 291
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 12
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 5
Posts: 79
Join Date: Apr 2010
Can the code above be done on terminal emulator on the droid x

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

HttpClient Tutorial to Upload and Download with Your App

Developers wanting to interact with the Internet need to choose a package to do the … more

Profile Flow: A Tasker Alternative

By now, we’re all quite familiar with Tasker, the personal automation app that seems to be able to … more

More Tips to Help Promote Your Android App

With over 700,000 apps in the Google Play store and more than 48 billion app installs, it’s … more

Sony Continues AOSP Initiative on the Tablet Z

Sometimes, you can harp on a subject so much that you end upbeating a dead horse. In our eyes, … more