Set Up Your MediaTek Device with Comprehensive Beginner’s Guide

As can be seen with the use of MediaTek chips in Android One devices … more

Sony Updates AOSP Sources to Android 5.0.1

Just a few days ago, Sony did an utterly fantastic job by pushing out numerous device trees for … more

Stop Your Screen From Turning Off with KeepItOn

We all know the feeling of reading a news article orrather longdocument, when our screen … more

The XDA LG QPair Developer Challenge Voting Has Begun!

It seems like it was just yesterday that weannounced that we had paired up with LGto … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[ deodex script] deodexerious: all your base are belong to us!

OP illdroid

11th January 2011, 06:50 PM   |  #1  
OP Member
Thanks Meter: 30
 
64 posts
Join Date:Joined: Aug 2008
Here's a script I've built for my own ROM cooking purpose
another purpose was to create a very easy to read script, so everyone can understand the magic of deodex

had some hard time figuring all the BOOTCLASSPATH and all the signing magic (if you want to do it manually, the secret is: don't pack and sign!, just add the classes.odex to the original jar or apk...whatever...
or use my script to automagically do all that)

after one brick and jtag reincarnation and a few bootloops
I present to you:
DEODEXERIOUS !! (the only spartan deodex script)

requirements:
Linux
zip
* tested on my Ubuntu 10.10

instructions:
1. extract the included script
2. put the content of system(including the system folder) inside the rom folder
actually you can create a folder named system inside the rom folder and copy framwork and app folder there, it does not require any other files from the rom
3. while in the console inside the extracted script directory execute from the console
Code:
./deodexrom.sh
4. wait and watch the console for errors (there shouldn't be any)
5. when it is done, you should find the deodexed files inside the deodexed folder

* if you want to start over just execute from the same place in the console
Code:
./cleanall.sh
tested and successfully deodexed:
I897 UCKB1
I9088 KP2
I9088 ZNKP5
I9000 XXJPY
I9000 XWJS3
I9000 XWJS5
I9000 ZSJPG
I9000 XWJV1 2.3.2, except email.apk


it does not support already deodexed rom's!!! (why should it?)
if you test other raw versions (even captivate ones) please inform the result, or problems found, I'll do my best to help

careful
the script is a very initial version
it does inform errors human readable so watch the console for them

oh! almost forgot , here's the script:
http://dl.dropbox.com/u/3595341/deod...xerious_03.zip

change log:
04/03/2011 - deodexerius_03
added gingerbread XWJV1 2.3.2 - custom classpaths
smali and baksmali 1.2.6
case insensitive classpath helpers
note:
deodexerius can deodex all XWJV1 2.3.2, except email.apk

27/02/2011 - deodexerius_02
better support for the additional files in kp5 and kp2


good luck!!
Last edited by illdroid; 3rd March 2011 at 11:26 PM.
The Following 6 Users Say Thank You to illdroid For This Useful Post: [ View ]
11th January 2011, 09:44 PM   |  #2  
OP Member
Thanks Meter: 30
 
64 posts
Join Date:Joined: Aug 2008
To Be Continued
11th January 2011, 10:49 PM   |  #3  
rob989_69's Avatar
Senior Member
Rochester, NY
Thanks Meter: 4
 
213 posts
Join Date:Joined: Jul 2010
Donate to Me
More
If someone could come up with one of these for windows they would be my hero

Sent from my GT-I9000 using XDA App
11th January 2011, 11:26 PM   |  #4  
Pirateghost's Avatar
Recognized Developer
Thanks Meter: 8,196
 
11,092 posts
Join Date:Joined: Jul 2010
Donate to Me
More
Quote:
Originally Posted by rob989_69

If someone could come up with one of these for windows they would be my hero

Sent from my GT-I9000 using XDA App

kind of like this one?
http://forum.xda-developers.com/showthread.php?t=700904
The Following User Says Thank You to Pirateghost For This Useful Post: [ View ]
11th January 2011, 11:41 PM   |  #5  
ytt3r's Avatar
Retired Recognized Developer
Flag GA
Thanks Meter: 322
 
556 posts
Join Date:Joined: Dec 2010
Donate to Me
More
omg
You saved my life man... thanks a billion! And add a donate link, I know I'd like to send a few bucks your way
The Following User Says Thank You to ytt3r For This Useful Post: [ View ]
11th January 2011, 11:47 PM   |  #6  
rob989_69's Avatar
Senior Member
Rochester, NY
Thanks Meter: 4
 
213 posts
Join Date:Joined: Jul 2010
Donate to Me
More
Quote:
Originally Posted by Pirateghost

kind of like this one?
http://forum.xda-developers.com/showthread.php?t=700904

If this works you are my hero!!! LOL. I've found a number of different ones, either they don't work or I'm not using them correctly but this one is new to me. Thanks.
13th January 2011, 12:32 AM   |  #7  
OP Member
Thanks Meter: 30
 
64 posts
Join Date:Joined: Aug 2008
Quote:
Originally Posted by rob989_69

If someone could come up with one of these for windows they would be my hero

sorry man no windows version.

Quote:
Originally Posted by ytt3r

You saved my life man... thanks a billion! And add a donate link, I know I'd like to send a few bucks your way

your'e welcome.
13th January 2011, 01:01 AM   |  #8  
Pirateghost's Avatar
Recognized Developer
Thanks Meter: 8,196
 
11,092 posts
Join Date:Joined: Jul 2010
Donate to Me
More
Quote:
Originally Posted by rob989_69

If this works you are my hero!!! LOL. I've found a number of different ones, either they don't work or I'm not using them correctly but this one is new to me. Thanks.

oh it works....
16th January 2011, 05:05 AM   |  #9  
existz's Avatar
Recognized Developer
Flag Kentucky
Thanks Meter: 7,515
 
4,558 posts
Join Date:Joined: Nov 2008
Donate to Me
More
Just used this on KP2, works great, thanks!
19th January 2011, 02:08 PM   |  #10  
OP Member
Thanks Meter: 30
 
64 posts
Join Date:Joined: Aug 2008
Quote:
Originally Posted by existz

Just used this on KP2, works great, thanks!

great news!

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

Advanced Search
Display Modes