Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,811,404 Members 49,197 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
illdroid
Old
(Last edited by illdroid; 3rd March 2011 at 10:26 PM.)
#1  
Member - OP
Thanks Meter 30
Posts: 64
Join Date: Aug 2008
Default [ deodex script] deodexerious: all your base are belong to us!

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!!
The Following 6 Users Say Thank You to illdroid For This Useful Post: [ Click to Expand ]
 
illdroid
Old
#2  
Member - OP
Thanks Meter 30
Posts: 64
Join Date: Aug 2008
To Be Continued
 
rob989_69
Old
#3  
rob989_69's Avatar
Senior Member
Thanks Meter 4
Posts: 213
Join Date: Jul 2010
Location: Rochester, NY

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

Sent from my GT-I9000 using XDA App
AT&T GS4 - Stock for now.
OG Galaxy Note International Version
Galaxy Nexus - Returned (VZW stinks.)
Nexus S
Captivate
 
Pirateghost
Old
#4  
Pirateghost's Avatar
Recognized Developer
Thanks Meter 7,284
Posts: 10,593
Join Date: Jul 2010

 
DONATE TO ME
Quote:
Originally Posted by rob989_69 View Post
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: [ Click to Expand ]
 
ytt3r
Old
#5  
ytt3r's Avatar
Retired Recognized Developer
Thanks Meter 322
Posts: 556
Join Date: Dec 2010
Location: GA

 
DONATE TO ME
Default 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
Like my contributions to whatever? Buy me a root beer.
The Following User Says Thank You to ytt3r For This Useful Post: [ Click to Expand ]
 
rob989_69
Old
#6  
rob989_69's Avatar
Senior Member
Thanks Meter 4
Posts: 213
Join Date: Jul 2010
Location: Rochester, NY

 
DONATE TO ME
Quote:
Originally Posted by Pirateghost View Post
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.
 
illdroid
Old
#7  
Member - OP
Thanks Meter 30
Posts: 64
Join Date: Aug 2008
Quote:
Originally Posted by rob989_69 View Post
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 View Post
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.
 
Pirateghost
Old
#8  
Pirateghost's Avatar
Recognized Developer
Thanks Meter 7,284
Posts: 10,593
Join Date: Jul 2010

 
DONATE TO ME
Quote:
Originally Posted by rob989_69 View Post
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....
 
existz
Old
#9  
existz's Avatar
Recognized Developer
Thanks Meter 7,337
Posts: 4,492
Join Date: Nov 2008
Location: Kentucky

 
DONATE TO ME
Just used this on KP2, works great, thanks!
LG Nexus 5
ROM: ParanoidAndroidX 4.4
Kernel: 3.4.0-axdev
Radio: M8974A-1.0.25.0.17

Other Devices
Google Chromecast
HTC Inspire 4G
Samsung Captivate
Samsung Galaxy Nexus
Samsung Galaxy Tab 10.1"
Samsung Galaxy Tab2 7"


Github: https://github.com/existz
Google+: https://plus.google.com/+RobBeane
Launchpad: https://launchpad.net/aospx
Homepage: http://code.google.com/p/aospx

LinuxMint Petra [Mate 1.8.0] || 3.13-6.dmz.1-liquorix || AMD A6-4400M 2.7ghz + 8GB
 
illdroid
Old
#10  
Member - OP
Thanks Meter 30
Posts: 64
Join Date: Aug 2008
Quote:
Originally Posted by existz View Post
Just used this on KP2, works great, thanks!
great news!

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Stream Your Media Files with the New Version of Droid Sync Manager

Android is a Linux-based operating system, but this fact doesn’t put … more

Old but Gold Internet Browser is a Blast from the Past

A Web browser is one of these applications that we can’t live without. We useit … more

Real-World Battery Saving Tips for Android – XDA Developer TV

You need Real-World Battery Saving Tips for your Android device. Our … more

Android L Will Have Data Encryption Turned On by Default

Android L, once it is eventually released, will featuredata encryption turned on by … more