Hacker News new | ask | show | jobs
by xmprt 487 days ago
If anyone knows someone similar for Android, I'd be interested in learning more. I've seen some of the impressive things that can be done using Revanced but there don't seem to be good guides for how to get started with something like that.
2 comments

I'd also like to fond one such youtuber. If you want to get started though your best bet is probably combining jadx-gui (an amazing decompiler targetting Android) alongside with apktool to disassemble / patch / reassemble your apk and uber-apk-signer to sign it back afterward with mitmproxy to snoop on the API calls. That's my setup whenever i poke around old apps and try to make server emulators for them. A really cool tool is also Frida and xposed which lets you quickly hook into the apps.

I'm pretty new to RE though this kind of videos are super interesting for me

I used to do a decent bit of android reverse engineering.

It's pretty easy to grab an app, decompile and disassembly it, find what you need to change and then patch the smali and recompile.

It's been a long time since I looked at that stuff, but I think I used to use apktool and smali / baksmali from memory.

I remember something like dex2jar also, which gave you a jar you could use in any java decompiler, like jdgui, procyon etc. Easier to find what you are looking for in the decompiled java and then patch the smali. Lots of android apps are obfuscated, but you can do stuff like add logs to the smali etc, probably remote debugging etc.

It has been a while, so that info might be woefully out of date now.

> I remember something like dex2jar also, which gave you a jar you could use in any java decompiler, like jdgui, procyon etc.

https://github.com/skylot/jadx is very handy for that nowadays. It also supports interactive variable/method/class name renaming to make the decomplied code easier to read. The decompiler isn't perfect, but I guess all available Java decompilers have their limitations with more complex bytecode…