FORUMS
Remove All Ads from XDA

[Tool/Utility] JoelDroid Lollipop Batch Deodexer V 2.5 [Updated 18 Apr 2015]

625 posts
Thanks Meter: 1,863
 
Post Reply Email Thread
Batch Deodexer

Hey Guys,
Ever since the tutorial for Lollipop deodexing was posted on XDA portal, I was working on a batch deodex tool.
And finally it is complete.

Update...
I'm bit stuck with my personal life hence I do not have the time to manage this project , anyone who likes to take it over can do so.
The code is open source.
Pull requests are welcome...
Update 2
I will be updating this project whenever I have time, in the meantime if anyone wants to join this project feel free to PM me and I can add you to the project. Code will remain open source

Lollipop Batch Deodex Source Code

Also featured on XDA Portal

Features
Quote:

  1. Checks if the prerequisites are installed.
  2. Displays the count of Odexed Apps. Priv-Apps and Framework Apps before DeOdexing
  3. DeOdexes System Apps, Priv-Apps and Framework Apps in Batch Mode
  4. Automatically Zipaligns deodexed files

Credits
Quote:

  • Just wanted you guys to know that the credit for finding out this method goes for the poster of this article HERE (it is in Korean btw, I think it is Korean do correct me if I'm wrong).
  • The credit for translating and posting on XDA goes to @Tech N You
  • Thanks to @Golvfor all the help in fixing oat conversion issues
  • Thanks to @_riddle for his amazing oat2dex tool

Pre-Requsites
Quote:

Usage
  1. Make sure Java is installed and Java Path Variable is set in your PC
  2. Due to the nature of Java tools, run the app from a path where there is no spaces, like D:\JBD
  3. Unzip the Odexed rom zip, to say D:\MyRom (for example)
  4. So within the folder D:\MyRom there will be subfolder "system" and within system folder, app, priv-app and framework folders must be present, you should select "system"
  5. Now run the app, after Java check, it will prompt you to select a folder where Odex files are found, you should select D:\MyRom
  6. If your rom is Odexed and your selection was correct (refer the folder structure image above step), the app will show you how many files will be DeOdexed, now follow the on screen instructions.
  7. Sit back and relax and wait till the app finishes DeOdexing your rom.

Download
Attached Thumbnails
Click image for larger version

Name:	screenshot.jpg
Views:	243572
Size:	98.2 KB
ID:	3268397  
Attached Files
File Type: zip LBD2.4.zip - [Click for QR Code] (1.82 MB, 22406 views)
File Type: zip LBD2.5.zip - [Click for QR Code] (1.81 MB, 78378 views)
The Following 292 Users Say Thank You to joeldroid For This Useful Post: [ View ] Gift joeldroid Ad-Free
 
 
22nd December 2014, 05:24 PM |#2  
joeldroid's Avatar
OP Senior Member
Flag Melbourne, Australia
Thanks Meter: 1,863
 
Donate to Me
More
Changelog
Version 2.5
  • Works with both Java 7 and 8
  • Ignorelist option removed (causes lots of permission issues)
Version 2.5 Beta
  • Lots of code optimization
  • Much Better Java detection, also checks which version of Java
  • Better cleanup
  • 64 bit rom support, no need to rename files, detects automatically
  • Added ignore list as some apps cause issues with deodexing
  • Latest oat2dex v7

Version 2.4
  • Lots of code optimization
  • Better Java detection
  • Deodexed files are automatically zipaligned

Version 2.3
  • Small validation bug fixes
  • Optimized code

Version 2.2
  • Deodexing Boot Oat Files, now this is a complete deodex solution
  • Much faster and optimized deodex process
  • Code optimizations and bug fixes

Version 2.1
  • Better working directory cleanup on exit
  • Added logging, logs should appear in your desktop

Version 2.0
  • Fixed Critical bug, now rom boots and all deodexed files work
  • Full windows app, for user convenience
  • Multi-threading

Version 1.1
  • Added Deodexing Framework apps support
  • Lots of Bug fixes
  • Added Easy folder selection by user
  • Better Deodex status reporting
  • Better Java check method

Version 1.0
  • Initial Release
The Following 71 Users Say Thank You to joeldroid For This Useful Post: [ View ] Gift joeldroid Ad-Free
22nd December 2014, 05:25 PM |#3  
joeldroid's Avatar
OP Senior Member
Flag Melbourne, Australia
Thanks Meter: 1,863
 
Donate to Me
More
Additional Info
reserved
The Following 22 Users Say Thank You to joeldroid For This Useful Post: [ View ] Gift joeldroid Ad-Free
22nd December 2014, 05:59 PM |#4  
Tech N You's Avatar
Senior Member
Unknown Land
Thanks Meter: 627
 
More
Quote:
Originally Posted by joeldroid

Reserved

Awesome work
You deserve to be on portal!
The Following 5 Users Say Thank You to Tech N You For This Useful Post: [ View ] Gift Tech N You Ad-Free
22nd December 2014, 06:02 PM |#5  
joeldroid's Avatar
OP Senior Member
Flag Melbourne, Australia
Thanks Meter: 1,863
 
Donate to Me
More
Thanks mate it was your article in the portal that grabbed my attention
Merry Christmas
The Following 5 Users Say Thank You to joeldroid For This Useful Post: [ View ] Gift joeldroid Ad-Free
22nd December 2014, 06:06 PM |#6  
Tech N You's Avatar
Senior Member
Unknown Land
Thanks Meter: 627
 
More
Quote:
Originally Posted by joeldroid

Thanks mate it was your article in the portal that grabbed my attention
Merry Christmas

Haha thanx but you're the real one that made this batch deodex thing possible! Congrats
Merry Christmas to you too dude!
The Following 5 Users Say Thank You to Tech N You For This Useful Post: [ View ] Gift Tech N You Ad-Free
23rd December 2014, 12:29 AM |#7  
Senior Member
Flag Wolverhampton
Thanks Meter: 716
 
Donate to Me
More
Any chance of more detailed guide for not so clever ppl like me. I unziped my rom to a folder named deodex on my C drive, then set the config to C:\deodex\system. But when i run the deodex tool its says no apps found. Where have i gone wrong.
Thanks
The Following 2 Users Say Thank You to steha For This Useful Post: [ View ] Gift steha Ad-Free
23rd December 2014, 12:53 AM |#8  
raynan's Avatar
Senior Member
Thanks Meter: 561
 
More
@joeldroid, Awesome work!! Everything is really simple so far, but I'm running into a "baksmali failed" message when I have everything placed from what I understand. Think you could help me out a little? Backsmali Failed Image
23rd December 2014, 02:57 AM |#9  
Senior Member
Flag Belém
Thanks Meter: 2,200
 
Donate to Me
More
Hey @joeldroid, you saved me the job of having to deodex everything manually, mate. Will see if this really works. Thanks in advance, and merry Christmas for you too!

Waiting for framework deodexing support!
23rd December 2014, 03:27 AM |#10  
joeldroid's Avatar
OP Senior Member
Flag Melbourne, Australia
Thanks Meter: 1,863
 
Donate to Me
More
Quote:
Originally Posted by raynan

@joeldroid, Awesome work!! Everything is really simple so far, but I'm running into a "baksmali failed" message when I have everything placed from what I understand. Think you could help me out a little? Backsmali Failed Image

Hey raynan,
I was getting this as well, in some Samsung apps like Samsung IME, Samsung DriveMode etc, this I believe is something to do with the structure of the app and Samsung is using an incompatible structure, where baksmali fails to decompile. But I will try looking into this further.
The Following 4 Users Say Thank You to joeldroid For This Useful Post: [ View ] Gift joeldroid Ad-Free
23rd December 2014, 03:30 AM |#11  
joeldroid's Avatar
OP Senior Member
Flag Melbourne, Australia
Thanks Meter: 1,863
 
Donate to Me
More
Quote:
Originally Posted by steha

Any chance of more detailed guide for not so clever ppl like me. I unziped my rom to a folder named deodex on my C drive, then set the config to C:\deodex\system. But when i run the deodex tool its says no apps found. Where have i gone wrong.
Thanks

sure thing,
I will add a better usage guide today. Yesterday after a long few days I was sleepy and tired. I will add a more detailed one for everyone.
The Following 4 Users Say Thank You to joeldroid For This Useful Post: [ View ] Gift joeldroid Ad-Free
Post Reply Subscribe to Thread

Tags
batch, deodex, lollipop
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes