5,594,221 Members 45,587 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 4607
Posts: 9,064
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
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 4607
Posts: 9,064
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 7147
Posts: 4,391
Join Date: Nov 2008
Location: Kentucky

 
DONATE TO ME
Just used this on KP2, works great, thanks!
LG Nexus 5
ROM: Stock 4.4.2 KOT49H
Kernel: Faux 008 3.4+
Radio: M8974A-1.0.25.0.15

Samsung Galaxy Nexus
ROM: AOKPx 4.2.2
Kernel: 3.0.80

HTC Inspire 4G
ROM: aospX 4.0.4
Radio: 12.59.60.26P_26.11.04.21_M
RIL: HTC-RIL 2.2.0018G AOSP

Other Devices
Google Chromecast
Samsung Captivate
Samsung Galaxy Tab 10.1"
Samsung Galaxy Tab2 7"


Github: https://github.com/existz
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


XDA PORTAL POSTS

Google ATAP Reveals Project Ara Developer Kits and 100K Prize Challenge

Today, Paul Eremenko from Google’s Advanced Technology and … more

Configure Your System Settings on a Per-App Basis

Do you ever like to make sure that certain device settings are enabled prior to entering a … more

How to Hack An Android App (Don’t Try This at Home) – XDA Developer TV

Listen, don’t cheat in your games. So don’t … more

Windows Phone 8.1 Developer Preview Now Available!

About two weeks ago at the BUILD conference in San Francisco, Microsoft unveiled Windows … more