[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 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
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.
Now these well take a while.
4. 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:
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
You may notice an increase in speed, and you now have the ability to edit certain files for effectively. (i.e. services.jar)
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.Want a certain type of theme for you phone? I'll theme any phone, all I need is a dump of /system. Just leave a visitor message on my profile, if you have a request.
- 08-25-2010, 01:49 AM #2
- 08-25-2010, 02:59 AM #3
- 08-25-2010, 10:39 AM #5
Re: [HOW-TO] Manually deodex your phone.
Then why is there some files marked as such.
Sent from my DROIDX using TapatalkGoogle Nexus Class Devices (Nexus7, Nexus4, Galaxy Nexus lte VZW)...@moosc on twitter ...
- 08-26-2010, 05:28 PM #7
- 08-26-2010, 10:53 PM #8
- 08-27-2010, 12:01 AM #9
- 08-27-2010, 12:04 AM #10
- 08-27-2010, 02:09 AM #11
Apk files have respective odexes that developers use to supposedly save space. Deodexing means you convert it back to a .dex file and put it back inside the apk. This allows you to easily replace files not having to worry about odexes. (From user Berzerker on droidforums.net) So a deodexed ROM is much easier to customize and add new themes to.
- 08-27-2010, 08:19 AM #12
- 08-27-2010, 11:32 AM #13
It sounds like Birdman's 2.2 build is a full update.zip so it shouldn't matter what themes you have.
- 08-27-2010, 12:44 PM #14
- 08-27-2010, 01:14 PM #15
- 08-27-2010, 07:32 PM #16
- 08-28-2010, 09:51 AM #17
- 09-01-2010, 10:27 AM #18
DEX FILES - dex - These are the Dalvik Executables for the android platform. Think of .exe in Windows.
APK - Collection of dex files that make up the final application.->classes.dex
ODEX FILES - Optimized DEX - These are essentially a COPY of the apk file, optimized and stored beside the apk. Takes up RAM on the system.
DE-ODEXED - The removal of all odex files from the system - This means that an optimized copy of the apk is now sent to the DALVIK CACHE instead of being stored along side the apk directly on the system.
This is why the start up on a new flashed deodexed rom can take a while to load, but the next time you boot up it is fast as lightning.
I'm fairly sure I grasp the concept, but any additions or corrections are welcome!
- 09-26-2010, 07:44 PM #19
- 09-28-2010, 10:22 AM #20
- 02-19-2011, 04:13 PM #21
- 04-22-2011, 07:27 AM #22
- 1 Posts
i'm getting an error
when i deodex i'm getting an error with photo editor on atrix. it'll have a black screen red font with a bunch of text, says press any key. i will. it'll say "major error" or something to that effect. then it'll say press any key then it tells me to fix it and kicks me out. how do i make it work? i know it's the photo editor.
- 07-24-2011, 12:54 PM #23