FORUMS

Galaxy S6 & Edge get €100 Price Cut—New Models Incoming

Samsung has dropped the price of both the Galaxy S6 and S6 Edge by … more

How To Port Fully Featured Sony Xperia Z4 Camera

Xperia Z4’s hardware may not impress, but its software is definitely … more

Experimental TWRP Available For Moto G 2015

XDA Senior Member squid2 has posted experimental builds of TWRP for the Moto G … more

Sunday Debate: How Can We Get a No-Compromise Phone?

Join us in a fun Sunday Debate on Compromises. Come with your opinions and … more

[HOW-TO] Manually deodex your phone.

57 posts
Thanks Meter: 24
 
By ghostlypickel, Member on 26th August 2010, 01:02 AM
Post Reply Subscribe to Thread Email Thread
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.
Last edited by Sleuth255; 19th October 2010 at 12:34 AM. Reason: inserted PC mode instruction at step 9.
The Following 8 Users Say Thank You to ghostlypickel For This Useful Post: [ View ]
 
 
26th August 2010, 01:21 AM |#2  
Junior Member
Thanks Meter: 0
 
More
what is deodexing?

Was searching through the forum for a definition but no luck
26th August 2010, 01:26 AM |#3  
Senior Member
Thanks Meter: 57
 
More
Quote:
Originally Posted by geoxda

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
26th August 2010, 11:45 PM |#4  
quadjacks's Avatar
Senior Member
Flag UpState NY
Thanks Meter: 34
 
More
I get file not found on option 3. Fresh SBF 2.1, only thing is i am rooted... Any Ideas on this?
27th August 2010, 12:55 AM |#5  
Junior Member
Thanks Meter: 0
 
More
thank you message too short filler
27th August 2010, 02:11 AM |#6  
Senior Member
Flag Western Massachusetts
Thanks Meter: 6
 
More
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).
27th August 2010, 02:16 AM |#7  
quadjacks's Avatar
Senior Member
Flag UpState NY
Thanks Meter: 34
 
More
Quote:
Originally Posted by inzandity

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.
27th August 2010, 05:51 AM |#8  
Junior Member
Thanks Meter: 0
 
More
Tested and does NOT work with Droid 2 2.2. Phone locks up at "cp /sdcard/done_app/* /system/app"
27th August 2010, 09:56 AM |#9  
OP Member
Thanks Meter: 24
 
More
This must be done one 2.2. I Never ;put of a warning because I assumed the majority of people have already switched.
28th August 2010, 02:23 AM |#10  
Member
Thanks Meter: 7
 
More
Can the code above be done on terminal emulator on the droid x
28th August 2010, 12:39 PM |#11  
Xxq TZ pxX's Avatar
Senior Member
Thanks Meter: 1
 
More
I got to step 4 (which is pressing 3 to start deodexing) and I got this message on the third element:


Starting Bluetooth.odex
*****************************************
* Deodexing... *


Error occured while loading boot class path files. Aborting.
org.jf.dexlib.Code.Analysis.ClassPath$ClassNotFoun dException: Could not find superclass Ljavax/obex/ServerRequestHandler;
at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.loa dSuperclass(ClassPath.java:784)
at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.<in it>(ClassPath.java:668)
at org.jf.dexlib.Code.Analysis.ClassPath.loadClassDef (ClassPath.java:280)
at org.jf.dexlib.Code.Analysis.ClassPath.initClassPat h(ClassPath.java:163)
at org.jf.dexlib.Code.Analysis.ClassPath.InitializeCl assPathFromOdex(ClassPath.java:110)
at org.jf.baksmali.baksmali.disassembleDexFile(baksma li.java:93)
at org.jf.baksmali.main.main(main.java:278)
Error while loading class Lcom/android/bluetooth/opp/BluetoothOppObexServerSession; from file .\origi_app\Bluetooth.odex
Error while loading ClassPath class Lcom/android/bluetooth/opp/BluetoothOppObexServerSession;

* *
*****************************************
Restarting Bluetooth.odex
*****************************************
* ERROR! Trying something different! *
* Deodexing... *


Error occured while loading boot class path files. Aborting.
org.jf.dexlib.Code.Analysis.ClassPath$ClassNotFoun dException: Could not find superclass Lcom/htc/app/HtcAlertActivity;
at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.loa dSuperclass(ClassPath.java:784)
at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.<in it>(ClassPath.java:668)
at org.jf.dexlib.Code.Analysis.ClassPath.loadClassDef (ClassPath.java:280)
at org.jf.dexlib.Code.Analysis.ClassPath.initClassPat h(ClassPath.java:163)
at org.jf.dexlib.Code.Analysis.ClassPath.InitializeCl assPath(ClassPath.java:131)
at org.jf.baksmali.baksmali.disassembleDexFile(baksma li.java:100)
at org.jf.baksmali.main.main(main.java:278)
Error while loading class Lcom/android/bluetooth/opp/BluetoothOppBtEnableActivity; from file .\origi_app\Bluetooth.odex
Error while loading ClassPath class Lcom/android/bluetooth/opp/BluetoothOppBtEnableActivity;

Press any key to continue . . .


*****************************************
MAJOR ERROR!! WITH DEODEXING! Bluetooth.odex
*****************************************
********DELETING INCORRECT FILES*********
please exit out of window "***Deodexing ADB Window, DO NOT EXIT!***"

Press any key to continue . . .



My DInc. is rooted and running 2.2: 3.21.605.1
Do I need to be in recovery with system mounted to make this work?
Does this only work on the Droid X?
Last edited by Xxq TZ pxX; 28th August 2010 at 12:46 PM.

Read More
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes