Multi platform Tools to deodex any android rom
Lordroid batch deodexer ODTRTA One Deodexer To Rule Them All ,is a free software writen in JAVA that can deodex any android rom with ease ,all you have to do is point the system folder and click the Deodex Now button ! it runs under any OS that have JAVA JRE 8 and higher (see prerequired for more details about this limitation) ,it is compatible with all Roms SDK levels and know architectures but you should note that it support list is the same as smali/backsmali && oat2dex(smaliEX) support list all roms not compatible with them will not be supported by this software since it uses those softwares to do the job.
Common:
- JAVA JRE 8 and higher if you are deodexing sdk>20 Roms.
- JAVA JRE 6 or higher if you are deodexing sdk<20 Roms.
- JAVA PATH needs to be set folow those links for more informations Windows| Linux| Mac
Linux-only:
- X server up and running even in command line mode.
- Download the Latest version
- Under
linux/mac
extract the archive with the commandtar xzvf lordroid_ODTRTA_v0.5_beta-1_ALL.tar.gz
- Under
windows
open the archive with7zip
GUI and extract it. - If the default file association of
.jar
files is notJAVA SE
right click then open withJAVA SE
- Click the browse button and choose the ROM's
system
folder or drag and drop a folder to theText Field
- The log will tell you weither or not you selected folder is valide and if so the deodex Button will be activeted click on it
- The deodexing can take a lot of time so be patient
- when done a log file will be saved under
logs/yyyy-MM-dd_hh-mm-ss.log
check it out to see what happend or just scroll in the log Pannel to see the logs - You are done ! the rom is deodexed
__Lordroid One Deodexer To Rule'em All__ |
------------------------------------------ |
USAGE : |
java -jar Launcher.jar <source> [OPTIONS]
|
<source>
can be either |
PATH to System Folder exemple : /path/system
|
OR |
e
: to extract systemFolder directlly from device |
Options : |
c
: create a flashabe zip after deodexing the rom |
z
: zipalign every apk after deodexing it |
s
: sign every apk after deodexing |
h
: print this help page |
please note that options should'nt be separated by spaces |
Exemple : |
java -jar Launcher.jar /path/system zsc
|
this command will deodex and sign and zipalign and then creates a flashable zip file |
java -jar Launcher.jar e zsc
|
this command will extract and deodex from connected device then sign and zipalign and then creates a flashable zip file|
NOTE : |
extracted systems will be under extracted_system_folders
|
create flashable zip will be under flashable_zips_out
|
- make sure the is a build.prop file in the selected folder
- make sure the is a framwork folder under the selected folder.
- make sure the rom is odexed ! make a search in system folder with the request ".odex" if no results are there then your rom is deodexed and you don't need to run this tool on it.
- make sure
JRE 7
or higher is the default JRE see the output of java -version you should see1.8.x
or1.7.x
if1.6.x
or lower the tool will not work for roms > sdk 20 lollipop and above ! - make sur the system folder you chose is writable (means you have the right to write inside it) otherwise the tool will not work.
- if your rom is sdk > 20 make sure you have a
boot.oat
file underframework/**
other wise the tool will not work. - if you followed all those instructions and you are still having trouble send me a link to your rom or list me the all files under
/system/framework
,/system/app
and/system/priv-app
.
mkdir deodexer
git clone https://github.com/lord-ralf-adolf/Lordroid_One_Deodexer_To_Rule_Them_ALL.git deodexer
cd deodexer
to build a for testing type the command
ant
to create a release .tar.gz archive type the command the tar.gz will be under re-dist folder
ant release
to clean the repo
ant clean