5,606,722 Members 37,656 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 4718
Posts: 9,124
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
Quote:
Originally Posted by kevtrysmoddin View Post
I think that most of the loud out spoken ones are probably some of the young spoilt generation that stamp their feet and shout coz that's what works at home for them

Sent from my Nexus 5 using Tapatalk
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 4718
Posts: 9,124
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....
Quote:
Originally Posted by kevtrysmoddin View Post
I think that most of the loud out spoken ones are probably some of the young spoilt generation that stamp their feet and shout coz that's what works at home for them

Sent from my Nexus 5 using Tapatalk
 
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

One-Handed Mode Ported to the Samsung Galaxy S4

People may not realize it much, but this fascination with larger screen sizes on smartphones … more

Speed up the ROM or Kernel Build Process

Creating a kernel, ROM, or any other development projectrequires knowledge and tools. While … more

Google Glass Now Open to Anyone… with $1500 to Spend (Update: Not Anymore)

Google Glass, which recently received its official update … more