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

Search This thread

joeldroid

Senior Member
Feb 7, 2012
625
1,862
Melbourne, Australia
joeldroid.com
attachment.php


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
  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
  • 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

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
 

Attachments

  • LBD2.4.zip
    1.8 MB · Views: 25,441
  • LBD2.5.zip
    1.8 MB · Views: 87,799
  • screenshot.jpg
    screenshot.jpg
    98.2 KB · Views: 247,829
Last edited:

joeldroid

Senior Member
Feb 7, 2012
625
1,862
Melbourne, Australia
joeldroid.com
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
 
Last edited:

joeldroid

Senior Member
Feb 7, 2012
625
1,862
Melbourne, Australia
joeldroid.com
@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.
 

joeldroid

Senior Member
Feb 7, 2012
625
1,862
Melbourne, Australia
joeldroid.com
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.
 

raynan

Senior Member
Jan 2, 2011
1,127
576
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.

Ah, good to know I'm not crazy :p thanks. No rush from me, enjoy your holiday :)
 
  • Like
Reactions: joeldroid

Tech N You

Senior Member
Jul 10, 2014
648
631
Unknown Land
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.
This is what it currently does...
Deodexes System Apps and Priv-Apps
I'm currently working on deodexing framework apps too.
I will release an updated version with framework deodex support hopefully within a week (hey its Christmas you know :) )...

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).

scr_zps31a043d4.png


Usage:


Download

Finally you're on portal ;) :cool:
 
  • Like
Reactions: joeldroid

joeldroid

Senior Member
Feb 7, 2012
625
1,862
Melbourne, Australia
joeldroid.com
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

I have added a much detailed user guide. have a look and let me know if something is not clear.
Cheers
 
  • Like
Reactions: rompnit

Top Liked Posts

  • There are no posts matching your filters.
  • 291
    attachment.php


    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
    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
    • 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

    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
    71
    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
    22
    Additional Info

    reserved
    16
    Version 2.5 is out...

    version 2.5 is out, please see the change log.
    12
    New version released

    new version released, please check and post (any) issues.
    Make sure you take a nandroid backup before flashing the deodexed apps.

    There is a ignore list in applicationfolder/tools/DeodexIgnoreList.txt add any app FOLDER NAME if you want to exclude anything from the deodex process.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone