[Sony Ericsson XPERIA X10 Mini] doomhammer07:
TUTORIAL FOR DEODEXING A ROM[WINDOWS]

THIS TUTORIAL IS ONLY FOR WINDOWS USERS

[I TESTED THIS PERSONALLY ON WINDOWS 7 x64]

PRE-REQUISITES

Installed Java SDK [INSTALL THIS AND ADD IT TO YOUR PATH]

Download the kitchen from this thread

http://xdaforums.com/ showthread.php?t=633246

Read FAQ if you encounter any errors

http://xdaforums.com/showpost.php?=5626300&postcount=3

Pictorial installation guide

Download here

http://db.tt/Ii3bUlxo

TUTORIAL

So after all the above proceed with these steps

Read EACH STEP VERY CAREFULLY before executing them inorder to minimize any errors

SET UP A WORKING FOLDER

1.Copy the rom you want to deodex to cygwin\home\[YOUR USERNAME]\original_update

2.Open cygwin by double clicking it's shortcut on the desktop or start menu

3.Type cd kitchen

4.Then type ./menu

If you get a java not found error you do not have java sdk installed[READ FAQ IN ORIGINAL THREAD]

KITCHEN MENU

In the kitchen menu press 1

Press Enter [make sure the Rom you want to deodex is in cygwin/home/[USERNAME]/kitchen/original_update

You need to get your name under available ROMs list

Select your ROM and press Enter

Change the name of the working folder if you want to

Wait until the ROM is extracted

When it asks you to create a boot.img press y and Enter

When it asks you to convert to update-script PRESS 2 and Enter

DO NOT SELECT 1

When the finished message arrives press Enter to continue

This will lead you back to the menu of the kitchen

DEODEXING

This does the actual deodexing of a ROM

Press 0[ADVANCED OPTIONS]

Then press 11[DEODEX FILES IN YOUR ROM] and press Enter

Select b[DEODEX BOTH FOLDERS]

Enable logging into file Press Enter

Be patient while the deodexing is taking place. It takes a bit of time depending on the rom

When the finished message comes press Enter

This will bring you back to the kitchen menu

BUILDING THE ROM

This step buils the deodexed ROM

Select 99[BUILD ROM FROM WORKING FOLDER]

In the select build mode option Press 1[INTERACTIVE MODE]

Zipalign the files Press y and Enter

Wait while the builing takes place

When the prompt for signing appears press y and Enter

Name the ROM as you wish

CONGRATS!!!!! YOU HAVE DEODEXED YOUR ROM

Now you can mod your framework and systemui to suit your needs

Thank faiyyaz for this part

This tutorial is for de-odexing a

particular application u want..

follow the steps below..

Initially download the file attached

"dexopt -wrapper.rar " and extract it

on PC..

1) Add the file called 'dexopt-wrapper '

in system/bin on your phone and

copy the apps you want to deodex to

a folder on your sdcard called apps\

2) Then from windows cmd you run

the commands

- adb remount

- adb shell

- dexopt-wrapper sdcard/apps /

whateveryouwantodexed.apk /

sdcard/ apps/

whateveryouwantodexed.odex

- dexopt-warpper keep on doing this

untill all files you want to are odexed

- exit

3)when that's done, open the apk

files you just odexed in 7-zip /winRAR,

remove the classes.dex file and pus

both the odex and apk to the system/

app folder (or wherever they need to

be)

4)done

i guess this steps are much easier

than de-odexing for all apps

download it here

xdaforums.com/attachment.php?attachmentid=808532&d=1323273039

DISCLAIMER

DO THIS AT YOUR OWN RISK!!

I made this tutorial with descriptions of each step keeping inexperienced users in mind

ALWAYS MAKE A BACKUP BEFORE FLASHING THIS DEODEXED ROM

Nothing will go wrong if you follow the' instructions throughly but make a backup just in case

I DO NOT TAKE ANY RESPONSIBILITY IF THE ROM BRICKS YOUR DEVICE"