revanced-patches-template
revanced-patches-template copied to clipboard
feat: JADX plugin to autogenerate fingerpints and patches
Type
Functionality
Issue
Currently, fingerprints and patches have to be written by hand. While this is not an issue for some, this can be a challenge for newcomers.
Feature
Develop a JADX plugin (either using the current Java API or the new KTS API) to autogenerate fingerprints and patches. This system will include checking if said fingerprint actually resolves to the correct method, and if needed autogenerate parent fingerprints. It should prefer string patterns over opcode patterns. It would also be nice if it can minimize the opcode pattern as much as possible.
Creating patches would be made easier too, just click "Create Patch", make your changes and click "Done"! The developer would need to know how smali works, but smali is quite an easy language to learn.
Motivation
This would allow newcomers to create fingerprints and patches very easily and speeds up patch development in general.
Additional context
Optionally port this plugin over to Recaf when Android support has been added. It's a good alternative to JADX (when Android support has been added) and supporting more decompilers is always good.
Well...this could really help me to generate fingerprints for my patches.
The issue was edited to add "autogeneration of patches" as a feature.