Advertisement
AdhityaRimba

Decompile And Recompile classes.dex

Mar 25th, 2021
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. classes.dex Java Level Modding
  2.  
  3. Tools Needed
  4. - enjarify (Dex to Jar)
  5. - Krakatau (Java Decompiler)
  6. - Android SDK (Jar to Dex)
  7. - Python 2
  8. - JDK 8
  9. - Winrar (or 7zip)
  10.  
  11. Commands
  12. - Converting Dex to Jar
  13. "enjarify classes.dex -o classes.jar"
  14. - Decompilation
  15. "py -2 -O Krakatau/decompile.py -skip -out src classes.jar -path "Path To rt.jar" (optional: -path "Path to external library")"
  16. - Recompilation
  17. "javac -classpath classes.jar Class.java" (Ignore any warning it's ok)
  18. - Just Replace .class File to classes.jar With Winrar
  19. - Converting Jar To Dex
  20. "dx -JXmx 2g --dex --output=classes.dex classes.jar"
  21. - Then Replace the classes.dex file
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement