View Single Post
  #13  
Old 06-17-2024, 10:36
PermaNull PermaNull is offline
Friend
 
Join Date: Nov 2019
Posts: 8
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 1
Thanks Rcvd at 1 Time in 1 Post
PermaNull Reputation: 0
Quote:
Originally Posted by mongza View Post
for JARs, try recaf

https://github.com/Col-E/Recaf/releases
https://github.com/Col-E/recaf-3x-issues/releases
APK aren't JAR. Unless you do dex2jar and back the other way.

Options are full decompilation/recompile or modifying the java bytecode afaik. Though with dex2jar you could possibly use Recaf's java editor but I recommend v4 if you do it with this way, otherwise apktool -d and modify the bytecode then re-assemble and sign.

If you're looking to patch/modify it another option is Frida too which would allow you to write JS like syntax, you could modify the bytecode to load Frida agent from libs dir of APK when it's started and place all your code there. This is how Oculus Quest apps are cracked.
https://frida.re/

If I wanted to do this without modifying bytecode and could see actual java code via something like JEB, Frida would be my preferred approach due to the ease-of-use vs trying to manipulate the software via bytecode.
Reply With Quote